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

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

/* Hero Section */
.page-casino__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 10px; /* Small top padding */
  padding-bottom: 60px;
  overflow: hidden;
}

.page-casino__hero-image-wrapper {
  width: 100%;
  max-height: 700px; /* Limit height of hero image */
  overflow: hidden;
  position: relative;
}

.page-casino__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7);
}

.page-casino__hero-content {
  position: relative; /* Ensure content is above image filter */
  z-index: 10;
  max-width: 900px;
  margin-top: -300px; /* Adjust to place content on the image, but not overlap it directly */
  padding: 40px;
  background: rgba(17, 39, 27, 0.8); /* Card BG with opacity */
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(5px);
  border: 1px solid #2E7A4E; /* Border */
}

.page-casino__hero-title {
  font-size: clamp(2em, 4vw, 3.5em);
  font-weight: 700;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 20px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.page-casino__hero-description {
  font-size: 1.2em;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-casino__btn-primary,
.page-casino__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
}

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

.page-casino__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  box-shadow: 0 6px 20px rgba(34, 199, 104, 0.6);
  transform: translateY(-2px);
}

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

.page-casino__btn-secondary:hover {
  background: rgba(42, 209, 111, 0.1);
  border-color: #57E38D; /* Glow */
  transform: translateY(-2px);
}

/* General Section Styling */
.page-casino__section-title {
  font-size: clamp(1.8em, 3vw, 2.8em);
  color: #F2FFF6; /* Text Main */
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
  line-height: 1.3;
}

.page-casino__text-block {
  font-size: 1.1em;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 20px;
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* About Section */
.page-casino__about-section {
  padding: 60px 0;
  background-color: #08160F;
}

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

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

.page-casino__game-card {
  background-color: #0A4B2C; /* Deep Green */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  text-align: center;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
  border: 1px solid #2E7A4E; /* Border */
}

.page-casino__game-card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  margin-bottom: 15px;
  display: block;
}

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

.page-casino__game-card-title a {
  color: inherit;
  text-decoration: none;
}

.page-casino__game-card-title a:hover {
  text-decoration: underline;
}

.page-casino__game-card-description {
  font-size: 0.95em;
  color: #A7D9B8; /* Text Secondary */
  padding: 0 15px;
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-casino__btn-text {
  color: #57E38D; /* Glow */
  text-decoration: none;
  font-weight: 600;
  font-size: 1em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  padding: 0 15px;
}

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

.page-casino__arrow {
  margin-left: 8px;
  transition: transform 0.2s ease;
}

.page-casino__btn-text:hover .page-casino__arrow {
  transform: translateX(5px);
}

.page-casino__view-all-games {
  text-align: center;
  margin-top: 50px;
}

/* Promotions Section */
.page-casino__promotions-section {
  padding: 60px 0;
  background-color: #08160F;
}

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

.page-casino__promo-image {
  flex: 1 1 45%;
  min-width: 300px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  display: block;
  height: auto;
  object-fit: cover;
}

.page-casino__promo-text {
  flex: 1 1 45%;
  min-width: 300px;
}

.page-casino__promo-list {
  list-style: none;
  padding: 0;
  margin: 20px 0 30px 0;
}

.page-casino__promo-list 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="%232AD16F"><path d="M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"/></svg>') no-repeat left center;
  background-size: 18px;
  padding-left: 30px;
  margin-bottom: 15px;
  color: #A7D9B8; /* Text Secondary */
  font-size: 1.05em;
}

.page-casino__promo-list li strong {
  color: #F2FFF6; /* Text Main */
}

/* Register Section */
.page-casino__register-section {
  padding: 60px 0;
  background-color: #11271B; /* Card BG */
}

.page-casino__register-flex {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.page-casino__register-steps {
  flex: 1 1 45%;
  min-width: 300px;
}

.page-casino__register-subtitle {
  font-size: 1.6em;
  color: #F2C14E; /* Gold */
  margin-bottom: 20px;
  font-weight: 600;
}

.page-casino__step-list {
  list-style: none;
  padding: 0;
  counter-reset: step-counter;
  margin-bottom: 30px;
}

.page-casino__step-list li {
  counter-increment: step-counter;
  position: relative;
  padding-left: 40px;
  margin-bottom: 15px;
  font-size: 1.05em;
  color: #A7D9B8; /* Text Secondary */
}

.page-casino__step-list li::before {
  content: counter(step-counter);
  position: absolute;
  left: 0;
  top: 0;
  background-color: #2AD16F;
  color: #08160F;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9em;
}

.page-casino__step-list li strong {
  color: #F2FFF6; /* Text Main */
}

.page-casino__register-image {
  flex: 1 1 45%;
  min-width: 300px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  display: block;
  height: auto;
  object-fit: cover;
}

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

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

.page-casino__faq-item {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 8px;
  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.15em;
  font-weight: 600;
  color: #F2FFF6; /* Text Main */
  background-color: #0A4B2C; /* Deep Green */
  transition: background-color 0.3s ease;
  list-style: none;
}

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

.page-casino__faq-question:hover {
  background-color: #13994A;
}

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

.page-casino__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: #57E38D; /* Glow */
}

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

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

.page-casino__cta-bottom-title {
  font-size: clamp(1.8em, 3vw, 2.8em);
  color: #F2C14E; /* Gold */
  margin-bottom: 20px;
  font-weight: 700;
}

.page-casino__cta-bottom-description {
  font-size: 1.1em;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-casino__hero-content {
    margin-top: -200px;
    padding: 30px;
  }
}

@media (max-width: 768px) {
  .page-casino__hero-section {
    padding-bottom: 40px;
  }

  .page-casino__hero-content {
    margin-top: -100px;
    padding: 20px;
    max-width: calc(100% - 30px);
  }

  .page-casino__hero-title {
    font-size: clamp(2em, 8vw, 2.5em);
  }

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

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

  .page-casino__btn-primary,
  .page-casino__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box !important;
  }

  .page-casino__section-title {
    font-size: clamp(1.5em, 7vw, 2em);
    margin-bottom: 30px;
  }

  .page-casino__text-block {
    font-size: 0.95em;
  }

  .page-casino__games-section,
  .page-casino__promotions-section,
  .page-casino__register-section,
  .page-casino__faq-section,
  .page-casino__cta-bottom-section {
    padding: 40px 0;
  }

  .page-casino__game-grid {
    grid-template-columns: 1fr;
  }

  .page-casino__promo-content,
  .page-casino__register-flex {
    flex-direction: column;
  }

  .page-casino__promo-image,
  .page-casino__promo-text,
  .page-casino__register-steps,
  .page-casino__register-image {
    flex: 1 1 100%;
    min-width: unset;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-casino__promo-image,
  .page-casino__register-image {
    order: -1; /* Image first on mobile */
    margin-bottom: 20px;
  }

  .page-casino img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-casino__section,
  .page-casino__card,
  .page-casino__container,
  .page-casino__game-card,
  .page-casino__faq-item,
  .page-casino__video-section,
  .page-casino__video-container,
  .page-casino__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-casino__video-section {
    padding-top: 10px !important;
  }

  .page-casino__faq-question {
    font-size: 1em;
    padding: 15px 20px;
  }

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