.page-casino {
  color: #ffffff; /* Light text for dark body background */
  background-color: transparent; /* Body background is handled by shared.css */
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

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

.page-casino__section-title {
  font-size: 2.8em;
  color: #FFD700; /* Auxiliary color for titles */
  text-align: center;
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.page-casino__section-intro {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px auto;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
}

.page-casino__btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
  text-align: center;
  cursor: pointer;
  border: none;
}

.page-casino__btn--primary {
  background-color: #FFD700; /* Auxiliary color */
  color: #0A192F; /* Primary color for text on auxiliary background */
}

.page-casino__btn--primary:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
}

.page-casino__btn--secondary {
  background-color: transparent;
  color: #FFD700;
  border: 2px solid #FFD700;
}

.page-casino__btn--secondary:hover {
  background-color: rgba(255, 215, 0, 0.1);
  transform: translateY(-2px);
}

.page-casino__btn--small {
  padding: 10px 20px;
  font-size: 0.9em;
  border-radius: 6px;
}

/* Hero Section */
.page-casino__hero-section {
  position: relative;
  overflow: hidden;
  padding: 0;
  display: flex;
  align-items: center;
  min-height: 600px;
}

.page-casino__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  filter: brightness(0.6);
}

.page-casino__hero-container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 2;
  padding: 80px 20px;
}

.page-casino__hero-content {
  max-width: 900px;
  color: #ffffff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.page-casino__hero-title {
  font-size: 3.8em;
  color: #FFD700; /* Auxiliary color */
  margin-bottom: 20px;
  line-height: 1.1;
}

.page-casino__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  line-height: 1.6;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-casino__hero-buttons .page-casino__btn {
  margin: 0 10px;
}

/* Features Section */
.page-casino__features-section {
  padding: 80px 0;
  background-color: #0A192F; /* Primary color as background */
}

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

.page-casino__feature-card {
  background-color: rgba(255, 255, 255, 0.05); /* Slightly transparent white on primary background */
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  transition: transform 0.3s ease, background-color 0.3s ease;
  border: 1px solid rgba(255, 215, 0, 0.2);
}

.page-casino__feature-card:hover {
  transform: translateY(-5px);
  background-color: rgba(255, 255, 255, 0.1);
}

.page-casino__feature-icon {
  width: 100%; /* Ensure images are not small icons */
  height: auto;
  max-height: 250px;
  object-fit: cover;
  margin-bottom: 20px;
  border-radius: 8px;
  min-width: 200px;
  min-height: 200px;
}

.page-casino__feature-title {
  font-size: 1.6em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-casino__feature-text {
  font-size: 1em;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
}

/* Games Section */
.page-casino__games-section {
  padding: 80px 0;
}

.page-casino__game-category {
  margin-bottom: 60px;
}

.page-casino__game-category-title {
  font-size: 2.2em;
  color: #FFD700;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.page-casino__game-category-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -10px;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #FFD700;
  border-radius: 2px;
}

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

.page-casino__game-card {
  background-color: rgba(255, 255, 255, 0.07); /* Slightly transparent white */
  border-radius: 12px;
  overflow: hidden;
  text-align: center;
  padding-bottom: 30px;
  transition: transform 0.3s ease;
}

.page-casino__game-card:hover {
  transform: translateY(-5px);
}

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

.page-casino__game-name {
  font-size: 1.5em;
  color: #FFD700;
  margin-bottom: 10px;
  padding: 0 20px;
}

.page-casino__game-description {
  font-size: 0.95em;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 20px;
  padding: 0 20px;
}

.page-casino__full-cta {
  background-color: #0A192F; /* Primary color */
  padding: 50px 30px;
  border-radius: 12px;
  text-align: center;
  margin-top: 60px;
  border: 1px solid rgba(255, 215, 0, 0.3);
}

.page-casino__full-cta-title {
  font-size: 2.5em;
  color: #FFD700;
  margin-bottom: 20px;
}

.page-casino__full-cta-description {
  font-size: 1.1em;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Promotions Section */
.page-casino__promotions-section {
  padding: 80px 0;
  background-color: #0A192F; /* Primary color */
}

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

.page-casino__promo-card {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  overflow: hidden;
  text-align: center;
  padding-bottom: 30px;
  transition: transform 0.3s ease;
  border: 1px solid rgba(255, 215, 0, 0.2);
}

.page-casino__promo-card:hover {
  transform: translateY(-5px);
}

.page-casino__promo-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
}

.page-casino__promo-title {
  font-size: 1.6em;
  color: #FFD700;
  margin-bottom: 10px;
  padding: 0 20px;
}

.page-casino__promo-text {
  font-size: 0.95em;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 20px;
  padding: 0 20px;
}

/* Mobile Section */
.page-casino__mobile-section {
  padding: 80px 0;
}

.page-casino__mobile-content {
  display: flex;
  align-items: center;
  gap: 50px;
}

.page-casino__mobile-text-content {
  flex: 1;
}

.page-casino__mobile-features-list {
  list-style: none;
  padding: 0;
  margin: 30px 0;
}

.page-casino__mobile-feature-item {
  font-size: 1.1em;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.9);
  position: relative;
  padding-left: 25px;
}

