/* style/slot-games.css */

:root {
  --page-slot-games-primary-color: #E44D26;
  --page-slot-games-secondary-color: #333333;
  --page-slot-games-text-light: #ffffff;
  --page-slot-games-text-dark: #333333;
  --page-slot-games-bg-dark: #0d0d0d;
  --page-slot-games-card-bg: rgba(255, 255, 255, 0.05);
  --page-slot-games-border-color: rgba(255, 255, 255, 0.1);
}

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

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

.page-slot-games__section-title {
  font-size: 2.5em;
  color: var(--page-slot-games-primary-color);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

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

.page-slot-games__link {
  color: var(--page-slot-games-primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-slot-games__link:hover {
  color: var(--page-slot-games-text-light);
}

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

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

.page-slot-games__hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 10px;
}

.page-slot-games__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  font-weight: bold;
  color: var(--page-slot-games-primary-color);
}

.page-slot-games__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
}

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

/* Buttons */
.page-slot-games__btn-primary,
.page-slot-games__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

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

.page-slot-games__btn-primary:hover {
  background-color: transparent;
  color: var(--page-slot-games-primary-color);
  border-color: var(--page-slot-games-primary-color);
}

.page-slot-games__btn-secondary {
  background-color: transparent;
  color: var(--page-slot-games-primary-color);
  border-color: var(--page-slot-games-primary-color);
}

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

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

/* Sections */
.page-slot-games__intro-section,
.page-slot-games__why-choose-us,
.page-slot-games__game-types,
.page-slot-games__how-to-play,
.page-slot-games__strategies-tips,
.page-slot-games__promotions,
.page-slot-games__video-section,
.page-slot-games__faq-section,
.page-slot-games__cta-final {
  padding: 80px 0;
}

.page-slot-games__dark-bg {
  background-color: var(--page-slot-games-bg-dark);
  color: var(--page-slot-games-text-light);
}

.page-slot-games__light-bg {
  background-color: var(--page-slot-games-text-light);
  color: var(--page-slot-games-text-dark);
}

.page-slot-games__light-bg .page-slot-games__section-title {
  color: var(--page-slot-games-primary-color);
}

.page-slot-games__light-bg .page-slot-games__text-block {
  color: var(--page-slot-games-text-dark);
}

.page-slot-games__light-bg .page-slot-games__link {
  color: var(--page-slot-games-primary-color);
}

.page-slot-games__light-bg .page-slot-games__link:hover {
  color: var(--page-slot-games-text-dark);
}

/* Why Choose Us Section */
.page-slot-games__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-slot-games__feature-card {
  background-color: var(--page-slot-games-card-bg);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: var(--page-slot-games-text-light);
}

.page-slot-games__feature-card .page-slot-games__feature-icon {
  width: 100%;
  height: auto;
  max-height: 200px; /* Ensure images are not too small */
  object-fit: cover;
  margin-bottom: 20px;
  border-radius: 8px;
}

.page-slot-games__feature-title {
  font-size: 1.5em;
  color: var(--page-slot-games-primary-color);
  margin-bottom: 15px;
}

.page-slot-games__feature-description {
  font-size: 1em;
  line-height: 1.7;
}

/* Game Types Section */
.page-slot-games__game-type-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-slot-games__game-type-item {
  background-color: var(--page-slot-games-card-bg);
  padding: 25px;
  border-radius: 8px;
  margin-bottom: 20px;
  color: var(--page-slot-games-text-light);
}

.page-slot-games__game-type-title {
  font-size: 1.4em;
  color: var(--page-slot-games-primary-color);
  margin-bottom: 10px;
}

/* How to Play Section */
.page-slot-games__steps-list {
  list-style: none;
  padding: 0;
  counter-reset: step-counter;
  margin-top: 40px;
}

.page-slot-games__step-item {
  position: relative;
  background-color: var(--page-slot-games-card-bg);
  padding: 25px 25px 25px 70px;
  border-radius: 8px;
  margin-bottom: 20px;
  color: var(--page-slot-games-text-light);
}

