/* style/slot-games.css */
:root {
  --page-slot-games-primary-color: #11A84E;
  --page-slot-games-secondary-color: #22C768;
  --page-slot-games-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --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-color: #2E7A4E;
  --page-slot-games-glow-color: #57E38D;
  --page-slot-games-gold-color: #F2C14E;
  --page-slot-games-divider-color: #1E3A2A;
  --page-slot-games-deep-green: #0A4B2C;
}

.page-slot-games {
  background-color: var(--page-slot-games-background);
  color: var(--page-slot-games-text-main);
  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;
}

/* Hero Section */
.page-slot-games__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  text-align: center;
  overflow: hidden;
}

.page-slot-games__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  margin-bottom: 30px;
}

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

.page-slot-games__hero-content {
  max-width: 900px;
  margin: 0 auto;
  z-index: 1;
}

.page-slot-games__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  color: var(--page-slot-games-gold-color);
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: bold;
}

.page-slot-games__hero-description {
  font-size: 1.2rem;
  color: var(--page-slot-games-text-secondary);
  margin-bottom: 30px;
}

.page-slot-games__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

/* General Section Styling */
.page-slot-games__introduction-section,
.page-slot-games__games-showcase,
.page-slot-games__providers-section,
.page-slot-games__guide-section,
.page-slot-games__strategy-section,
.page-slot-games__promotions-section,
.page-slot-games__safety-support-section,
.page-slot-games__cta-final-section {
  padding: 80px 0;
}

.page-slot-games__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--page-slot-games-gold-color);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-slot-games__text-block {
  font-size: 1.1rem;
  color: var(--page-slot-games-text-main);
  margin-bottom: 20px;
  text-align: justify;
}

.page-slot-games__text-block--center {
  text-align: center;
}

/* Dark background sections */
.page-slot-games__dark-section {
  background-color: var(--page-slot-games-card-bg);
  color: var(--page-slot-games-text-main);
}

