/* 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__dark-bg {
  background-color: var(--page-slot-games-bg);
  color: var(--page-slot-games-text-main);
}

.page-slot-games__card-bg {
  background-color: var(--page-slot-games-card-bg);
  border: 1px solid var(--page-slot-games-border);
  color: var(--page-slot-games-text-main);
}

.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(28px, 4vw, 42px);
  color: var(--page-slot-games-gold);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: 0.5px;
}

.page-slot-games__paragraph {
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 20px;
  color: var(--page-slot-games-text-secondary);
}

.page-slot-games__paragraph a {
  color: var(--page-slot-games-glow);
  text-decoration: none;
  font-weight: bold;
}

.page-slot-games__paragraph a:hover {
  text-decoration: underline;
}

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

.page-slot-games__hero-image-wrapper {
  width: 100%;
  max-height: 700px; /* Limit height for hero image */
  overflow: hidden;
  margin-bottom: 30px;
}

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

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

.page-slot-games__hero-title {
  font-size: clamp(32px, 5vw, 58px);
  color: var(--page-slot-games-gold);
  margin-bottom: 20px;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: 1px;
}

.page-slot-games__hero-description {
  font-size: clamp(18px, 2.5vw, 22px);
  color: var(--page-slot-games-text-main);
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-slot-games__hero-cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Buttons */
.page-slot-games__btn-primary,
.page-slot-games__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-sizing: border-box;
  min-width: 180px;
}

.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 {
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(42, 209, 111, 0.4);
}

.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-color: var(--page-slot-games-glow);
  color: var(--page-slot-games-bg);
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(87, 227, 141, 0.3);
}

.page-slot-games__cta-center {
  text-align: center;
  margin-top: 40px;
  margin-bottom: 20px;
}

/* Sections */
.page-slot-games__intro-section,
.page-slot-games__popular-games-section,
.page-slot-games__promotions-section,
.page-slot-games__conclusion-section {
  padding: 80px 0;
}

.page-slot-games__why-choose-section,
.page-slot-games__how-to-play-section,
.page-slot-games__faq-section {
  padding: 80px 0;
  background-color: var(--page-slot-games-deep-green);
}

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

.page-slot-games__feature-card {
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease;
}

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

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

.page-slot-games__feature-title {
  font-size: 24px;
  color: var(--page-slot-games-gold);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-slot-games__feature-description {
  font-size: 16px;
  color: var(--page-slot-games-text-secondary);
}

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

.page-slot-games__game-card {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

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

.page-slot-games__game-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-slot-games__game-title {
  font-size: 22px;
  color: var(--page-slot-games-gold);
  margin: 15px 15px 10px;
  font-weight: bold;
}

.page-slot-games__game-title a {
  color: inherit;
  text-decoration: none;
}

.page-slot-games__game-title a:hover {
  text-decoration: underline;
}

.page-slot-games__game-description {
  font-size: 15px;
  color: var(--page-slot-games-text-secondary);
  padding: 0 15px 20px;
  flex-grow: 1;
}

/* How to Play Steps */
.page-slot-games__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-slot-games__step-card {
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.page-slot-games__step-number {
  width: 60px;
  height: 60px;
  background: var(--page-slot-games-glow);
  color: var(--page-slot-games-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: bold;
  margin: 0 auto 20px;
}

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

.page-slot-games__step-description {
  font-size: 16px;
  color: var(--page-slot-games-text-secondary);
}

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

.page-slot-games__promo-card {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
}

.page-slot-games__promo-image {
  width: 100%;
  height: 250px; /* Consistent height for promo images */
  object-fit: cover;
  display: block;
}

.page-slot-games__promo-title {
  font-size: 22px;
  color: var(--page-slot-games-gold);
  margin: 15px 15px 10px;
  font-weight: bold;
}

.page-slot-games__promo-description {
  font-size: 15px;
  color: var(--page-slot-games-text-secondary);
  padding: 0 15px 20px;
  flex-grow: 1;
}

.page-slot-games__promo-card .page-slot-games__btn-secondary {
  margin: 0 15px 15px;
  align-self: flex-start;
  padding: 10px 20px;
  font-size: 16px;
}

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

.page-slot-games__faq-item {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 18px;
  font-weight: bold;
  color: var(--page-slot-games-gold);
  cursor: pointer;
  background-color: var(--page-slot-games-card-bg);
  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-question::-webkit-details-marker,
.page-slot-games__faq-question::marker {
  display: none;
}

.page-slot-games__faq-toggle {
  font-size: 24px;
  line-height: 1;
  margin-left: 15px;
  color: var(--page-slot-games-glow);
}

.page-slot-games__faq-answer {
  padding: 20px 25px;
  font-size: 16px;
  color: var(--page-slot-games-text-secondary);
  background-color: var(--page-slot-games-card-bg);
  border-top: none;
}

.page-slot-games__faq-answer .page-slot-games__paragraph {
  margin-bottom: 0;
}

/* Conclusion Section */
.page-slot-games__conclusion-section {
  text-align: center;
  padding: 80px 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-slot-games__hero-title {
    font-size: clamp(30px, 4.5vw, 50px);
  }
  .page-slot-games__hero-description {
    font-size: clamp(16px, 2.2vw, 20px);
  }
}

@media (max-width: 768px) {
  .page-slot-games__container {
    padding: 0 15px;
  }

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

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

  .page-slot-games__hero-title {
    font-size: clamp(28px, 6vw, 40px);
  }

  .page-slot-games__hero-description {
    font-size: 16px;
  }

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

  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-slot-games__section-title {
    font-size: clamp(24px, 5vw, 36px);
    margin-bottom: 30px;
  }

  .page-slot-games__intro-section,
  .page-slot-games__why-choose-section,
  .page-slot-games__popular-games-section,
  .page-slot-games__how-to-play-section,
  .page-slot-games__promotions-section,
  .page-slot-games__faq-section,
  .page-slot-games__conclusion-section {
    padding: 50px 0;
  }

  .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__hero-cta-buttons,
  .page-slot-games__cta-center {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden;
  }

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

  .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__promo-card .page-slot-games__btn-secondary {
    width: calc(100% - 30px);
    margin-left: 15px;
    margin-right: 15px;
  }
  
  .page-slot-games__faq-question {
    padding: 15px 20px;
    font-size: 16px;
  }
  .page-slot-games__faq-answer {
    padding: 15px 20px;
    font-size: 15px;
  }
  .page-slot-games__faq-toggle {
    font-size: 20px;
  }
}

@media (max-width: 480px) {
  .page-slot-games__section-title {
    font-size: clamp(22px, 6vw, 30px);
  }
  .page-slot-games__paragraph {
    font-size: 15px;
  }
  .page-slot-games__hero-title {
    font-size: clamp(26px, 7vw, 36px);
  }
  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary {
    font-size: 16px;
    padding: 12px 20px;
  }
  .page-slot-games__feature-title,
  .page-slot-games__game-title,
  .page-slot-games__step-title,
  .page-slot-games__promo-title {
    font-size: 20px;
  }
  .page-slot-games__step-number {
    width: 50px;
    height: 50px;
    font-size: 28px;
  }
}