/* style/slot-games.css */

/* Base Styles */
.page-slot-games {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--black-color);
  background-color: var(--white-color);
}

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

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

.page-slot-games__subsection-title {
  font-size: 1.8em;
  color: var(--main-color);
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-slot-games__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px;
  color: var(--text-color-dark);
}

.page-slot-games__text-block p {
  margin-bottom: 1em;
  color: var(--text-color-dark);
}

/* Color Contrast Fixes */
.page-slot-games__dark-bg {
  background-color: var(--main-color);
  color: var(--white-color);
}

.page-slot-games__dark-bg .page-slot-games__section-title,
.page-slot-games__dark-bg .page-slot-games__subsection-title {
  color: var(--white-color);
}

.page-slot-games__dark-bg .page-slot-games__section-description,
.page-slot-games__dark-bg .page-slot-games__text-block p,
.page-slot-games__dark-bg .page-slot-games__testimonial-text,
.page-slot-games__dark-bg .page-slot-games__testimonial-author {
  color: var(--white-color);
}

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

.page-slot-games__light-bg .page-slot-games__section-title,
.page-slot-games__light-bg .page-slot-games__subsection-title {
  color: var(--main-color);
}

/* Buttons */
.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: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  text-align: center;
  cursor: pointer;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
  box-sizing: border-box;
}

.page-slot-games__btn-primary {
  background-color: var(--main-color);
  color: var(--white-color);
  border: 2px solid var(--main-color);
}

.page-slot-games__btn-primary:hover {
  background-color: #1e87c0; /* Slightly darker main color */
  border-color: #1e87c0;
}

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

.page-slot-games__btn-secondary:hover {
  background-color: var(--main-color);
  color: var(--white-color);
}

.page-slot-games__hero-cta-buttons,
.page-slot-games__cta-center,
.page-slot-games__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

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

.page-slot-games__hero-content {
  flex: 1;
  padding-right: 40px;
  z-index: 1;
  max-width: 600px;
}

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

.page-slot-games__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: var(--white-color);
}

.page-slot-games__hero-image-wrapper {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  z-index: 1;
}

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

/* Intro Section */
.page-slot-games__intro-section {
  padding: 80px 0;
}

.page-slot-games__grid-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.page-slot-games__grid-layout--reversed {
  grid-template-columns: 1fr 1fr;
}

.page-slot-games__grid-layout--reversed .page-slot-games__grid-item:first-child {
  order: 2;
}

.page-slot-games__grid-layout--reversed .page-slot-games__grid-item:last-child {
  order: 1;
}

.page-slot-games__image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Features Section */
.page-slot-games__features-section {
  padding: 80px 0;
}

.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);
}

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

.page-slot-games__feature-card p {
  color: var(--white-color);
}

/* Download Section */
.page-slot-games__download-section {
  padding: 80px 0;
}

.page-slot-games__download-steps {
  list-style: none;
  padding: 0;
}

.page-slot-games__download-steps li {
  margin-bottom: 25px;
  position: relative;
  padding-left: 40px;
}

.page-slot-games__download-steps li::before {
  content: counter(step-counter);
  counter-increment: step-counter;
  position: absolute;
  left: 0;
  top: 0;
  background-color: var(--main-color);
  color: var(--white-color);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.1em;
}

.page-slot-games__download-steps h3 {
  color: var(--main-color);
  margin-top: 0;
}

/* Strategy Section */
.page-slot-games__strategy-section {
  padding: 80px 0;
}

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

.page-slot-games__strategy-card {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

.page-slot-games__strategy-card p {
  color: var(--white-color);
}

/* Popular Games Section */
.page-slot-games__popular-games-section {
  padding: 80px 0;
}

.page-slot-games__games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.page-slot-games__game-card {
  background-color: var(--white-color);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
}

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

.page-slot-games__game-card .page-slot-games__card-title {
  font-size: 1.4em;
  color: var(--main-color);
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-slot-games__game-card p {
  color: var(--text-color-dark);
  padding: 0 15px;
  margin-bottom: 20px;
}

.page-slot-games__game-card .page-slot-games__btn-primary {
  padding: 10px 20px;
  font-size: 0.9em;
}

/* Testimonials Section */
.page-slot-games__testimonials-section {
  padding: 80px 0;
}

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

.page-slot-games__testimonial-card {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-slot-games__testimonial-text {
  font-style: italic;
  margin-bottom: 15px;
  color: var(--white-color);
}

.page-slot-games__testimonial-author {
  font-weight: bold;
  color: var(--white-color);
}

/* FAQ Section */
.page-slot-games__faq-section {
  padding: 80px 0;
}

.page-slot-games__faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.page-slot-games__faq-item {
  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: 15px 20px;
  background-color: #f9f9f9;
  cursor: pointer;
  font-weight: bold;
  color: var(--main-color);
}

.page-slot-games__faq-question h3 {
  margin: 0;
  font-size: 1.2em;
  color: var(--main-color);
}

.page-slot-games__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: var(--main-color);
}

.page-slot-games__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: var(--text-color-dark);
}

.page-slot-games__faq-answer p {
  padding-bottom: 15px;
  margin: 0;
}

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

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

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

/* Responsive Design */
@media (max-width: 992px) {
  .page-slot-games__hero-section {
    flex-direction: column;
    text-align: center;
    padding: 40px 0;
    padding-top: var(--header-offset, 120px);
  }

  .page-slot-games__hero-content {
    padding-right: 0;
    margin-bottom: 40px;
  }

  .page-slot-games__hero-image-wrapper {
    justify-content: center;
  }

  .page-slot-games__grid-layout {
    grid-template-columns: 1fr;
  }

  .page-slot-games__grid-layout--reversed .page-slot-games__grid-item:first-child {
    order: 1;
  }

  .page-slot-games__grid-layout--reversed .page-slot-games__grid-item:last-child {
    order: 2;
  }

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

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

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

  .page-slot-games__hero-section {
    padding: 30px 20px;
    padding-top: var(--header-offset, 120px) !important;
  }

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

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

  .page-slot-games__hero-cta-buttons,
  .page-slot-games__cta-center,
  .page-slot-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 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;
  }

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

  .page-slot-games__features-grid,
  .page-slot-games__strategy-grid,
  .page-slot-games__games-grid,
  .page-slot-games__testimonials-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

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

  .page-slot-games__hero-image-wrapper,
  .page-slot-games__grid-item,
  .page-slot-games__game-card,
  .page-slot-games__feature-card,
  .page-slot-games__strategy-card,
  .page-slot-games__testimonial-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    padding-left: 0;
    padding-right: 0;
  }

  .page-slot-games__download-steps li {
    padding-left: 35px;
  }

  .page-slot-games__download-steps li::before {
    width: 25px;
    height: 25px;
    font-size: 0.9em;
  }

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

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

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

  .page-slot-games__faq-item.active .page-slot-games__faq-answer {
    padding: 12px 15px;
  }
}