/* style/slot-games.css */
:root {
  --page-slot-games-primary-color: #11A84E;
  --page-slot-games-secondary-color: #22C768;
  --page-slot-games-background-dark: #08160F;
  --page-slot-games-card-bg: #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-btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
}

.page-slot-games {
  background-color: var(--page-slot-games-background-dark); /* Dark background from custom colors */
  color: var(--page-slot-games-text-main); /* Light text for dark background */
  font-family: 'Arial', sans-serif;
}

.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;
  text-align: center;
  padding: 60px 20px; /* Adjust as needed, body padding-top handles header offset */
  padding-top: 10px; /* Small top padding for visual separation */
  overflow: hidden;
  color: var(--page-slot-games-text-main);
}

.page-slot-games__hero-image-wrapper {
  width: 100%;
  max-height: 600px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 40px;
}

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

.page-slot-games__hero-content {
  position: relative;
  z-index: 10;
  max-width: 900px;
}

.page-slot-games__main-title {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--page-slot-games-gold-color);
  margin-bottom: 20px;
  text-shadow: 0 0 10px rgba(242, 193, 78, 0.6);
}

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

.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 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
  width: auto;
}

.page-slot-games__btn-primary {
  background: var(--page-slot-games-btn-gradient);
  color: #ffffff; /* White text for primary button */
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

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

.page-slot-games__btn-secondary {
  background: var(--page-slot-games-card-bg);
  color: var(--page-slot-games-primary-color); /* Primary color text for secondary button */
  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);
}

/* General Section Styles */
.page-slot-games__introduction-section,
.page-slot-games__features-section,
.page-slot-games__guide-section,
.page-slot-games__strategy-section,
.page-slot-games__promotions-section,
.page-slot-games__commitment-section,
.page-slot-games__faq-section,
.page-slot-games__conclusion-section {
  padding: 80px 0;
  background-color: var(--page-slot-games-background-dark);
  color: var(--page-slot-games-text-main);
}

.page-slot-games__section-title {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--page-slot-games-gold-color);
  text-align: center;
  margin-bottom: 50px;
  position: relative;
  text-shadow: 0 0 8px rgba(242, 193, 78, 0.4);
}

.page-slot-games__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: var(--page-slot-games-primary-color);
  margin: 15px auto 0;
  border-radius: 2px;
}

.page-slot-games__text-block {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 20px;
  color: var(--page-slot-games-text-secondary);
  text-align: justify;
}

/* Feature Grid */
.page-slot-games__feature-grid,
.page-slot-games__promo-grid,
.page-slot-games__commitment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-slot-games__feature-card,
.page-slot-games__promo-card,
.page-slot-games__card {
  background-color: var(--page-slot-games-card-bg);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--page-slot-games-border-color);
  color: var(--page-slot-games-text-main);
}

.page-slot-games__feature-card:hover,
.page-slot-games__promo-card:hover,
.page-slot-games__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.5);
}

.page-slot-games__feature-image,
.page-slot-games__promo-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
  min-width: 200px;
  min-height: 200px;
}

.page-slot-games__card-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--page-slot-games-gold-color);
  margin-bottom: 15px;
}

.page-slot-games__card-text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--page-slot-games-text-secondary);
}

.page-slot-games__btn-link {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 20px;
  background-color: var(--page-slot-games-deep-green);
  color: var(--page-slot-games-text-main);
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.page-slot-games__btn-link:hover {
  background-color: var(--page-slot-games-primary-color);
}

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

.page-slot-games__guide-step {
  background-color: var(--page-slot-games-card-bg);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--page-slot-games-border-color);
}

.page-slot-games__step-title {
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--page-slot-games-gold-color);
  margin-bottom: 15px;
}

.page-slot-games__step-text {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--page-slot-games-text-secondary);
}

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

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

.page-slot-games__strategy-item {
  background-color: var(--page-slot-games-card-bg);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--page-slot-games-border-color);
}

.page-slot-games__strategy-title {
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--page-slot-games-gold-color);
  margin-bottom: 15px;
}

.page-slot-games__strategy-text {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--page-slot-games-text-secondary);
}

/* FAQ Section */
.page-slot-games__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-slot-games__faq-item {
  background-color: var(--page-slot-games-card-bg);
  border: 1px solid var(--page-slot-games-border-color);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: var(--page-slot-games-text-main);
}

.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: var(--page-slot-games-gold-color);
  cursor: pointer;
  background-color: var(--page-slot-games-deep-green);
  border-bottom: 1px solid var(--page-slot-games-divider-color);
  list-style: none; /* For details/summary */
  -webkit-touch-callout: none; /* Disable callout on iOS */
  -webkit-user-select: none; /* Disable text selection on iOS */
  user-select: none; /* Standard property */
}

.page-slot-games__faq-question::-webkit-details-marker {
  display: none; /* Hide default marker for Chrome/Safari */
}

.page-slot-games__faq-question:hover {
  background-color: var(--page-slot-games-primary-color);
}

.page-slot-games__faq-qtext {
  flex-grow: 1;
}

.page-slot-games__faq-toggle {
  font-size: 1.5rem;
  font-weight: 700;
  margin-left: 15px;
  color: var(--page-slot-games-gold-color);
}

.page-slot-games__faq-item[open] .page-slot-games__faq-toggle {
  content: '−';
}

.page-slot-games__faq-answer {
  padding: 20px 25px;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--page-slot-games-text-secondary);
  text-align: justify;
}

/* Conclusion Section */
.page-slot-games__conclusion-section .page-slot-games__text-block {
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Image and Video responsiveness (Desktop defaults - min-width 200px already applies) */
.page-slot-games img {
  max-width: 100%;
  height: auto;
  display: block;
  min-width: 200px; /* Enforce min size for content images */
  min-height: 200px; /* Enforce min size for content images */
}

.page-slot-games video {
  max-width: 100%;
  width: 100%;
  height: auto;
  display: block;
}

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

  .page-slot-games__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important;
  }

  .page-slot-games__hero-image-wrapper {
    margin-bottom: 20px;
  }

  .page-slot-games__main-title {
    font-size: 2rem;
    margin-bottom: 15px;
  }

  .page-slot-games__description {
    font-size: 1rem;
    margin-bottom: 20px;
  }

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

  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 0.95rem;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-slot-games__section-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
    padding: 0 15px;
  }

  .page-slot-games__introduction-section,
  .page-slot-games__features-section,
  .page-slot-games__guide-section,
  .page-slot-games__strategy-section,
  .page-slot-games__promotions-section,
  .page-slot-games__commitment-section,
  .page-slot-games__faq-section,
  .page-slot-games__conclusion-section {
    padding: 50px 0;
  }

  .page-slot-games__container,
  .page-slot-games__text-block,
  .page-slot-games__card,
  .page-slot-games__guide-step,
  .page-slot-games__strategy-item,
  .page-slot-games__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-slot-games__feature-grid,
  .page-slot-games__promo-grid,
  .page-slot-games__guide-steps,
  .page-slot-games__strategy-grid,
  .page-slot-games__commitment-grid {
    gap: 20px;
    padding: 0 15px;
  }

  /* Force images to be responsive */
  .page-slot-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-width: unset !important; /* Allow smaller images on mobile if needed, but still full width */
    min-height: unset !important;
  }

  /* Force videos to be responsive */
  .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,
  .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__faq-question {
    font-size: 1rem;
    padding: 15px 20px;
  }

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