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

.page-slot-games {
  background-color: var(--bg-dark-main);
  color: var(--text-main);
  font-family: Arial, sans-serif;
  line-height: 1.6;
  overflow-x: hidden; /* Prevent horizontal scroll */
}

/* Base sections and containers */
.page-slot-games__section {
  padding: 60px 0;
  position: relative;
}

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

/* Hero Section */
.page-slot-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
  background-color: var(--deep-green); /* A darker green for hero background */
  overflow: hidden;
}

.page-slot-games__hero-image-wrapper {
  width: 100%;
  max-height: 675px; /* Limit height of the image wrapper */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-slot-games__hero-image {
  width: 1200px;
  height: 675px;
  object-fit: cover;
  display: block;
}

.page-slot-games__hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 40px 20px;
  max-width: 900px;
  margin-top: 20px; /* Space between image and text */
}

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

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

/* CTA Buttons */
.page-slot-games__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-slot-games__cta-center {
  text-align: center;
  margin-top: 40px;
}

.page-slot-games__btn-primary,
.page-slot-games__btn-secondary,
.page-slot-games__btn-link {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word; /* Ensure long words break */
  text-align: center;
}

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

.page-slot-games__btn-primary:hover {
  filter: brightness(1.1);
  box-shadow: 0 0 15px var(--glow-color);
}

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

.page-slot-games__btn-secondary:hover {
  background: var(--primary-color);
  color: var(--text-main);
}

.page-slot-games__btn-link {
  background: transparent;
  color: var(--gold-color);
  border: none;
  padding: 0;
  font-size: 1rem;
  text-decoration: underline;
}

.page-slot-games__btn-link:hover {
  color: var(--glow-color);
}

/* Section Titles */
.page-slot-games__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--text-main);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  line-height: 1.3;
}

.page-slot-games__sub-title {
  font-size: 1.5rem;
  color: var(--text-main);
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-slot-games__text-block {
  font-size: 1.1rem;
  color: var(--text-secondary);
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
}

/* Feature Cards */
.page-slot-games__why-choose {
  background-color: var(--bg-card);
}

.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-card {
  background-color: var(--deep-green);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  border: 1px solid var(--border-color);
}

.page-slot-games__feature-card:hover {
  transform: translateY(-10px);
}

.page-slot-games__feature-icon {
  width: 200px;
  height: 150px; /* Example fixed height, ensuring min 200x200 if content dictates */
  margin-bottom: 20px;
  object-fit: contain;
  border-radius: 8px;
}

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

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

/* Game Categories */
.page-slot-games__game-categories {
  background-color: var(--bg-dark-main);
}

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

.page-slot-games__category-card {
  background-color: var(--bg-card);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
  border: 1px solid var(--border-color);
  padding-bottom: 20px; /* Add padding below text */
}

.page-slot-games__category-card:hover {
  transform: translateY(-8px);
}

.page-slot-games__category-image {
  width: 300px;
  height: 200px; /* Fixed height for consistent card appearance */
  object-fit: cover;
  display: block;
  margin-bottom: 15px;
}

.page-slot-games__category-card .page-slot-games__card-title {
  font-size: 1.2rem;
  padding: 0 20px;
  text-align: left;
  color: var(--text-main);
}

.page-slot-games__category-card .page-slot-games__card-description {
  font-size: 0.95rem;
  padding: 0 20px;
  text-align: left;
  color: var(--text-secondary);
}

/* How to Play Video & Steps */
.page-slot-games__how-to-play {
  background-color: var(--bg-dark-main);
}

.page-slot-games__video-wrapper {
  position: relative;
  width: 100%;
  max-width: 800px; /* Max width for the video */
  margin: 40px auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  border: 2px solid var(--primary-color);
  box-sizing: border-box;
}

.page-slot-games__video {
  width: 800px;
  height: 450px;
  display: block;
  cursor: pointer;
}

.page-slot-games__video-overlay-link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 5;
  cursor: pointer;
}

