.page-casino {
  font-family: 'Arial', sans-serif;
  background-color: #0A0A0A; /* Main background color */
  color: #FFF6D6; /* Main text color */
  line-height: 1.6;
  font-size: 16px;
}

.page-casino__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Hero Section */
.page-casino__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding, assuming shared.css handles body padding-top */
  text-align: center;
  margin-bottom: 40px;
}

.page-casino__hero-image-wrapper {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%; /* 16:9 aspect ratio for hero image */
  overflow: hidden;
}

.page-casino__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensure image covers the area */
  filter: brightness(0.6); /* Slightly darken for text readability */
}

.page-casino__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  max-width: 900px;
  z-index: 10;
  color: #FFF6D6;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.page-casino__main-title {
  font-size: 3.2em;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FFD36B; /* Glow color for title */
  text-shadow: 0 0 10px rgba(255, 211, 107, 0.7);
}

.page-casino__description {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-casino__hero-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

/* General Buttons */
.page-casino__btn-primary,
.page-casino__btn-secondary,
.page-casino__btn-play-now,
.page-casino__btn-learn-more,
.page-casino__btn-small-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-casino__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111; /* Dark text for light button */
  border: none;
  box-shadow: 0 4px 15px rgba(255, 211, 107, 0.4);
}

.page-casino__btn-primary:hover {
  background: linear-gradient(180deg, #FFE080 0%, #E8B025 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 211, 107, 0.6);
}

.page-casino__btn-secondary {
  background: transparent;
  color: #FFD36B;
  border: 2px solid #FFD36B;
  box-shadow: 0 4px 10px rgba(255, 211, 107, 0.2);
}

.page-casino__btn-secondary:hover {
  background: rgba(255, 211, 107, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(255, 211, 107, 0.4);
}

.page-casino__btn-large {
  padding: 16px 40px;
  font-size: 1.2em;
}

.page-casino__btn-play-now {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111;
  border: none;
  padding: 10px 20px;
  font-size: 0.95em;
  border-radius: 5px;
  margin-top: 15px;
}

.page-casino__btn-play-now:hover {
  background: linear-gradient(180deg, #FFE080 0%, #E8B025 100%);
  transform: translateY(-1px);
}

.page-casino__btn-learn-more,
.page-casino__btn-small-link {
  background: transparent;
  color: #FFD36B;
  border: 1px solid #FFD36B;
  padding: 8px 15px;
  font-size: 0.9em;
  border-radius: 5px;
  margin-top: 10px;
}

.page-casino__btn-learn-more:hover,
.page-casino__btn-small-link:hover {
  background: rgba(255, 211, 107, 0.1);
  transform: translateY(-1px);
}

/* Sections */
.page-casino__section-title {
  font-size: 2.5em;
  color: #FFD36B;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
  margin-top: 60px;
}

.page-casino__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, transparent, #FFD36B, transparent);
  border-radius: 2px;
}

.page-casino__text-block {
  margin-bottom: 20px;
  text-align: justify;
  color: #FFF6D6; /* Main text color */
}

/* About Section */
.page-casino__about-section {
  padding: 60px 0;
}

/* Games Section */
.page-casino__games-section {
  padding: 60px 0;
  background-color: #111111; /* Card BG color */
}

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

.page-casino__game-card {
  background-color: #0A0A0A; /* Darker than section bg for contrast */
  border: 1px solid #3A2A12; /* Border color */
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  padding: 25px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-casino__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(255, 211, 107, 0.2);
}

.page-casino__game-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  border: 1px solid #3A2A12;
}

.page-casino__game-card-title {
  font-size: 1.5em;
  color: #FFD36B;
  margin-bottom: 10px;
  font-weight: 700;
}

.page-casino__game-card-description {
  font-size: 0.95em;
  color: #FFF6D6;
  flex-grow: 1;
  margin-bottom: 20px;
}

/* Promotions Section */
.page-casino__promotions-section {
  padding: 60px 0;
}

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

.page-casino__promo-item {
  background-color: #111111; /* Card BG color */
  border: 1px solid #3A2A12;
  border-radius: 10px;
  padding: 30px;
  color: #FFF6D6;
  text-align: center;
  transition: box-shadow 0.3s ease;
}

.page-casino__promo-item:hover {
  box-shadow: 0 8px 20px rgba(255, 211, 107, 0.15);
}

.page-casino__promo-title {
  font-size: 1.4em;
  color: #FFD36B;
  margin-bottom: 15px;
}

.page-casino__promo-item p {
  font-size: 0.95em;
  margin-bottom: 15px;
}

.page-casino__cta-center {
  text-align: center;
  margin-top: 40px;
}

/* Why Choose Section */
.page-casino__why-choose-section {
  padding: 60px 0;
  background-color: #0A0A0A;
}

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

.page-casino__feature-item {
  background-color: #111111;
  border: 1px solid #3A2A12;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  color: #FFF6D6;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-casino__feature-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 8px rgba(255, 211, 107, 0.3)); /* Glow effect */
}

.page-casino__feature-title {
  font-size: 1.3em;
  color: #FFD36B;
  margin-bottom: 10px;
}

/* Get Started Section */
.page-casino__get-started-section {
  padding: 60px 0;
  background-color: #111111;
}

.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-color: #0A0A0A;
  border: 1px solid #3A2A12;
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  color: #FFF6D6;
  position: relative;
  padding-top: 60px; /* Space for step number */
}

