/* style/slot-games.css */

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

.page-slot-games {
  color: var(--page-slot-games-text-main); /* Default text color for dark body background */
  background-color: var(--page-slot-games-bg-dark);
}

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

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

.page-slot-games__light-bg {
  background-color: var(--page-slot-games-text-main);
  color: #333333; /* Dark text for light background */
}

.page-slot-games__dark-section {
  background-color: var(--page-slot-games-bg-dark);
  color: var(--page-slot-games-text-main);
  padding: 60px 0;
}

.page-slot-games__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: 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-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

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

.page-slot-games__hero-content {
  position: relative;
  text-align: center;
  padding: 40px 20px;
  max-width: 900px;
  margin-top: -100px; /* Adjust to bring content slightly over image bottom */
  background: rgba(17, 39, 27, 0.85); /* Card BG with transparency */
  border-radius: 15px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
  z-index: 10;
  margin-left: 20px;
  margin-right: 20px;
}

.page-slot-games__main-title {
  color: var(--page-slot-games-gold-color);
  font-size: clamp(2em, 4vw, 3.2em);
  margin-bottom: 15px;
  font-weight: 700;
  line-height: 1.2;
}

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

.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 {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1em;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
}

.page-slot-games__btn-primary {
  background: var(--page-slot-games-button-gradient);
  color: #ffffff;
  border: 2px solid transparent;
}

.page-slot-games__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(42, 209, 111, 0.4);
}

.page-slot-games__btn-secondary {
  background: var(--page-slot-games-bg-card);
  color: var(--page-slot-games-primary-color);
  border: 2px solid var(--page-slot-games-primary-color);
}

.page-slot-games__btn-secondary:hover {
  background: var(--page-slot-games-primary-color);
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(17, 168, 78, 0.3);
}

.page-slot-games__section-title {
  font-size: 2.5em;
  color: var(--page-slot-games-gold-color);
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
}

.page-slot-games__introduction-section {
  padding: 60px 0;
  background-color: var(--page-slot-games-text-main);
  color: #333333;
}

.page-slot-games__introduction-section p {
  font-size: 1.1em;
  line-height: 1.7;
  margin-bottom: 20px;
  text-align: center;
}

.page-slot-games__why-choose-section {
  padding: 80px 0;
  background-color: var(--page-slot-games-bg-dark);
  color: var(--page-slot-games-text-main);
}

.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: var(--page-slot-games-bg-card);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  padding-bottom: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-slot-games__feature-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  margin-bottom: 20px;
}

.page-slot-games__card-title {
  font-size: 1.6em;
  color: var(--page-slot-games-gold-color);
  margin-bottom: 15px;
  padding: 0 20px;
}

.page-slot-games__feature-card p {
  color: var(--page-slot-games-text-secondary);
  font-size: 1em;
  line-height: 1.6;
  padding: 0 20px;
}

.page-slot-games__game-types-section {
  padding: 80px 0;
  background-color: var(--page-slot-games-text-main);
  color: #333333;
}

.page-slot-games__game-types-section p {
  text-align: center;
  margin-bottom: 40px;
  font-size: 1.1em;
  line-height: 1.7;
}

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

.page-slot-games__game-type-card {
  background-color: #ffffff;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  padding-bottom: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-slot-games__game-type-image {
  width: 100%;
  height: 280px;
  object-fit: cover;
  margin-bottom: 20px;
}

.page-slot-games__how-to-play-section {
  padding: 80px 0;
  background-color: var(--page-slot-games-bg-dark);
  color: var(--page-slot-games-text-main);
}

.page-slot-games__how-to-play-section > p {
  text-align: center;
  margin-bottom: 50px;
  font-size: 1.1em;
  line-height: 1.7;
}

.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-card {
  background-color: var(--page-slot-games-bg-card);
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-slot-games__step-number {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--page-slot-games-primary-color);
  color: #ffffff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8em;
  font-weight: 700;
  border: 3px solid var(--page-slot-games-gold-color);
  box-shadow: 0 0 15px var(--page-slot-games-glow-color);
}

.page-slot-games__step-card .page-slot-games__card-title {
  margin-top: 20px;
  color: var(--page-slot-games-gold-color);
}

.page-slot-games__step-card p {
  color: var(--page-slot-games-text-secondary);
  font-size: 1em;
  line-height: 1.6;
}

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

.page-slot-games__promotions-section {
  padding: 80px 0;
  background-color: var(--page-slot-games-text-main);
  color: #333333;
}

.page-slot-games__promotions-section p {
  text-align: center;
  margin-bottom: 40px;
  font-size: 1.1em;
  line-height: 1.7;
}

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

.page-slot-games__promo-card {
  background-color: #ffffff;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  padding-bottom: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-slot-games__promo-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  margin-bottom: 20px;
}

.page-slot-games__security-section {
  padding: 80px 0;
  background-color: var(--page-slot-games-bg-dark);
  color: var(--page-slot-games-text-main);
}

.page-slot-games__security-section > p {
  text-align: center;
  margin-bottom: 40px;
  font-size: 1.1em;
  line-height: 1.7;
}

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

