/* style/slot-games.css */

/* Variables */
:root {
  --page-slot-games-primary-color: #26A9E0;
  --page-slot-games-secondary-color: #FFFFFF;
  --page-slot-games-dark-text: #333333;
  --page-slot-games-light-text: #ffffff;
  --page-slot-games-background-dark: #0a0a0a;
  --page-slot-games-background-light: #f8f9fa;
  --page-slot-games-login-color: #EA7C07;
}

/* Base styles for the page content */
.page-slot-games {
  color: var(--page-slot-games-light-text); /* Default text color for dark body background */
  background-color: var(--page-slot-games-background-dark); /* Ensure consistency if section background is transparent */
}

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

.page-slot-games__section-title {
  font-size: clamp(2em, 5vw, 2.8em);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  text-align: center;
  color: var(--page-slot-games-light-text);
}

.page-slot-games__section-description {
  font-size: 1.1em;
  line-height: 1.6;
  text-align: center;
  margin-bottom: 40px;
  color: var(--page-slot-games-light-text);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-slot-games__light-bg {
  background-color: var(--page-slot-games-background-light);
  color: var(--page-slot-games-dark-text);
}

/* Hero Section */
.page-slot-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 0 60px 0; /* body handles header offset, this is decorative padding */
  overflow: hidden;
}

.page-slot-games__hero-image-wrapper {
  width: 100%;
  max-height: 600px; /* Limit height for desktop */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px; /* Space between image and content */
}

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

.page-slot-games__hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 900px;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-slot-games__main-title {
  font-size: clamp(2.5em, 6vw, 3.5em); /* Use clamp for H1 */
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 20px;
  color: var(--page-slot-games-primary-color);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-slot-games__description {
  font-size: 1.2em;
  line-height: 1.7;
  margin-bottom: 30px;
  color: var(--page-slot-games-light-text);
  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,
.page-slot-games__btn-play,
.page-slot-games__btn-promo {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  text-align: center;
}

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

.page-slot-games__btn-primary:hover {
  background-color: #1e87c0;
  border-color: #1e87c0;
  transform: translateY(-2px);
}

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

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

.page-slot-games__btn-play {
  background-color: var(--page-slot-games-primary-color);
  color: var(--page-slot-games-light-text);
  border: none;
  padding: 10px 20px;
  font-size: 1em;
  border-radius: 5px;
}

.page-slot-games__btn-play:hover {
  background-color: #1e87c0;
}

.page-slot-games__btn-promo {
  background-color: var(--page-slot-games-primary-color);
  color: var(--page-slot-games-light-text);
  border: none;
  padding: 10px 20px;
  font-size: 1em;
  border-radius: 5px;
}

.page-slot-games__btn-promo:hover {
  background-color: #1e87c0;
}

/* Advantages Section */
.page-slot-games__advantages-section {
  padding: 80px 0;
}

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

.page-slot-games__card {
  background-color: var(--page-slot-games-secondary-color);
  color: var(--page-slot-games-dark-text);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  min-height: 250px; /* Ensure minimum height */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

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

.page-slot-games__card-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  object-fit: contain;
  max-width: 100%;
  height: auto;
  display: block;
}

.page-slot-games__card-title {
  font-size: 1.4em;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--page-slot-games-primary-color);
}

.page-slot-games__card-text {
  font-size: 1em;
  line-height: 1.6;
}

/* 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(300px, 1fr));
  gap: 30px;
}

.page-slot-games__game-card {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: var(--page-slot-games-light-text);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 450px;
}

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

.page-slot-games__game-title {
  font-size: 1.5em;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--page-slot-games-primary-color);
}

.page-slot-games__game-text {
  font-size: 1em;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Withdrawal Guide Section */
.page-slot-games__withdrawal-guide {
  padding: 80px 0;
}

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

.page-slot-games__step-item {
  background-color: var(--page-slot-games-secondary-color);
  color: var(--page-slot-games-dark-text);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  min-height: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-slot-games__step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background-color: var(--page-slot-games-primary-color);
  color: var(--page-slot-games-light-text);
  border-radius: 50%;
  font-size: 1.8em;
  font-weight: 700;
  margin-bottom: 20px;
}

.page-slot-games__step-title {
  font-size: 1.3em;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--page-slot-games-primary-color);
}

