.page-casino {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333; /* Default dark text for light body background */
  background-color: #FFFFFF; /* Ensures consistency with body background */
}

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

.page-casino__section-title {
  font-size: 36px;
  color: #017439;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-casino__text-block {
  font-size: 18px;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 30px auto;
  color: #333333;
}

/* Hero Section */
.page-casino__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
  padding-bottom: 60px;
  background: linear-gradient(135deg, #017439, #00502a); /* Darker green gradient */
  color: #ffffff;
}

.page-casino__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.page-casino__hero-image {
  width: 100%;
  margin-bottom: 30px;
}

.page-casino__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-casino__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-casino__hero-title {
  font-size: 52px;
  margin-bottom: 20px;
  color: #ffffff;
  line-height: 1.2;
}

.page-casino__hero-description {
  font-size: 22px;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #f0f0f0;
}

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

.page-casino__cta-button {
  display: inline-block;
  padding: 18px 45px;
  text-decoration: none;
  border-radius: 8px;
  font-size: 20px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-casino__btn-register {
  background: #C30808; /* Custom color for Register */
  color: #FFFFFF; /* Ensures contrast with red background */
  border: 2px solid #C30808;
}

.page-casino__btn-register:hover {
  background: #a30606;
  border-color: #a30606;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-casino__btn-download {
  background: #017439; /* Primary color for Download */
  color: #FFFFFF;
  border: 2px solid #017439;
}

.page-casino__btn-download:hover {
  background: #00502a;
  border-color: #00502a;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Intro Section */
.page-casino__intro-section {
  padding: 80px 0;
  background-color: #f8f8f8; /* Light background */
}

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

.page-casino__feature-item {
  background: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-casino__feature-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.page-casino__feature-item img {
  
  
  object-fit: contain;
  margin-bottom: 20px;
  display: block; /* Ensure it respects width/height */
  margin-left: auto;
  margin-right: auto;
}

.page-casino__feature-title {
  font-size: 24px;
  color: #017439;
  margin-bottom: 15px;
}

/* Games Section */
.page-casino__games-section {
  padding: 80px 0;
  background-color: #017439;
  color: #ffffff;
}

.page-casino__games-section .page-casino__section-title {
  color: #ffffff;
}

.page-casino__games-section .page-casino__text-block {
  color: #f0f0f0;
}

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

.page-casino__game-card {
  background: #00502a; /* Darker green for card background */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-casino__game-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-casino__game-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.page-casino__game-title {
  font-size: 22px;
  color: #ffffff;
  padding: 15px 20px 0;
  margin-bottom: 10px;
}

.page-casino__game-title a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-casino__game-title a:hover {
  color: #FFFF00; /* Yellow for hover, good contrast on dark green */
}

.page-casino__game-card p {
  font-size: 16px;
  color: #e0e0e0;
  padding: 0 20px 20px;
}

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

.page-casino__btn-primary {
  background: #C30808;
  color: #FFFFFF;
  border: 2px solid #C30808;
}

.page-casino__btn-primary:hover {
  background: #a30606;
  border-color: #a30606;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* App Advantage Section */
.page-casino__app-advantage-section {
  padding: 80px 0;
  background-color: #ffffff;
}

.page-casino__app-content {
  display: flex;
  align-items: center;
  gap: 50px;
  margin-top: 50px;
  flex-wrap: wrap;
}

.page-casino__app-text {
  flex: 1;
  min-width: 300px;
}

.page-casino__app-list {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-casino__app-list li {
  margin-bottom: 25px;
  position: relative;
  padding-left: 40px;
}

.page-casino__app-list li:last-child {
  margin-bottom: 0;
}

.page-casino__app-list li::before {
  content: '✔';
  position: absolute;
  left: 0;
  top: 0;
  color: #017439;
  font-size: 24px;
  font-weight: bold;
}

.page-casino__list-title {
  font-size: 20px;
  color: #017439;
  margin-bottom: 5px;
}

.page-casino__app-list p {
  font-size: 16px;
  margin: 0;
  text-align: left;
  color: #333333;
}

.page-casino__app-image {
  flex: 1;
  min-width: 400px;
  text-align: center;
}

.page-casino__app-image img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  display: block;
  margin: 0 auto;
}

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

.page-casino__btn-secondary:hover {
  background: #017439;
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Promotions Section */
.page-casino__promotions-section {
  padding: 80px 0;
  background-color: #00502a; /* Darker green */
  color: #ffffff;
}

.page-casino__promotions-section .page-casino__section-title {
  color: #ffffff;
}

.page-casino__promotions-section .page-casino__text-block {
  color: #f0f0f0;
}

.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: #017439;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-casino__promo-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-casino__promo-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-casino__promo-title {
  font-size: 22px;
  color: #ffffff;
  padding: 15px 20px 0;
  margin-bottom: 10px;
}

.page-casino__promo-title a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-casino__promo-title a:hover {
  color: #FFFF00;
}

.page-casino__promo-card p {
  font-size: 16px;
  color: #e0e0e0;
  padding: 0 20px 20px;
}

/* Security & Support Section */
.page-casino__security-support-section {
  padding: 80px 0;
  background-color: #f8f8f8;
}

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

.page-casino__security-item {
  background: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-casino__security-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.page-casino__security-item img {
  
  
  object-fit: contain;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-casino__security-title {
  font-size: 24px;
  color: #017439;
  margin-bottom: 15px;
}

/* FAQ Section */
.page-casino__faq-section {
  padding: 80px 0;
  background-color: #017439;
  color: #ffffff;
}

.page-casino__faq-section .page-casino__section-title {
  color: #ffffff;
}

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

.page-casino__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
}

.page-casino__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 15px;
  opacity: 0;
}

.page-casino__faq-item.active .page-casino__faq-answer {
  max-height: 2000px !important;
  padding: 20px 15px !important;
  opacity: 1;
  background: #00502a; /* Darker green for answer background */
  border-radius: 0 0 5px 5px;
  color: #e0e0e0;
}

.page-casino__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: #00502a;
  border: 1px solid #017439;
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
  color: #ffffff;
}

.page-casino__faq-question:hover {
  background: #003a1d;
  border-color: #00502a;
}

.page-casino__faq-question:active {
  background: #003a1d;
}

.page-casino__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: #ffffff;
}

.page-casino__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: #FFFF00; /* Yellow for toggle, good contrast on dark green */
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

.page-casino__faq-item.active .page-casino__faq-toggle {
  color: #ffffff;
  transform: rotate(45deg);
}

/* Call to Action Section */
.page-casino__call-to-action {
  padding: 80px 0;
  background-color: #f8f8f8;
  text-align: center;
}

/* Global Image and Button Responsiveness */
.page-casino img {
  max-width: 100%;
  height: auto;
  display: block;
}

.page-casino__cta-button,
.page-casino__btn-primary,
.page-casino__btn-secondary,
.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__cta-buttons,
.page-casino__button-group,
.page-casino__btn-container {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Media Queries for Mobile */
@media (max-width: 768px) {
  .page-casino__container {
    padding: 20px 15px;
  }

  .page-casino__section-title {
    font-size: 28px;
    margin-bottom: 30px;
  }

  .page-casino__text-block {
    font-size: 16px;
    margin-bottom: 20px;
  }

  /* Hero Section Mobile */
  .page-casino__hero-section {
    padding-top: var(--header-offset, 120px) !important;
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-casino__hero-title {
    font-size: 36px;
    margin-bottom: 15px;
  }

  .page-casino__hero-description {
    font-size: 18px;
    margin-bottom: 30px;
  }

  .page-casino__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-casino__cta-button {
    padding: 15px 30px;
    font-size: 18px;
    width: 100%; /* Ensure full width on mobile */
  }

  /* App Advantage Section Mobile */
  .page-casino__app-content {
    flex-direction: column;
  }

  .page-casino__app-text,
  .page-casino__app-image {
    min-width: unset;
    width: 100%;
  }

  .page-casino__app-list li {
    padding-left: 30px;
  }

  .page-casino__app-list li::before {
    font-size: 20px;
  }

  .page-casino__list-title {
    font-size: 18px;
  }

  .page-casino__app-list p {
    font-size: 15px;
  }

  /* FAQ Section Mobile */
  .page-casino__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }

  .page-casino__faq-question h3 {
    font-size: 16px;
    margin-bottom: 0;
    width: calc(100% - 40px);
  }

  .page-casino__faq-toggle {
    margin-left: 10px;
    width: 24px;
    height: 24px;
    font-size: 20px;
  }

  .page-casino__faq-answer {
    padding: 0 15px;
  }

  .page-casino__faq-item.active .page-casino__faq-answer {
    padding: 15px !important;
  }

  /* Global Image and Button Responsiveness */
  .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-container,
  .page-casino__features-grid,
  .page-casino__games-grid,
  .page-casino__promo-grid,
  .page-casino__security-grid,
  .page-casino__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-casino__cta-button,
  .page-casino__btn-primary,
  .page-casino__btn-secondary,
  .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__cta-buttons,
  .page-casino__button-group,
  .page-casino__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }
}