/* 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;
}

.page-slot-games {
  font-family: 'Arial', sans-serif;
  color: var(--page-slot-games-text-main); /* Default text color for dark background */
  background-color: var(--page-slot-games-background); /* Body background is handled by shared.css var(--background-color) */
}

.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;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: 10px; /* Small top padding */
  padding-bottom: 60px;
  background-color: var(--page-slot-games-background);
}

.page-slot-games__hero-image-wrapper {
  width: 100%;
  max-height: 700px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

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

.page-slot-games__hero-content-wrapper {
  position: relative;
  z-index: 10;
  margin-top: -100px; /* Adjust to bring content closer to image without overlapping */
  padding: 0 20px;
  max-width: 900px;
}

.page-slot-games__hero-content {
  background-color: var(--page-slot-games-card-bg); /* Slightly lighter dark background for content block */
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  border: 1px solid var(--page-slot-games-border-color);
}

.page-slot-games__main-title {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 700;
  color: var(--page-slot-games-gold-color);
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(87, 227, 141, 0.5);
}

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

.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-tertiary {
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.3s ease;
  white-space: nowrap;
  cursor: pointer;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

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

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

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

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

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

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

/* Section common styles */
.page-slot-games__dark-section {
  background-color: var(--page-slot-games-background);
  color: var(--page-slot-games-text-main);
  padding: 60px 0;
}

.page-slot-games__light-bg {
  background-color: var(--page-slot-games-text-main); /* White background for light sections */
  color: #333333; /* Dark text for light background */
  padding: 60px 0;
}

.page-slot-games__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--page-slot-games-gold-color);
  text-align: center;
  margin-bottom: 20px;
  text-shadow: 0 0 8px rgba(87, 227, 141, 0.3);
}

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

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

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

.page-slot-games__feature-card.page-slot-games__light-bg {
  background-color: var(--page-slot-games-text-main);
  color: #333333;
}

.page-slot-games__feature-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--page-slot-games-primary-color);
  margin-bottom: 15px;
}

.page-slot-games__feature-card.page-slot-games__light-bg .page-slot-games__feature-title {
  color: var(--page-slot-games-deep-green);
}

.page-slot-games__feature-text {
  font-size: 1rem;
  line-height: 1.5;
  color: var(--page-slot-games-text-secondary);
  flex-grow: 1;
}

.page-slot-games__feature-card.page-slot-games__light-bg .page-slot-games__feature-text {
  color: #555555;
}

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

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

.page-slot-games__game-card {
  background-color: var(--page-slot-games-card-bg);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--page-slot-games-border-color);
  text-align: center;
  display: flex;
  flex-direction: column;
}

.page-slot-games__game-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  border-bottom: 1px solid var(--page-slot-games-border-color);
}

.page-slot-games__game-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--page-slot-games-gold-color);
  margin: 20px 15px 10px 15px;
}

.page-slot-games__game-description {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--page-slot-games-text-secondary);
  margin: 0 15px 20px 15px;
  flex-grow: 1;
}

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

/* Guide Section */
.page-slot-games__guide-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-slot-games__guide-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 50px;
  color: #333333; /* Dark text for light background */
}

.page-slot-games__step-item {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border: 1px solid #e0e0e0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-slot-games__step-icon {
  width: 60px;
  height: 60px;
  background-color: var(--page-slot-games-primary-color);
  color: var(--page-slot-games-text-main);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 20px;
  box-shadow: 0 0 15px rgba(17, 168, 78, 0.5);
}

.page-slot-games__step-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--page-slot-games-deep-green);
  margin-bottom: 15px;
}

.page-slot-games__step-text {
  font-size: 1rem;
  line-height: 1.6;
  color: #555555;
  flex-grow: 1;
}

.page-slot-games__guide-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  margin-top: 30px;
}

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

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

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

.page-slot-games__promo-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--page-slot-games-gold-color);
  margin-bottom: 15px;
}

.page-slot-games__promo-text {
  font-size: 1rem;
  line-height: 1.5;
  color: var(--page-slot-games-text-secondary);
  flex-grow: 1;
}

/* FAQ Section */
.page-slot-games__faq-section {
  text-align: center;
}

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

.page-slot-games__faq-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-slot-games__faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--page-slot-games-deep-green);
  background-color: #f9f9f9;
  border-bottom: 1px solid #e0e0e0;
}

.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-toggle {
  font-size: 1.8rem;
  line-height: 1;
  margin-left: 15px;
  color: var(--page-slot-games-primary-color);
}

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

.page-slot-games__faq-answer {
  padding: 20px 25px;
  font-size: 1rem;
  line-height: 1.6;
  color: #555555;
  background-color: #ffffff;
}

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

.page-slot-games__cta-final .page-slot-games__section-title {
  margin-bottom: 25px;
}

.page-slot-games__cta-final .page-slot-games__description {
  margin-bottom: 40px;
}

/* Contrast Fixes for light background sections */
.page-slot-games__text-contrast-fix {
  color: #333333 !important;
}


/* Responsive Design */
@media (max-width: 1024px) {
  .page-slot-games__hero-content-wrapper {
    margin-top: -80px;
  }
}

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

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

  .page-slot-games__hero-content-wrapper {
    margin-top: -60px;
    padding: 0 15px;
  }

  .page-slot-games__hero-content {
    padding: 30px 20px;
  }

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

  .page-slot-games__description {
    font-size: 1rem;
    margin-bottom: 20px;
  }

  .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 {
    width: 100% !important;
    max-width: 100% !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-slot-games__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
    flex-wrap: wrap !important;
    gap: 10px;
  }

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

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

  .page-slot-games__features-grid,
  .page-slot-games__games-grid,
  .page-slot-games__guide-steps,
  .page-slot-games__promotions-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

  .page-slot-games__feature-title,
  .page-slot-games__game-title,
  .page-slot-games__step-title,
  .page-slot-games__promo-title {
    font-size: 1.3rem;
  }

  .page-slot-games__feature-text,
  .page-slot-games__game-description,
  .page-slot-games__step-text,
  .page-slot-games__promo-text {
    font-size: 0.9rem;
  }

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

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

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

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

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

  .page-slot-games__section-title {
    font-size: 1.7rem;
  }

  .page-slot-games__hero-content {
    padding: 25px 15px;
  }

  .page-slot-games__hero-content-wrapper {
    margin-top: -40px;
  }
}