/* Game Categories */
.page-slot-games__game-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-slot-games__game-card {
  background-color: var(--page-slot-games-card-bg);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
  padding: 25px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-slot-games__game-card-image {
  width: 100%;
  height: 250px; /* Ensure minimum height */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-slot-games__game-card-title {
  font-size: 1.5rem;
  color: var(--page-slot-games-text-main);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-slot-games__game-card-description {
  font-size: 1rem;
  color: var(--page-slot-games-text-secondary);
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Providers Section */
.page-slot-games__providers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 30px;
  margin-top: 40px;
  justify-items: center;
}

.page-slot-games__provider-item {
  text-align: center;
  background-color: var(--page-slot-games-deep-green);
  padding: 20px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 150px;
}

.page-slot-games__provider-logo {
  max-width: 100%;
  height: auto;
  max-height: 100px;
  object-fit: contain;
  margin-bottom: 10px;
}

.page-slot-games__provider-name {
  color: var(--page-slot-games-text-main);
  font-weight: bold;
  font-size: 1.1rem;
}

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

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

.page-slot-games__step-title {
  font-size: 1.4rem;
  color: var(--page-slot-games-text-main);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-slot-games__step-description {
  font-size: 1rem;
  color: var(--page-slot-games-text-secondary);
  flex-grow: 1;
  margin-bottom: 20px;
}

/* Strategy Section */
.page-slot-games__strategy-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-slot-games__strategy-list li {
  background-color: var(--page-slot-games-deep-green);
  border-left: 5px solid var(--page-slot-games-primary-color);
  margin-bottom: 20px;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.page-slot-games__strategy-list-title {
  font-size: 1.3rem;
  color: var(--page-slot-games-text-main);
  margin-bottom: 10px;
  font-weight: bold;
}

.page-slot-games__strategy-list li p {
  font-size: 1rem;
  color: var(--page-slot-games-text-secondary);
  margin-bottom: 0;
}

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

.page-slot-games__promo-card {
  background-color: var(--page-slot-games-deep-green);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
  padding: 25px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-slot-games__promo-card-image {
  width: 100%;
  height: 220px; /* Ensure minimum height */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-slot-games__promo-card-title {
  font-size: 1.5rem;
  color: var(--page-slot-games-text-main);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-slot-games__promo-card-description {
  font-size: 1rem;
  color: var(--page-slot-games-text-secondary);
  margin-bottom: 20px;
  flex-grow: 1;
}

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

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

.page-slot-games__feature-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-slot-games__feature-title {
  font-size: 1.4rem;
  color: var(--page-slot-games-text-main);
  margin-bottom: 10px;
  font-weight: bold;
}

.page-slot-games__feature-description {
  font-size: 1rem;
  color: var(--page-slot-games-text-secondary);
}

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

.page-slot-games__faq-list {
  margin-top: 40px;
}

.page-slot-games__faq-item {
  background-color: var(--page-slot-games-card-bg);
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

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

.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.5rem;
  line-height: 1;
  margin-left: 15px;
  color: var(--page-slot-games-primary-color);
}

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

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

/* Buttons */
.page-slot-games__btn-primary,
.page-slot-games__btn-secondary,
.page-slot-games__btn-tertiary,
.page-slot-games__btn-link {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  white-space: nowrap;
  cursor: pointer;
  border: none;
  text-align: center;
  box-sizing: border-box;
}

.page-slot-games__btn-primary {
  background: var(--page-slot-games-button-gradient);
  color: #ffffff;
  box-shadow: 0 5px 15px rgba(17, 168, 78, 0.4);
}

.page-slot-games__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(17, 168, 78, 0.6);
}

.page-slot-games__btn-primary--large {
  padding: 18px 40px;
  font-size: 1.2rem;
}

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

.page-slot-games__btn-secondary:hover {
  background-color: var(--page-slot-games-primary-color);
  color: #ffffff;
}

.page-slot-games__btn-tertiary {
  background-color: var(--page-slot-games-primary-color);
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 0.95rem;
}

.page-slot-games__btn-tertiary:hover {
  background-color: var(--page-slot-games-secondary-color);
}

.page-slot-games__btn-link {
  background-color: var(--page-slot-games-deep-green);
  color: var(--page-slot-games-primary-color);
  padding: 10px 15px;
  border-radius: 8px;
  font-size: 0.9rem;
  border: 1px solid var(--page-slot-games-primary-color);
  white-space: normal;
  word-wrap: break-word;
}

.page-slot-games__btn-link:hover {
  background-color: var(--page-slot-games-primary-color);
  color: #ffffff;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-slot-games__hero-content {
    padding: 0 15px;
  }
  .page-slot-games__games-showcase,
  .page-slot-games__providers-section,
  .page-slot-games__guide-section,
  .page-slot-games__promotions-section,
  .page-slot-games__safety-support-section {
    padding: 60px 0;
  }
  .page-slot-games__game-card-image,
  .page-slot-games__promo-card-image {
    height: 200px;
  }
}

@media (max-width: 768px) {
  .page-slot-games__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important;
  }

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

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

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

  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary,
  .page-slot-games__btn-tertiary,
  .page-slot-games__btn-link,
  .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 !important;
    padding-right: 15px !important;
  }

  .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;
  }

  .page-slot-games__game-categories,
  .page-slot-games__providers-grid,
  .page-slot-games__guide-steps,
  .page-slot-games__promo-cards,
  .page-slot-games__features-grid {
    grid-template-columns: 1fr;
  }

  .page-slot-games__text-block {
    font-size: 1rem;
  }

  .page-slot-games__section-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
  }

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

  /* Image responsiveness */
  .page-slot-games img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-slot-games__hero-image-wrapper,
  .page-slot-games__game-card,
  .page-slot-games__provider-item,
  .page-slot-games__step-item,
  .page-slot-games__promo-card,
  .page-slot-games__feature-item,
  .page-slot-games__container,
  .page-slot-games__hero-section,
  .page-slot-games__introduction-section,
  .page-slot-games__games-showcase,
  .page-slot-games__providers-section,
  .page-slot-games__guide-section,
  .page-slot-games__strategy-section,
  .page-slot-games__promotions-section,
  .page-slot-games__safety-support-section,
  .page-slot-games__faq-section,
  .page-slot-games__cta-final-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-slot-games__game-card-image,
  .page-slot-games__promo-card-image,
  .page-slot-games__feature-icon,
  .page-slot-games__provider-logo {
    min-width: 200px !important; /* Ensure content images are not too small */
    min-height: 200px !important;
  }

  /* Content section images should not be smaller than 200px */
  .page-slot-games__game-card-image,
  .page-slot-games__promo-card-image {
    height: auto !important; /* Let height adjust to maintain aspect ratio */
    width: 100% !important;
    min-height: 200px !important; /* Minimum height for visual importance */
  }

  .page-slot-games__feature-icon {
    width: 150px !important;
    height: 150px !important;
    min-width: 150px !important;
    min-height: 150px !important;
  }

  .page-slot-games__provider-logo {
    width: 150px !important;
    height: 90px !important;
    min-width: 150px !important;
    min-height: 90px !important;
  }
}

/* Ensure no filter is used on images */
.page-slot-games img {
  filter: none; /* Explicitly disable any filters */
}

/* Color Contrast Fixes - Ensure text is readable on dark backgrounds */
.page-slot-games__dark-bg {
  background-color: var(--page-slot-games-background);
  color: var(--page-slot-games-text-main);
}

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

.page-slot-games__game-card,
.page-slot-games__step-item,
.page-slot-games__promo-card,
.page-slot-games__feature-item {
  background-color: var(--page-slot-games-deep-green);
  color: var(--page-slot-games-text-main);
}

.page-slot-games__btn-primary {
  color: #ffffff;
}

.page-slot-games__btn-secondary {
  color: var(--page-slot-games-primary-color);
}
.page-slot-games__btn-secondary:hover {
  color: #ffffff;
}

.page-slot-games__btn-tertiary {
  color: #ffffff;
}

.page-slot-games__btn-link {
  color: var(--page-slot-games-primary-color);
}
.page-slot-games__btn-link:hover {
  color: #ffffff;
}