/* style/slot-games.css */
.page-slot-games {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #F2FFF6; /* Text Main */
  background-color: #08160F; /* Background */
  padding-bottom: 50px;
}

.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;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
  color: #F2FFF6; /* Text Main */
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.page-slot-games__section-description {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  color: #A7D9B8; /* Text Secondary */
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* 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: 60px;
  overflow: hidden;
}

.page-slot-games__hero-image-wrapper {
  width: 100%;
  max-height: 700px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 1;
}

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

.page-slot-games__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 30px 20px;
  margin-top: -150px; /* Pull content up over the image for a dynamic look */
  background: linear-gradient(180deg, rgba(8, 22, 15, 0.8) 0%, #08160F 100%);
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-slot-games__main-title {
  font-size: 3.2em;
  font-weight: 900;
  color: #F2C14E; /* Gold */
  margin-bottom: 15px;
  line-height: 1.1;
  letter-spacing: -0.03em;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}

.page-slot-games__tagline {
  font-size: 1.3em;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-slot-games__btn-primary,
.page-slot-games__btn-secondary {
  padding: 15px 35px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  white-space: nowrap;
  cursor: pointer;
  box-sizing: border-box;
}

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

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

.page-slot-games__btn-secondary {
  background: #11271B; /* Card BG */
  color: #2AD16F; /* From Button gradient */
  border: 2px solid #2AD16F;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-slot-games__btn-secondary:hover {
  background: #2AD16F;
  color: #F2FFF6;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(34, 199, 104, 0.4);
}

/* Features Section */
.page-slot-games__features-section {
  padding: 80px 0;
  background-color: #0A4B2C; /* Deep Green */
}

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

.page-slot-games__feature-card {
  background-color: #11271B; /* Card BG */
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid #2E7A4E; /* Border */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-slot-games__feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4);
}

.page-slot-games__feature-icon {
  width: 100%;
  max-width: 150px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: cover;
}

.page-slot-games__feature-title {
  font-size: 1.6em;
  font-weight: bold;
  color: #F2C14E; /* Gold */
  margin-bottom: 10px;
}

.page-slot-games__feature-description {
  color: #A7D9B8; /* Text Secondary */
  font-size: 0.95em;
}

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

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

.page-slot-games__game-card {
  background-color: #11271B; /* Card BG */
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid #2E7A4E; /* Border */
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

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

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

.page-slot-games__game-title {
  font-size: 1.4em;
  font-weight: bold;
  color: #F2FFF6; /* Text Main */
  margin: 15px 0 5px;
  padding: 0 15px;
}

.page-slot-games__game-provider {
  color: #A7D9B8; /* Text Secondary */
  font-size: 0.9em;
  margin-bottom: 15px;
  padding: 0 15px;
}

.page-slot-games__btn-play {
  display: inline-block;
  margin-top: auto;
  padding: 10px 25px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6; /* Text Main */
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  margin-bottom: 20px;
  transition: background 0.3s ease, transform 0.3s ease;
}

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

.page-slot-games__view-all-button {
  text-align: center;
}

/* How to Play Section */
.page-slot-games__how-to-play {
  padding: 80px 0;
  background-color: #11271B; /* Card BG */
}

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

.page-slot-games__step-card {
  background-color: #0A4B2C; /* Deep Green */
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid #2E7A4E; /* Border */
  position: relative;
}

.page-slot-games__step-number {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #F2C14E; /* Gold */
  color: #11271B; /* Card BG */
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8em;
  font-weight: bold;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-slot-games__step-title {
  font-size: 1.5em;
  font-weight: bold;
  color: #F2FFF6; /* Text Main */
  margin-top: 20px;
  margin-bottom: 10px;
}

.page-slot-games__step-description {
  color: #A7D9B8; /* Text Secondary */
  font-size: 0.95em;
}

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

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

.page-slot-games__promo-card {
  background-color: #11271B; /* Card BG */
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid #2E7A4E; /* Border */
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-slot-games__promo-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4);
}

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

.page-slot-games__promo-title {
  font-size: 1.6em;
  font-weight: bold;
  color: #F2FFF6; /* Text Main */
  margin: 20px 0 10px;
  padding: 0 15px;
}

.page-slot-games__promo-text {
  color: #A7D9B8; /* Text Secondary */
  font-size: 0.95em;
  margin-bottom: 20px;
  padding: 0 15px;
}

/* FAQ Section */
.page-slot-games__faq-section {
  padding: 80px 0;
  background-color: #0A4B2C; /* Deep Green */
}

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

.page-slot-games__faq-item {
  background-color: #11271B; /* Card BG */
  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.2em;
  font-weight: bold;
  color: #F2FFF6; /* Text Main */
  cursor: pointer;
  background-color: #11271B; /* Card BG */
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

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

.page-slot-games__faq-question:hover {
  background-color: #1E3A2A; /* Divider */
}

.page-slot-games__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: #F2C14E; /* Gold */
}

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

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

/* CTA Final Section */
.page-slot-games__cta-final {
  padding: 80px 0;
  text-align: center;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-slot-games__main-title {
    font-size: 2.8em;
  }

  .page-slot-games__tagline {
    font-size: 1.1em;
  }
}

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

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

  .page-slot-games__section-description {
    font-size: 1em;
  }

  .page-slot-games__hero-section {
    padding-bottom: 40px;
  }

  .page-slot-games__hero-content {
    margin-top: -100px; /* Adjust for smaller screens */
    padding: 20px;
  }

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

  .page-slot-games__tagline {
    font-size: 1em;
  }

  .page-slot-games__cta-buttons {
    flex-direction: column; /* Stack buttons vertically */
    gap: 15px;
  }

  .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;
  }

  .page-slot-games__features-section,
  .page-slot-games__popular-games,
  .page-slot-games__how-to-play,
  .page-slot-games__promotions,
  .page-slot-games__faq-section,
  .page-slot-games__cta-final {
    padding: 40px 0;
  }

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

  .page-slot-games__section,
  .page-slot-games__card,
  .page-slot-games__container,
  .page-slot-games__hero-image-wrapper,
  .page-slot-games__game-card,
  .page-slot-games__promo-card,
  .page-slot-games__feature-card,
  .page-slot-games__step-card,
  .page-slot-games__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-slot-games__hero-section {
    padding-top: 10px !important; /* body already handles --header-offset */
  }

  .page-slot-games__game-thumbnail,
  .page-slot-games__promo-image {
    height: 180px;
  }

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

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

@media (max-width: 480px) {
  .page-slot-games__main-title {
    font-size: 1.8em;
  }

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

  .page-slot-games__hero-content {
    margin-top: -80px;
  }

  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary {
    font-size: 1em;
    padding: 12px 25px;
  }

  .page-slot-games__section-title {
    font-size: 1.8em;
  }

  .page-slot-games__feature-title,
  .page-slot-games__game-title,
  .page-slot-games__step-title,
  .page-slot-games__promo-title {
    font-size: 1.3em;
  }
}