/* style/slot-games.css */
.page-slot-games {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light backgrounds */
  background-color: #FFFFFF; /* Default body background */
}

.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: #017439;
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-slot-games__section-description {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  color: #555555;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-slot-games__btn-primary {
  background-color: #017439;
  color: #FFFFFF;
  border: 2px solid #017439;
}

.page-slot-games__btn-primary:hover {
  background-color: #005f2c;
  border-color: #005f2c;
}

.page-slot-games__btn-secondary {
  background-color: #FFFFFF;
  color: #017439;
  border: 2px solid #017439;
}

.page-slot-games__btn-secondary:hover {
  background-color: #f0f0f0;
  color: #005f2c;
  border-color: #005f2c;
}

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

.page-slot-games__cta-buttons--center {
  justify-content: center;
}

/* Hero Section */
.page-slot-games__hero-section {
  position: relative;
  width: 100%;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Desktop header offset */
}

.page-slot-games__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.page-slot-games__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: -1;
}

.page-slot-games__hero-content {
  position: relative;
  z-index: 1;
  color: #FFFFFF;
  max-width: 900px;
  padding: 20px;
}

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

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

/* Intro Section */
.page-slot-games__intro-section,
.page-slot-games__how-to-play-section,
.page-slot-games__mobile-experience-section,
.page-slot-games__faq-section {
  padding: 80px 0;
  background-color: #FFFFFF;
  color: #333333;
}

.page-slot-games__popular-games-section,
.page-slot-games__promotions-section,
.page-slot-games__security-section,
.page-slot-games__cta-final-section {
  padding: 80px 0;
  background-color: #017439;
  color: #FFFFFF;
}

.page-slot-games__dark-bg .page-slot-games__section-title {
  color: #FFFFFF;
}

.page-slot-games__dark-bg .page-slot-games__section-description {
  color: #f0f0f0;
}

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

.page-slot-games__feature-card,
.page-slot-games__game-card,
.page-slot-games__promo-card,
.page-slot-games__security-item {
  background-color: #FFFFFF;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  color: #333333;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-slot-games__feature-image,
.page-slot-games__game-image,
.page-slot-games__promo-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block; /* Ensure it behaves as a block element */
}

.page-slot-games__feature-title,
.page-slot-games__game-title,
.page-slot-games__promo-title,
.page-slot-games__security-title {
  font-size: 1.6em;
  margin-bottom: 15px;
  color: #017439;
  font-weight: bold;
}

.page-slot-games__game-title a,
.page-slot-games__promo-title a {
  color: #017439;
  text-decoration: none;
}

.page-slot-games__game-title a:hover,
.page-slot-games__promo-title a:hover {
  text-decoration: underline;
}

.page-slot-games__feature-text,
.page-slot-games__game-text,
.page-slot-games__promo-text,
.page-slot-games__security-text {
  font-size: 1em;
  color: #555555;
  flex-grow: 1;
}

.page-slot-games__game-provider {
  font-size: 0.9em;
  color: #777777;
  margin-bottom: 10px;
}

/* How to Play Section */
.page-slot-games__steps-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 800px;
}

.page-slot-games__step-item {
  background-color: #f9f9f9;
  border-left: 5px solid #017439;
  padding: 25px;
  margin-bottom: 20px;
  border-radius: 8px;
}

.page-slot-games__step-title {
  font-size: 1.4em;
  color: #017439;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-slot-games__step-text {
  font-size: 1em;
  color: #555555;
}

.page-slot-games__step-text a {
  color: #017439;
  text-decoration: none;
  font-weight: bold;
}

.page-slot-games__step-text a:hover {
  text-decoration: underline;
}

/* Mobile Experience Section */
.page-slot-games__mobile-layout {
  display: flex;
  align-items: center;
  gap: 50px;
  flex-wrap: wrap;
}

.page-slot-games__mobile-content {
  flex: 1;
  min-width: 300px;
}

.page-slot-games__mobile-image-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 300px;
}

.page-slot-games__mobile-image {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  display: block;
}

