.page-slot-games {
  --primary-color: #007bff;
  --secondary-color: #ffc107;
  --text-dark: #333333;
  --text-light: #ffffff;
  --bg-light: #f8f9fa;
  --bg-dark: #212529;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
}

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

.page-slot-games__section {
  padding: 60px 0;
  text-align: center;
}

.page-slot-games__section:nth-of-type(even) {
  background-color: var(--bg-light);
}

.page-slot-games h1,
.page-slot-games h2 {
  color: var(--primary-color);
  margin-bottom: 25px;
  font-weight: 700;
}

.page-slot-games h1 {
  font-size: 3em;
}

.page-slot-games h2 {
  font-size: 2.5em;
}

.page-slot-games h3 {
  color: var(--text-dark);
  font-size: 1.5em;
  margin-bottom: 15px;
}

.page-slot-games p {
  font-size: 1.1em;
  margin-bottom: 20px;
}

.page-slot-games__cta-button {
  display: inline-block;
  background-color: var(--secondary-color);
  color: var(--text-light);
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-slot-games__cta-button:hover {
  background-color: darken(var(--secondary-color), 10%);
  transform: translateY(-2px);
}

.page-slot-games__cta-button--large {
  padding: 20px 40px;
  font-size: 1.4em;
}

/* Hero Banner */
.page-slot-games__hero-banner {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary-color) 0%, #0056b3 100%);
  padding: 80px 0;
  color: var(--text-light);
}

.page-slot-games__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.page-slot-games__hero-image {
  width: 100%;
  height: auto;
  max-width: 800px; /* Adjust max-width as needed */
  border-radius: 12px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
  margin-bottom: 30px;
}

.page-slot-games__hero-content {
  position: relative;
  z-index: 2;
  padding: 20px;
}

