/* style/slot-games.css */

/* Custom Colors */
:root {
  --page-slot-games-bg: #08160F;
  --page-slot-games-card-bg: #11271B;
  --page-slot-games-text-main: #F2FFF6;
  --page-slot-games-text-secondary: #A7D9B8;
  --page-slot-games-btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --page-slot-games-border: #2E7A4E;
  --page-slot-games-glow: #57E38D;
  --page-slot-games-gold: #F2C14E;
  --page-slot-games-divider: #1E3A2A;
  --page-slot-games-deep-green: #0A4B2C;
}

.page-slot-games {
  background-color: var(--page-slot-games-bg);
  color: var(--page-slot-games-text-main);
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-slot-games h1,
.page-slot-games h2,
.page-slot-games h3 {
  color: var(--page-slot-games-text-main);
  margin-bottom: 15px;
}

.page-slot-games h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: bold;
  line-height: 1.2;
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-slot-games h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  text-align: center;
  margin-bottom: 30px;
  position: relative;
}

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

.page-slot-games h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.page-slot-games p {
  color: var(--page-slot-games-text-secondary);
  margin-bottom: 15px;
}

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

.page-slot-games__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px;
  background-color: var(--page-slot-games-deep-green);
}

.page-slot-games__hero-image-wrapper {
  width: 100%;
  overflow: hidden;
}

.page-slot-games__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 600px; /* Limit height for aesthetic */
}

.page-slot-games__hero-content {
  padding: 40px 20px;
  text-align: center;
  max-width: 900px;
  margin-top: -80px; /* Overlap slightly for visual effect, but content is below image */
  position: relative;
  z-index: 1;
}

.page-slot-games__hero-description {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: var(--page-slot-games-text-main);
}

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

.page-slot-games__btn-primary,
.page-slot-games__btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  text-align: center;
  box-sizing: border-box;
}

.page-slot-games__btn-primary {
  background: var(--page-slot-games-btn-gradient);
  color: var(--page-slot-games-text-main);
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-slot-games__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  opacity: 0.9;
}

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

.page-slot-games__btn-secondary:hover {
  background: rgba(87, 227, 141, 0.1);
  transform: translateY(-2px);
}

.page-slot-games__btn-small {
  padding: 10px 20px;
  font-size: 0.9rem;
}

.page-slot-games__introduction-section,
.page-slot-games__benefits-section,
.page-slot-games__promotions-section,
.page-slot-games__cta-section {
  padding: 60px 0;
}

.page-slot-games__dark-section {
  background-color: var(--page-slot-games-deep-green);
}

.page-slot-games__text-block {
  font-size: 1.1rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.page-slot-games__game-showcase-section {
  padding: 60px 0;
  background-color: var(--page-slot-games-bg);
}

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

.page-slot-games__card {
  background-color: var(--page-slot-games-card-bg);
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  text-align: center;
  border: 1px solid var(--page-slot-games-border);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

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

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

.page-slot-games__card-description {
  font-size: 1rem;
  color: var(--page-slot-games-text-secondary);
  flex-grow: 1;
  margin-bottom: 20px;
}

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

.page-slot-games__benefit-item .page-slot-games__card-title {
  color: var(--page-slot-games-glow);
}

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

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

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

.page-slot-games__promotion-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 40px;
  padding: 30px;
  background-color: var(--page-slot-games-card-bg);
  border-radius: 12px;
  border: 1px solid var(--page-slot-games-border);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-slot-games__promotion-card + .page-slot-games__promotion-card {
  margin-top: 30px;
}

.page-slot-games__promotion-card .page-slot-games__card-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 25px;
  object-fit: cover;
  min-height: 200px;
}

.page-slot-games__promotion-content {
  text-align: center;
  max-width: 800px;
}

.page-slot-games__promotion-content .page-slot-games__card-title {
  color: var(--page-slot-games-glow);
}

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

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

.page-slot-games__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--page-slot-games-border);
}

.page-slot-games__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  background-color: var(--page-slot-games-card-bg);
  color: var(--page-slot-games-text-main);
  font-weight: bold;
  cursor: pointer;
  list-style: none;
  outline: none;
}

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

.page-slot-games__faq-qtext {
  font-size: 1.1rem;
}

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

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

.page-slot-games__faq-answer {
  padding: 15px 25px 20px;
  background-color: var(--page-slot-games-deep-green);
  color: var(--page-slot-games-text-secondary);
  font-size: 1rem;
  border-top: 1px solid var(--page-slot-games-divider);
}

.page-slot-games__app-download-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-top: 20px;
}

.page-slot-games__app-download-cta .page-slot-games__card-image {
  width: 100%;
  max-width: 300px;
  height: auto;
  border-radius: 8px;
}

.page-slot-games__cta-section {
  padding: 80px 0;
  text-align: center;
}

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

/* Responsive styles */

/* All images base responsive style */
.page-slot-games img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* All video base responsive style */
.page-slot-games video,
.page-slot-games__video {
  max-width: 100%;
  width: 100%;
  height: auto;
  display: block;
}

/* All video containers base responsive style */
.page-slot-games__video-section,
.page-slot-games__video-container,
.page-slot-games__video-wrapper {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* All buttons base responsive style */
.page-slot-games__cta-button,
.page-slot-games__btn-primary,
.page-slot-games__btn-secondary,
.page-slot-games a[class*="button"],
.page-slot-games a[class*="btn"] {
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

/* Button containers base responsive style */
.page-slot-games__cta-buttons,
.page-slot-games__button-group,
.page-slot-games__btn-container {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

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

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

  .page-slot-games h1 {
    font-size: clamp(2rem, 8vw, 2.5rem);
  }

  .page-slot-games h2 {
    font-size: clamp(1.8rem, 7vw, 2.2rem);
  }

  .page-slot-games h3 {
    font-size: clamp(1.3rem, 5vw, 1.6rem);
  }

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

  .page-slot-games__hero-description {
    font-size: 1rem;
  }

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

  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
  }

  .page-slot-games__introduction-section,
  .page-slot-games__game-showcase-section,
  .page-slot-games__benefits-section,
  .page-slot-games__guide-section,
  .page-slot-games__promotions-section,
  .page-slot-games__faq-section,
  .page-slot-games__cta-section {
    padding: 40px 0;
  }

  .page-slot-games__game-grid,
  .page-slot-games__benefits-grid,
  .page-slot-games__guide-steps {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-slot-games__card {
    padding: 20px;
  }

  .page-slot-games__card-image {
    min-height: 150px;
  }

  .page-slot-games__promotion-card {
    flex-direction: column;
    padding: 20px;
  }

  .page-slot-games__promotion-card .page-slot-games__card-image {
    margin-bottom: 20px;
  }

  .page-slot-games__faq-item summary {
    padding: 15px 20px;
  }

  .page-slot-games__faq-qtext {
    font-size: 1rem;
  }

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

  /* Mobile specific overrides for images, videos, and buttons */
  .page-slot-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-slot-games video,
  .page-slot-games__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-slot-games__video-section,
  .page-slot-games__video-container,
  .page-slot-games__video-wrapper,
  .page-slot-games__section,
  .page-slot-games__card,
  .page-slot-games__container,
  .page-slot-games__app-download-cta {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-slot-games__video-section {
    padding-top: 10px !important;
  }

  .page-slot-games__cta-buttons {
    flex-wrap: wrap !important;
    gap: 10px;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .page-slot-games__hero-content {
    margin-top: -70px;
  }
}