/* style/slot-games.css */

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

/* Base styles for the page content */
.page-slot-games {
  background-color: var(--page-slot-games-background);
  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: 20px;
  box-sizing: border-box;
}

.page-slot-games__section-title {
  font-size: 2.5em;
  color: var(--page-slot-games-text-main);
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

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

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

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

.page-slot-games__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-slot-games a {
  color: var(--page-slot-games-secondary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-slot-games a:hover {
  color: var(--page-slot-games-glow-color);
}

/* Buttons */
.page-slot-games__btn-primary,
.page-slot-games__btn-secondary,
.page-slot-games__btn-tertiary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 50px;
  text-align: center;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-slot-games__btn-primary {
  background: var(--page-slot-games-button-gradient);
  color: var(--page-slot-games-text-main);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

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

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

.page-slot-games__btn-secondary:hover {
  background-color: var(--page-slot-games-secondary-color);
  color: var(--page-slot-games-text-main);
}

.page-slot-games__btn-tertiary {
  background-color: var(--page-slot-games-deep-green);
  color: var(--page-slot-games-text-secondary);
  border: 1px solid var(--page-slot-games-border-color);
  font-size: 0.9em;
  padding: 8px 15px;
  border-radius: 5px;
}

.page-slot-games__btn-tertiary:hover {
  background-color: var(--page-slot-games-primary-color);
  color: var(--page-slot-games-text-main);
}

/* Hero Section */
.page-slot-games__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  text-align: center;
  padding: 10px 20px 60px; /* Small top padding, larger bottom padding */
  overflow: hidden;
  box-sizing: border-box;
}

.page-slot-games__hero-video-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.page-slot-games__hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5);
}

.page-slot-games__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 20px;
  box-sizing: border-box;
}

.page-slot-games__main-title {
  font-size: 3.5em;
  color: var(--page-slot-games-text-main);
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.1;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

.page-slot-games__tagline {
  font-size: 1.3em;
  color: var(--page-slot-games-text-secondary);
  margin-bottom: 30px;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

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

/* Introduction Section */
.page-slot-games__introduction-section {
  padding: 60px 0;
  background-color: var(--page-slot-games-background);
}

.page-slot-games__content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

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

.page-slot-games__image-block {
  text-align: center;
}

.page-slot-games__image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--page-slot-games-border-color);
}

/* Why Choose Section */
.page-slot-games__why-choose-section {
  padding: 60px 0;
}

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

.page-slot-games__feature-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-slot-games__feature-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  object-fit: contain;
}

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

.page-slot-games__feature-card p {
  color: var(--page-slot-games-text-secondary);
}

/* Popular Games Section */
.page-slot-games__popular-games-section {
  padding: 60px 0;
  background-color: var(--page-slot-games-deep-green);
}

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

.page-slot-games__game-card {
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-slot-games__game-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
  border: 1px solid var(--page-slot-games-border-color);
}

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

.page-slot-games__game-card p {
  color: var(--page-slot-games-text-secondary);
  margin-bottom: 20px;
  flex-grow: 1;
}

/* How To Play Section */
.page-slot-games__how-to-play-section {
  padding: 60px 0;
}

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

.page-slot-games__step-card {
  text-align: center;
}

.page-slot-games__step-number {
  width: 60px;
  height: 60px;
  background: var(--page-slot-games-button-gradient);
  color: var(--page-slot-games-text-main);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2em;
  font-weight: bold;
  margin: 0 auto 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

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

.page-slot-games__step-card p {
  color: var(--page-slot-games-text-secondary);
}

/* Tips Section */
.page-slot-games__tips-section {
  padding: 60px 0;
  background-color: var(--page-slot-games-deep-green);
}

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

.page-slot-games__tip-title {
  font-size: 1.3em;
  color: var(--page-slot-games-gold-color);
  margin-bottom: 10px;
}

.page-slot-games__tip-item p {
  color: var(--page-slot-games-text-secondary);
}

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

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

.page-slot-games__promotion-card {
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-slot-games__promo-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
  border: 1px solid var(--page-slot-games-border-color);
}

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

.page-slot-games__promotion-card p {
  color: var(--page-slot-games-text-secondary);
  margin-bottom: 20px;
  flex-grow: 1;
}

/* FAQ Section */
.page-slot-games__faq-section {
  padding: 60px 0;
  background-color: var(--page-slot-games-deep-green);
}

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

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

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

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

.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.page-slot-games__faq-qtext {
  color: var(--page-slot-games-text-main);
}

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

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

.page-slot-games__faq-answer {
  padding: 15px 25px 20px;
  font-size: 1em;
  color: var(--page-slot-games-text-secondary);
  background-color: rgba(17, 39, 27, 0.7); /* Slightly lighter than card-bg */
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}

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

.page-slot-games__cta-bottom-section .page-slot-games__btn-primary {
  margin-top: 30px;
  padding: 15px 40px;
  font-size: 1.2em;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-slot-games__main-title {
    font-size: 3em;
  }

  .page-slot-games__tagline {
    font-size: 1.2em;
  }

  .page-slot-games__section-title {
    font-size: 2em;
  }

  .page-slot-games__content-grid {
    grid-template-columns: 1fr;
  }

  .page-slot-games__image-block {
    order: -1; /* Image appears above text on smaller screens */
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  .page-slot-games__hero-section {
    min-height: 450px;
    padding: 10px 15px 40px;
  }

  .page-slot-games__main-title {
    font-size: 2.2em;
    margin-bottom: 15px;
  }

  .page-slot-games__tagline {
    font-size: 1em;
    margin-bottom: 25px;
  }

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

  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary,
  .page-slot-games__btn-tertiary {
    padding: 10px 20px;
    font-size: 1em;
    width: 100% !important; /* Force full width on mobile */
  }

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

  .page-slot-games__section-title {
    font-size: 1.8em;
    margin-bottom: 15px;
  }

  .page-slot-games__section-description {
    font-size: 0.95em;
    margin-bottom: 30px;
  }

  .page-slot-games__features-grid,
  .page-slot-games__game-cards-grid,
  .page-slot-games__steps-grid,
  .page-slot-games__tips-list,
  .page-slot-games__promotions-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-slot-games__feature-icon {
    width: 80px;
    height: 80px;
  }

  .page-slot-games__feature-title,
  .page-slot-games__game-title,
  .page-slot-games__step-title,
  .page-slot-games__tip-title,
  .page-slot-games__promo-title {
    font-size: 1.2em;
  }

  .page-slot-games img,
  .page-slot-games video,
  .page-slot-games__hero-video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-slot-games__hero-video-wrapper,
  .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__cta-buttons,
  .page-slot-games__button-group,
  .page-slot-games__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

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

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

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

  .page-slot-games__cta-bottom-section .page-slot-games__btn-primary {
    font-size: 1.1em;
    padding: 12px 30px;
  }
}

@media (max-width: 480px) {
  .page-slot-games__main-title {
    font-size: 1.8em;
  }

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

  .page-slot-games__section-title {
    font-size: 1.5em;
  }

  .page-slot-games__hero-section {
    min-height: 350px;
  }
}