/* style/slot-games.css */

:root {
  --primary-color: #26A9E0;
  --secondary-color: #FFFFFF;
  --text-dark: #333333;
  --text-light: #ffffff;
  --background-light: #ffffff;
  --background-dark: #26A9E0;
  --login-button-color: #EA7C07;
}

.page-slot-games {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-dark); /* Default text color for light backgrounds */
  background-color: var(--background-light); /* Default body background */
}

/* Ensure main content has proper top padding to clear fixed header */
.page-slot-games__hero-section,
.page-slot-games__intro-section,
.page-slot-games__features-section,
.page-slot-games__game-types-section,
.page-slot-games__guide-section,
.page-slot-games__app-download-section,
.page-slot-games__promotions-section,
.page-slot-games__tips-section,
.page-slot-games__faq-section,
.page-slot-games__cta-bottom-section {
  padding-top: var(--header-offset, 120px);
}

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

.page-slot-games__section-title {
  font-size: 2.5em;
  color: var(--text-dark);
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-slot-games__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--primary-color);
  border-radius: 2px;
}

.page-slot-games__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
}

/* Hero Section */
.page-slot-games__hero-section {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 70vh;
  padding: 80px 0;
  background: linear-gradient(135deg, var(--primary-color) 0%, #1a7fb8 100%);
  color: var(--text-light);
  padding-top: var(--header-offset, 120px); /* Ensure hero starts below header */
}

.page-slot-games__hero-content {
  flex: 1;
  max-width: 600px;
  padding: 0 40px;
  text-align: left;
}

.page-slot-games__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: var(--text-light);
}

.page-slot-games__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  line-height: 1.5;
  color: var(--text-light);
}

.page-slot-games__hero-image-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 40px;
}

.page-slot-games__hero-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* CTA Buttons */
.page-slot-games__cta-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.page-slot-games__cta-buttons--center {
  justify-content: center;
}

.page-slot-games__cta-buttons--mt-40 {
  margin-top: 40px;
}

.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;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
  text-align: center;
}

.page-slot-games__btn-primary {
  background-color: var(--login-button-color);
  color: var(--text-light);
  border: 2px solid var(--login-button-color);
}

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

.page-slot-games__btn-secondary {
  background-color: transparent;
  color: var(--text-light);
  border: 2px solid var(--text-light);
}

.page-slot-games__hero-section .page-slot-games__btn-secondary {
  color: var(--text-light);
  border-color: var(--text-light);
}

.page-slot-games__hero-section .page-slot-games__btn-secondary:hover {
  background-color: var(--text-light);
  color: var(--primary-color);
}

.page-slot-games__btn-secondary:hover {
  background-color: var(--primary-color);
  color: var(--text-light);
  border-color: var(--primary-color);
}

