.page-slot-games {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #0a0a0a; /* Ensure consistency with body background */
}

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

.page-slot-games__dark-bg {
  background-color: #017439; /* Brand primary color */
  color: #ffffff;
}

.page-slot-games__light-bg {
  background-color: #ffffff;
  color: #333333;
}

/* Hero Section */
.page-slot-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: var(--header-offset, 120px); /* Account for fixed header */
  padding-bottom: 60px;
  overflow: hidden;
  color: #ffffff;
  background-color: #017439; /* Ensure good contrast */
}

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

.page-slot-games__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
  color: #FFFF00; /* Register/Login font color for highlight */
}

.page-slot-games__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.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;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  text-align: center;
}

.page-slot-games__btn-primary {
  background-color: #C30808; /* Register color */
  color: #FFFF00; /* Register/Login font color */
  border: 2px solid #C30808;
}

.page-slot-games__btn-primary:hover {
  background-color: #e00a0a;
  transform: translateY(-2px);
}

.page-slot-games__btn-secondary {
  background-color: transparent;
  color: #FFFF00; /* Login font color */
  border: 2px solid #FFFF00;
}

.page-slot-games__btn-secondary:hover {
  background-color: #FFFF00;
  color: #C30808;
  transform: translateY(-2px);
}

.page-slot-games__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.page-slot-games__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
  filter: brightness(0.8); /* Allow brightness for background visual effect, not color change */
}

/* General Section Styling */
.page-slot-games__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  color: inherit; /* Inherit from section background */
}

.page-slot-games__section-intro {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px auto;
  color: inherit;
}

/* About Section */
.page-slot-games__about-section {
  padding: 80px 0;
}

.page-slot-games__content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.page-slot-games__text-block p {
  margin-bottom: 15px;
  font-size: 1.1em;
  color: #333333;
}

.page-slot-games__image-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-slot-games__image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Features Section */
.page-slot-games__features-section {
  padding: 80px 0;
  text-align: center;
}

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

.page-slot-games__feature-card {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #ffffff;
}

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

.page-slot-games__feature-icon {
  width: 200px;
  height: 200px;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 5px;
}

.page-slot-games__feature-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  font-weight: bold;
  color: #FFFF00;
}

.page-slot-games__feature-card p {
  font-size: 1em;
  color: #f0f0f0;
}

/* Guide Section */
.page-slot-games__guide-section {
  padding: 80px 0;
}

.page-slot-games__guide-list {
  list-style: none;
  counter-reset: guide-counter;
  padding: 0;
}

.page-slot-games__guide-list li {
  counter-increment: guide-counter;
  margin-bottom: 30px;
  padding-left: 60px;
  position: relative;
}

.page-slot-games__guide-list li::before {
  content: counter(guide-counter);
  position: absolute;
  left: 0;
  top: 0;
  background-color: #017439;
  color: #ffffff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5em;
  font-weight: bold;
}

.page-slot-games__guide-title {
  font-size: 1.8em;
  margin-bottom: 10px;
  color: #017439;
}

.page-slot-games__guide-list p {
  font-size: 1.05em;
  color: #333333;
}

.page-slot-games__guide-list a {
  color: #017439;
  text-decoration: underline;
}

.page-slot-games__guide-list a:hover {
  color: #005f2e;
}

/* Strategy Section */
.page-slot-games__strategy-section {
  padding: 80px 0;
  text-align: center;
}

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

.page-slot-games__strategy-item {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  text-align: left;
  color: #ffffff;
}

.page-slot-games__strategy-item-title {
  font-size: 1.5em;
  margin-bottom: 10px;
  color: #FFFF00;
}

.page-slot-games__strategy-item p {
  font-size: 1em;
  color: #f0f0f0;
}

/* Promotions Section */
.page-slot-games__promotions-section {
  padding: 80px 0;
  text-align: center;
}

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

.page-slot-games__promo-card {
  background-color: #f8f8f8;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  overflow: hidden;
  text-align: left;
  transition: transform 0.3s ease;
  color: #333333;
}

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

