/* style/slot-games.css */

/* Custom Colors */
:root {
  --k9cc-bg-dark: #08160F;
  --k9cc-card-bg: #11271B;
  --k9cc-text-main: #F2FFF6;
  --k9cc-text-secondary: #A7D9B8;
  --k9cc-border: #2E7A4E;
  --k9cc-glow: #57E38D;
  --k9cc-gold: #F2C14E;
  --k9cc-divider: #1E3A2A;
  --k9cc-deep-green: #0A4B2C;
  --k9cc-btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
}

/* Base styles for the page content */
.page-slot-games {
  background-color: var(--k9cc-bg-dark); /* Dark background from custom colors */
  color: var(--k9cc-text-main); /* Light text for dark background */
  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;
}

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

.page-slot-games__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: var(--k9cc-text-secondary);
  text-align: center;
}

.page-slot-games__highlight {
  color: var(--k9cc-gold);
  font-weight: bold;
}

.page-slot-games__text-link {
  color: var(--k9cc-glow);
  text-decoration: underline;
}

/* Hero Section */
.page-slot-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 0 60px 0; /* body handles top padding, this is for visual spacing */
  background-color: var(--k9cc-bg-dark);
  overflow: hidden;
}

.page-slot-games__hero-image-wrapper {
  width: 100%;
  max-height: 600px; /* Limit height for aesthetic reasons */
  overflow: hidden;
}

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

.page-slot-games__hero-content {
  position: relative; /* Ensure content is above the image but not overlapping */
  z-index: 1;
  text-align: center;
  max-width: 900px;
  padding: 40px 20px;
  background: rgba(17, 39, 27, 0.85); /* Semi-transparent dark card BG */
  border-radius: 12px;
  margin-top: -100px; /* Pull up to overlap slightly for visual effect, but text is below image block in DOM */
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.page-slot-games__main-title {
  font-size: clamp(2.2em, 4vw, 3.5em); /* Responsive H1 font size */
  color: var(--k9cc-gold);
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 1px;
}

.page-slot-games__description {
  font-size: 1.2em;
  color: var(--k9cc-text-main);
  margin-bottom: 30px;
}

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

.page-slot-games__btn-primary,
.page-slot-games__btn-secondary {
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
  max-width: 100%; /* Ensure responsiveness */
}

.page-slot-games__btn-primary {
  background: var(--k9cc-btn-gradient);
  color: var(--k9cc-text-main);
  border: 2px solid var(--k9cc-glow);
  box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

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

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

.page-slot-games__btn-secondary:hover {
  background: var(--k9cc-glow);
  color: var(--k9cc-bg-dark);
  transform: translateY(-3px);
}

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

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

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

/* Features Section */
.page-slot-games__features-section {
  padding: 60px 0;
  background-color: var(--k9cc-card-bg);
}

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

.page-slot-games__feature-card {
  background-color: var(--k9cc-card-bg);
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  border: 1px solid var(--k9cc-border);
  color: var(--k9cc-text-main);
}

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

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

.page-slot-games__card-title {
  font-size: 1.5em;
  color: var(--k9cc-gold);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-slot-games__card-text {
  font-size: 1em;
  color: var(--k9cc-text-secondary);
}

/* How to Play Section */
.page-slot-games__how-to-play {
  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 {
  background-color: var(--k9cc-card-bg);
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--k9cc-border);
  color: var(--k9cc-text-main);
}

.page-slot-games__step-icon {
  width: 60px;
  height: 60px;
  line-height: 60px;
  background: var(--k9cc-btn-gradient);
  color: var(--k9cc-text-main);
  border-radius: 50%;
  font-size: 2em;
  font-weight: bold;
  margin: 0 auto 20px auto;
  box-shadow: 0 2px 10px rgba(42, 209, 111, 0.5);
}

/* Promotions Section */
.page-slot-games__promotions-section {
  padding: 60px 0;
  background-color: var(--k9cc-card-bg);
}

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

.page-slot-games__promo-card {
  background-color: var(--k9cc-card-bg);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--k9cc-border);
  color: var(--k9cc-text-main);
  display: flex;
  flex-direction: column;
}

.page-slot-games__promo-image {
  width: 100%;
  height: 220px; /* Fixed height for consistent card appearance */
  object-fit: cover;
  display: block;
}

.page-slot-games__promo-card .page-slot-games__card-title {
  padding: 15px 20px 0;
  text-align: left;
}

.page-slot-games__promo-card .page-slot-games__card-text {
  padding: 0 20px 20px;
  text-align: left;
  flex-grow: 1;
}

.page-slot-games__promo-card .page-slot-games__btn-secondary {
  margin: 0 20px 20px;
}

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

.page-slot-games__app-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}

.page-slot-games__app-text {
  flex: 1;
  min-width: 300px;
}

.page-slot-games__app-image-wrapper {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.page-slot-games__app-image {
  width: 100%;
  height: auto;
  max-width: 500px;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
  display: block;
  margin: 0 auto;
}

.page-slot-games__app-features {
  list-style: none;
  padding: 0;
  margin: 30px 0;
  text-align: left;
}

.page-slot-games__app-features li {
  position: relative;
  margin-bottom: 10px;
  padding-left: 30px;
  color: var(--k9cc-text-main);
  font-size: 1.1em;
}

.page-slot-games__app-features li::before {
  content: '✔';
  position: absolute;
  left: 0;
  color: var(--k9cc-glow);
  font-weight: bold;
}

/* FAQ Section */
.page-slot-games__faq-section {
  padding: 60px 0;
  background-color: var(--k9cc-card-bg);
}

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

.page-slot-games__faq-item {
  background-color: var(--k9cc-bg-dark);
  border: 1px solid var(--k9cc-border);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: var(--k9cc-text-main);
}

.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  color: var(--k9cc-text-main);
  background-color: var(--k9cc-deep-green);
  border-bottom: 1px solid var(--k9cc-divider);
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

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

.page-slot-games__faq-question:hover {
  background-color: #135c38; /* Slightly lighter deep green on hover */
}

.page-slot-games__faq-qtext {
  flex-grow: 1;
}

.page-slot-games__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  transition: transform 0.3s ease;
}

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

.page-slot-games__faq-answer {
  padding: 15px 25px 20px;
  font-size: 1.1em;
  color: var(--k9cc-text-secondary);
}

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

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

@media (max-width: 768px) {
  .page-slot-games__hero-section {
    padding-bottom: 40px;
  }

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

  .page-slot-games__main-title {
    font-size: 2.2em;
  }

  .page-slot-games__description {
    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% !important;
    max-width: 100% !important;
    padding-left: 15px;
    padding-right: 15px;
  }

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

  .page-slot-games__text-block {
    font-size: 0.95em;
  }

  .page-slot-games__app-content {
    flex-direction: column;
  }

  .page-slot-games__app-text, .page-slot-games__app-image-wrapper {
    min-width: unset;
    width: 100%;
  }

  .page-slot-games__container,
  .page-slot-games__intro-section,
  .page-slot-games__features-section,
  .page-slot-games__how-to-play,
  .page-slot-games__promotions-section,
  .page-slot-games__app-section,
  .page-slot-games__faq-section {
    padding-left: 15px !important;
    padding-right: 15px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

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

  .page-slot-games__feature-image,
  .page-slot-games__promo-image,
  .page-slot-games__app-image {
    height: auto !important;
  }

  .page-slot-games__promo-image {
    max-height: 180px;
  }

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

  .page-slot-games__faq-question {
    padding: 15px 20px;
    font-size: 1.1em;
  }

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