/* style/slot-games.css */

/* Custom Colors */
:root {
  --page-slot-games-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --page-slot-games-card-bg: #11271B;
  --page-slot-games-bg: #08160F;
  --page-slot-games-text-main: #F2FFF6;
  --page-slot-games-text-secondary: #A7D9B8;
  --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 {
  font-family: Arial, sans-serif;
  color: var(--page-slot-games-text-main); /* Default text color for the page */
  background-color: var(--page-slot-games-bg); /* Main background color */
}

.page-slot-games h1, .page-slot-games h2, .page-slot-games h3, .page-slot-games h4, .page-slot-games h5, .page-slot-games h6 {
  color: var(--page-slot-games-text-main);
  margin-bottom: 15px;
  font-weight: bold;
  line-height: 1.2;
}

.page-slot-games h1 {
  font-weight: 700;
  letter-spacing: -0.02em;
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-slot-games__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  margin-bottom: 30px;
  border-radius: 10px;
}

.page-slot-games__hero-content {
  text-align: center;
  max-width: 800px;
  width: 100%;
  padding: 0 15px;
  box-sizing: border-box;
}

.page-slot-games__main-title {
  font-size: clamp(2em, 4vw, 3.5em);
  margin-bottom: 20px;
}

.page-slot-games__description {
  font-size: 1.1em;
  color: var(--page-slot-games-text-secondary);
  margin-bottom: 30px;
  line-height: 1.6;
}

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

.page-slot-games__btn-primary,
.page-slot-games__btn-secondary,
.page-slot-games__btn-tertiary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
  font-size: 1em;
}

.page-slot-games__btn-primary {
  background: var(--page-slot-games-button-gradient);
  color: #ffffff; /* White text for primary button */
  border: none;
  box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

.page-slot-games__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(42, 209, 111, 0.6);
}

.page-slot-games__btn-secondary {
  background-color: transparent;
  color: var(--page-slot-games-glow); /* Lighter green text */
  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); /* Dark text on hover */
  transform: translateY(-2px);
}

.page-slot-games__btn-tertiary {
  background-color: var(--page-slot-games-deep-green);
  color: var(--page-slot-games-text-main);
  border: none;
  padding: 10px 20px;
  font-size: 0.9em;
}

.page-slot-games__btn-tertiary:hover {
  background-color: var(--page-slot-games-glow);
  color: var(--page-slot-games-bg);
}

.page-slot-games__section {
  padding: 60px 20px;
  text-align: center;
  box-sizing: border-box;
}

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

.page-slot-games__section-title {
  font-size: clamp(1.8em, 3vw, 2.8em);
  margin-bottom: 20px;
  color: var(--page-slot-games-text-main);
}

.page-slot-games__section-title--light {
  color: var(--page-slot-games-text-main);
}

.page-slot-games__section-intro {
  font-size: 1.1em;
  color: var(--page-slot-games-text-secondary);
  max-width: 800px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

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

.page-slot-games__feature-card,
.page-slot-games__game-card,
.page-slot-games__promo-card {
  background-color: var(--page-slot-games-card-bg);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid var(--page-slot-games-border);
}

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

.page-slot-games__feature-title,
.page-slot-games__game-title,
.page-slot-games__promo-title {
  font-size: 1.5em;
  color: var(--page-slot-games-text-main);
  margin-bottom: 15px;
}

.page-slot-games__feature-description,
.page-slot-games__game-description,
.page-slot-games__promo-description {
  font-size: 1em;
  color: var(--page-slot-games-text-secondary);
  line-height: 1.6;
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-slot-games__how-to-play .page-slot-games__section-intro {
  margin-bottom: 60px;
}

.page-slot-games__steps-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-slot-games__step-item {
  background-color: var(--page-slot-games-card-bg);
  border-radius: 10px;
  padding: 30px;
  text-align: left;
  border: 1px solid var(--page-slot-games-border);
}

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

.page-slot-games__step-description {
  font-size: 1em;
  color: var(--page-slot-games-text-secondary);
  line-height: 1.6;
}

.page-slot-games__step-description a {
  color: var(--page-slot-games-glow);
  text-decoration: underline;
}

.page-slot-games__step-description a:hover {
  color: #fff;
}

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

.page-slot-games__faq-section {
  background-color: var(--page-slot-games-deep-green);
  padding: 60px 20px;
}

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

.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;
  overflow: hidden;
  color: var(--page-slot-games-text-main);
}

.page-slot-games__faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1em;
  color: var(--page-slot-games-text-main);
  position: relative;
}

.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 {
  flex-grow: 1;
  color: var(--page-slot-games-text-main);
}

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

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

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

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

.page-slot-games__cta-final {
  padding: 80px 20px;
}

.page-slot-games__cta-final .page-slot-games__container {
  background-color: var(--page-slot-games-deep-green);
  border-radius: 15px;
  padding: 50px 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--page-slot-games-border);
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-slot-games__hero-image {
    width: 90%;
  }
}

@media (max-width: 768px) {
  .page-slot-games h1 {
    font-size: 2em;
  }

  .page-slot-games__hero-section {
    padding-bottom: 40px;
  }

  .page-slot-games__hero-image {
    width: 100%;
    margin-bottom: 20px;
  }

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

  .page-slot-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    padding: 0 15px;
  }

  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary,
  .page-slot-games__btn-tertiary {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 20px;
    font-size: 0.95em;
  }

  .page-slot-games__section {
    padding: 40px 15px;
  }

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

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

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

  .page-slot-games__feature-card,
  .page-slot-games__game-card,
  .page-slot-games__promo-card {
    padding: 20px;
  }

  .page-slot-games__feature-icon,
  .page-slot-games__game-image,
  .page-slot-games__promo-image {
    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 {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-slot-games__steps-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-slot-games__step-item {
    padding: 20px;
  }

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

  .page-slot-games__faq-list {
    margin-top: 20px;
  }

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

  .page-slot-games__faq-answer {
    padding: 0 20px 15px;
    font-size: 0.9em;
  }

  .page-slot-games__cta-final {
    padding: 50px 15px;
  }

  .page-slot-games__cta-final .page-slot-games__container {
    padding: 30px 20px;
  }

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

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

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

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