.page-slot-games {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-main, #F2FFF6); /* Default text color for the page */
  background-color: var(--background, #08160F); /* Default background color for the page */
}

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

/* Hero Section */
.page-slot-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  padding-bottom: 50px;
  overflow: hidden;
}

.page-slot-games__hero-image-wrapper {
  width: 100%;
  max-height: 675px; /* Max height to prevent overly tall images */
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.page-slot-games__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover; /* Desktop: cover to fill space */
  aspect-ratio: 16/9;
  max-height: 675px;
}

.page-slot-games__hero-content-wrapper {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin-top: -150px; /* Overlap image slightly for visual effect, but text is below */
  padding: 40px;
  background: rgba(8, 22, 15, 0.9); /* Semi-transparent background for readability */
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
  border: 1px solid var(--border, #2E7A4E);
}

.page-slot-games__hero-title {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 700;
  color: var(--text-main, #F2FFF6);
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 0 10px var(--glow, #57E38D);
}

.page-slot-games__hero-description {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  color: var(--text-secondary, #A7D9B8);
  margin-bottom: 30px;
  line-height: 1.5;
}

.page-slot-games__hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.page-slot-games__btn-primary,
.page-slot-games__btn-secondary {
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
}

.page-slot-games__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 15px rgba(0, 255, 100, 0.4);
}

.page-slot-games__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 255, 100, 0.6);
}

.page-slot-games__btn-secondary {
  background: transparent;
  color: var(--text-main, #F2FFF6);
  border: 2px solid var(--glow, #57E38D);
}

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

/* General Section Styling */
.page-slot-games__section-title {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  color: var(--gold, #F2C14E);
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-slot-games__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--gold, #F2C14E);
  border-radius: 2px;
}

.page-slot-games__section-subtitle {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: var(--text-secondary, #A7D9B8);
  text-align: center;
  margin-bottom: 50px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-slot-games__dark-section {
  background-color: var(--card-bg, #11271B);
  padding: 60px 0;
}

.page-slot-games__introduction-section {
  padding: 60px 0;
}

.page-slot-games__content-grid {
  display: flex;
  gap: 40px;
  align-items: center;
}

.page-slot-games__text-block {
  flex: 1;
  padding-right: 20px;
}

.page-slot-games__text-block p {
  margin-bottom: 20px;
  font-size: 1.1rem;
  color: var(--text-secondary, #A7D9B8);
}

.page-slot-games__text-block h3 {
  color: var(--text-main, #F2FFF6);
  font-size: 1.5rem;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-slot-games__image-block {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-slot-games__image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border, #2E7A4E);
}

.page-slot-games__text-link {
  color: var(--glow, #57E38D);
  text-decoration: none;
  font-weight: 600;
}

.page-slot-games__text-link:hover {
  text-decoration: underline;
}

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

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

.page-slot-games__game-card.page-slot-games__card {
  background: var(--card-bg, #11271B);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border, #2E7A4E);
  display: flex;
  flex-direction: column;
}

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

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

.page-slot-games__card-content {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.page-slot-games__card-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text-main, #F2FFF6);
}

.page-slot-games__card-title a {
  color: var(--text-main, #F2FFF6);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-slot-games__card-title a:hover {
  color: var(--gold, #F2C14E);
}

.page-slot-games__card-description {
  font-size: 0.95rem;
  color: var(--text-secondary, #A7D9B8);
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-slot-games__btn-play {
  display: inline-block;
  padding: 10px 20px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 600;
  font-size: 0.9rem;
  text-align: center;
  transition: background 0.3s ease, transform 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
}

.page-slot-games__btn-play:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  transform: translateY(-1px);
}

.page-slot-games__sub-heading {
  font-size: 2rem;
  font-weight: 600;
  color: var(--text-main, #F2FFF6);
  text-align: center;
  margin-top: 60px;
  margin-bottom: 30px;
}

.page-slot-games__list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 800px;
}

.page-slot-games__list li {
  background: var(--deep-green, #0A4B2C);
  margin-bottom: 10px;
  padding: 15px 20px;
  border-radius: 8px;
  font-size: 1.1rem;
  color: var(--text-secondary, #A7D9B8);
  border-left: 5px solid var(--glow, #57E38D);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.page-slot-games__list li strong {
  color: var(--text-main, #F2FFF6);
}

/* Why Choose Section */
.page-slot-games__why-choose-section {
  padding: 60px 0;
}

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

.page-slot-games__feature-card.page-slot-games__card {
  background: var(--deep-green, #0A4B2C);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border, #2E7A4E);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-slot-games__feature-card.page-slot-games__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-slot-games__feature-card .page-slot-games__card-image {
  width: 100%;
  max-width: 150px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 5px;
}

.page-slot-games__feature-card .page-slot-games__card-title {
  font-size: 1.4rem;
  color: var(--gold, #F2C14E);
  margin-bottom: 15px;
}

.page-slot-games__feature-card .page-slot-games__card-description {
  font-size: 1rem;
  color: var(--text-secondary, #A7D9B8);
}

/* How To Play Section */
.page-slot-games__how-to-play-section {
  padding: 60px 0;
}

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

.page-slot-games__step-item {
  background: var(--card-bg, #11271B);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border, #2E7A4E);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-slot-games__step-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gold, #F2C14E);
  background: var(--deep-green, #0A4B2C);
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
  border: 2px solid var(--glow, #57E38D);
}

.page-slot-games__step-title {
  font-size: 1.5rem;
  color: var(--text-main, #F2FFF6);
  margin-bottom: 15px;
}

.page-slot-games__step-description {
  font-size: 1rem;
  color: var(--text-secondary, #A7D9B8);
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-slot-games__btn-small {
  padding: 8px 15px;
  font-size: 0.9rem;
  border-radius: 5px;
}

.page-slot-games__how-to-play-image {
  max-width: 800px;
  margin: 0 auto;
}

/* Promotions Section */
.page-slot-games__promotions-section {
  padding: 60px 0;
}

.page-slot-games__promotion-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.page-slot-games__promotion-card.page-slot-games__card {
  background: var(--deep-green, #0A4B2C);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border, #2E7A4E);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-slot-games__promotion-card .page-slot-games__card-title {
  font-size: 1.4rem;
  color: var(--gold, #F2C14E);
  margin-bottom: 15px;
}

.page-slot-games__promotion-card .page-slot-games__card-description {
  font-size: 1rem;
  color: var(--text-secondary, #A7D9B8);
  margin-bottom: 25px;
  flex-grow: 1;
}

.page-slot-games__cta-wrapper {
  text-align: center;
}

.page-slot-games__btn-large {
  padding: 18px 40px;
  font-size: 1.2rem;
  border-radius: 10px;
}

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

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

details.page-slot-games__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid var(--border, #2E7A4E);
  overflow: hidden;
  background: var(--card-bg, #11271B);
}

details.page-slot-games__faq-item summary.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}

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

details.page-slot-games__faq-item summary.page-slot-games__faq-question:hover {
  background: rgba(var(--deep-green-rgb, 10, 75, 44), 0.5); /* Lighter hover for dark background */
}

.page-slot-games__faq-qtext {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: var(--text-main, #F2FFF6);
}

.page-slot-games__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--glow, #57E38D);
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}

details.page-slot-games__faq-item .page-slot-games__faq-answer {
  padding: 0 20px 20px;
  background: var(--deep-green, #0A4B2C);
  border-radius: 0 0 5px 5px;
}

details.page-slot-games__faq-item .page-slot-games__faq-answer p {
  color: var(--text-secondary, #A7D9B8);
  font-size: 1rem;
}

/* Mobile Responsive Styles */
@media (max-width: 1024px) {
  .page-slot-games__hero-content-wrapper {
    margin-top: -100px;
    padding: 30px;
  }
  .page-slot-games__hero-title {
    font-size: clamp(2rem, 3.5vw, 3rem);
  }
  .page-slot-games__hero-description {
    font-size: clamp(0.9rem, 1.4vw, 1.15rem);
  }
}

@media (max-width: 768px) {
  .page-slot-games__container {
    padding: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* HERO Section Mobile */
  .page-slot-games__hero-section {
    padding-top: 10px;
    padding-bottom: 30px;
  }
  .page-slot-games__hero-image-wrapper {
    max-height: 400px; /* Adjust max height for mobile hero */
  }
  .page-slot-games__hero-image {
    object-fit: contain !important; /* Ensure image is fully visible */
    aspect-ratio: unset !important; /* Allow natural aspect ratio or be defined by height */
    height: auto !important;
    max-height: 400px !important;
  }
  .page-slot-games__hero-content-wrapper {
    margin-top: -80px; /* Less overlap for mobile */
    padding: 20px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-slot-games__hero-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
  }
  .page-slot-games__hero-description {
    font-size: 0.95rem;
  }
  .page-slot-games__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px;
    font-size: 1rem;
    white-space: normal !important;
    word-wrap: break-word !important;
    box-sizing: border-box !important;
  }

  /* General Section Mobile */
  .page-slot-games__section-title {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
    margin-bottom: 30px;
  }
  .page-slot-games__section-subtitle {
    font-size: 0.9rem;
    margin-bottom: 30px;
  }

  /* Introduction Section Mobile */
  .page-slot-games__content-grid {
    flex-direction: column;
    gap: 30px;
  }
  .page-slot-games__text-block {
    padding-right: 0;
  }
  .page-slot-games__text-block p {
    font-size: 1rem;
  }
  .page-slot-games__image-block .page-slot-games__image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }

  /* Popular Games Section Mobile */
  .page-slot-games__games-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 columns for mobile */
    gap: 15px;
    overflow-x: hidden !important;
  }
  .page-slot-games__game-card .page-slot-games__card-image {
    height: 150px;
  }
  .page-slot-games__card-title {
    font-size: 1.2rem;
  }
  .page-slot-games__card-description {
    font-size: 0.85rem;
  }
  .page-slot-games__btn-play {
    padding: 8px 10px;
    font-size: 0.85rem;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-slot-games__sub-heading {
    font-size: 1.5rem;
    margin-top: 40px;
    margin-bottom: 20px;
  }
  .page-slot-games__list li {
    font-size: 1rem;
    padding: 12px 15px;
  }

  /* Why Choose Section Mobile */
  .page-slot-games__features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-slot-games__feature-card .page-slot-games__card-title {
    font-size: 1.2rem;
  }
  .page-slot-games__feature-card .page-slot-games__card-description {
    font-size: 0.9rem;
  }

  /* How To Play Section Mobile */
  .page-slot-games__steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-slot-games__step-title {
    font-size: 1.3rem;
  }
  .page-slot-games__step-description {
    font-size: 0.95rem;
  }
  .page-slot-games__btn-small {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Promotions Section Mobile */
  .page-slot-games__promotion-cards-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-slot-games__promotion-card .page-slot-games__card-title {
    font-size: 1.3rem;
  }
  .page-slot-games__promotion-card .page-slot-games__card-description {
    font-size: 0.95rem;
  }
  .page-slot-games__btn-large {
    max-width: 100% !important;
    width: 100% !important;
    padding: 15px 30px;
    font-size: 1.1rem;
    box-sizing: border-box !important;
  }

  /* FAQ Section Mobile */
  details.page-slot-games__faq-item summary.page-slot-games__faq-question {
    padding: 15px;
  }
  .page-slot-games__faq-qtext {
    font-size: 15px;
  }
  details.page-slot-games__faq-item .page-slot-games__faq-answer {
    padding: 0 15px 15px;
  }
  .page-slot-games__faq-answer p {
    font-size: 0.95rem;
  }
}