.page-slot-games__mobile-benefits-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-slot-games__mobile-benefits-list li {
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23017439"><path d="M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"/></svg>') no-repeat left center;
  background-size: 24px;
  padding-left: 35px;
  margin-bottom: 15px;
  font-size: 1.1em;
  color: #555555;
}

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

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

.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background-color: #f9f9f9;
  cursor: pointer;
  font-weight: bold;
  color: #017439;
  font-size: 1.1em;
  list-style: none; /* For details tag */
}

.page-slot-games__faq-question::-webkit-details-marker {
  display: none; /* For details tag */
}

.page-slot-games__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  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;
  background-color: #ffffff;
  color: #555555;
  font-size: 1em;
}

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

.page-slot-games__faq-answer a {
  color: #017439;
  text-decoration: none;
  font-weight: bold;
}

.page-slot-games__faq-answer a:hover {
  text-decoration: underline;
}

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

.page-slot-games__cta-final-content {
  max-width: 800px;
}

.page-slot-games__cta-final-content .page-slot-games__section-title {
  color: #FFFFFF;
}

.page-slot-games__cta-final-content .page-slot-games__section-description {
  color: #f0f0f0;
  margin-bottom: 60px;
}

.page-slot-games__cta-final-content .page-slot-games__section-description a {
  color: #FFFF00; /* Register/Login font color */
  text-decoration: none;
  font-weight: bold;
}

.page-slot-games__cta-final-content .page-slot-games__section-description a:hover {
  text-decoration: underline;
}

/* Color Contrast Specifics */
.page-slot-games__dark-bg {
  background-color: #017439;
  color: #ffffff;
}

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

.page-slot-games__dark-bg .page-slot-games__feature-card,
.page-slot-games__dark-bg .page-slot-games__game-card,
.page-slot-games__dark-bg .page-slot-games__promo-card,
.page-slot-games__dark-bg .page-slot-games__security-item {
  background-color: #ffffff;
  color: #333333;
}

.page-slot-games__dark-bg .page-slot-games__feature-card .page-slot-games__feature-title,
.page-slot-games__dark-bg .page-slot-games__game-card .page-slot-games__game-title,
.page-slot-games__dark-bg .page-slot-games__promo-card .page-slot-games__promo-title,
.page-slot-games__dark-bg .page-slot-games__security-item .page-slot-games__security-title {
  color: #017439;
}

.page-slot-games__dark-bg .page-slot-games__feature-card .page-slot-games__feature-text,
.page-slot-games__dark-bg .page-slot-games__game-card .page-slot-games__game-text,
.page-slot-games__dark-bg .page-slot-games__promo-card .page-slot-games__promo-text,
.page-slot-games__dark-bg .page-slot-games__security-item .page-slot-games__security-text,
.page-slot-games__dark-bg .page-slot-games__game-card .page-slot-games__game-provider {
  color: #555555;
}

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

@media (max-width: 768px) {
  .page-slot-games__hero-section {
    min-height: 500px;
    padding-top: var(--header-offset, 120px) !important; /* Mobile header offset */
  }
  .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;
  }
  .page-slot-games__section-description {
    font-size: 0.95em;
  }
  .page-slot-games__features-grid,
  .page-slot-games__game-grid,
  .page-slot-games__promo-grid,
  .page-slot-games__security-grid {
    grid-template-columns: 1fr;
  }
  .page-slot-games__mobile-layout {
    flex-direction: column;
  }
  .page-slot-games__mobile-content,
  .page-slot-games__mobile-image-wrapper {
    min-width: unset;
    width: 100%;
  }

  /* Mobile image responsiveness */
  .page-slot-games img {
    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__feature-card,
  .page-slot-games__game-card,
  .page-slot-games__promo-card,
  .page-slot-games__security-item,
  .page-slot-games__mobile-image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Mobile button responsiveness */
  .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% !important;
    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__cta-buttons,
  .page-slot-games__button-group,
  .page-slot-games__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .page-slot-games__hero-title {
    font-size: 1.8em;
  }
  .page-slot-games__hero-description {
    font-size: 0.9em;
  }
  .page-slot-games__section-title {
    font-size: 1.5em;
  }
  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary {
    padding: 12px 20px;
  }
  .page-slot-games__hero-cta-buttons {
    flex-direction: column;
  }
}