:root {
  --main-color: #11A84E;
  --accent-color: #22C768;
  --btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --bg-card: #11271B;
  --bg-dark: #08160F;
  --text-main: #F2FFF6;
  --text-secondary: #A7D9B8;
  --border-color: #2E7A4E;
  --glow: #57E38D;
  --gold: #F2C14E;
  --divider: #1E3A2A;
  --deep-green: #0A4B2C;
}

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

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

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

.page-slot-games__dark-section {
  background-color: var(--bg-card); /* Deep green background for contrast */
  padding: 60px 0;
}

.page-slot-games__dark-section .page-slot-games__section-title,
.page-slot-games__dark-section p,
.page-slot-games__dark-section li {
  color: var(--text-main); /* Light text on dark background */
}

/* --- Hero Section --- */
.page-slot-games__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 60px; /* Space below content */
  padding-top: 10px; /* Small top padding, body handles header offset */
  overflow: hidden;
  background-color: var(--bg-dark);
}

.page-slot-games__hero-image-wrapper {
  width: 100%;
  max-height: 70vh; /* Limit height for hero image */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-slot-games__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.page-slot-games__hero-content {
  max-width: 900px;
  text-align: center;
  padding: 40px 20px 0;
  box-sizing: border-box;
  z-index: 1; /* Ensure content is above image if any overlap */
  color: var(--text-main);
}

.page-slot-games__main-title {
  font-size: clamp(2em, 5vw, 3.5em); /* Responsive font size for H1 */
  color: var(--gold); /* Gold color for main title */
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 1px;
}

.page-slot-games__description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: var(--text-secondary);
}

.page-slot-games__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
}

.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;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
  box-sizing: border-box;
  text-align: center;
  max-width: 100%; /* Ensure button doesn't exceed container */
}

.page-slot-games__btn-primary {
  background: var(--btn-gradient); /* Custom button gradient */
  color: #ffffff;
  border: none;
}

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

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

