/* 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); /* Body background is dark */
  color: var(--page-slot-games-text-main);
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

/* Sections */
.page-slot-games__hero-section,
.page-slot-games__intro-section,
.page-slot-games__video-section,
.page-slot-games__game-types-section,
.page-slot-games__promotions-section,
.page-slot-games__guide-section,
.page-slot-games__tips-section,
.page-slot-games__safety-section,
.page-slot-games__faq-section,
.page-slot-games__conclusion-section {
  padding: 60px 0;
  position: relative;
}

.page-slot-games__hero-section {
  padding-top: 10px; /* Small top padding, body handles header offset */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  overflow: hidden;
  background-color: var(--page-slot-games-bg);
}

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

.page-slot-games__hero-content {
  position: relative; /* Not absolute, for upper-image-lower-text */
  z-index: 1;
  max-width: 900px;
  margin-top: 40px;
  padding: 0 20px;
}

.page-slot-games__main-title {
  color: var(--page-slot-games-text-main);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: bold;
  margin-bottom: 20px;
  line-height: 1.2;
}

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

.page-slot-games__section-title {
  color: var(--page-slot-games-text-main);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
}

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

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

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

.page-slot-games__btn-primary,
.page-slot-games__btn-secondary,
.page-slot-games a[class*="button"],
.page-slot-games a[class*="btn"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: bold;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-slot-games__btn-primary {
  background: var(--page-slot-games-btn-gradient);
  color: var(--page-slot-games-text-main);
  border: 2px solid transparent;
}

.page-slot-games__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

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

.page-slot-games__btn-secondary:hover {
  background: var(--page-slot-games-glow);
  color: var(--page-slot-games-bg);
  transform: translateY(-2px);
}

/* Section Backgrounds */
.page-slot-games__dark-bg {
  background-color: var(--page-slot-games-bg);
  color: var(--page-slot-games-text-main);
}

.page-slot-games__light-bg {
  background-color: #0A1F16; /* A slightly lighter dark green to provide contrast */
  color: var(--page-slot-games-text-main);
}

/* Cards */
.page-slot-games__card {
  background-color: var(--page-slot-games-card-bg);
  border: 1px solid var(--page-slot-games-border);
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  color: var(--page-slot-games-text-main);
}

.page-slot-games__card:hover {
  transform: translateY(-5px);
}

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

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

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

/* Game Types Grid */
.page-slot-games__game-types-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

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

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

.page-slot-games__promo-card:hover {
  transform: translateY(-5px);
}

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

.page-slot-games__promo-title {
  color: var(--page-slot-games-text-main);
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.page-slot-games__promo-description {
  color: var(--page-slot-games-text-secondary);
  font-size: 0.95rem;
}

/* Guide List */
.page-slot-games__guide-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-slot-games__guide-item {
  background-color: var(--page-slot-games-card-bg);
  border: 1px solid var(--page-slot-games-border);
  border-radius: 12px;
  padding: 30px;
  margin-bottom: 20px;
  color: var(--page-slot-games-text-main);
}

.page-slot-games__guide-item-title {
  color: var(--page-slot-games-glow);
  font-size: 1.5rem;
  margin-bottom: 15px;
}

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

/* Tips List */
.page-slot-games__tips-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-slot-games__tips-item {
  background-color: var(--page-slot-games-card-bg);
  border: 1px solid var(--page-slot-games-border);
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  color: var(--page-slot-games-text-main);
}

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

.page-slot-games__tips-item-title {
  color: var(--page-slot-games-glow);
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.page-slot-games__tips-item p {
  color: var(--page-slot-games-text-secondary);
  font-size: 0.95rem;
}

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

/* Video Section */
.page-slot-games__video-section {
  padding-top: 10px; /* body handles header offset */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background-color: var(--page-slot-games-bg);
}

.page-slot-games__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  background-color: var(--page-slot-games-card-bg);
}

.page-slot-games__video-link-wrapper {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.page-slot-games__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  cursor: pointer;
}

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

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

.page-slot-games__faq-item details > summary {
  list-style: none;
}

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

.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.15rem;
  font-weight: bold;
  color: var(--page-slot-games-text-main);
  border-bottom: 1px solid var(--page-slot-games-divider);
}

.page-slot-games__faq-item[open] .page-slot-games__faq-question {
  border-bottom: 1px solid var(--page-slot-games-divider);
}

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

.page-slot-games__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  color: var(--page-slot-games-glow);
  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: 15px 25px 20px;
  color: var(--page-slot-games-text-secondary);
  font-size: 1rem;
}

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

.page-slot-games__faq-link {
  color: var(--page-slot-games-glow);
  text-decoration: underline;
}

.page-slot-games__faq-link:hover {
  color: var(--page-slot-games-gold);
}

/* Conclusion Section */
.page-slot-games__conclusion-section a {
  color: var(--page-slot-games-glow);
  text-decoration: underline;
}

.page-slot-games__conclusion-section a:hover {
  color: var(--page-slot-games-gold);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-slot-games__main-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }
  .page-slot-games__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  }
  .page-slot-games__hero-image {
    max-height: 500px;
  }
}

@media (max-width: 768px) {
  .page-slot-games__hero-section,
  .page-slot-games__intro-section,
  .page-slot-games__video-section,
  .page-slot-games__game-types-section,
  .page-slot-games__promotions-section,
  .page-slot-games__guide-section,
  .page-slot-games__tips-section,
  .page-slot-games__safety-section,
  .page-slot-games__faq-section,
  .page-slot-games__conclusion-section {
    padding: 40px 0;
  }

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

  .page-slot-games__hero-content {
    margin-top: 20px;
    padding: 0 15px;
  }

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

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

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

  .page-slot-games__text-block {
    font-size: 1rem;
  }

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

  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary,
  .page-slot-games a[class*="button"],
  .page-slot-games a[class*="btn"] {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1rem;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

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

  .page-slot-games__section,
  .page-slot-games__card,
  .page-slot-games__container,
  .page-slot-games__promo-card,
  .page-slot-games__guide-item,
  .page-slot-games__tips-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-slot-games__video-section {
    padding-top: 10px !important;
  }
  
  .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__video-wrapper {
    padding-bottom: 75% !important; /* Adjust aspect ratio for smaller screens if needed, or keep 56.25% */
  }

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

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

@media (max-width: 480px) {
  .page-slot-games__main-title {
    font-size: 1.8rem;
  }
  .page-slot-games__section-title {
    font-size: 1.5rem;
  }
  .page-slot-games__card-title,
  .page-slot-games__promo-title,
  .page-slot-games__guide-item-title,
  .page-slot-games__tips-item-title {
    font-size: 1.2rem;
  }
  .page-slot-games__hero-image {
    max-height: 300px;
  }
}