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

.page-slot-games {
  font-family: 'Arial', sans-serif;
  color: var(--k9cc-text-main); /* Dark body background, so light text */
  background-color: var(--k9cc-background);
  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: clamp(2em, 4vw, 3em);
  font-weight: 700;
  color: var(--k9cc-gold);
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-slot-games__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--k9cc-gold);
  border-radius: 2px;
}

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

.page-slot-games__sub-title {
  font-size: clamp(1.5em, 3vw, 2em);
  font-weight: 600;
  color: var(--k9cc-green-secondary);
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-slot-games__text-block {
  margin-bottom: 20px;
}

.page-slot-games__text-block p {
  color: var(--k9cc-text-main);
}

/* Buttons */
.page-slot-games__btn-primary,
.page-slot-games__btn-secondary,
.page-slot-games__btn-play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 25px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1.1em;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  box-sizing: border-box;
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
}

.page-slot-games__btn-primary {
  background: var(--k9cc-button-gradient);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(34, 199, 104, 0.4);
}

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

.page-slot-games__btn-secondary {
  background: transparent;
  color: var(--k9cc-green-secondary);
  border: 2px solid var(--k9cc-green-secondary);
  box-shadow: 0 2px 10px rgba(34, 199, 104, 0.2);
}

.page-slot-games__btn-secondary:hover {
  background: var(--k9cc-green-secondary);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(34, 199, 104, 0.4);
  transform: translateY(-2px);
}

.page-slot-games__btn-play {
  background: var(--k9cc-gold);
  color: var(--k9cc-deep-green);
  font-size: 1em;
  padding: 8px 18px;
  border-radius: 5px;
}

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

/* 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: 10px 0 60px 0; /* Small top padding, larger bottom */
}

.page-slot-games__hero-image-wrapper {
  width: 100%;
  max-height: 700px; /* Limit height of image wrapper */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 40px;
}

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

.page-slot-games__hero-content {
  position: relative;
  z-index: 10;
  max-width: 900px;
  padding: 0 20px;
}

.page-slot-games__main-title {
  font-size: clamp(2.5em, 5vw, 4.5em);
  font-weight: 800;
  color: var(--k9cc-gold);
  line-height: 1.2;
  margin-bottom: 20px;
  text-shadow: 0 0 15px rgba(242, 193, 78, 0.5);
}

.page-slot-games__hero-description {
  font-size: clamp(1.1em, 2vw, 1.4em);
  color: var(--k9cc-text-secondary);
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

/* Intro Section */
.page-slot-games__intro-section {
  padding: 80px 0;
  background-color: var(--k9cc-deep-green);
}

.page-slot-games__intro-section .page-slot-games__container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-slot-games__intro-section .page-slot-games__content-image {
  margin-top: 60px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  max-width: 100%;
  height: auto;
}

/* Games Showcase Section */
.page-slot-games__games-showcase {
  padding: 80px 0;
  background-color: var(--k9cc-background);
}

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

.page-slot-games__game-types .page-slot-games__text-block {
  background-color: var(--k9cc-card-bg);
  padding: 30px;
  border-radius: 10px;
  border: 1px solid var(--k9cc-border);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.page-slot-games__game-types .page-slot-games__sub-title {
  color: var(--k9cc-gold);
  margin-top: 0;
}

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

.page-slot-games__game-card {
  background-color: var(--k9cc-card-bg);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--k9cc-border);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 20px;
}

.page-slot-games__game-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  margin-bottom: 20px;
}

.page-slot-games__game-card-title {
  font-size: 1.4em;
  font-weight: 700;
  color: var(--k9cc-green-secondary);
  margin-bottom: 10px;
  padding: 0 15px;
  text-align: center;
}