.page-slot-games__btn-secondary:hover {
  background-color: var(--gold);
  color: var(--bg-dark);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* --- Introduction Section --- */
.page-slot-games__introduction-section,
.page-slot-games__advantages-section,
.page-slot-games__strategies-section,
.page-slot-games__security-section,
.page-slot-games__conclusion-section {
  padding: 60px 0;
  background-color: var(--bg-card); /* Dark background for these sections */
  color: var(--text-main);
}

.page-slot-games__introduction-section p,
.page-slot-games__advantages-section p,
.page-slot-games__strategies-section p,
.page-slot-games__security-section p,
.page-slot-games__conclusion-section p {
  margin-bottom: 1em;
  color: var(--text-secondary);
}

.page-slot-games__content-image {
  width: 100%;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* --- Types Section --- */
.page-slot-games__types-section,
.page-slot-games__how-to-play-section,
.page-slot-games__promotions-section,
.page-slot-games__faq-section {
  padding: 60px 0;
  background-color: var(--bg-dark); /* Lighter background for these sections */
  color: var(--text-main);
}

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

.page-slot-games__card {
  background-color: var(--bg-card); /* Card background */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  padding-bottom: 20px;
  color: var(--text-main);
}

.page-slot-games__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;
  display: block;
  border-bottom: 1px solid var(--divider);
}

.page-slot-games__card-title {
  font-size: 1.5em;
  color: var(--gold);
  margin: 20px 20px 10px;
  font-weight: bold;
}

.page-slot-games__card p {
  padding: 0 20px;
  color: var(--text-secondary);
}

/* --- Advantages Section --- */
.page-slot-games__feature-list,
.page-slot-games__strategy-list,
.page-slot-games__security-features {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-slot-games__feature-list li,
.page-slot-games__strategy-list li,
.page-slot-games__security-features li {
  background-color: rgba(34, 199, 104, 0.1); /* Subtle background for list items */
  padding: 15px 20px;
  margin-bottom: 10px;
  border-radius: 8px;
  display: flex;
  align-items: flex-start;
  color: var(--text-main);
  border: 1px solid var(--border-color);
}

.page-slot-games__feature-list li::before,
.page-slot-games__strategy-list li::before,
.page-slot-games__security-features li::before {
  content: '✅';
  margin-right: 15px;
  font-size: 1.2em;
  color: var(--glow);
}

.page-slot-games__strategy-list strong {
  color: var(--glow);
}

.page-slot-games__sub-list {
  list-style: disc;
  margin-left: 30px;
  margin-top: 10px;
  color: var(--text-secondary);
}

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

.page-slot-games__step-list li {
  counter-increment: step-counter;
  margin-bottom: 20px;
  padding-left: 60px;
  position: relative;
  font-size: 1.1em;
  color: var(--text-secondary);
}

.page-slot-games__step-list li::before {
  content: counter(step-counter);
  position: absolute;
  left: 0;
  top: 0;
  background: var(--btn-gradient);
  color: #ffffff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  font-size: 1.2em;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-slot-games__how-to-play-section a {
  color: var(--glow);
  text-decoration: underline;
}

.page-slot-games__how-to-play-section a:hover {
  color: var(--gold);
}

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

.page-slot-games__promotion-card {
  background-color: var(--bg-card);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  text-align: center;
  color: var(--text-main);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-slot-games__promotion-card .page-slot-games__card-title {
  font-size: 1.6em;
  margin-top: 0;
  margin-bottom: 15px;
  color: var(--gold);
}

.page-slot-games__promotion-card p {
  color: var(--text-secondary);
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-slot-games__promotion-card .page-slot-games__btn-primary {
  margin-top: auto;
  align-self: center;
}

.page-slot-games__call-to-action-text {
  text-align: center;
  margin-top: 40px;
  font-size: 1.1em;
  color: var(--text-secondary);
}

.page-slot-games__call-to-action-text a {
  color: var(--glow);
  text-decoration: underline;
}

.page-slot-games__call-to-action-text a:hover {
  color: var(--gold);
}

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

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

.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  background-color: var(--deep-green); /* Slightly darker for question */
  color: var(--text-main);
  transition: background-color 0.3s ease;
}

.page-slot-games__faq-question:hover {
  background-color: rgba(10, 75, 44, 0.8); /* Darker on hover */
}

.page-slot-games__faq-qtext {
  flex-grow: 1;
  color: var(--text-main);
}

.page-slot-games__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: var(--glow);
}

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

.page-slot-games__faq-item[open] .page-slot-games__faq-toggle {
  content: '−'; /* Change to minus when open */
}

/* --- Conclusion Section --- */
.page-slot-games__conclusion-section {
  text-align: center;
  padding-bottom: 80px;
}

.page-slot-games__conclusion-section p {
  font-size: 1.1em;
  margin-bottom: 25px;
}

.page-slot-games__conclusion-section a {
  color: var(--glow);
  text-decoration: underline;
}

.page-slot-games__conclusion-section a:hover {
  color: var(--gold);
}

/* --- Responsive Design --- */
@media (max-width: 1024px) {
  .page-slot-games__section-title {
    font-size: 2em;
  }
  .page-slot-games__hero-content {
    padding: 30px 15px 0;
  }
  .page-slot-games__main-title {
    font-size: clamp(1.8em, 4.5vw, 3em);
  }
  .page-slot-games__description {
    font-size: 1.1em;
  }
}

@media (max-width: 768px) {
  .page-slot-games__hero-section {
    padding-bottom: 40px;
    padding-top: 10px !important; /* body handles header offset */
  }
  .page-slot-games__hero-content {
    padding: 20px 15px 0;
  }
  .page-slot-games__main-title {
    font-size: clamp(1.5em, 6vw, 2.5em);
    margin-bottom: 15px;
  }
  .page-slot-games__description {
    font-size: 1em;
    margin-bottom: 25px;
  }
  .page-slot-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
    max-width: 300px;
  }
  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary {
    padding: 12px 25px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-slot-games__container {
    padding: 0 15px;
  }
  .page-slot-games__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-slot-games__dark-section,
  .page-slot-games__types-section,
  .page-slot-games__how-to-play-section,
  .page-slot-games__promotions-section,
  .page-slot-games__faq-section {
    padding: 40px 0;
  }

  .page-slot-games__card-grid,
  .page-slot-games__promotion-cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* 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__content-image,
  .page-slot-games__card-image {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .page-slot-games__hero-image {
    max-height: 50vh;
  }

  /* Video responsive (if any) */
  .page-slot-games video,
  .page-slot-games__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-slot-games__video-section,
  .page-slot-games__video-container,
  .page-slot-games__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-slot-games__video-section {
    padding-top: 10px !important;
  }
  .page-slot-games__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-slot-games__feature-list li,
  .page-slot-games__strategy-list li,
  .page-slot-games__security-features li {
    padding: 12px 15px;
    font-size: 0.95em;
  }
  .page-slot-games__step-list li {
    padding-left: 50px;
    font-size: 1em;
  }
  .page-slot-games__step-list li::before {
    width: 35px;
    height: 35px;
    font-size: 1em;
  }

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

/* Ensure contrast for text on various backgrounds */
.page-slot-games p,
.page-slot-games li,
.page-slot-games a {
  color: var(--text-secondary); /* Default for general text */
}

.page-slot-games h1,
.page-slot-games h2,
.page-slot-games h3,
.page-slot-games h4,
.page-slot-games h5,
.page-slot-games h6 {
  color: var(--text-main); /* Default for headings */
}

/* Override for specific elements if needed for contrast */
.page-slot-games__hero-content p {
  color: var(--text-secondary);
}

.page-slot-games__card-title {
  color: var(--gold); /* Specific for card titles */
}

.page-slot-games__faq-qtext {
  color: var(--text-main);
}

.page-slot-games__faq-answer p {
  color: var(--text-secondary);
}

/* Links within content */
.page-slot-games__introduction-section a,
.page-slot-games__advantages-section a,
.page-slot-games__strategies-section a,
.page-slot-games__security-section a,
.page-slot-games__conclusion-section a {
  color: var(--glow);
  text-decoration: underline;
}
.page-slot-games__introduction-section a:hover,
.page-slot-games__advantages-section a:hover,
.page-slot-games__strategies-section a:hover,
.page-slot-games__security-section a:hover,
.page-slot-games__conclusion-section a:hover {
  color: var(--gold);
}