.page-slot-games__step-item::before {
  content: counter(step-counter);
  counter-increment: step-counter;
  position: absolute;
  left: 20px;
  top: 20px;
  background-color: var(--page-slot-games-primary-color);
  color: var(--page-slot-games-text-light);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5em;
  font-weight: bold;
}

.page-slot-games__step-title {
  font-size: 1.4em;
  color: var(--page-slot-games-primary-color);
  margin-bottom: 10px;
}

/* Strategies & Tips Section */
.page-slot-games__tips-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.page-slot-games__tip-item {
  background-color: var(--page-slot-games-card-bg);
  padding: 25px;
  border-radius: 8px;
  color: var(--page-slot-games-text-light);
}

.page-slot-games__tip-title {
  font-size: 1.4em;
  color: var(--page-slot-games-primary-color);
  margin-bottom: 10px;
}

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

.page-slot-games__promo-card {
  background-color: var(--page-slot-games-card-bg);
  padding: 25px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: var(--page-slot-games-text-light);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-slot-games__promo-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  margin-bottom: 20px;
  border-radius: 8px;
}

.page-slot-games__promo-title {
  font-size: 1.5em;
  color: var(--page-slot-games-primary-color);
  margin-bottom: 15px;
}

.page-slot-games__promo-description {
  font-size: 1em;
  line-height: 1.7;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Video Section */
.page-slot-games__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
  margin-top: 40px;
  border-radius: 10px;
}

.page-slot-games__video-wrapper .page-slot-games__video-link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

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

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

.page-slot-games__faq-item {
  background-color: var(--page-slot-games-card-bg);
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  color: var(--page-slot-games-text-light);
}

.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.1);
  font-weight: bold;
  font-size: 1.2em;
  transition: background-color 0.3s ease;
}

.page-slot-games__faq-question h3 {
  margin: 0;
  color: var(--page-slot-games-primary-color);
}

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

.page-slot-games__faq-toggle {
  font-size: 1.8em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-slot-games__faq-item.active .page-slot-games__faq-question {
  background-color: var(--page-slot-games-primary-color);
}

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

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

.page-slot-games__faq-item.active .page-slot-games__faq-answer {
  max-height: 200px; /* Adjust as needed */
  padding: 15px 25px 25px;
}

.page-slot-games__faq-answer p {
  margin: 0;
  color: var(--page-slot-games-text-light);
}

/* CTA Final Section */
.page-slot-games__cta-final {
  text-align: center;
  padding: 100px 0;
}

.page-slot-games__cta-content {
  max-width: 900px;
}

.page-slot-games__cta-title {
  font-size: 3em;
  color: var(--page-slot-games-primary-color);
  margin-bottom: 20px;
}

.page-slot-games__cta-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  color: var(--page-slot-games-text-light);
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  .page-slot-games__hero-title {
    font-size: 2.8em;
  }

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

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

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

  .page-slot-games__tips-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .page-slot-games__hero-section {
    min-height: 500px;
  }

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

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

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

  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary,
  .page-slot-games__btn-large {
    padding: 12px 25px;
    font-size: 1em;
    width: 100%;
  }

  .page-slot-games__intro-section,
  .page-slot-games__why-choose-us,
  .page-slot-games__game-types,
  .page-slot-games__how-to-play,
  .page-slot-games__strategies-tips,
  .page-slot-games__promotions,
  .page-slot-games__video-section,
  .page-slot-games__faq-section,
  .page-slot-games__cta-final {
    padding: 60px 0;
  }

  .page-slot-games__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-slot-games__text-block {
    font-size: 0.95em;
  }

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

  .page-slot-games__faq-question h3 {
    font-size: 1em;
  }

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

  .page-slot-games__cta-description {
    font-size: 1.1em;
  }
}

@media (max-width: 480px) {
  .page-slot-games__hero-section {
    min-height: 400px;
  }

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

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

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

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

  .page-slot-games__step-item {
    padding: 20px 20px 20px 60px;
  }

  .page-slot-games__step-item::before {
    width: 35px;
    height: 35px;
    font-size: 1.2em;
    left: 15px;
    top: 15px;
  }

  .page-slot-games__faq-question {
    padding: 15px 20px;
  }

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

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