.page-casino {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #F2FFF6; /* Text Main */
  background-color: #08160F; /* Body Background */
}

.page-casino__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.page-casino__section-padding {
  padding: 60px 0;
}

.page-casino__section-title {
  font-size: 36px;
  font-weight: 700;
  color: #F2C14E; /* Gold */
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.2;
}

.page-casino__paragraph {
  font-size: 17px;
  margin-bottom: 20px;
  text-align: justify;
}

.page-casino__text-secondary {
  color: #A7D9B8; /* Text Secondary */
}

/* Hero Section */
.page-casino__hero-section {
  position: relative;
  width: 100%;
  padding-top: 10px; /* Small top padding, body handles header offset */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.page-casino__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  max-height: 700px;
}

.page-casino__hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 40px 15px;
  max-width: 900px;
  margin-top: -100px; /* Pull content up over the image a bit for visual flow */
  background: rgba(17, 39, 27, 0.85); /* Card BG with transparency */
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border: 1px solid #2E7A4E; /* Border */
}

.page-casino__main-title {
  font-size: clamp(2.5rem, 4vw, 3.2rem); /* Use clamp for H1 */
  font-weight: 800;
  color: #F2C14E; /* Gold */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-casino__hero-description {
  font-size: 18px;
  color: #F2FFF6;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-casino__hero-cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.page-casino__btn-primary,
.page-casino__btn-secondary,
.page-casino__btn-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
  box-sizing: border-box;
  max-width: 100%;
}

.page-casino__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6;
  border: none;
  box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

.page-casino__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  box-shadow: 0 6px 20px rgba(42, 209, 111, 0.6);
  transform: translateY(-2px);
}

.page-casino__btn-secondary {
  background: #11271B; /* Card BG */
  color: #2AD16F;
  border: 2px solid #2AD16F;
}

.page-casino__btn-secondary:hover {
  background: #2AD16F;
  color: #11271B;
  border-color: #11271B;
  transform: translateY(-2px);
}

.page-casino__btn-link {
  background: none;
  border: 1px solid #2E7A4E; /* Border */
  color: #A7D9B8; /* Text Secondary */
  padding: 10px 20px;
  font-size: 16px;
  border-radius: 5px;
  margin-top: 15px;
}

.page-casino__btn-link:hover {
  color: #F2FFF6;
  border-color: #F2FFF6;
  background-color: rgba(46, 122, 78, 0.2); /* Border with transparency */
}

/* Introduction Section */
.page-casino__introduction-section {
  background-color: #08160F;
}

/* Games Overview Section */
.page-casino__games-overview {
  background-color: #11271B; /* Card BG */
}

.page-casino__game-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-casino__game-card {
  background: #0A4B2C; /* Deep Green */
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid #2E7A4E;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 20px;
}

.page-casino__game-card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  margin-bottom: 20px;
  display: block;
}