.page-casino__mobile-feature-item::before {
  content: '✓';
  color: #FFD700;
  position: absolute;
  left: 0;
  font-weight: bold;
}

.page-casino__mobile-image-wrapper {
  flex: 1;
  text-align: center;
}

.page-casino__mobile-image {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  min-width: 200px;
  min-height: 200px;
}

/* Safety Section */
.page-casino__safety-section {
  padding: 80px 0;
  background-color: #0A192F; /* Primary color */
}

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

.page-casino__safety-point {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  border: 1px solid rgba(255, 215, 0, 0.2);
}

.page-casino__safety-title {
  font-size: 1.6em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-casino__safety-text {
  font-size: 1em;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
}

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

.page-casino__text-link {
  color: #FFD700;
  text-decoration: none;
  font-weight: bold;
  margin: 0 15px;
  transition: color 0.3s ease;
}

.page-casino__text-link:hover {
  color: #e6c200;
  text-decoration: underline;
}

/* FAQ Section */
.page-casino__faq-section {
  padding: 80px 0;
}

.page-casino__faq-accordion {
  margin-top: 50px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-casino__faq-item {
  background-color: rgba(255, 255, 255, 0.07);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  border: 1px solid rgba(255, 215, 0, 0.2);
}

.page-casino__faq-question {
  font-size: 1.3em;
  color: #FFD700;
  padding: 20px 30px;
  cursor: pointer;
  margin: 0;
  position: relative;
  user-select: none;
}

.page-casino__faq-question::after {
  content: '+';
  position: absolute;
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5em;
  transition: transform 0.3s ease;
}

.page-casino__faq-question.active::after {
  content: '-';
  transform: translateY(-50%) rotate(180deg);
}

.page-casino__faq-answer {
  padding: 0 30px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out, padding 0.5s ease-out;
}

.page-casino__faq-answer.open {
  max-height: 200px; /* Adjust based on content */
  padding: 20px 30px 30px 30px;
}

.page-casino__faq-answer p {
  font-size: 1em;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

/* Final CTA Section */
.page-casino__cta-final-section {
  padding: 80px 0;
  text-align: center;
  background-color: #0A192F; /* Primary color */
  border-top: 1px solid rgba(255, 215, 0, 0.3);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-casino__hero-title {
    font-size: 3em;
  }

  .page-casino__section-title {
    font-size: 2.2em;
  }

  .page-casino__full-cta-title {
    font-size: 2em;
  }

  .page-casino__mobile-content {
    flex-direction: column;
  }

  .page-casino__mobile-text-content,
  .page-casino__mobile-image-wrapper {
    flex: none;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .page-casino__hero-section {
    min-height: 500px;
    padding: 60px 20px;
  }

  .page-casino__hero-title {
    font-size: 2.5em;
  }

  .page-casino__hero-description {
    font-size: 1.1em;
  }

  .page-casino__hero-buttons .page-casino__btn {
    margin: 10px 0;
    display: block;
  }

  .page-casino__section-title {
    font-size: 1.8em;
  }

  .page-casino__section-intro {
    font-size: 0.95em;
    margin-bottom: 30px;
  }

  .page-casino__features-section, .page-casino__games-section, .page-casino__promotions-section, .page-casino__mobile-section, .page-casino__safety-section, .page-casino__faq-section, .page-casino__cta-final-section {
    padding: 50px 0;
  }

  .page-casino__game-category-title {
    font-size: 1.8em;
  }

  .page-casino__game-image, .page-casino__promo-image, .page-casino__feature-icon, .page-casino__mobile-image {
    max-width: 100%;
    height: auto;
    min-width: 200px;
    min-height: 200px;
  }

  .page-casino__full-cta-title {
    font-size: 1.8em;
  }

  .page-casino__full-cta-description {
    font-size: 1em;
  }

  .page-casino__faq-question {
    font-size: 1.1em;
    padding: 15px 25px;
  }

  .page-casino__faq-question::after {
    right: 20px;
  }

  /* Ensure content area images are responsive and don't overflow */
  .page-casino img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-casino__hero-title {
    font-size: 2em;
  }
  .page-casino__hero-description {
    font-size: 1em;
  }
  .page-casino__hero-buttons .page-casino__btn {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }
  .page-casino__section-title {
    font-size: 1.6em;
  }
  .page-casino__game-category-title {
    font-size: 1.6em;
  }
  .page-casino__full-cta-title {
    font-size: 1.6em;
  }
  .page-casino__faq-question {
    font-size: 1em;
  }
  .page-casino__faq-answer.open {
    padding: 15px 25px 25px 25px;
  }
}