:root {
  --bg-primary: #08160F; /* Background */
  --bg-card: #11271B; /* Card BG */
  --text-main: #F2FFF6; /* Text Main */
  --text-secondary: #A7D9B8; /* Text Secondary */
  --border-color: #2E7A4E; /* Border */
  --btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button */
  --color-glow: #57E38D; /* Glow */
  --color-gold: #F2C14E; /* Gold */
  --color-divider: #1E3A2A; /* Divider */
  --color-deep-green: #0A4B2C; /* Deep Green */
}

.page-slot-games {
  background-color: var(--bg-primary);
  color: var(--text-main);
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-slot-games__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* body handles --header-offset */
  text-align: center;
  overflow: hidden;
  box-sizing: border-box;
}

.page-slot-games__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.page-slot-games__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4); /* Darken image for text readability */
}

.page-slot-games__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
  box-sizing: border-box;
}

.page-slot-games__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  color: var(--text-main);
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-slot-games__hero-description {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 30px;
}

.page-slot-games__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  width: 100%;
  max-width: 600px;
  box-sizing: border-box;
}

.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, transform 0.2s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-slot-games__btn-primary {
  background: var(--btn-gradient);
  color: var(--text-main);
  border: none;
}

.page-slot-games__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(42, 209, 111, 0.4);
}

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

.page-slot-games__btn-secondary:hover {
  background: rgba(87, 227, 141, 0.1);
  transform: translateY(-2px);
}

.page-slot-games__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  background-color: var(--bg-primary);
  color: var(--text-main);
  box-sizing: border-box;
}

.page-slot-games__section-title {
  font-size: 2.2rem;
  color: var(--color-gold);
  text-align: center;
  margin-bottom: 30px;
  padding-top: 20px;
  position: relative;
}

.page-slot-games__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: var(--color-glow);
  margin: 15px auto 0;
  border-radius: 2px;
}

.page-slot-games__subsection-title {
  font-size: 1.8rem;
  color: var(--text-main);
  margin-top: 40px;
  margin-bottom: 20px;
  border-left: 5px solid var(--color-glow);
  padding-left: 15px;
}

.page-slot-games p {
  margin-bottom: 15px;
  color: var(--text-secondary);
}

.page-slot-games strong {
  color: var(--text-main);
}

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

.page-slot-games__game-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

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

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

.page-slot-games__card-title a {
  color: inherit;
  text-decoration: none;
}

.page-slot-games__card-title a:hover {
  text-decoration: underline;
}

.page-slot-games__game-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  padding: 0 15px;
}

.page-slot-games__feature-list,
.page-slot-games__guide-list,
.page-slot-games__strategy-list,
.page-slot-games__promotion-list,
.page-slot-games__why-choose-list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
  margin-bottom: 30px;
}

.page-slot-games__feature-list li,
.page-slot-games__guide-list li,
.page-slot-games__strategy-list li,
.page-slot-games__promotion-list li,
.page-slot-games__why-choose-list li {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 15px 20px;
  margin-bottom: 10px;
  display: flex;
  align-items: flex-start;
  gap: 15px;
  color: var(--text-secondary);
}

.page-slot-games__feature-list li::before,
.page-slot-games__guide-list li::before,
.page-slot-games__strategy-list li::before,
.page-slot-games__promotion-list li::before,
.page-slot-games__why-choose-list li::before {
  content: '⚡'; /* Example icon, could be a custom SVG */
  font-size: 1.2rem;
  color: var(--color-glow);
  flex-shrink: 0;
}

.page-slot-games__guide-list li::before {
  content: counter(step-counter);
  counter-increment: step-counter;
  background-color: var(--color-glow);
  color: var(--bg-primary);
  border-radius: 50%;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1rem;
}

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

.page-slot-games__dark-section {
  background-color: var(--color-deep-green);
  color: var(--text-main);
  padding: 60px 20px;
  text-align: center;
  box-sizing: border-box;
}

.page-slot-games__dark-section .page-slot-games__section-title {
  color: var(--color-gold);
}

.page-slot-games__dark-section p {
  color: var(--text-secondary);
  max-width: 900px;
  margin: 0 auto 20px auto;
}

.page-slot-games__text-link {
  color: var(--color-glow);
  text-decoration: underline;
  font-weight: bold;
}

.page-slot-games__text-link:hover {
  color: var(--text-main);
}

.page-slot-games__faq-list {
  margin-top: 30px;
}

.page-slot-games__faq-item {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-slot-games__faq-item summary {
  list-style: none;
}

.page-slot-games__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  color: var(--text-main);
  font-weight: bold;
  font-size: 1.1rem;
  background-color: var(--color-deep-green);
  border-bottom: 1px solid var(--color-divider);
}

.page-slot-games__faq-question:hover {
  background-color: var(--color-deep-green);
  opacity: 0.9;
}

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

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

.page-slot-games__faq-answer {
  padding: 20px 25px;
  color: var(--text-secondary);
  font-size: 1rem;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-slot-games__hero-content {
    max-width: 700px;
  }

  .page-slot-games__main-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }

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

  .page-slot-games__subsection-title {
    font-size: 1.6rem;
  }

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

@media (max-width: 768px) {
  .page-slot-games__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important; /* body already has padding-top */
  }

  .page-slot-games__main-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
    margin-bottom: 15px;
  }

  .page-slot-games__hero-description {
    font-size: 1rem;
    margin-bottom: 25px;
  }

  .page-slot-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
    max-width: 100%;
    padding: 0 15px;
  }

  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1rem;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-slot-games__content-area,
  .page-slot-games__dark-section {
    padding: 30px 15px;
  }

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

  .page-slot-games__subsection-title {
    font-size: 1.4rem;
    margin-top: 30px;
    margin-bottom: 15px;
  }

  .page-slot-games__game-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .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__game-card,
  .page-slot-games__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
  }

  .page-slot-games__feature-list li,
  .page-slot-games__guide-list li,
  .page-slot-games__strategy-list li,
  .page-slot-games__promotion-list li,
  .page-slot-games__why-choose-list li {
    padding: 12px 15px;
  }

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

  .page-slot-games__faq-answer {
    padding: 15px 20px;
    font-size: 0.95rem;
  }
}