.page-slot-games {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #F2FFF6; /* Light text for dark body background */
  background-color: #08160F; /* Body background from shared.css variable */
}

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

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

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

.page-slot-games__hero-content {
  position: relative;
  z-index: 2;
  padding: 20px;
  max-width: 900px;
  margin-top: -150px; /* Adjust to place content below image, not overlapping */
  background: rgba(17, 39, 27, 0.85); /* Card B G with transparency */
  border-radius: 15px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border: 1px solid #2E7A4E;
}

.page-slot-games__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 700;
  color: #F2C14E; /* Gold for main title */
  margin-bottom: 15px;
  line-height: 1.2;
  letter-spacing: 1px;
}

.page-slot-games__hero-description {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-slot-games__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: #F2C14E; /* Gold for section titles */
  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: linear-gradient(90deg, #11A84E, #22C768);
  border-radius: 2px;
}

.page-slot-games__text-block {
  font-size: 1rem;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 20px;
  text-align: justify;
}

/* Background color variations for sections */
.page-slot-games__dark-bg {
  background-color: #08160F; /* Background */
  color: #F2FFF6; /* Text Main */
  padding: 60px 0;
}

.page-slot-games__light-bg {
  background-color: #11271B; /* Card B G */
  color: #F2FFF6; /* Text Main */
  padding: 60px 0;
}

.page-slot-games__btn-primary,
.page-slot-games__btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-slot-games__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6; /* Text Main */
  border: none;
  box-shadow: 0 4px 15px rgba(34, 199, 104, 0.4);
}

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

.page-slot-games__btn-secondary {
  background: transparent;
  color: #22C768; /* Auxiliary color */
  border: 2px solid #22C768;
}

.page-slot-games__btn-secondary:hover {
  background-color: #22C768;
  color: #08160F; /* Background color for contrast */
}

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

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

.page-slot-games__feature-card, .page-slot-games__promo-card, .page-slot-games__strategy-card {
  background-color: #11271B; /* Card B G */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid #2E7A4E; /* Border */
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-slot-games__card-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-slot-games__card-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: #F2C14E; /* Gold */
  margin-bottom: 15px;
}

.page-slot-games__card-description {
  font-size: 0.95rem;
  color: #A7D9B8; /* Text Secondary */
  flex-grow: 1;
}

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

.page-slot-games__list-item {
  background-color: #11271B; /* Card B G */
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 15px;
  border: 1px solid #2E7A4E; /* Border */
}

.page-slot-games__list-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: #22C768; /* Auxiliary color */
  margin-bottom: 10px;
}

.page-slot-games__list-item p {
  color: #F2FFF6; /* Text Main */
  font-size: 0.95rem;
  margin-bottom: 0;
}

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

.page-slot-games__step-item {
  background-color: #11271B; /* Card B G */
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 15px;
  border: 1px solid #2E7A4E; /* Border */
  display: flex;
  flex-direction: column;
}

.page-slot-games__step-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: #22C768; /* Auxiliary color */
  margin-bottom: 10px;
}

.page-slot-games__step-item p {
  color: #F2FFF6; /* Text Main */
  font-size: 0.95rem;
  margin-bottom: 0;
}

.page-slot-games__step-item a {
  color: #57E38D; /* Glow */
  text-decoration: none;
}

.page-slot-games__step-item a:hover {
  text-decoration: underline;
}

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

.page-slot-games__faq-item {
  background-color: #11271B; /* Card B G */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.15rem;
  font-weight: 600;
  color: #F2FFF6; /* Text Main */
  cursor: pointer;
  user-select: none;
  background-color: #0A4B2C; /* Deep Green */
  border-bottom: 1px solid #1E3A2A; /* Divider */
}

.page-slot-games__faq-question:hover {
  background-color: #11A84E;
}

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

.page-slot-games__faq-toggle {
  font-size: 1.5rem;
  font-weight: bold;
  color: #2AD16F;
  transition: transform 0.3s ease;
}

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

.page-slot-games__faq-answer {
  padding: 20px 25px;
  font-size: 1rem;
  color: #A7D9B8; /* Text Secondary */
}

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

.page-slot-games__cta-section {
  text-align: center;
  padding: 80px 20px;
  background: linear-gradient(135deg, #11A84E 0%, #0A4B2C 100%);
}

.page-slot-games__cta-section .page-slot-games__section-title {
  color: #F2FFF6; /* Text Main */
}

.page-slot-games__cta-section .page-slot-games__section-title::after {
  background: #F2FFF6;
}

.page-slot-games__cta-section .page-slot-games__text-block {
  color: #F2FFF6; /* Text Main */
  max-width: 800px;
  margin: 0 auto 40px auto;
}

.page-slot-games__cta-button {
  margin-top: 20px;
  margin-left: 10px;
  margin-right: 10px;
}

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

@media (max-width: 768px) {
  .page-slot-games__hero-content {
    margin-top: -50px;
    padding: 15px;
  }

  .page-slot-games__main-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }

  .page-slot-games__hero-description {
    font-size: clamp(0.9rem, 2.5vw, 1.1rem);
  }

  .page-slot-games__section-title {
    font-size: clamp(1.5rem, 5vw, 2.2rem);
    margin-bottom: 30px;
  }

  .page-slot-games__text-block, .page-slot-games__card-description, .page-slot-games__list-item p, .page-slot-games__step-item p, .page-slot-games__faq-answer p {
    font-size: 0.9rem;
  }

  .page-slot-games__feature-grid, .page-slot-games__promo-grid, .page-slot-games__strategy-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 15px;
  }

  .page-slot-games__feature-card, .page-slot-games__promo-card, .page-slot-games__strategy-card, .page-slot-games__list-item, .page-slot-games__step-item, .page-slot-games__faq-item {
    padding: 20px;
  }

  .page-slot-games__card-title, .page-slot-games__list-title, .page-slot-games__step-title {
    font-size: 1.2rem;
  }

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

  .page-slot-games__btn-primary, .page-slot-games__btn-secondary {
    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;
    margin-bottom: 15px; /* Add spacing between stacked buttons */
  }

  .page-slot-games__cta-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 15px;
  }

  /* Image responsive override */
  .page-slot-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* All containers with images */
  .page-slot-games__hero-section,
  .page-slot-games__introduction-section,
  .page-slot-games__why-choose-section,
  .page-slot-games__game-types-section,
  .page-slot-games__how-to-play-section,
  .page-slot-games__strategy-section,
  .page-slot-games__promotions-section,
  .page-slot-games__faq-section,
  .page-slot-games__cta-section,
  .page-slot-games__container,
  .page-slot-games__feature-card,
  .page-slot-games__promo-card,
  .page-slot-games__strategy-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden;
  }

  .page-slot-games__hero-image {
    height: 300px; /* Adjust hero image height for mobile */
  }
}

@media (max-width: 480px) {
  .page-slot-games__hero-content {
    margin-top: -30px;
  }
  .page-slot-games__main-title {
    font-size: clamp(1.6rem, 7vw, 2.2rem);
  }
  .page-slot-games__hero-description {
    font-size: clamp(0.85rem, 3vw, 1rem);
  }
}