.page-slot-games {
  font-family: 'Arial', sans-serif;
  color: var(--text-main);
  background-color: var(--background);
}

.page-slot-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  overflow: hidden;
  color: var(--text-main);
  background: linear-gradient(180deg, #0A4B2C 0%, #08160F 100%); /* Deep Green to Background */
}

.page-slot-games__hero-image-wrapper {
  width: 100%;
  max-width: 1920px; /* Max width for hero image */
  margin-bottom: 20px;
}

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

.page-slot-games__hero-content {
  max-width: 900px;
  z-index: 1;
}

.page-slot-games__main-title {
  font-size: clamp(2.2em, 5vw, 3.2em);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--gold);
  text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
}

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

.page-slot-games__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  font-size: 1.1em;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(17, 168, 78, 0.4);
}

.page-slot-games__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(17, 168, 78, 0.6);
}

.page-slot-games__cta-button--centered {
  margin-top: 40px;
  margin-left: auto;
  margin-right: auto;
  display: block;
  max-width: fit-content;
}

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

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

.page-slot-games__section-title {
  font-size: clamp(1.8em, 4vw, 2.8em);
  font-weight: 700;
  margin-bottom: 30px;
  text-align: center;
  color: var(--gold);
  text-shadow: 0 0 8px rgba(242, 193, 78, 0.3);
}

.page-slot-games__intro-section p,
.page-slot-games__security-section p,
.page-slot-games__cta-section p {
  font-size: 1em;
  line-height: 1.7;
  margin-bottom: 20px;
  text-align: justify;
  color: var(--text-secondary);
}

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

.page-slot-games__feature-grid,
.page-slot-games__game-type-grid,
.page-slot-games__promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.page-slot-games__feature-card,
.page-slot-games__game-type-card,
.page-slot-games__promo-card {
  background-color: var(--card-b-g);
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border);
  color: var(--text-main);
}

.page-slot-games__feature-card:hover,
.page-slot-games__game-type-card:hover,
.page-slot-games__promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.page-slot-games__card-title {
  font-size: 1.5em;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--gold);
}

.page-slot-games__feature-card p,
.page-slot-games__game-type-card p {
  font-size: 0.95em;
  line-height: 1.6;
  color: var(--text-secondary);
}

.page-slot-games__game-type-image,
.page-slot-games__promo-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 20px;
}

.page-slot-games__promo-button {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 30px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  font-size: 0.95em;
  font-weight: 600;
  text-decoration: none;
  margin-top: 20px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-slot-games__promo-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(17, 168, 78, 0.4);
}

.page-slot-games__promo-note {
  text-align: center;
  margin-top: 40px;
  font-size: 0.9em;
  color: var(--text-secondary);
}

.page-slot-games__how-to-list,
.page-slot-games__tips-list,
.page-slot-games__security-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-slot-games__how-to-list li,
.page-slot-games__tips-list li,
.page-slot-games__security-list li {
  background-color: var(--card-b-g);
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border-left: 5px solid var(--glow);
  color: var(--text-main);
}

.page-slot-games__how-to-list li h3,
.page-slot-games__tips-list li h3,
.page-slot-games__security-list li h3 {
  font-size: 1.3em;
  color: var(--gold);
  margin-bottom: 10px;
}

.page-slot-games__how-to-list li p,
.page-slot-games__tips-list li p,
.page-slot-games__security-list li p {
  font-size: 1em;
  line-height: 1.6;
  color: var(--text-secondary);
  text-align: justify;
}

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

.page-slot-games__faq-item {
  background-color: var(--card-b-g);
  border-radius: 10px;
  margin-bottom: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border);
}

.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.1em;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
  transition: background-color 0.3s ease;
  list-style: none;
  user-select: none;
}

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

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

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

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

.page-slot-games__faq-item[open] .page-slot-games__faq-toggle {
  content: '−';
}

.page-slot-games__faq-answer {
  padding: 0 25px 20px;
  font-size: 1em;
  line-height: 1.6;
  color: var(--text-secondary);
  text-align: justify;
}

/* Background colors */
.page-slot-games__dark-bg {
  background-color: var(--background);
  color: var(--text-main);
}

.page-slot-games__light-bg {
  background-color: var(--card-b-g);
  color: var(--text-main);
}

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

  .page-slot-games__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important; /* Ensure small top padding */
  }

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

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

  .page-slot-games__cta-button,
  .page-slot-games__cta-button--large,
  .page-slot-games__promo-button {
    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;
    font-size: 1em;
  }

  .page-slot-games__container {
    padding: 20px 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

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

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

  .page-slot-games__feature-card,
  .page-slot-games__game-type-card,
  .page-slot-games__promo-card {
    padding: 20px;
  }

  .page-slot-games__how-to-list li,
  .page-slot-games__tips-list li,
  .page-slot-games__security-list li {
    padding: 20px;
  }

  .page-slot-games__how-to-list li h3,
  .page-slot-games__tips-list li h3,
  .page-slot-games__security-list li h3 {
    font-size: 1.1em;
  }

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

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

  /* Image responsiveness */
  .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-area,
  .page-slot-games__feature-grid,
  .page-slot-games__game-type-grid,
  .page-slot-games__promo-grid,
  .page-slot-games__how-to-list,
  .page-slot-games__tips-list,
  .page-slot-games__security-list,
  .page-slot-games__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important; /* Prevent horizontal scroll */
  }
}

@media (min-width: 769px) {
  .page-slot-games__hero-section {
    padding-bottom: 80px;
  }

  .page-slot-games__feature-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

/* Ensure color contrast for dark background */
.page-slot-games__dark-bg {
  background-color: var(--background);
  color: var(--text-main);
}

.page-slot-games__light-bg {
  background-color: var(--card-b-g);
  color: var(--text-main);
}

.page-slot-games__intro-section,
.page-slot-games__game-types-section,
.page-slot-games__tips-strategies-section,
.page-slot-games__security-section,
.page-slot-games__cta-section {
  background-color: var(--background);
  color: var(--text-main);
}

.page-slot-games__intro-section p,
.page-slot-games__security-section p,
.page-slot-games__cta-section p {
  color: var(--text-secondary);
}

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

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

.page-slot-games__feature-card,
.page-slot-games__game-type-card,
.page-slot-games__promo-card,
.page-slot-games__how-to-list li,
.page-slot-games__tips-list li,
.page-slot-games__security-list li,
.page-slot-games__faq-item {
  background-color: var(--card-b-g);
  color: var(--text-main);
}

.page-slot-games__feature-card p,
.page-slot-games__game-type-card p,
.page-slot-games__promo-card p,
.page-slot-games__how-to-list li p,
.page-slot-games__tips-list li p,
.page-slot-games__security-list li p {
  color: var(--text-secondary);
}

.page-slot-games__cta-button,
.page-slot-games__promo-button {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
}

.page-slot-games__section-title,
.page-slot-games__card-title,
.page-slot-games__how-to-list li h3,
.page-slot-games__tips-list li h3,
.page-slot-games__security-list li h3 {
  color: var(--gold);
}

.page-slot-games__faq-toggle {
  color: var(--glow);
}