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

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

.page-casino__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 600px;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  overflow: hidden;
}

.page-casino__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  filter: brightness(0.5); /* Darken image for text readability */
}

.page-casino__hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  color: #F2FFF6;
}

.page-casino__hero-title {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #F2C14E; /* Gold for main title */
}

.page-casino__hero-description {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: #A7D9B8; /* Secondary text color */
}

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

.page-casino__section-title {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  color: #F2C14E; /* Gold for section titles */
}

.page-casino__section-description {
  font-size: 1.1rem;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #A7D9B8;
}

.page-casino__intro-section,
.page-casino__games-section,
.page-casino__promotions-section,
.page-casino__mobile-section,
.page-casino__why-choose-section,
.page-casino__registration-section,
.page-casino__support-section,
.page-casino__faq-section,
.page-casino__cta-section {
  padding: 80px 0;
  border-top: 1px solid #1E3A2A; /* Divider color */
}

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

.page-casino__game-card,
.page-casino__promotion-card,
.page-casino__benefit-card,
.page-casino__support-card {
  background: #11271B; /* Card background */
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #2E7A4E; /* Border color */
}

.page-casino__game-card:hover,
.page-casino__promotion-card:hover,
.page-casino__benefit-card:hover,
.page-casino__support-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.page-casino__game-image,
.page-casino__promotion-image,
.page-casino__mobile-image,
.page-casino__support-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  border: 1px solid #2E7A4E; /* Border color */
}

.page-casino__game-title,
.page-casino__promotion-title,
.page-casino__benefit-title,
.page-casino__support-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #F2C14E; /* Gold for titles */
}

.page-casino__game-text,
.page-casino__promotion-text,
.page-casino__benefit-text,
.page-casino__support-text {
  font-size: 1rem;
  color: #A7D9B8; /* Secondary text color */
}

.page-casino__btn-primary,
.page-casino__btn-secondary,
.page-casino__btn-text {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text breaking */
  box-sizing: border-box;
  max-width: 100%;
}

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

.page-casino__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(34, 199, 104, 0.6);
}

.page-casino__btn-secondary {
  background: transparent;
  color: #57E38D; /* Glow color */
  border: 2px solid #57E38D; /* Glow color border */
}

.page-casino__btn-secondary:hover {
  background: #57E38D;
  color: #08160F; /* Dark background color for contrast */
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(87, 227, 141, 0.4);
}

.page-casino__btn-text {
  background: none;
  border: none;
  color: #57E38D; /* Glow color */
  padding: 5px 0;
  margin-top: 15px;
  font-size: 1rem;
  font-weight: 500;
}

.page-casino__btn-text:hover {
  text-decoration: underline;
  color: #F2C14E; /* Gold on hover */
}

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

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

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

.page-casino__mobile-image-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  min-width: 300px;
}

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

.page-casino__mobile-features li {
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="%2357E38D" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"></polyline></svg>') no-repeat left center;
  background-size: 20px;
  padding-left: 30px;
  margin-bottom: 15px;
  color: #A7D9B8;
  font-size: 1.05rem;
}

.page-casino__registration-steps {
  list-style: none;
  padding: 0;
  counter-reset: step-counter;
  max-width: 800px;
  margin: 0 auto;
}

.page-casino__registration-steps li {
  counter-increment: step-counter;
  margin-bottom: 25px;
  padding-left: 40px;
  position: relative;
  color: #F2FFF6;
}

.page-casino__registration-steps li::before {
  content: counter(step-counter);
  position: absolute;
  left: 0;
  top: 0;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
}

.page-casino__registration-steps strong {
  color: #F2C14E;
}

.page-casino__faq-list {
  max-width: 900px;
  margin: 40px auto 0 auto;
}

.page-casino__faq-item {
  background: #11271B; /* Card background */
  border: 1px solid #2E7A4E; /* Border color */
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-casino__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.15rem;
  font-weight: 600;
  color: #F2FFF6;
  background: #0A4B2C; /* Deep Green */
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

.page-casino__faq-item[open] > .page-casino__faq-question {
  background-color: #13994A; /* Darker green when open */
}

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

.page-casino__faq-qtext {
  flex-grow: 1;
}

.page-casino__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  margin-left: 15px;
  color: #F2C14E; /* Gold */
}

.page-casino__faq-answer {
  padding: 20px 25px;
  font-size: 1rem;
  color: #A7D9B8;
  border-top: 1px solid #1E3A2A; /* Divider color */
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-casino__hero-title {
    font-size: clamp(2rem, 5vw, 3rem);
  }
  .page-casino__section-title {
    font-size: clamp(1.6rem, 4vw, 2.5rem);
  }
  .page-casino__mobile-content {
    flex-direction: column;
    text-align: center;
  }
  .page-casino__mobile-text-content, .page-casino__mobile-image-wrapper {
    width: 100%;
  }
  .page-casino__mobile-features {
    text-align: left;
  }
}

@media (max-width: 768px) {
  .page-casino {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-casino__hero-section {
    min-height: 450px;
    padding: 40px 15px;
    padding-top: 10px !important;
  }
  .page-casino__hero-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }
  .page-casino__hero-description {
    font-size: 1rem;
  }
  .page-casino__hero-cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .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__hero-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;
  }
  .page-casino__intro-section,
  .page-casino__games-section,
  .page-casino__promotions-section,
  .page-casino__mobile-section,
  .page-casino__why-choose-section,
  .page-casino__registration-section,
  .page-casino__support-section,
  .page-casino__faq-section,
  .page-casino__cta-section {
    padding: 50px 0;
  }
  .page-casino__container {
    padding: 0 15px;
  }
  .page-casino__game-image,
  .page-casino__promotion-image,
  .page-casino__mobile-image,
  .page-casino__support-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-casino__game-card,
  .page-casino__promotion-card,
  .page-casino__benefit-card,
  .page-casino__support-card,
  .page-casino__mobile-image-wrapper,
  .page-casino__cta-center {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
  }
  .page-casino__faq-question {
    font-size: 1rem;
    padding: 15px 20px;
  }
  .page-casino__faq-answer {
    padding: 15px 20px;
  }
}

@media (max-width: 480px) {
  .page-casino__hero-title {
    font-size: clamp(1.5rem, 8vw, 2.2rem);
  }
  .page-casino__section-title {
    font-size: clamp(1.4rem, 6vw, 2rem);
  }
  .page-casino__game-grid,
  .page-casino__promotion-grid,
  .page-casino__benefits-grid,
  .page-casino__support-channels {
    grid-template-columns: 1fr;
  }
  .page-casino__registration-steps li {
    font-size: 0.95rem;
  }
}