.page-casino__game-card-title {
  font-size: 22px;
  font-weight: 700;
  color: #F2C14E; /* Gold */
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-casino__game-card-title a {
  color: inherit;
  text-decoration: none;
}

.page-casino__game-card-title a:hover {
  text-decoration: underline;
}

.page-casino__game-card-description {
  font-size: 15px;
  color: #A7D9B8;
  padding: 0 15px;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Promotions Section */
.page-casino__promotions-section {
  background-color: #08160F;
}

.page-casino__promotions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-casino__promotion-card {
  background: #11271B; /* Card BG */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid #2E7A4E;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 20px;
}

.page-casino__promotion-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  margin-bottom: 20px;
  display: block;
}

.page-casino__promotion-title {
  font-size: 24px;
  font-weight: 700;
  color: #F2C14E; /* Gold */
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-casino__promotion-title a {
  color: inherit;
  text-decoration: none;
}

.page-casino__promotion-title a:hover {
  text-decoration: underline;
}

.page-casino__promotion-description {
  font-size: 16px;
  color: #A7D9B8;
  padding: 0 15px;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-casino__view-all-promotions {
  text-align: center;
  margin-top: 40px;
}

/* User Experience Section */
.page-casino__user-experience {
  background-color: #11271B; /* Card BG */
}

.page-casino__feature-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-casino__feature-item {
  background: #0A4B2C; /* Deep Green */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #2E7A4E;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}

.page-casino__feature-title {
  font-size: 22px;
  font-weight: 700;
  color: #F2C14E; /* Gold */
  margin-bottom: 15px;
  line-height: 1.3;
}

.page-casino__feature-title a {
  color: inherit;
  text-decoration: none;
}

.page-casino__feature-title a:hover {
  text-decoration: underline;
}

.page-casino__feature-item p {
  font-size: 16px;
  color: #A7D9B8;
  flex-grow: 1;
}

/* Security Section */
.page-casino__security-section {
  background-color: #08160F;
}

.page-casino__security-content {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.page-casino__security-text {
  flex: 1;
}

.page-casino__security-subtitle {
  font-size: 26px;
  font-weight: 600;
  color: #2AD16F; /* Button top green */
  margin-top: 30px;
  margin-bottom: 15px;
  line-height: 1.3;
}

.page-casino__security-subtitle a {
  color: inherit;
  text-decoration: none;
}

.page-casino__security-subtitle a:hover {
  text-decoration: underline;
}

.page-casino__security-text p {
  font-size: 16px;
  color: #F2FFF6;
  margin-bottom: 20px;
}

.page-casino__security-image {
  flex-shrink: 0;
  width: 500px;
  height: 375px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border: 1px solid #2E7A4E;
  display: block;
}

/* How to Join Section */
.page-casino__how-to-join {
  background-color: #11271B; /* Card BG */
}

.page-casino__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-casino__step-item {
  background: #0A4B2C; /* Deep Green */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #2E7A4E;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.page-casino__step-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  font-weight: 800;
  margin-bottom: 20px;
  box-shadow: 0 0 15px rgba(87, 227, 141, 0.6);
}

.page-casino__step-title {
  font-size: 22px;
  font-weight: 700;
  color: #F2C14E; /* Gold */
  margin-bottom: 10px;
  line-height: 1.3;
}

.page-casino__step-title a {
  color: inherit;
  text-decoration: none;
}

.page-casino__step-title a:hover {
  text-decoration: underline;
}

.page-casino__step-item p {
  font-size: 16px;
  color: #A7D9B8;
  flex-grow: 1;
}

/* FAQ Section */
details.page-casino__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid #2E7A4E; /* Border */
  overflow: hidden;
  background: #11271B; /* Card BG */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

details.page-casino__faq-item summary.page-casino__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  background: #0A4B2C; /* Deep Green */
}

details.page-casino__faq-item summary.page-casino__faq-question::-webkit-details-marker {
  display: none;
}

details.page-casino__faq-item summary.page-casino__faq-question:hover {
  background: #1E3A2A; /* Divider */
}

.page-casino__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #F2FFF6; /* Text Main */
}

.page-casino__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: #F2C14E; /* Gold */
  flex-shrink: 0;
  margin-left: 20px;
  width: 30px;
  text-align: center;
}

details.page-casino__faq-item .page-casino__faq-answer {
  padding: 0 25px 25px;
  background: #11271B; /* Card BG */
  border-radius: 0 0 10px 10px;
  color: #A7D9B8; /* Text Secondary */
  font-size: 16px;
}

/* Conclusion Section */
.page-casino__conclusion-section {
  background-color: #0A4B2C; /* Deep Green */
  text-align: center;
}

.page-casino__final-cta {
  margin-top: 40px;
}

/* Global image and button responsive styles for mobile */
.page-casino img {
  max-width: 100%;
  height: auto;
  display: block;
}

.page-casino__btn-primary,
.page-casino__btn-secondary,
.page-casino__btn-link,
.page-casino a[class*="button"],
.page-casino a[class*="btn"] {
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-casino__hero-cta-buttons,
.page-casino__view-all-promotions,
.page-casino__final-cta {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-casino__hero-content {
    margin-top: -80px;
    padding: 30px;
  }
  .page-casino__main-title {
    font-size: clamp(2.2rem, 3.5vw, 2.8rem);
  }
  .page-casino__hero-description {
    font-size: 17px;
  }
  .page-casino__section-title {
    font-size: 30px;
  }
  .page-casino__security-content {
    flex-direction: column;
    text-align: center;
  }
  .page-casino__security-image {
    width: 100%;
    max-width: 600px;
    height: auto;
  }
  .page-casino__security-text {
    order: 2;
  }
}

@media (max-width: 768px) {
  .page-casino__hero-section {
    padding-top: 10px; /* Ensure small top padding */
  }
  .page-casino__hero-image {
    max-height: 400px;
    object-fit: contain; /* Banner 849px contain */
  }
  .page-casino__hero-content {
    margin-top: -50px;
    padding: 20px;
    border-radius: 5px;
  }
  .page-casino__main-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
    margin-bottom: 15px;
  }
  .page-casino__hero-description {
    font-size: 15px;
    margin-bottom: 20px;
  }
  .page-casino__hero-cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }
  .page-casino__btn-primary,
  .page-casino__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 16px;
  }

  .page-casino__section-padding {
    padding: 40px 0;
  }
  .page-casino__section-title {
    font-size: 26px;
    margin-bottom: 30px;
  }
  .page-casino__paragraph {
    font-size: 15px;
  }

  /* Games Overview */
  .page-casino__game-cards-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-casino__game-card-image {
    height: 200px;
  }
  .page-casino__game-card-title {
    font-size: 20px;
  }

  /* Promotions */
  .page-casino__promotions-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-casino__promotion-image {
    height: 180px;
  }
  .page-casino__promotion-title {
    font-size: 20px;
  }
  .page-casino__view-all-promotions {
    padding: 0 15px;
  }

  /* User Experience */
  .page-casino__feature-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-casino__feature-item {
    padding: 25px;
  }
  .page-casino__feature-title {
    font-size: 20px;
  }
  .page-casino__feature-item p {
    font-size: 15px;
  }

  /* Security */
  .page-casino__security-content {
    gap: 30px;
  }
  .page-casino__security-subtitle {
    font-size: 22px;
    margin-top: 25px;
    margin-bottom: 10px;
  }
  .page-casino__security-text p {
    font-size: 15px;
  }

  /* How to Join */
  .page-casino__steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-casino__step-item {
    padding: 25px;
  }
  .page-casino__step-icon {
    width: 50px;
    height: 50px;
    font-size: 26px;
  }
  .page-casino__step-title {
    font-size: 20px;
  }
  .page-casino__step-item p {
    font-size: 15px;
  }

  /* FAQ */
  details.page-casino__faq-item summary.page-casino__faq-question {
    padding: 15px 20px;
  }
  .page-casino__faq-qtext {
    font-size: 16px;
  }
  .page-casino__faq-toggle {
    font-size: 24px;
    width: 25px;
    margin-left: 15px;
  }
  details.page-casino__faq-item .page-casino__faq-answer {
    padding: 0 20px 20px;
    font-size: 15px;
  }

  /* Ensure all images and containers are responsive */
  .page-casino img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-casino__section, .page-casino__card, .page-casino__container, .page-casino__hero-section, .page-casino__hero-content, .page-casino__game-card, .page-casino__promotion-card, .page-casino__feature-item, .page-casino__step-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-casino__hero-cta-buttons, .page-casino__view-all-promotions, .page-casino__final-cta {
    padding-left: 15px;
    padding-right: 15px;
    flex-direction: column;
    gap: 15px;
  }
  .page-casino__btn-primary, .page-casino__btn-secondary, .page-casino__btn-link {
    padding-left: 15px;
    padding-right: 15px;
  }
}