/* style/casino.css */
.page-casino {
  color: #FFF6D6; /* Text Main */
  background-color: #0A0A0A; /* Background */
  font-family: Arial, sans-serif;
}

.page-casino__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding for first section, relying on body for header offset */
  background-color: #111111; /* Card BG, for a subtle contrast */
}

.page-casino__hero-image-wrapper {
  width: 100%;
  max-width: 1200px; /* Constrain hero image width */
  margin-bottom: 20px;
}

.page-casino__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.page-casino__hero-content {
  max-width: 900px;
  margin: 0 auto;
}

.page-casino__main-title {
  font-size: clamp(1.75rem, 5vw, 2.5rem); /* Responsive H1 font size */
  color: #F2C14E; /* Main color */
  font-weight: bold;
  margin-bottom: 15px;
  line-height: 1.2;
  letter-spacing: 0.05em;
}

.page-casino__intro-text {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-casino__cta-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.page-casino__btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  text-align: center;
  min-width: 180px;
}

.page-casino__btn--primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Custom button color */
  color: #111111; /* Dark text for contrast */
  box-shadow: 0 5px 15px rgba(242, 193, 78, 0.4);
}

.page-casino__btn--primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(242, 193, 78, 0.6);
}

.page-casino__btn--secondary {
  background-color: transparent;
  border: 2px solid #F2C14E; /* Main color */
  color: #F2C14E; /* Main color */
}

.page-casino__btn--secondary:hover {
  background-color: #F2C14E;
  color: #111111;
  transform: translateY(-3px);
}

.page-casino__section-title {
  font-size: 2rem;
  color: #FFD36B; /* Auxiliary color */
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
  padding-top: 40px;
}

.page-casino__section-description {
  font-size: 1rem;
  line-height: 1.5;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #FFF6D6;
}

.page-casino__games-showcase-section,
.page-casino__promotions-section,
.page-casino__mobile-experience-section,
.page-casino__why-choose-section,
.page-casino__responsible-gaming-section,
.page-casino__faq-section,
.page-casino__final-cta-section {
  padding: 60px 20px;
  background-color: #0A0A0A; /* Background */
  border-top: 1px solid #3A2A12; /* Border color */
}

.page-casino__game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-casino__game-card {
  background-color: #111111; /* Card BG */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  text-align: center;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-casino__game-card-image {
  width: 100%;
  height: 200px; /* Ensure minimum size for content images */
  object-fit: cover;
  margin-bottom: 15px;
}