.page-slot-games__step-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-slot-games__list-item {
  background-color: var(--bg-card);
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 20px;
  border-left: 5px solid var(--primary-color);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.page-slot-games__list-title {
  font-size: 1.3rem;
  color: var(--gold-color);
  margin-top: 0;
  margin-bottom: 10px;
}

.page-slot-games__list-item p {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 0;
}

/* Promotions Section */
.page-slot-games__promotions {
  background-color: var(--bg-card);
}

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

.page-slot-games__promo-card {
  background-color: var(--deep-green);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
  border: 1px solid var(--border-color);
}

.page-slot-games__promo-card:hover {
  transform: translateY(-8px);
}

.page-slot-games__promo-image {
  width: 400px;
  height: 250px; /* Fixed height for promo images */
  object-fit: cover;
  display: block;
}

.page-slot-games__promo-card .page-slot-games__card-title {
  font-size: 1.2rem;
  padding: 15px 20px 5px;
  text-align: left;
  color: var(--text-main);
}

.page-slot-games__promo-card .page-slot-games__card-description {
  font-size: 0.95rem;
  padding: 0 20px 15px;
  text-align: left;
  color: var(--text-secondary);
}

.page-slot-games__promo-card .page-slot-games__btn-link {
  display: block;
  padding: 10px 20px 20px;
  text-align: left;
}

/* Mobile Experience Section */
.page-slot-games__mobile-experience {
  background-color: var(--bg-dark-main);
}

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

.page-slot-games__content-text {
  flex: 1;
}

.page-slot-games__content-text p {
  text-align: left;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.page-slot-games__content-image {
  flex: 1;
  text-align: center;
}

.page-slot-games__image-right {
  width: 600px;
  height: 450px;
  display: block;
  margin: 0 auto;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  border: 2px solid var(--primary-color);
}

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

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

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

.page-slot-games__faq-item details {
  /* For native details tag */
  list-style: none; /* Hide default marker */
}

.page-slot-games__faq-item summary {
  list-style: none; /* Hide default marker for summary */
}

.page-slot-games__faq-item summary::-webkit-details-marker {
  display: none; /* Hide default marker for webkit browsers */
}

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

.page-slot-games__faq-item[open] .page-slot-games__faq-question {
  border-bottom: 1px solid var(--primary-color);
}

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

.page-slot-games__faq-item[open] .page-slot-games__faq-toggle {
  transform: rotate(45deg); /* Change + to X or - */
}

.page-slot-games__faq-answer {
  padding: 15px 25px 20px;
  font-size: 1rem;
  color: var(--text-secondary);
  background-color: rgba(0, 0, 0, 0.1); /* Slightly lighter background for answer */
}

.page-slot-games__faq-answer p {
  margin-bottom: 0;
  text-align: left;
}

/* Final CTA Section */
.page-slot-games__final-cta {
  background-color: var(--primary-color);
  padding: 80px 0;
}

.page-slot-games__final-cta .page-slot-games__section-title {
  color: var(--text-main);
  margin-bottom: 25px;
}

.page-slot-games__final-cta .page-slot-games__text-block {
  color: var(--text-main);
  margin-bottom: 40px;
}

.page-slot-games__final-cta .page-slot-games__btn-primary {
  background: var(--btn-gradient);
  color: var(--text-main);
  border: 2px solid var(--text-main);
}

.page-slot-games__final-cta .page-slot-games__btn-primary:hover {
  background: var(--text-main);
  color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-slot-games__hero-content {
    padding: 30px 15px;
  }

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

  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary {
    width: 100%;
  }

  .page-slot-games__content-flex {
    flex-direction: column;
    gap: 30px;
  }

  .page-slot-games__content-text,
  .page-slot-games__content-image {
    width: 100%;
    text-align: center;
  }

  .page-slot-games__content-text p {
    text-align: center;
  }
}

@media (max-width: 768px) {
  .page-slot-games__section {
    padding: 40px 0;
  }

  .page-slot-games__container {
    padding: 0 15px;
  }
}