/* style/slot-games.css */

/* Base styles for the page content */
.page-slot-games {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light backgrounds */
}

/* Ensure body padding-top is handled by shared.css */
/* .page-slot-games should not have padding-top for header offset */

.page-slot-games__dark-section {
  background-color: #26A9E0; /* Brand primary color */
  color: #FFFFFF; /* White text for dark background */
}

.page-slot-games__light-bg {
  background-color: #FFFFFF;
  color: #333333;
}

.page-slot-games__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, header offset handled by body */
  overflow: hidden;
}

.page-slot-games__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.page-slot-games__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.8; /* Slightly dim the image for text readability */
}

.page-slot-games__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
  background: rgba(0, 0, 0, 0.4); /* Semi-transparent overlay for text readability */
  border-radius: 8px;
}

.page-slot-games__main-title {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.page-slot-games__description {
  font-size: 1.15rem;
  color: #F0F0F0;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-slot-games__btn-primary,
.page-slot-games__btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%; /* Ensure buttons adapt */
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word;
}

.page-slot-games__btn-primary {
  background-color: #EA7C07; /* Login color */
  color: #FFFFFF;
  border: 2px solid #EA7C07;
}

.page-slot-games__btn-primary:hover {
  background-color: #cc6a00;
  border-color: #cc6a00;
}

.page-slot-games__btn-secondary {
  background-color: transparent;
  color: #FFFFFF;
  border: 2px solid #FFFFFF;
}

.page-slot-games__btn-secondary:hover {
  background-color: #FFFFFF;
  color: #26A9E0;
}

.page-slot-games__content-area,
.page-slot-games__features-section,
.page-slot-games__how-to-play-section,
.page-slot-games__promotions-section,
.page-slot-games__strategy-section,
.page-slot-games__cta-section,
.page-slot-games__faq-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  box-sizing: border-box;
}

.page-slot-games__section-title {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: inherit; /* Inherit color from parent section */
}

.page-slot-games__dark-section .page-slot-games__section-title {
  color: #FFFFFF;
}

.page-slot-games__light-bg .page-slot-games__section-title {
  color: #26A9E0;
}

.page-slot-games p {
  margin-bottom: 15px;
  font-size: 1.05rem;
}

.page-slot-games__list {
  list-style: disc inside;
  margin-left: 20px;
  margin-bottom: 20px;
}

.page-slot-games__list li {
  margin-bottom: 10px;
  font-size: 1.05rem;
}

.page-slot-games__text-highlight {
  color: #EA7C07;
  font-weight: bold;
}

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

.page-slot-games__feature-card,
.page-slot-games__promo-card,
.page-slot-games__step-card {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-slot-games__light-bg .page-slot-games__feature-card,
.page-slot-games__light-bg .page-slot-games__promo-card,
.page-slot-games__light-bg .page-slot-games__step-card {
  background-color: #F8F8F8;
  color: #333333;
  border: 1px solid #e0e0e0;
}

.page-slot-games__feature-image,
.page-slot-games__promo-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-slot-games__feature-title,
.page-slot-games__promo-title,
.page-slot-games__step-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: inherit;
}

.page-slot-games__callout-text {
  text-align: center;
  font-style: italic;
  margin-top: 30px;
  font-size: 1.1rem;
  color: #F0F0F0;
}

.page-slot-games__light-bg .page-slot-games__callout-text {
  color: #555555;
}

.page-slot-games__btn-link {
  display: inline-block;
  margin-top: 15px;
  color: #EA7C07;
  text-decoration: none;
  font-weight: 600;
}

.page-slot-games__btn-link:hover {
  text-decoration: underline;
}

.page-slot-games__cta-center {
  text-align: center;
  margin-top: 40px;
}

/* FAQ Section */
.page-slot-games__faq-list {
  margin-top: 30px;
}

.page-slot-games__faq-item {
  background-color: #F8F8F8;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15rem;
  font-weight: 600;
  color: #26A9E0;
  cursor: pointer;
  background-color: #EBF7FD; /* Lighter shade of brand color */
  border-bottom: 1px solid #D5EBF9;
  user-select: none;
}

.page-slot-games__faq-item[open] .page-slot-games__faq-question {
  border-bottom: 1px solid #D5EBF9;
}

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

.page-slot-games__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
  transition: transform 0.3s ease;
}

.page-slot-games__faq-item[open] .page-slot-games__faq-toggle {
  transform: rotate(45deg);
}

.page-slot-games__faq-answer {
  padding: 20px 25px;
  font-size: 1rem;
  color: #555555;
  background-color: #FFFFFF;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-slot-games__hero-content {
    padding: 15px;
  }
  .page-slot-games__main-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }
  .page-slot-games__description {
    font-size: 1rem;
  }
  .page-slot-games__section-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
  }
}

@media (max-width: 768px) {
  .page-slot-games {
    font-size: 16px;
    line-height: 1.6;
  }
  
  .page-slot-games__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important; /* body handles --header-offset, this is for aesthetic */
  }

  .page-slot-games__main-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }

  .page-slot-games__description {
    font-size: 0.95rem;
  }

  .page-slot-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden;
  }

  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary,
  .page-slot-games a[class*="button"],
  .page-slot-games 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-slot-games__content-area,
  .page-slot-games__features-section,
  .page-slot-games__how-to-play-section,
  .page-slot-games__promotions-section,
  .page-slot-games__strategy-section,
  .page-slot-games__cta-section,
  .page-slot-games__faq-section {
    padding: 30px 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-slot-games__section-title {
    font-size: clamp(1.5rem, 5vw, 2rem);
    margin-bottom: 25px;
  }

  .page-slot-games__features-grid,
  .page-slot-games__promo-grid,
  .page-slot-games__steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* Image responsiveness */
  .page-slot-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* Video responsiveness (if any, though not explicitly in HTML for this page) */
  .page-slot-games video,
  .page-slot-games__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-slot-games__video-section,
  .page-slot-games__video-container,
  .page-slot-games__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-slot-games__video-section {
    padding-top: 10px !important;
  }
  .page-slot-games__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-slot-games__faq-question {
    font-size: 1rem;
    padding: 15px 20px;
  }
  .page-slot-games__faq-answer {
    padding: 15px 20px;
  }
}

/* Ensure content area images are not too small on desktop */
.page-slot-games__feature-image,
.page-slot-games__promo-image {
  min-width: 200px;
  min-height: 200px;
}

/* Text color for specific elements on light background */
.page-slot-games__light-bg p,
.page-slot-games__light-bg li,
.page-slot-games__light-bg .page-slot-games__feature-card p,
.page-slot-games__light-bg .page-slot-games__promo-card p,
.page-slot-games__light-bg .page-slot-games__step-card p {
  color: #333333;
}

/* Text color for specific elements on dark background */
.page-slot-games__dark-section p,
.page-slot-games__dark-section li,
.page-slot-games__dark-section .page-slot-games__feature-card p,
.page-slot-games__dark-section .page-slot-games__promo-card p,
.page-slot-games__dark-section .page-slot-games__step-card p {
  color: #F0F0F0;
}

/* Override specific styles for better contrast where needed */
.page-slot-games__hero-content .page-slot-games__description a {
  color: #FFFFFF;
  text-decoration: underline;
}
.page-slot-games__hero-content .page-slot-games__description a:hover {
  color: #EA7C07;
}

.page-slot-games__feature-card a,
.page-slot-games__promo-card a {
  color: #EA7C07;
}

.page-slot-games__feature-card a:hover,
.page-slot-games__promo-card a:hover {
  text-decoration: underline;
}