.page-casino__game-card-title {
  font-size: 1.4rem;
  color: #F2C14E; /* Main color */
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-casino__game-card-text {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #FFF6D6;
  padding: 0 15px;
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-casino__promo-card-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-casino__promo-card {
  background-color: #111111; /* Card BG */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
}

.page-casino__promo-card-image {
  width: 100%;
  height: 250px; /* Ensure minimum size */
  object-fit: cover;
}

.page-casino__promo-card-content {
  padding: 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
}

.page-casino__promo-card-title {
  font-size: 1.5rem;
  color: #FFD36B; /* Auxiliary color */
  margin-bottom: 10px;
}

.page-casino__promo-card-text {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #FFF6D6;
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-casino__btn--small {
  padding: 10px 20px;
  font-size: 0.9rem;
  border-radius: 30px;
  min-width: unset;
}

.page-casino__btn--link {
  background-color: transparent;
  color: #F2C14E;
  border: none;
  padding: 10px 15px;
  font-size: 1rem;
  text-decoration: underline;
}

.page-casino__btn--link:hover {
  color: #FFD36B;
  text-decoration: none;
}

.page-casino__full-promo-cta, .page-casino__full-faq-cta {
  text-align: center;
  margin-top: 40px;
}

.page-casino__mobile-experience-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.page-casino__mobile-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-casino__mobile-text-content {
  flex: 1 1 45%;
  min-width: 300px;
  text-align: left;
}

.page-casino__mobile-subtitle {
  font-size: 1.8rem;
  color: #F2C14E;
  margin-bottom: 15px;
}

.page-casino__mobile-features-text {
  font-size: 1rem;
  line-height: 1.6;
  color: #FFF6D6;
  margin-bottom: 30px;
}

.page-casino__download-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.page-casino__mobile-image-wrapper {
  flex: 1 1 45%;
  min-width: 250px;
  text-align: center;
}

.page-casino__mobile-app-image {
  width: 100%;
  max-width: 400px; /* Constrain image width */
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
}

.page-casino__why-choose-section {
  background-color: #111111; /* Card BG */
}

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

.page-casino__feature-item {
  background-color: #0A0A0A; /* Background */
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  text-align: center;
  border: 1px solid #3A2A12;
}

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

.page-casino__feature-text {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #FFF6D6;
}

.page-casino__responsible-gaming-section {
  text-align: center;
}

.page-casino__faq-item {
  background-color: #111111; /* Card BG */
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 15px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  border: 1px solid #3A2A12;
}

.page-casino__faq-question {
  font-size: 1.2rem;
  color: #F2C14E;
  margin-bottom: 10px;
}

.page-casino__faq-answer {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #FFF6D6;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.page-casino__faq-question.active + .page-casino__faq-answer {
  max-height: 200px; /* Adjust as needed for content */
}

.page-casino__final-cta-section {
  text-align: center;
  padding-bottom: 80px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-casino__hero-image-wrapper {
    margin-bottom: 15px;
  }
  .page-casino__hero-content {
    padding: 0 10px;
  }
  .page-casino__main-title {
    font-size: clamp(1.75rem, 6vw, 2.2rem);
  }
  .page-casino__intro-text {
    font-size: 1rem;
  }
  .page-casino__btn {
    padding: 12px 25px;
    font-size: 1rem;
    min-width: 160px;
  }
  .page-casino__section-title {
    font-size: 1.8rem;
  }
  .page-casino__game-card-image,
  .page-casino__promo-card-image {
    height: 180px;
  }
  .page-casino__mobile-text-content {
    text-align: center;
  }
  .page-casino__download-cta-group {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .page-casino__hero-section {
    padding: 40px 15px;
    padding-top: 10px;
  }
  .page-casino__main-title {
    font-size: clamp(1.75rem, 7vw, 2rem);
  }
  .page-casino__intro-text {
    font-size: 0.95rem;
    margin-bottom: 25px;
  }
  .page-casino__cta-group {
    flex-direction: column;
    gap: 15px;
  }
  .page-casino__btn {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    padding: 12px 20px;
  }
  .page-casino__section-title {
    font-size: 1.6rem;
  }
  .page-casino__section-description {
    font-size: 0.9rem;
    margin-bottom: 30px;
  }
  .page-casino__game-grid,
  .page-casino__promo-card-wrapper,
  .page-casino__features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-casino__game-card-image,
  .page-casino__promo-card-image {
    height: 200px;
  }
  .page-casino__mobile-content {
    flex-direction: column-reverse; /* Image above text on mobile */
  }
  .page-casino__mobile-text-content {
    text-align: center;
    min-width: unset;
  }
  .page-casino__mobile-subtitle {
    font-size: 1.6rem;
  }
  .page-casino__mobile-features-text {
    font-size: 0.9rem;
  }
  .page-casino__download-cta-group {
    flex-direction: column;
  }
  .page-casino__mobile-app-image {
    max-width: 300px;
  }
  .page-casino__feature-title {
    font-size: 1.2rem;
  }
  .page-casino__faq-question {
    font-size: 1.1rem;
  }
  .page-casino__faq-answer {
    font-size: 0.9rem;
  }
  /* Mobile image constraint */
  .page-casino img {
    max-width: 100%;
    height: auto;
  }
  .page-casino__game-card-image, .page-casino__promo-card-image, .page-casino__mobile-app-image {
    height: auto; /* Allow auto height on mobile */
    min-height: 200px; /* Ensure minimum height for content images */
    max-width: 100%; /* Ensure content images don't overflow */
  }
  /* Ensure all content images are at least 200px wide */
  .page-casino img[width]:not([width=""]) {
    min-width: 200px; /* Enforce min-width for all images that have a width attribute */
  }
  .page-casino__game-card-image, .page-casino__promo-card-image {
    width: 100%; /* Make card images fill their container */
  }
}

@media (max-width: 480px) {
  .page-casino__hero-section {
    padding: 30px 10px;
    padding-top: 10px;
  }
  .page-casino__main-title {
    font-size: clamp(1.5rem, 8vw, 1.8rem);
  }
  .page-casino__intro-text {
    font-size: 0.85rem;
  }
  .page-casino__section-title {
    font-size: 1.4rem;
  }
  .page-casino__btn {
    padding: 10px 15px;
    font-size: 0.9rem;
  }
}

/* Ensure all images selected by .page-casino are not smaller than 200px */
.page-casino img {
  min-width: 200px; /* Global minimum width for content images */
  min-height: 200px; /* Global minimum height for content images */
}