.page-slot-games__hero-content h1 {
  color: var(--text-light);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-slot-games__hero-content p {
  color: var(--text-light);
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 30px;
}

/* About Section */
.page-slot-games__about {
  background-color: var(--bg-light);
}

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

.page-slot-games__feature-item {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-slot-games__feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-slot-games__feature-item h3 {
  color: var(--primary-color);
  margin-top: 20px;
}

.page-slot-games__feature-icon {
  width: 120px;
  height: 120px;
  object-fit: contain;
  margin-bottom: 15px;
}

/* Game Types Section */
.page-slot-games__game-types {
  background-color: #ffffff;
}

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

.page-slot-games__game-card {
  background-color: var(--bg-light);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-slot-games__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

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

.page-slot-games__game-card h3 {
  padding: 15px 20px 0;
  margin-bottom: 10px;
}

.page-slot-games__game-card h3 a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-slot-games__game-card h3 a:hover {
  color: var(--secondary-color);
}

.page-slot-games__game-card p {
  padding: 0 20px 20px;
  font-size: 1em;
}

/* How to Play Section */
.page-slot-games__how-to-play {
  background-color: var(--bg-light);
}

.page-slot-games__steps-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  text-align: left;
}

.page-slot-games__steps-list li {
  background-color: #ffffff;
  margin-bottom: 20px;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  position: relative;
  padding-left: 80px;
}

.page-slot-games__steps-list li h3 {
  color: var(--primary-color);
  margin-top: 0;
  margin-bottom: 10px;
}

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

.page-slot-games__step-button {
  margin-top: 15px;
  display: inline-block;
  padding: 10px 20px;
  background-color: var(--primary-color);
  color: var(--text-light);
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-slot-games__step-button:hover {
  background-color: darken(var(--primary-color), 10%);
}

/* Tips Section */
.page-slot-games__tips {
  background-color: #ffffff;
}

.page-slot-games__tips ul {
  list-style: none;
  padding: 0;
  text-align: left;
  max-width: 900px;
  margin: 40px auto 0;
}

.page-slot-games__tips ul li {
  background-color: var(--bg-light);
  padding: 20px;
  margin-bottom: 15px;
  border-left: 5px solid var(--secondary-color);
  border-radius: 5px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

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

/* FAQ Section */
.page-slot-games__faq {
  background-color: var(--bg-light);
}

.page-slot-games .faq-list {
  max-width: 900px;
  margin: 40px auto 0;
  text-align: left;
}

.faq-item {
  margin-bottom: 15px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  background-color: #ffffff;
  overflow: hidden;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: #fff;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background: #f5f5f5;
}

.faq-question h3 {
  margin: 0;
  color: var(--primary-color);
  font-size: 1.2em;
}

.faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--secondary-color);
  transition: transform 0.3s ease;
  line-height: 1;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding: 0 25px;
}

.faq-item.active .faq-answer {
  max-height: 500px; /* Sufficient height for content */
  padding: 15px 25px 25px;
  background: #fcfcfc;
}

.faq-answer p {
  margin-bottom: 0;
  color: var(--text-dark);
}

.page-slot-games__faq-button {
  margin-top: 15px;
  display: inline-block;
  padding: 8px 15px;
  background-color: var(--primary-color);
  color: var(--text-light);
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.9em;
  transition: background-color 0.3s ease;
}

.page-slot-games__faq-button:hover {
  background-color: darken(var(--primary-color), 10%);
}

/* Final CTA Section */
.page-slot-games__cta-final {
  background: linear-gradient(135deg, var(--primary-color) 0%, #0056b3 100%);
  color: var(--text-light);
  padding: 80px 0;
}

.page-slot-games__cta-final-content h2 {
  color: var(--text-light);
  font-size: 3em;
}

.page-slot-games__cta-final-content p {
  font-size: 1.3em;
  max-width: 800px;
  margin: 0 auto 40px;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-slot-games h1 {
    font-size: 2.5em;
  }
  .page-slot-games h2 {
    font-size: 2em;
  }
  .page-slot-games__hero-content p {
    font-size: 1.1em;
  }
  .page-slot-games__cta-final-content h2 {
    font-size: 2.5em;
  }
}

@media (max-width: 768px) {
  .page-slot-games__section {
    padding: 40px 0;
  }
  .page-slot-games h1 {
    font-size: 2em;
  }
  .page-slot-games h2 {
    font-size: 1.8em;
  }
  .page-slot-games h3 {
    font-size: 1.3em;
  }
  .page-slot-games p {
    font-size: 1em;
  }
  .page-slot-games__hero-banner {
    padding: 60px 0;
  }
  .page-slot-games__hero-image {
    max-width: 90%;
  }
  .page-slot-games__cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-slot-games__cta-button--large {
    padding: 15px 30px;
    font-size: 1.1em;
  }
  .page-slot-games__features-grid,
  .page-slot-games__game-cards-grid {
    grid-template-columns: 1fr;
  }
  .page-slot-games__steps-list li {
    padding: 20px 20px 20px 60px;
  }
  .page-slot-games__steps-list li:before {
    left: 20px;
    top: 20px;
    width: 35px;
    height: 35px;
    font-size: 1.2em;
  }
  .faq-question {
    padding: 15px 20px;
  }
  .faq-question h3 {
    font-size: 1.1em;
  }
  .faq-answer {
    padding: 0 20px;
  }
  .faq-item.active .faq-answer {
    padding: 10px 20px 20px;
  }
  .page-slot-games__cta-final-content h2 {
    font-size: 2em;
  }
  .page-slot-games__cta-final-content p {
    font-size: 1.1em;
  }
}

@media (max-width: 480px) {
  .page-slot-games__hero-content h1 {
    font-size: 1.8em;
  }
  .page-slot-games__hero-content p {
    font-size: 0.95em;
  }
  .page-slot-games__cta-final-content h2 {
    font-size: 1.8em;
  }
  .page-slot-games__cta-final-content p {
    font-size: 1em;
  }
}