.page-slot-games__security-list li {
  background-color: var(--page-slot-games-bg-card);
  margin-bottom: 15px;
  padding: 20px;
  border-radius: 10px;
  display: flex;
  align-items: flex-start;
  gap: 15px;
  font-size: 1.1em;
  line-height: 1.6;
  color: var(--page-slot-games-text-secondary);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.page-slot-games__list-icon {
  color: var(--page-slot-games-glow-color);
  font-size: 1.5em;
  line-height: 1;
  flex-shrink: 0;
}

.page-slot-games__security-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-slot-games__mobile-section {
  padding: 80px 0;
  background-color: var(--page-slot-games-text-main);
  color: #333333;
}

.page-slot-games__mobile-section p {
  font-size: 1.1em;
  line-height: 1.7;
  margin-bottom: 20px;
}

.page-slot-games__mobile-content {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.page-slot-games__mobile-text {
  flex: 1;
  min-width: 300px;
}

.page-slot-games__mobile-image-wrapper {
  flex: 1;
  min-width: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-slot-games__mobile-image {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.page-slot-games__tips-section {
  padding: 80px 0;
  background-color: var(--page-slot-games-bg-dark);
  color: var(--page-slot-games-text-main);
}

.page-slot-games__tips-section > p {
  text-align: center;
  margin-bottom: 40px;
  font-size: 1.1em;
  line-height: 1.7;
}

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

.page-slot-games__tips-list li {
  background-color: var(--page-slot-games-bg-card);
  margin-bottom: 15px;
  padding: 20px;
  border-radius: 10px;
  display: flex;
  align-items: flex-start;
  gap: 15px;
  font-size: 1.1em;
  line-height: 1.6;
  color: var(--page-slot-games-text-secondary);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.page-slot-games__testimonials-section {
  padding: 80px 0;
  background-color: var(--page-slot-games-text-main);
  color: #333333;
}

.page-slot-games__testimonials-section p {
  text-align: center;
  margin-bottom: 40px;
  font-size: 1.1em;
  line-height: 1.7;
}

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

.page-slot-games__testimonial-card {
  background-color: #ffffff;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.page-slot-games__testimonial-text {
  font-style: italic;
  margin-bottom: 15px;
  color: #555555;
}

.page-slot-games__testimonial-author {
  font-weight: 700;
  color: var(--page-slot-games-primary-color);
}

.page-slot-games__faq-section {
  padding: 80px 0;
  background-color: var(--page-slot-games-bg-dark);
  color: var(--page-slot-games-text-main);
}

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

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

.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: 600;
  color: var(--page-slot-games-text-main);
  cursor: pointer;
  border-bottom: 1px solid var(--page-slot-games-divider-color);
  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: var(--page-slot-games-deep-green);
}

.page-slot-games__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: var(--page-slot-games-glow-color);
}

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

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

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

.page-slot-games__cta-final-section {
  padding: 80px 0;
  background-color: var(--page-slot-games-bg-dark);
  color: var(--page-slot-games-text-main);
  text-align: center;
}

.page-slot-games__cta-final-content {
  max-width: 900px;
}

.page-slot-games__cta-final-section p {
  font-size: 1.1em;
  line-height: 1.7;
  margin-bottom: 40px;
}

/* Floating Buttons */
.page-slot-games__floating-buttons {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 1000;
}

.page-slot-games__floating-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 50px;
  border-radius: 50px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  color: #ffffff;
  background: var(--page-slot-games-button-gradient);
}

.page-slot-games__floating-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(42, 209, 111, 0.4);
}

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

@media (max-width: 768px) {
  .page-slot-games__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
  }
  
  .page-slot-games__section-title {
    font-size: 2em;
  }

  .page-slot-games__hero-content {
    margin-top: -60px;
    padding: 30px 15px;
  }

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

  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary {
    width: 100% !important; /* Ensure buttons fill width */
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .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__promotions-section,
  .page-slot-games__security-section,
  .page-slot-games__mobile-section,
  .page-slot-games__tips-section,
  .page-slot-games__testimonials-section,
  .page-slot-games__faq-section,
  .page-slot-games__cta-final-section {
    padding: 40px 0;
  }

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

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

  /* Video responsiveness (if any) - no video in this page */
  .page-slot-games video,
  .page-slot-games__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-slot-games__video-section {
    padding-top: 10px !important;
  }
  .page-slot-games__video-container,
  .page-slot-games__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-slot-games__mobile-content {
    flex-direction: column;
  }

  .page-slot-games__mobile-text,
  .page-slot-games__mobile-image-wrapper {
    min-width: unset;
    width: 100%;
  }

  .page-slot-games__floating-buttons {
    flex-direction: row;
    width: calc(100% - 40px);
    left: 20px;
    justify-content: space-around;
  }

  .page-slot-games__floating-btn {
    width: 48%; /* Adjust for spacing */
    height: 45px;
    font-size: 0.95em;
  }
}

@media (max-width: 480px) {
  .page-slot-games__hero-content {
    margin-top: -40px;
  }
  .page-slot-games__main-title {
    font-size: clamp(1.5em, 8vw, 2em);
  }
  .page-slot-games__section-title {
    font-size: 1.8em;
  }
  .page-slot-games__floating-btn {
    width: 45%;
  }
}