/* style/slot-games.css */
.page-slot-games {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333;
  background-color: #FFFFFF; /* Default light background for content areas */
}

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

.page-slot-games__hero-section {
  position: relative;
  background: linear-gradient(135deg, #26A9E0, #007bb6);
  color: #FFFFFF;
  padding: 80px 0;
  text-align: center;
  overflow: hidden;
}

.page-slot-games__hero-content {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.page-slot-games__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-slot-games__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

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

.page-slot-games__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-slot-games__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 40px;
  color: #26A9E0;
}

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

.page-slot-games__section-description {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 50px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-slot-games__btn-primary,
.page-slot-games__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  white-space: nowrap;
}

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

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

.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__btn-center {
  display: block;
  margin: 40px auto;
  text-align: center;
  max-width: 300px;
}

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

.page-slot-games__video-section {
  background-color: #26A9E0;
  padding: 80px 0;
  text-align: center;
}

.page-slot-games__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 800px;
  margin: 0 auto 30px auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-slot-games__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  cursor: pointer;
}

.page-slot-games__video-cta {
  color: #FFFFFF;
  font-size: 1.1em;
}

.page-slot-games__content-area {
  padding: 80px 0;
  background-color: #FFFFFF;
  color: #333333;
}

.page-slot-games__text-block {
  margin-bottom: 20px;
  font-size: 1.1em;
  line-height: 1.8;
}

.page-slot-games__text-link {
  color: #26A9E0;
  text-decoration: none;
  font-weight: bold;
}

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

.page-slot-games__highlight {
  color: #26A9E0;
  font-weight: bold;
}

.page-slot-games__sub-title {
  font-size: 2em;
  color: #26A9E0;
  margin-top: 60px;
  margin-bottom: 30px;
  text-align: center;
}

.page-slot-games__image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 40px;
  margin-bottom: 60px;
}

.page-slot-games__grid-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  object-fit: cover;
  min-height: 200px; /* Enforce minimum size */
}

.page-slot-games__feature-list {
  list-style: none;
  padding: 0;
  margin-bottom: 40px;
}

.page-slot-games__feature-item {
  background-color: #f0f8ff;
  padding: 20px;
  margin-bottom: 15px;
  border-left: 5px solid #26A9E0;
  border-radius: 5px;
  font-size: 1.1em;
}

.page-slot-games__feature-item strong {
  color: #26A9E0;
}

.page-slot-games__step-list {
  counter-reset: step-counter;
  list-style: none;
  padding: 0;
  margin-bottom: 60px;
}

.page-slot-games__step-item {
  position: relative;
  padding: 20px 20px 20px 60px;
  margin-bottom: 25px;
  background-color: #f0f8ff;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.page-slot-games__step-item::before {
  content: counter(step-counter);
  counter-increment: step-counter;
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  background-color: #26A9E0;
  color: #FFFFFF;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  font-size: 1.2em;
}

.page-slot-games__step-item h4 {
  color: #26A9E0;
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 1.3em;
}

.page-slot-games__tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-bottom: 60px;
}

.page-slot-games__tip-card {
  background-color: #f0f8ff;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
}

.page-slot-games__tip-card:hover {
  transform: translateY(-5px);
}

.page-slot-games__tip-card h4 {
  color: #26A9E0;
  margin-top: 0;
  margin-bottom: 15px;
  font-size: 1.4em;
}

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

.page-slot-games__card {
  background-color: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  padding-bottom: 25px;
}

.page-slot-games__card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  margin-bottom: 20px;
  min-height: 200px; /* Enforce minimum size */
}

.page-slot-games__card-title {
  font-size: 1.5em;
  color: #26A9E0;
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-slot-games__card-description {
  color: #555555;
  font-size: 1em;
  margin-bottom: 20px;
  padding: 0 15px;
}

.page-slot-games__faq-list {
  margin-top: 40px;
  margin-bottom: 60px;
}

.page-slot-games__faq-item {
  background-color: #f0f8ff;
  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.2em;
  font-weight: bold;
  color: #333333;
  cursor: pointer;
  background-color: #f8f8f8;
  transition: background-color 0.3s ease;
}

.page-slot-games__faq-question:hover {
  background-color: #e6e6e6;
}

.page-slot-games__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: #26A9E0;
  transition: transform 0.3s ease;
}

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

.page-slot-games__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #555555;
}

.page-slot-games__faq-item.active .page-slot-games__faq-answer {
  max-height: 1000px !important; /* Sufficiently large */
  padding: 15px 25px;
}

.page-slot-games__cta-section {
  background-color: #26A9E0;
  color: #FFFFFF;
  padding: 80px 0;
  text-align: center;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .page-slot-games {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-slot-games__hero-section {
    padding: 60px 20px;
    padding-top: var(--header-offset, 120px) !important; /* Ensure it's not covered */
  }

  .page-slot-games__hero-title {
    font-size: 2.2em;
  }

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

  .page-slot-games__hero-actions {
    flex-direction: column;
    gap: 15px;
  }

  .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__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-slot-games__section-description {
    font-size: 1em;
    margin-bottom: 40px;
  }

  .page-slot-games__video-section {
    padding: 60px 0;
  }

  .page-slot-games__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box !important;
  }

  .page-slot-games__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-slot-games__content-area {
    padding: 60px 0;
  }

  .page-slot-games__sub-title {
    font-size: 1.5em;
    margin-top: 40px;
    margin-bottom: 25px;
  }

  .page-slot-games__image-grid {
    grid-template-columns: 1fr;
    margin-top: 30px;
    margin-bottom: 40px;
  }

  .page-slot-games__grid-image {
    min-height: 200px;
  }

  .page-slot-games__feature-item {
    font-size: 1em;
    padding: 15px;
  }

  .page-slot-games__step-item {
    padding: 15px 15px 15px 50px;
    margin-bottom: 20px;
  }

  .page-slot-games__step-item::before {
    width: 30px;
    height: 30px;
    font-size: 1em;
    left: 10px;
  }

  .page-slot-games__step-item h4 {
    font-size: 1.1em;
  }

  .page-slot-games__tips-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 40px;
  }

  .page-slot-games__tip-card {
    padding: 20px;
  }

  .page-slot-games__tip-card h4 {
    font-size: 1.2em;
  }

  .page-slot-games__promo-cards {
    grid-template-columns: 1fr;
    gap: 25px;
    margin-top: 30px;
    margin-bottom: 40px;
  }

  .page-slot-games__card-image {
    height: 200px;
    min-height: 200px;
  }

  .page-slot-games__card-title {
    font-size: 1.3em;
  }

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

  .page-slot-games__faq-answer {
    padding: 0 20px;
  }

  .page-slot-games__faq-item.active .page-slot-games__faq-answer {
    padding: 10px 20px;
  }

  .page-slot-games__cta-section {
    padding: 60px 0;
  }

  .page-slot-games__grid-image,
  .page-slot-games__card-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-slot-games__container,
  .page-slot-games__image-grid,
  .page-slot-games__promo-cards,
  .page-slot-games__tips-grid,
  .page-slot-games__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
}