/* style/casino.css */
.page-casino {
  font-family: 'Arial', sans-serif;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #0a0a0a; /* Inherited from body, ensuring contrast */
}

.page-casino__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  min-height: 700px;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px);
  overflow: hidden;
  color: #ffffff;
}

.page-casino__hero-video-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.page-casino__hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5);
}

.page-casino__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  background-color: rgba(0, 0, 0, 0.6);
  padding: 30px;
  border-radius: 10px;
}

.page-casino__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFD700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  line-height: 1.2;
}

.page-casino__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  line-height: 1.6;
}

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

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

.page-casino__btn-primary {
  background-color: #FFD700;
  color: #1a1a1a;
  border: 2px solid #FFD700;
}

.page-casino__btn-primary:hover {
  background-color: #e6c200;
  border-color: #e6c200;
  color: #000000;
}

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

.page-casino__btn-secondary:hover {
  background-color: #FFD700;
  color: #1a1a1a;
}

.page-casino__btn-large {
  padding: 18px 40px;
  font-size: 1.2em;
}

.page-casino__section {
  padding: 80px 20px;
  text-align: center;
}

.page-casino__introduction {
  background-color: #1a1a1a;
  color: #ffffff;
}

.page-casino__game-showcase {
  background-color: #0a0a0a;
  color: #ffffff;
}

.page-casino__promotions {
  background-color: #1a1a1a;
  color: #ffffff;
}

.page-casino__security {
  background-color: #0a0a0a;
  color: #ffffff;
}

.page-casino__guide {
  background-color: #1a1a1a;
  color: #ffffff;
}

.page-casino__support {
  background-color: #0a0a0a;
  color: #ffffff;
}

.page-casino__app-download {
  background-color: #1a1a1a;
  color: #ffffff;
}

.page-casino__faq {
  background-color: #0a0a0a;
  color: #ffffff;
}

.page-casino__cta-final {
  background-color: #8B0000;
  color: #ffffff;
}

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

.page-casino__section-title {
  font-size: 2.8em;
  margin-bottom: 40px;
  color: #FFD700;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.page-casino__subsection-title {
  font-size: 2em;
  margin-top: 40px;
  margin-bottom: 25px;
  color: #FFD700;
}

.page-casino__text-block {
  font-size: 1.1em;
  line-height: 1.7;
  max-width: 900px;
  margin: 0 auto 30px auto;
  color: #f0f0f0;
}

.page-casino__list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 800px;
  text-align: left;
}

.page-casino__list-item {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 15px;
  padding-left: 30px;
  position: relative;
  color: #f0f0f0;
}

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

.page-casino__game-grid,
.page-casino__promo-grid,
.page-casino__security-features,
.page-casino__guide-steps,
.page-casino__support-channels,
.page-casino__app-benefits {
  display: grid;
  gap: 30px;
  margin-top: 40px;
}

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

.page-casino__promo-grid {
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

.page-casino__security-features {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.page-casino__guide-steps {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.page-casino__support-channels {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.page-casino__app-benefits {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.page-casino__game-card,
.page-casino__promo-card,
.page-casino__feature-item,
.page-casino__step-card,
.page-casino__channel-item,
.page-casino__benefit-item {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-casino__game-card:hover,
.page-casino__promo-card:hover,
.page-casino__feature-item:hover,
.page-casino__step-card:hover,
.page-casino__channel-item:hover,
.page-casino__benefit-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.page-casino__game-image,
.page-casino__promo-image,
.page-casino__feature-icon {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin-bottom: 20px;
  display: block;
  object-fit: cover;
}

.page-casino__game-image {
  height: 200px;
}

.page-casino__promo-image {
  height: 180px;
}

.page-casino__feature-icon {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background-color: #FFD700;
  padding: 15px;
  object-fit: contain;
}

.page-casino__game-title,
.page-casino__promo-title,
.page-casino__feature-title,
.page-casino__step-title,
.page-casino__channel-title,
.page-casino__benefit-title {
  font-size: 1.5em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-casino__game-description,
.page-casino__promo-description,
.page-casino__feature-description,
.page-casino__step-description,
.page-casino__channel-description,
.page-casino__benefit-description {
  font-size: 1em;
  line-height: 1.6;
  color: #e0e0e0;
  flex-grow: 1;
}

.page-casino__btn-text {
  color: #FFD700;
  text-decoration: none;
  font-weight: bold;
  margin-top: 20px;
  display: inline-flex;
  align-items: center;
  transition: color 0.3s ease;
}

.page-casino__btn-text:hover {
  color: #e6c200;
}

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

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

.page-casino__app-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-top: 40px;
}

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

.page-casino__faq-item {
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  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;
  background-color: rgba(255, 255, 255, 0.05);
  transition: background-color 0.3s ease;
}

.page-casino__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.12);
}

.page-casino__faq-question h3 {
  margin: 0;
  font-size: 1.2em;
  color: #FFD700;
  text-align: left;
}

.page-casino__faq-toggle {
  font-size: 1.8em;
  font-weight: bold;
  color: #FFD700;
  transition: transform 0.3s ease;
}

.page-casino__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  text-align: left;
  color: #e0e0e0;
}

.page-casino__faq-answer p {
  margin: 15px 0;
  line-height: 1.6;
}

.page-casino__faq-item.active .page-casino__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to contain content */
  padding: 15px 25px;
}

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

.page-casino__text-center {
  text-align: center;
}

/* Mobile responsiveness */
@media (max-width: 1024px) {
  .page-casino__hero-title {
    font-size: 3em;
  }
  .page-casino__hero-description {
    font-size: 1.1em;
  }
  .page-casino__section-title {
    font-size: 2.2em;
  }
  .page-casino__subsection-title {
    font-size: 1.8em;
  }
}

@media (max-width: 768px) {
  .page-casino__hero-section {
    min-height: 500px;
    padding-top: var(--header-offset, 120px) !important; /* Ensure spacing on mobile */
  }
  .page-casino__hero-title {
    font-size: 2.2em;
  }
  .page-casino__hero-description {
    font-size: 1em;
    margin-bottom: 20px;
  }
  .page-casino__hero-actions {
    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: 12px 20px;
    font-size: 1em;
  }
  .page-casino__btn-large {
    padding: 15px 25px;
    font-size: 1.1em;
  }
  .page-casino__section {
    padding: 50px 15px;
  }
  .page-casino__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-casino__subsection-title {
    font-size: 1.5em;
  }
  .page-casino__text-block {
    font-size: 0.95em;
    margin-bottom: 20px;
  }
  .page-casino__list-item {
    font-size: 0.95em;
  }
  .page-casino img,
  .page-casino video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-casino__game-image,
  .page-casino__promo-image {
    height: auto;
  }
  .page-casino__section,
  .page-casino__card,
  .page-casino__container,
  .page-casino__hero-video-wrapper,
  .page-casino__game-card,
  .page-casino__promo-card,
  .page-casino__feature-item,
  .page-casino__step-card,
  .page-casino__channel-item,
  .page-casino__benefit-item,
  .page-casino__hero-actions,
  .page-casino__app-actions,
  .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-x: hidden !important;
  }
  .page-casino__game-grid,
  .page-casino__promo-grid,
  .page-casino__security-features,
  .page-casino__guide-steps,
  .page-casino__support-channels,
  .page-casino__app-benefits {
    grid-template-columns: 1fr;
  }
  .page-casino__faq-question h3 {
    font-size: 1.1em;
  }
  .page-casino__faq-answer {
    padding: 0 15px;
  }
  .page-casino__faq-item.active .page-casino__faq-answer {
    padding: 15px;
  }
}