.page-slot-games__promo-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.page-slot-games__promo-card h3 {
  font-size: 1.5em;
  padding: 15px 20px 0;
  color: #017439;
}

.page-slot-games__promo-card p {
  padding: 0 20px 15px;
  font-size: 1em;
  color: #555555;
}

.page-slot-games__promo-card .page-slot-games__btn-primary {
  display: block;
  width: calc(100% - 40px);
  margin: 0 20px 20px;
  background-color: #017439;
  color: #ffffff;
  border: none;
  padding: 12px 20px;
}

.page-slot-games__promo-card .page-slot-games__btn-primary:hover {
  background-color: #005f2e;
}

/* Why Choose Us Section */
.page-slot-games__why-choose-us {
  padding: 80px 0;
  text-align: center;
}

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

.page-slot-games__why-list li {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 25px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  text-align: left;
  color: #ffffff;
}

.page-slot-games__why-list li p {
  margin: 0;
  font-size: 1.1em;
  color: #f0f0f0;
}

.page-slot-games__why-list li strong {
  color: #FFFF00;
}

.page-slot-games__icon {
  display: inline-block;
  width: 40px;
  height: 40px;
  margin-right: 15px;
  background-color: #FFFF00;
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}

.page-slot-games__icon--security {
  -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="black"><path d="M12 1L3 5v6c0 5.55 3.84 10.74 9 12 5.16-1.26 9-6.45 9-12V5l-9-4zm0 2.22L19.39 6.5 12 9.87 4.61 6.5 12 3.22zm0 15.53v-6.75l7.39-3.37L12 18.75z"/></svg>');
  mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="black"><path d="M12 1L3 5v6c0 5.55 3.84 10.74 9 12 5.16-1.26 9-6.45 9-12V5l-9-4zm0 2.22L19.39 6.5 12 9.87 4.61 6.5 12 3.22zm0 15.53v-6.75l7.39-3.37L12 18.75z"/></svg>');
}
.page-slot-games__icon--support {
  -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="black"><path d="M20 2H4c-1.1 0-2 .9-2 2v18l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm0 14H6l-2 2V4h16v12zM11 5h2v6h-2V5zm0 8h2v2h-2v-2z"/></svg>');
  mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="black"><path d="M20 2H4c-1.1 0-2 .9-2 2v18l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm0 14H6l-2 2V4h16v12zM11 5h2v6h-2V5zm0 8h2v2h-2v-2z"/></svg>');
}
.page-slot-games__icon--fast-payout {
  -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="black"><path d="M21 18c.55 0 1-.45 1-1v-2c0-.55-.45-1-1-1s-1 .45-1 1v2c0 .55.45 1 1 1zm-1-9c.55 0 1-.45 1-1V6c0-.55-.45-1-1-1s-1 .45-1 1v2c0 .55.45 1 1 1zm-1-4c.55 0 1-.45 1-1V2c0-.55-.45-1-1-1s-1 .45-1 1v2c0 .55.45 1 1 1zm-1-1c0-1.1-.9-2-2-2H4c-1.1 0-2 .9-2 2v16c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V8c0-.55-.22-1.05-.59-1.41-.37-.38-.88-.59-1.41-.59zm-1 14H4V4h14v14zM8 7h8v2H8V7zm0 4h8v2H8v-2zm0 4h8v2H8v-2z"/></svg>');
  mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="black"><path d="M21 18c.55 0 1-.45 1-1v-2c0-.55-.45-1-1-1s-1 .45-1 1v2c0 .55.45 1 1 1zm-1-9c.55 0 1-.45 1-1V6c0-.55-.45-1-1-1s-1 .45-1 1v2c0 .55.45 1 1 1zm-1-4c.55 0 1-.45 1-1V2c0-.55-.45-1-1-1s-1 .45-1 1v2c0 .55.45 1 1 1zm-1-1c0-1.1-.9-2-2-2H4c-1.1 0-2 .9-2 2v16c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V8c0-.55-.22-1.05-.59-1.41-.37-.38-.88-.59-1.41-.59zm-1 14H4V4h14v14zM8 7h8v2H8V7zm0 4h8v2H8v-2zm0 4h8v2H8v-2z"/></svg>');
}
.page-slot-games__icon--licensed {
  -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="black"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"/></svg>');
  mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="black"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"/></svg>');
}
.page-slot-games__icon--innovation {
  -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="black"><path d="M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z"/></svg>');
  mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="black"><path d="M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z"/></svg>');
}