.page-slot-games__step-text {
  font-size: 0.95em;
  line-height: 1.6;
}

.page-slot-games__cta-center {
  text-align: center;
}

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

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

.page-slot-games__promo-card {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: var(--page-slot-games-light-text);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

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

.page-slot-games__promo-title {
  font-size: 1.4em;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--page-slot-games-primary-color);
}

.page-slot-games__promo-text {
  font-size: 1em;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Mobile App Section */
.page-slot-games__mobile-app {
  padding: 80px 0;
}

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

.page-slot-games__text-content {
  flex: 1 1 45%;
  min-width: 300px;
  text-align: left;
}

.page-slot-games__image-content {
  flex: 1 1 45%;
  min-width: 300px;
  text-align: center;
}

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

.page-slot-games__download-buttons {
  display: flex;
  gap: 15px;
  margin-top: 30px;
  flex-wrap: wrap;
}

/* FAQ Section */
.page-slot-games__faq-section {
  padding: 80px 0;
}

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

.page-slot-games__faq-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: var(--page-slot-games-light-text);
}

.page-slot-games__faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
  color: var(--page-slot-games-primary-color);
}

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

.page-slot-games__faq-item summary:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

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

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

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

/* CTA Bottom Section */
.page-slot-games__cta-bottom {
  padding: 60px 0;
  text-align: center;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-slot-games__hero-image-wrapper {
    max-height: 500px;
  }
}

@media (max-width: 768px) {
  .page-slot-games__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
  }

  .page-slot-games__hero-image-wrapper {
    max-height: 400px;
  }

  .page-slot-games__main-title {
    font-size: clamp(2em, 8vw, 2.5em);
  }

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

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

  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary,
  .page-slot-games__btn-play,
  .page-slot-games__btn-promo {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    margin: 0 auto; /* Center buttons when stacked */
  }

  .page-slot-games__section-title {
    font-size: clamp(1.8em, 7vw, 2.2em);
  }

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

  .page-slot-games__advantages-section,
  .page-slot-games__popular-games,
  .page-slot-games__withdrawal-guide,
  .page-slot-games__promotions-section,
  .page-slot-games__mobile-app,
  .page-slot-games__faq-section,
  .page-slot-games__cta-bottom {
    padding: 40px 0;
  }

  .page-slot-games__card,
  .page-slot-games__game-card,
  .page-slot-games__step-item,
  .page-slot-games__promo-card {
    padding: 25px;
    min-height: auto;
  }

  .page-slot-games__mobile-app-content {
    flex-direction: column;
    gap: 30px;
  }

  .page-slot-games__text-content,
  .page-slot-games__image-content {
    text-align: center;
    flex: 1 1 100%;
  }

  .page-slot-games__download-buttons {
    flex-direction: column;
    align-items: center;
  }

  /* Ensure all images are responsive */
  .page-slot-games img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* All containing elements for images/videos/buttons must have these */
  .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__mobile-app-content,
  .page-slot-games__text-content,
  .page-slot-games__image-content,
  .page-slot-games__cta-buttons,
  .page-slot-games__download-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-slot-games__hero-content,
  .page-slot-games__faq-list {
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-slot-games__faq-item summary {
    font-size: 1em;
    padding: 15px 20px;
  }

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

@media (max-width: 480px) {
  .page-slot-games__hero-image-wrapper {
    max-height: 300px;
  }

  .page-slot-games__main-title {
    font-size: clamp(1.8em, 9vw, 2.2em);
  }

  .page-slot-games__description {
    font-size: 0.9em;
  }

  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary {
    font-size: 0.95em;
  }

  .page-slot-games__card-grid,
  .page-slot-games__game-grid,
  .page-slot-games__guide-steps,
  .page-slot-games__promo-grid {
    grid-template-columns: 1fr;
  }
}