/* style/slot-games.css */

/* Custom Colors */
:root {
  --mu66-red-primary: #C61F1F;
  --mu66-red-secondary: #E53030;
  --mu66-button-gradient-start: #FFB04A;
  --mu66-button-gradient-end: #D86A14;
  --mu66-card-bg: #2A1212;
  --mu66-background: #140C0C;
  --mu66-text-main: #FFF1E8;
  --mu66-border: #6A1E1E;
  --mu66-gold: #F3C54D;
  --mu66-deep-red: #7E0D0D;
}

.page-slot-games {
  font-family: Arial, sans-serif;
  color: var(--mu66-text-main); /* Default text color for dark body background */
  background-color: var(--mu66-background); /* Ensure consistency if body background is not set by shared */
}

.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;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 60px;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  background-color: var(--mu66-background);
}

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

.page-slot-games__hero-content {
  text-align: center;
  padding: 40px 20px;
  max-width: 900px;
}

.page-slot-games__hero-title {
  color: var(--mu66-gold);
  font-size: clamp(2em, 4vw, 3.5em);
  font-weight: bold;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-slot-games__hero-description {
  font-size: 1.1em;
  line-height: 1.6;
  margin-bottom: 30px;
  color: var(--mu66-text-main);
}

.page-slot-games__hero-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: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
}

.page-slot-games__btn-primary {
  background: var(--mu66-button-gradient-start);
  background-image: linear-gradient(180deg, var(--mu66-button-gradient-start) 0%, var(--mu66-button-gradient-end) 100%);
  color: #ffffff;
  border: 2px solid transparent;
}

.page-slot-games__btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}

.page-slot-games__btn-secondary {
  background: transparent;
  color: var(--mu66-button-gradient-start);
  border: 2px solid var(--mu66-button-gradient-start);
}

.page-slot-games__btn-secondary:hover {
  background: var(--mu66-button-gradient-start);
  color: #ffffff;
}

/* Sections */
.page-slot-games__section-title {
  font-size: clamp(1.8em, 3.5vw, 2.5em);
  color: var(--mu66-gold);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-slot-games__text-block {
  font-size: 1em;
  line-height: 1.7;
  margin-bottom: 20px;
  color: var(--mu66-text-main);
}

.page-slot-games__intro-section,
.page-slot-games__why-choose-section,
.page-slot-games__popular-games-section,
.page-slot-games__guide-section,
.page-slot-games__promotions-section,
.page-slot-games__faq-section,
.page-slot-games__cta-final-section {
  padding: 60px 0;
}

.page-slot-games__dark-section {
  background-color: var(--mu66-deep-red);
  color: var(--mu66-text-main);
}

/* Why Choose Section */
.page-slot-games__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.page-slot-games__feature-item {
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  background-color: var(--mu66-card-bg);
  border: 1px solid var(--mu66-border);
  color: var(--mu66-text-main);
}

.page-slot-games__feature-title {
  font-size: 1.5em;
  color: var(--mu66-gold);
  margin-bottom: 15px;
}

.page-slot-games__feature-description {
  font-size: 0.95em;
  line-height: 1.6;
}

.page-slot-games__section-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  margin-top: 40px;
}

/* Popular Games Section */
.page-slot-games__game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.page-slot-games__game-card {
  background-color: var(--mu66-card-bg);
  border: 1px solid var(--mu66-border);
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  color: var(--mu66-text-main);
}

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

.page-slot-games__game-title {
  font-size: 1.3em;
  color: var(--mu66-gold);
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-slot-games__game-description {
  font-size: 0.9em;
  line-height: 1.5;
  margin-bottom: 20px;
  padding: 0 15px;
}

/* Guide Section */
.page-slot-games__guide-steps {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.page-slot-games__guide-step-item {
  background-color: var(--mu66-card-bg);
  border: 1px solid var(--mu66-border);
  padding: 25px;
  border-radius: 8px;
  color: var(--mu66-text-main);
}

.page-slot-games__guide-step-title {
  font-size: 1.4em;
  color: var(--mu66-gold);
  margin-bottom: 10px;
}

.page-slot-games__guide-step-description {
  font-size: 1em;
  line-height: 1.6;
}

/* FAQ Section */
.page-slot-games__faq-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

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

.page-slot-games__faq-question {
  display: block;
  padding: 18px 25px;
  font-size: 1.1em;
  font-weight: bold;
  color: var(--mu66-gold);
  cursor: pointer;
  position: relative;
  user-select: none;
}

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

.page-slot-games__faq-question::after {
  content: '+';
  position: absolute;
  right: 25px;
  font-size: 1.2em;
  top: 50%;
  transform: translateY(-50%);
  transition: transform 0.3s ease;
  color: var(--mu66-text-main);
}

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

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

/* CTA Final Section */
.page-slot-games__cta-final-section .page-slot-games__cta-buttons {
  margin-top: 40px;
}

/* --- Responsive Design --- */
@media (max-width: 1024px) {
  .page-slot-games__hero-title {
    font-size: clamp(2em, 5vw, 3em);
  }
  .page-slot-games__section-title {
    font-size: clamp(1.6em, 4vw, 2.2em);
  }
  .page-slot-games__game-image {
    height: 160px;
  }
}

@media (max-width: 768px) {
  .page-slot-games__container,
  .page-slot-games__hero-section,
  .page-slot-games__intro-section,
  .page-slot-games__why-choose-section,
  .page-slot-games__popular-games-section,
  .page-slot-games__guide-section,
  .page-slot-games__promotions-section,
  .page-slot-games__faq-section,
  .page-slot-games__cta-final-section,
  .page-slot-games__hero-cta-buttons,
  .page-slot-games__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Prevent horizontal scroll */
  }

  .page-slot-games__hero-section {
    padding-top: 10px !important; /* body handles --header-offset */
    padding-bottom: 40px;
  }

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

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

  .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% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px;
  }

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

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

  .page-slot-games__game-image {
    height: auto !important;
  }

  .page-slot-games__features-grid,
  .page-slot-games__game-grid {
    grid-template-columns: 1fr;
  }

  .page-slot-games__section-title {
    font-size: clamp(1.5em, 6vw, 2em);
  }

  .page-slot-games__feature-title,
  .page-slot-games__game-title {
    font-size: 1.3em;
  }

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

@media (max-width: 480px) {
  .page-slot-games__hero-title {
    font-size: clamp(1.5em, 8vw, 2.2em);
  }
  .page-slot-games__section-title {
    font-size: clamp(1.3em, 7vw, 1.8em);
  }
  .page-slot-games__hero-section,
  .page-slot-games__intro-section,
  .page-slot-games__why-choose-section,
  .page-slot-games__popular-games-section,
  .page-slot-games__guide-section,
  .page-slot-games__promotions-section,
  .page-slot-games__faq-section,
  .page-slot-games__cta-final-section {
    padding-left: 10px;
    padding-right: 10px;
  }
}