.page-slot-games__btn-text {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-slot-games__btn-text:hover {
  color: #1a7fb8;
}

/* General Section Styling */
.page-slot-games__intro-section, .page-slot-games__game-types-section, .page-slot-games__app-download-section, .page-slot-games__tips-section, .page-slot-games__cta-bottom-section {
  padding: 80px 0;
  background-color: var(--background-light);
  color: var(--text-dark);
}

.page-slot-games__features-section, .page-slot-games__guide-section, .page-slot-games__promotions-section, .page-slot-games__faq-section {
  padding: 80px 0;
  background-color: var(--background-dark);
  color: var(--text-light);
}

.page-slot-games__features-section .page-slot-games__section-title,
.page-slot-games__guide-section .page-slot-games__section-title,
.page-slot-games__promotions-section .page-slot-games__section-title,
.page-slot-games__faq-section .page-slot-games__section-title {
  color: var(--text-light);
}

.page-slot-games__features-section .page-slot-games__section-title::after,
.page-slot-games__guide-section .page-slot-games__section-title::after,
.page-slot-games__promotions-section .page-slot-games__section-title::after,
.page-slot-games__faq-section .page-slot-games__section-title::after {
  background-color: var(--text-light);
}

/* Feature Cards */
.page-slot-games__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

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

.page-slot-games__feature-icon {
  width: 120px;
  height: 120px;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 8px;
}

.page-slot-games__feature-card .page-slot-games__card-title {
  font-size: 1.5em;
  color: var(--text-light);
  margin-bottom: 15px;
}

.page-slot-games__feature-card .page-slot-games__card-description {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1em;
}

/* Game Type Cards */
.page-slot-games__game-type-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-slot-games__game-type-card {
  background-color: var(--background-light);
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

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

.page-slot-games__game-type-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.page-slot-games__game-type-card .page-slot-games__card-title {
  font-size: 1.4em;
  color: var(--primary-color);
  padding: 15px 20px 0;
}

.page-slot-games__game-type-card .page-slot-games__card-description {
  font-size: 0.95em;
  color: var(--text-dark);
  padding: 0 20px 20px;
}

/* Guide Steps */
.page-slot-games__guide-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.page-slot-games__step-card {
  background-color: rgba(255, 255, 255, 0.15);
  padding: 25px;
  border-radius: 10px;
  text-align: left;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.page-slot-games__step-title {
  font-size: 1.3em;
  color: var(--text-light);
  margin-bottom: 10px;
  position: relative;
  padding-left: 35px;
}

.page-slot-games__step-title::before {
  content: '▶'; /* Unicode right-pointing triangle */
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  color: var(--login-button-color);
  font-size: 1.2em;
}

.page-slot-games__step-description {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95em;
}

/* App Download Section */
.page-slot-games__app-download-grid {
  display: flex;
  align-items: center;
  gap: 40px;
}

.page-slot-games__app-content {
  flex: 1;
}

.page-slot-games__app-image-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-slot-games__app-image {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-slot-games__app-benefits {
  list-style: none;
  padding: 0;
  margin: 25px 0;
}

.page-slot-games__app-benefits li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 10px;
  font-size: 1.1em;
  color: var(--text-dark);
}

.page-slot-games__app-benefits li::before {
  content: '✔';
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
  font-size: 1.2em;
}

/* Promotions Section */
.page-slot-games__promotions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-slot-games__promo-card {
  background-color: rgba(255, 255, 255, 0.15);
  padding-bottom: 20px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-slot-games__promo-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  margin-bottom: 20px;
}

.page-slot-games__promo-card .page-slot-games__card-title {
  font-size: 1.4em;
  color: var(--text-light);
  margin-bottom: 10px;
  padding: 0 20px;
}

.page-slot-games__promo-card .page-slot-games__card-description {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95em;
  margin-bottom: 20px;
  padding: 0 20px;
}

/* Tips Section */
.page-slot-games__tips-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-slot-games__tips-list li {
  background-color: var(--background-light);
  border-left: 5px solid var(--primary-color);
  padding: 15px 20px;
  margin-bottom: 15px;
  border-radius: 5px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  font-size: 1.05em;
  color: var(--text-dark);
}

.page-slot-games__tips-list li strong {
  color: var(--primary-color);
}

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

.page-slot-games__faq-item {
  background-color: rgba(255, 255, 255, 0.15);
  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: var(--text-light);
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.page-slot-games__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.25);
}

.page-slot-games__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  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: rgba(255, 255, 255, 0.8);
}

.page-slot-games__faq-item.active .page-slot-games__faq-answer {
  max-height: 1000px !important; /* Ensure enough height for content */
  padding: 15px 25px 25px;
}

.page-slot-games__faq-answer p {
  margin-bottom: 0;
  color: inherit;
  font-size: 1em;
}

/* CTA Bottom Section */
.page-slot-games__cta-bottom-content {
  text-align: center;
  padding: 60px 20px;
  background-color: var(--background-light);
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.page-slot-games__cta-bottom-content .page-slot-games__section-title {
  color: var(--primary-color);
}

.page-slot-games__cta-bottom-content .page-slot-games__section-title::after {
  background-color: var(--primary-color);
}

.page-slot-games__cta-bottom-content .page-slot-games__text-block {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 40px;
  color: var(--text-dark);
}

.page-slot-games__cta-bottom-section .page-slot-games__btn-secondary {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.page-slot-games__cta-bottom-section .page-slot-games__btn-secondary:hover {
  background-color: var(--primary-color);
  color: var(--text-light);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-slot-games__hero-title {
    font-size: 3em;
  }
  .page-slot-games__hero-description {
    font-size: 1.1em;
  }
  .page-slot-games__section-title {
    font-size: 2em;
  }
  .page-slot-games__hero-section {
    flex-direction: column;
    text-align: center;
  }
  .page-slot-games__hero-content {
    max-width: 100%;
    padding: 0 20px;
    margin-bottom: 40px;
  }
  .page-slot-games__hero-image-wrapper {
    padding: 0 20px;
  }
  .page-slot-games__cta-buttons {
    justify-content: center;
  }
  .page-slot-games__app-download-grid {
    flex-direction: column;
  }
  .page-slot-games__app-content {
    text-align: center;
  }
}

@media (max-width: 768px) {
  .page-slot-games__hero-section,
  .page-slot-games__intro-section,
  .page-slot-games__features-section,
  .page-slot-games__game-types-section,
  .page-slot-games__guide-section,
  .page-slot-games__app-download-section,
  .page-slot-games__promotions-section,
  .page-slot-games__tips-section,
  .page-slot-games__faq-section,
  .page-slot-games__cta-bottom-section {
    padding: 40px 0 !important;
    padding-top: var(--header-offset, 120px) !important; /* Ensure mobile padding-top */
  }

  .page-slot-games__container {
    padding: 0 15px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-slot-games__hero-title {
    font-size: 2.5em;
  }
  .page-slot-games__hero-description {
    font-size: 1em;
  }
  .page-slot-games__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-slot-games__text-block {
    font-size: 1em;
  }

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

  /* Ensure all containers holding images are responsive */
  .page-slot-games__hero-image-wrapper,
  .page-slot-games__feature-card,
  .page-slot-games__game-type-card,
  .page-slot-games__app-image-wrapper,
  .page-slot-games__promo-card,
  .page-slot-games__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  /* Buttons responsiveness */
  .page-slot-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px !important;
    font-size: 1em !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-slot-games__feature-icon {
    width: 100px;
    height: 100px;
  }

  .page-slot-games__feature-card .page-slot-games__card-title,
  .page-slot-games__game-type-card .page-slot-games__card-title,
  .page-slot-games__promo-card .page-slot-games__card-title {
    font-size: 1.2em;
  }

  .page-slot-games__faq-question {
    font-size: 1.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 20px;
  }

  .page-slot-games__app-benefits li {
    font-size: 1em;
  }
}

@media (max-width: 480px) {
  .page-slot-games__hero-title {
    font-size: 2em;
  }
  .page-slot-games__hero-description {
    font-size: 0.9em;
  }
  .page-slot-games__section-title {
    font-size: 1.5em;
  }
  .page-slot-games__hero-content {
    padding: 0 10px;
  }
  .page-slot-games__hero-image-wrapper {
    padding: 0 10px;
  }
}