/* style/slot-games.css */

/* Custom Colors */
:root {
  --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: #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-btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
}

.page-slot-games {
  background-color: var(--page-slot-games-background);
  color: var(--page-slot-games-text-secondary);
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

/* Background and Text Colors for sections */
.page-slot-games__dark-bg {
  background-color: var(--page-slot-games-background);
  color: var(--page-slot-games-text-secondary);
}

.page-slot-games__light-bg {
  background-color: #0F2019; /* Slightly lighter for contrast with dark-bg, but still dark */
  color: var(--page-slot-games-text-secondary);
}

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

.page-slot-games__text-secondary {
  color: var(--page-slot-games-text-secondary);
}

.page-slot-games__card-bg {
  background-color: var(--page-slot-games-card-bg);
}

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

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

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

.page-slot-games__hero-content {
  position: relative;
  text-align: center;
  padding: 40px 20px;
  max-width: 900px;
  margin-top: -100px; /* Overlap slightly for visual effect, but not covering image */
  background-color: rgba(8, 22, 15, 0.85); /* Semi-transparent dark background for text readability */
  border-radius: 15px;
  z-index: 10;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
  border: 1px solid var(--page-slot-games-border);
}

.page-slot-games__main-title {
  color: var(--page-slot-games-text-main);
  font-size: clamp(2em, 3.5vw, 3.2em);
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 20px;
  text-shadow: 0 0 10px rgba(87, 227, 141, 0.6);
}

.page-slot-games__subtitle {
  font-size: 1.1em;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.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 {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  box-sizing: border-box;
}

.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 6px 20px rgba(87, 227, 141, 0.4);
}

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

.page-slot-games__btn-secondary:hover {
  transform: translateY(-3px);
  background-color: rgba(87, 227, 141, 0.1);
  box-shadow: 0 6px 20px rgba(87, 227, 141, 0.2);
}

.page-slot-games__btn-small {
  padding: 10px 20px;
  font-size: 0.9em;
}

/* General Sections */
.page-slot-games__section {
  padding: 80px 0;
  border-bottom: 1px solid var(--page-slot-games-divider);
}

.page-slot-games__section:last-of-type {
  border-bottom: none;
}

.page-slot-games__section-title {
  font-size: 2.5em;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  color: var(--page-slot-games-text-main);
  text-shadow: 0 0 8px rgba(87, 227, 141, 0.3);
}

.page-slot-games__sub-title {
  font-size: 1.8em;
  font-weight: bold;
  margin-top: 40px;
  margin-bottom: 20px;
  color: var(--page-slot-games-text-main);
}

.page-slot-games__text-block {
  font-size: 1.05em;
  margin-bottom: 20px;
  line-height: 1.7;
}

.page-slot-games__image-content {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  margin: 40px auto;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  min-width: 200px;
  min-height: 200px;
  object-fit: cover;
}

.page-slot-games__image-content--margin-top {
  margin-top: 60px;
}

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

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

.page-slot-games__card {
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  border: 1px solid var(--page-slot-games-border);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-slot-games__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(87, 227, 141, 0.3);
}

.page-slot-games__card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
}

.page-slot-games__card-title {
  font-size: 1.4em;
  font-weight: bold;
  margin-bottom: 10px;
}

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

/* Advantages Section */
.page-slot-games__grid--2-col {
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

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

.page-slot-games__feature-icon {
  width: 120px;
  height: 120px;
  object-fit: contain;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 8px var(--page-slot-games-glow)); /* Only for glow, not color change */
  min-width: 120px;
  min-height: 120px;
}

.page-slot-games__feature-title {
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 10px;
}

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

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

.page-slot-games__step-item {
  background-color: rgba(17, 39, 27, 0.7); /* Slightly transparent card background */
  padding: 30px;
  border-radius: 15px;
  border: 1px solid var(--page-slot-games-border);
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-slot-games__step-number {
  width: 60px;
  height: 60px;
  background: var(--page-slot-games-btn-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 auto;
  box-shadow: 0 0 15px rgba(87, 227, 141, 0.5);
}

.page-slot-games__step-title {
  font-size: 1.4em;
  font-weight: bold;
  margin-bottom: 15px;
}

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

/* Promotions Section */
.page-slot-games__promo-card {
  border-radius: 15px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  border: 1px solid var(--page-slot-games-border);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-slot-games__promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(87, 227, 141, 0.3);
}

.page-slot-games__promo-image {
  width: 100%;
  height: 220px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
}

.page-slot-games__promo-title {
  font-size: 1.3em;
  font-weight: bold;
  margin-bottom: 10px;
}

.page-slot-games__promo-description {
  font-size: 0.9em;
  margin-bottom: 20px;
}

/* FAQ Section */
.page-slot-games__faq-list {
  margin-top: 40px;
}

.page-slot-games__faq-item {
  background-color: var(--page-slot-games-card-bg);
  border: 1px solid var(--page-slot-games-border);
  border-radius: 10px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

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

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

.page-slot-games__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: var(--page-slot-games-glow);
}

.page-slot-games__faq-item[open] .page-slot-games__faq-toggle {
  transform: rotate(45deg);
}

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

/* Responsive Design */
@media (max-width: 992px) {
  .page-slot-games__hero-content {
    margin-top: -60px;
    padding: 30px 20px;
  }

  .page-slot-games__main-title {
    font-size: clamp(2em, 4vw, 2.8em);
  }

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

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

  .page-slot-games__grid,
  .page-slot-games__grid--2-col,
  .page-slot-games__steps-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-slot-games__hero-content {
    margin-top: -40px;
    padding: 20px 15px;
  }

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

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

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

  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary {
    width: 100%;
    max-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 {
    padding: 40px 0;
  }

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

  .page-slot-games__sub-title {
    font-size: 1.3em;
  }

  .page-slot-games__text-block,
  .page-slot-games__card-description,
  .page-slot-games__feature-description,
  .page-slot-games__step-description,
  .page-slot-games__promo-description,
  .page-slot-games__faq-answer {
    font-size: 0.95em;
  }

  .page-slot-games__grid,
  .page-slot-games__grid--2-col,
  .page-slot-games__steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

  /* Ensure all containers are responsive */
  .page-slot-games__section,
  .page-slot-games__card,
  .page-slot-games__container,
  .page-slot-games__hero-section,
  .page-slot-games__hero-image-wrapper,
  .page-slot-games__hero-content,
  .page-slot-games__cta-buttons,
  .page-slot-games__grid,
  .page-slot-games__grid--2-col,
  .page-slot-games__feature-item,
  .page-slot-games__steps-grid,
  .page-slot-games__step-item,
  .page-slot-games__promo-card,
  .page-slot-games__faq-list,
  .page-slot-games__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-slot-games__hero-section {
    padding-top: 10px !important;
    padding-left: 0;
    padding-right: 0;
  }

  .page-slot-games__hero-image-wrapper {
    padding-left: 0;
    padding-right: 0;
  }

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

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