.page-casino__step-number {
  position: absolute;
  top: -25px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 50px;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8em;
  font-weight: 700;
  box-shadow: 0 5px 15px rgba(255, 211, 107, 0.5);
}

.page-casino__step-title {
  font-size: 1.3em;
  color: #FFD36B;
  margin-bottom: 10px;
}

/* FAQ Section */
.page-casino__faq-section {
  padding: 60px 0;
  background-color: #0A0A0A;
}

details.page-casino__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #3A2A12; /* Border color */
  overflow: hidden;
  background: #111111; /* Card BG color */
  color: #FFF6D6; /* Text color */
}
details.page-casino__faq-item summary.page-casino__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}
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: rgba(255, 211, 107, 0.05); /* Light hover effect */
}
.page-casino__faq-qtext {
  flex: 1;
  font-size: 1.1em;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #FFD36B; /* Question text color */
}
.page-casino__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #FFD36B; /* Toggle icon color */
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-casino__faq-item .page-casino__faq-answer {
  padding: 0 20px 20px;
  background: #0A0A0A; /* Darker background for answer */
  border-radius: 0 0 5px 5px;
  color: #FFF6D6; /* Answer text color */
}

.page-casino__faq-answer p {
  margin: 0;
  padding: 0;
  font-size: 0.95em;
}

/* CTA Bottom Section */
.page-casino__cta-bottom-section {
  padding: 60px 0 80px;
  text-align: center;
  background-color: #111111;
}

.page-casino__cta-bottom-section .page-casino__section-title {
  margin-top: 0;
  margin-bottom: 20px;
}

.page-casino__cta-bottom-section .page-casino__text-block {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 30px;
}

.page-casino__cta-bottom-section .page-casino__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-casino__main-title {
    font-size: 2.8em;
  }
  .page-casino__description {
    font-size: 1.1em;
  }
  .page-casino__section-title {
    font-size: 2em;
  }
  .page-casino__game-category-grid,
  .page-casino__promo-list,
  .page-casino__features-grid,
  .page-casino__steps-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  .page-casino__hero-image {
    object-position: center top; /* Adjust for shorter screens */
  }
}

@media (max-width: 768px) {
  .page-casino__container {
    padding: 0 15px;
  }

  /* Hero Section */
  .page-casino__hero-section {
    padding-top: 10px; /* Small top padding */
    margin-bottom: 30px;
  }
  .page-casino__hero-image-wrapper {
    padding-bottom: 75%; /* More height for mobile (4:3) */
  }
  .page-casino__hero-image {
    object-fit: contain !important; /* Banner 849px contain */
    height: auto !important;
    width: 100% !important;
  }
  .page-casino__hero-content {
    width: 90%;
    top: 55%; /* Adjust position */
  }
  .page-casino__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em); /* H1 font size with clamp */
    margin-bottom: 15px;
  }
  .page-casino__description {
    font-size: 1em;
    margin-bottom: 25px;
  }
  .page-casino__hero-cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 300px; /* Constrain button group width */
    margin: 0 auto;
  }

  /* General Buttons */
  .page-casino__btn-primary,
  .page-casino__btn-secondary,
  .page-casino__btn-play-now,
  .page-casino__btn-learn-more,
  .page-casino__btn-small-link,
  .page-casino a[class*="button"],
  .page-casino a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-casino__hero-cta-buttons,
  .page-casino__cta-center,
  .page-casino__cta-bottom-section .page-casino__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
    flex-direction: column; /* Ensure vertical stacking for CTA buttons */
  }

  /* Section Titles */
  .page-casino__section-title {
    font-size: 1.8em;
    margin-top: 40px;
    margin-bottom: 30px;
  }
  .page-casino__section-title::after {
    width: 60px;
  }

  /* Images */
  .page-casino img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  /* Game Categories Grid */
  .page-casino__game-category-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-casino__game-card-image {
    height: auto;
    aspect-ratio: 16/9; /* Maintain aspect ratio */
  }

  /* Promotions List */
  .page-casino__promo-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* Features Grid */
  .page-casino__features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-casino__feature-icon {
    width: 80px;
    height: 80px;
  }

  /* Steps Grid */
  .page-casino__steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* FAQ Section */
  details.page-casino__faq-item summary.page-casino__faq-question {
    padding: 15px;
  }
  .page-casino__faq-qtext {
    font-size: 1em;
  }
  .page-casino__faq-toggle {
    font-size: 20px;
    width: 24px;
  }
  details.page-casino__faq-item .page-casino__faq-answer {
    padding: 0 15px 15px;
  }
}