.page-slot-games__game-card-title a {
  color: var(--k9cc-green-secondary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-slot-games__game-card-title a:hover {
  color: var(--k9cc-gold);
}

.page-slot-games__game-card-description {
  font-size: 0.95em;
  color: var(--k9cc-text-secondary);
  text-align: center;
  margin-bottom: 20px;
  flex-grow: 1;
  padding: 0 15px;
}

/* How-To-Play Section */
.page-slot-games__how-to-play-section {
  padding: 80px 0;
  background-color: var(--k9cc-deep-green);
}

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

.page-slot-games__step-item {
  background-color: var(--k9cc-card-bg);
  padding: 30px;
  border-radius: 10px;
  border: 1px solid var(--k9cc-border);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.page-slot-games__step-item .page-slot-games__sub-title {
  color: var(--k9cc-gold);
  margin-top: 0;
}

.page-slot-games__step-item .page-slot-games__btn-primary {
  margin-top: auto; /* Push button to bottom */
  align-self: center;
}

.page-slot-games__how-to-play-section .page-slot-games__content-image {
  margin-top: 20px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  max-width: 100%;
  height: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* Promotions Section */
.page-slot-games__promotions-section {
  padding: 80px 0;
  background-color: var(--k9cc-background);
  text-align: center;
}

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

.page-slot-games__promo-item {
  background-color: var(--k9cc-card-bg);
  padding: 30px;
  border-radius: 10px;
  border: 1px solid var(--k9cc-border);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  text-align: left;
}

.page-slot-games__promo-item .page-slot-games__sub-title {
  color: var(--k9cc-gold);
  margin-top: 0;
}

.page-slot-games__promotions-section .page-slot-games__btn-secondary {
  margin-top: 30px;
}

.page-slot-games__promotions-section .page-slot-games__content-image {
  margin-top: 60px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  max-width: 100%;
  height: auto;
}

/* Safety & Security Section */
.page-slot-games__safety-security-section {
  padding: 80px 0;
  background-color: var(--k9cc-deep-green);
}

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

.page-slot-games__security-info .page-slot-games__text-block {
  background-color: var(--k9cc-card-bg);
  padding: 30px;
  border-radius: 10px;
  border: 1px solid var(--k9cc-border);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.page-slot-games__safety-security-section .page-slot-games__content-image {
  margin-top: 20px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  max-width: 100%;
  height: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

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

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

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

.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: 600;
  color: var(--k9cc-green-secondary);
  background-color: rgba(17, 168, 78, 0.1);
  list-style: none;
}

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

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

.page-slot-games__faq-toggle {
  font-size: 1.5em;
  font-weight: 700;
  color: var(--k9cc-gold);
  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: 0 25px 20px 25px;
  font-size: 1em;
  color: var(--k9cc-text-main);
  line-height: 1.6;
}

/* Conclusion Section */
.page-slot-games__conclusion-section {
  padding: 80px 0;
  background-color: var(--k9cc-deep-green);
  text-align: center;
}

.page-slot-games__conclusion-section .page-slot-games__btn-primary {
  margin-top: 40px;
}

/* Copyright */
.page-slot-games__copyright {
  background-color: var(--k9cc-background);
  padding: 20px;
  text-align: center;
  font-size: 0.9em;
  color: var(--k9cc-text-secondary);
  border-top: 1px solid var(--k9cc-divider);
}

/* Responsive Design */
/* All images responsive by default */
.page-slot-games img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* All image containers responsive by default */
.page-slot-games__hero-image-wrapper,
.page-slot-games__intro-section .page-slot-games__content-image,
.page-slot-games__game-card-image,
.page-slot-games__how-to-play-section .page-slot-games__content-image,
.page-slot-games__promotions-section .page-slot-games__content-image,
.page-slot-games__safety-security-section .page-slot-games__content-image {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

/* All buttons responsive by default */
.page-slot-games__cta-button,
.page-slot-games__btn-primary,
.page-slot-games__btn-secondary,
.page-slot-games a[class*="button"],
.page-slot-games a[class*="btn"] {
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

/* Button containers responsive by default */
.page-slot-games__cta-buttons,
.page-slot-games__button-group,
.page-slot-games__btn-container {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

@media (max-width: 768px) {
  .page-slot-games {
    font-size: 15px;
    line-height: 1.5;
  }

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

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

  .page-slot-games__hero-description {
    font-size: clamp(1em, 3.5vw, 1.2em);
  }

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

  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary,
  .page-slot-games a[class*="button"],
  .page-slot-games a[class*="btn"] {
    width: 100% !important;
    padding: 15px 20px !important;
    font-size: 1em !important;
  }

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

  .page-slot-games__hero-image-wrapper {
    margin-bottom: 20px;
  }

  .page-slot-games__hero-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-slot-games__intro-section,
  .page-slot-games__games-showcase,
  .page-slot-games__how-to-play-section,
  .page-slot-games__promotions-section,
  .page-slot-games__safety-security-section,
  .page-slot-games__faq-section,
  .page-slot-games__conclusion-section {
    padding: 50px 0;
  }

  .page-slot-games__section-title {
    font-size: clamp(1.8em, 6vw, 2.5em);
    margin-bottom: 30px;
  }

  .page-slot-games__section-description {
    margin-bottom: 40px;
  }

  .page-slot-games__sub-title {
    font-size: clamp(1.3em, 4.5vw, 1.8em);
  }

  .page-slot-games__game-card-image,
  .page-slot-games__intro-section .page-slot-games__content-image,
  .page-slot-games__how-to-play-section .page-slot-games__content-image,
  .page-slot-games__promotions-section .page-slot-games__content-image,
  .page-slot-games__safety-security-section .page-slot-games__content-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-slot-games__game-card,
  .page-slot-games__game-types .page-slot-games__text-block,
  .page-slot-games__step-item,
  .page-slot-games__promo-item,
  .page-slot-games__security-info .page-slot-games__text-block {
    padding: 25px;
  }

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

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