/* style/slot-games.css */

/* Base Styles & Typography */
.page-slot-games {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #1a1a2e; /* Inherited from body, explicit for clarity */
}

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

.page-slot-games__section-title,
.page-slot-games__hero-title {
  color: #ffffff;
  text-align: center;
  margin-bottom: 40px;
  font-size: 2.5em;
  font-weight: bold;
}

.page-slot-games__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-slot-games__section-title {
  font-size: 2em;
}

.page-slot-games__hero-description,
.page-slot-games__text-block {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-slot-games__dark-bg {
  background-color: #017439;
  color: #ffffff;
}

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

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

.page-slot-games__light-bg .page-slot-games__text-block {
  color: #333333;
}

.page-slot-games__light-bg .page-slot-games__game-title,
.page-slot-games__light-bg .page-slot-games__strategy-title,
.page-slot-games__light-bg .page-slot-games__promo-title,
.page-slot-games__light-bg .page-slot-games__faq-question span:first-child {
  color: #017439;
}

/* Buttons */
.page-slot-games__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.page-slot-games__btn-primary,
.page-slot-games__btn-secondary,
.page-slot-games__btn-register,
.page-slot-games__btn-play,
.page-slot-games__btn-play-small {
  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;
  text-align: center;
  box-sizing: border-box;
  max-width: 100%;
}

.page-slot-games__btn-primary,
.page-slot-games__btn-register {
  background-color: #C30808; /* Custom color for register/login */
  color: #FFFF00; /* Custom font color for register/login */
  border: 2px solid #C30808;
}

.page-slot-games__btn-primary:hover,
.page-slot-games__btn-register:hover {
  background-color: #a30606;
  border-color: #a30606;
}

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

.page-slot-games__btn-secondary:hover,
.page-slot-games__btn-play:hover {
  background-color: #ffffff;
  color: #017439;
}

.page-slot-games__btn-play-small {
  padding: 10px 20px;
  font-size: 0.9em;
  margin-top: 15px;
  background-color: #017439;
  color: #ffffff;
  border: 2px solid #017439;
}

.page-slot-games__btn-play-small:hover {
  background-color: #005a2e;
  border-color: #005a2e;
}

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

/* Sections */
.page-slot-games__hero-section {
  position: relative;
  padding: 120px 0 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  text-align: center;
  overflow: hidden;
  padding-top: var(--header-offset, 120px);
}

.page-slot-games__hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.page-slot-games__hero-section .page-slot-games__container {
  position: relative;
  z-index: 2;
}

.page-slot-games__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.page-slot-games__intro-section,
.page-slot-games__benefits-section,
.page-slot-games__games-section,
.page-slot-games__guide-section,
.page-slot-games__strategies-section,
.page-slot-games__promotions-section,
.page-slot-games__official-link-section,
.page-slot-games__support-section,
.page-slot-games__faq-section,
.page-slot-games__conclusion-section {
  padding: 80px 0;
}

/* Benefits Grid */
.page-slot-games__benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

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

.page-slot-games__benefit-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-slot-games__benefit-title {
  font-size: 1.5em;
  color: #FFFF00;
  margin-bottom: 15px;
}

.page-slot-games__benefit-description {
  font-size: 1em;
  color: #f0f0f0;
}

/* Games Grid */
.page-slot-games__games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-slot-games__game-card {
  background-color: #f8f8f8;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #333333;
}

.page-slot-games__game-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.page-slot-games__game-title {
  font-size: 1.4em;
  color: #017439;
  margin-bottom: 10px;
}

.page-slot-games__game-description {
  font-size: 0.95em;
  color: #555555;
  flex-grow: 1;
}

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

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

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

.page-slot-games__step-title {
  font-size: 1.5em;
  color: #FFFF00;
  margin-bottom: 15px;
}

.page-slot-games__step-description {
  font-size: 1em;
  color: #f0f0f0;
}

/* Strategy List & Promo List & Support List */
.page-slot-games__strategy-list,
.page-slot-games__promo-list,
.page-slot-games__support-list {
  list-style: none;
  padding: 0;
  max-width: 900px;
  margin: 50px auto;
}

.page-slot-games__strategy-list li,
.page-slot-games__promo-list li {
  background-color: #f8f8f8;
  border-left: 5px solid #017439;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  color: #333333;
}

.page-slot-games__support-list li {
  background-color: rgba(255, 255, 255, 0.1);
  border-left: 5px solid #FFFF00;
  padding: 15px 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-slot-games__strategy-title,
.page-slot-games__promo-title {
  font-size: 1.3em;
  color: #017439;
  margin-bottom: 10px;
}

.page-slot-games__strategy-description,
.page-slot-games__promo-description {
  font-size: 1em;
  color: #555555;
}

.page-slot-games__support-link {
  color: #FFFF00;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
}

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

/* FAQ Section */
.page-slot-games__faq-list {
  margin-top: 50px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-slot-games__faq-item {
  background-color: #f8f8f8;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
  color: #017439;
  background-color: #e0e0e0;
  border-bottom: 1px solid #d0d0d0;
  transition: background-color 0.3s ease;
}

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

.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: #555555;
}

.page-slot-games__faq-item.active .page-slot-games__faq-answer {
  max-height: 1000px !important; /* Ensures it expands fully */
  padding: 15px 25px;
}

.page-slot-games__faq-answer p {
  margin-bottom: 10px;
  text-align: left;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-slot-games__hero-title {
    font-size: 3em;
  }
  .page-slot-games__section-title {
    font-size: 1.8em;
  }
}

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

  .page-slot-games__hero-section {
    padding: 80px 0 40px;
    min-height: 450px;
    padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
  }

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

  .page-slot-games__section-title {
    font-size: 1.6em;
  }

  .page-slot-games__hero-description,
  .page-slot-games__text-block {
    font-size: 1em;
    margin-bottom: 20px;
  }

  .page-slot-games__cta-buttons {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary,
  .page-slot-games__btn-register,
  .page-slot-games__btn-play,
  .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__cta-buttons,
  .page-slot-games__button-group,
  .page-slot-games__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }

  .page-slot-games__intro-section,
  .page-slot-games__benefits-section,
  .page-slot-games__games-section,
  .page-slot-games__guide-section,
  .page-slot-games__strategies-section,
  .page-slot-games__promotions-section,
  .page-slot-games__official-link-section,
  .page-slot-games__support-section,
  .page-slot-games__faq-section,
  .page-slot-games__conclusion-section {
    padding: 40px 0;
  }

  .page-slot-games__container {
    padding: 0 15px;
  }

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

  .page-slot-games__section,
  .page-slot-games__card,
  .page-slot-games__container,
  .page-slot-games__benefits-grid,
  .page-slot-games__games-grid,
  .page-slot-games__guide-steps {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden;
  }

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

  .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__strategy-list,
  .page-slot-games__promo-list,
  .page-slot-games__support-list {
    margin: 30px auto;
    padding: 0 15px;
  }
}