.page-slot-games__final-cta {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 40px;
  border-radius: 10px;
  max-width: 800px;
  margin: 50px auto 0 auto;
  color: #ffffff;
}

.page-slot-games__final-cta p {
  font-size: 1.2em;
  margin-bottom: 20px;
  color: #f0f0f0;
}

.page-slot-games__final-cta .page-slot-games__btn-primary {
  width: auto;
  min-width: 250px;
}

/* FAQ Section */
.page-slot-games__faq-section {
  padding: 80px 0;
}

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

.page-slot-games__faq-item {
  background-color: #f8f8f8;
  border: 1px solid #e0e0e0;
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  color: #333333;
}

.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  background-color: #ffffff;
  transition: background-color 0.3s ease;
  color: #017439;
}

.page-slot-games__faq-question:hover {
  background-color: #f0f0f0;
}

.page-slot-games__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #017439;
}

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

.page-slot-games__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #555555;
}

.page-slot-games__faq-item.active .page-slot-games__faq-answer {
  max-height: 1000px !important; /* Sufficient height for content */
  padding: 15px 20px;
}

.page-slot-games__faq-answer p {
  margin: 0;
  font-size: 1em;
  color: #555555;
}

.page-slot-games__faq-answer a {
  color: #017439;
  text-decoration: underline;
}

.page-slot-games__faq-answer a:hover {
  color: #005f2e;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-slot-games__hero-title {
    font-size: 2.8em;
  }

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

  .page-slot-games__content-grid {
    grid-template-columns: 1fr;
  }

  .page-slot-games__text-block, .page-slot-games__image-container {
    padding: 0 15px;
  }

  .page-slot-games__feature-card,
  .page-slot-games__promo-card,
  .page-slot-games__why-list li,
  .page-slot-games__strategy-item {
    padding: 25px;
  }
}

@media (max-width: 768px) {
  .page-slot-games {
    font-size: 16px;
    line-height: 1.6;
  }
  
  .page-slot-games__hero-section {
    padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
    padding-bottom: 40px;
  }

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

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

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

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

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

  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

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

  .page-slot-games__about-section,
  .page-slot-games__features-section,
  .page-slot-games__guide-section,
  .page-slot-games__strategy-section,
  .page-slot-games__promotions-section,
  .page-slot-games__why-choose-us,
  .page-slot-games__faq-section {
    padding: 40px 0;
  }

  .page-slot-games__image,
  .page-slot-games__feature-icon,
  .page-slot-games__promo-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-slot-games__image-container,
  .page-slot-games__feature-card,
  .page-slot-games__promo-card,
  .page-slot-games__why-list li,
  .page-slot-games__strategy-item,
  .page-slot-games__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-slot-games__guide-list li {
    padding-left: 50px;
  }

  .page-slot-games__guide-list li::before {
    width: 35px;
    height: 35px;
    font-size: 1.2em;
  }

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

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

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

  .page-slot-games__faq-item.active .page-slot-games__faq-answer {
    padding: 12px 15px;
  }

  .page-slot-games__final-cta {
    padding: 30px 15px;
  }

  .page-slot-games__final-cta p {
    font-size: 1.1em;
  }
}

/* Ensure content area images are not too small by CSS */
.page-slot-games__about-section img, 
.page-slot-games__features-section img, 
.page-slot-games__promotions-section img {
  min-width: 200px;
  min-height: 200px;
}