/* 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;
}

.page-slot-games__section-title {
  font-size: clamp(2em, 3.5vw, 3em);
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  color: var(--page-slot-games-text-main);
  line-height: 1.2;
}

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

.page-slot-games__text-main {
  color: var(--page-slot-games-text-main);
}

.page-slot-games__text-secondary {
  color: var(--page-slot-games-text-secondary);
}

.page-slot-games__text-glow {
  color: var(--page-slot-games-glow-color);
}

.page-slot-games__text-gold {
  color: var(--page-slot-games-gold-color);
}

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

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

.page-slot-games__card-bg {
  background-color: var(--page-slot-games-card-bg);
  border: 1px solid var(--page-slot-games-border-color);
}

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

.page-slot-games__btn-primary {
  background: var(--page-slot-games-button-gradient);
  color: var(--page-slot-games-text-main);
  border: none;
  box-shadow: 0 4px 15px rgba(17, 168, 78, 0.4);
}

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

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

.page-slot-games__btn-secondary:hover {
  background-color: var(--page-slot-games-primary-color);
  color: var(--page-slot-games-text-main);
  transform: translateY(-2px);
}

.page-slot-games__btn-large {
  padding: 15px 30px;
  font-size: 1.2em;
}

/* Hero Section */
.page-slot-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px 80px;
  min-height: 600px;
  overflow: hidden;
  padding-top: 10px; /* Small top padding */
}

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

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

.page-slot-games__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  text-align: center;
  background: rgba(8, 22, 15, 0.7); /* Semi-transparent background for text readability */
  padding: 30px;
  border-radius: 12px;
}

.page-slot-games__main-title {
  font-size: clamp(2.5em, 5vw, 4em);
  font-weight: 900;
  margin-bottom: 20px;
  color: var(--page-slot-games-text-main);
  line-height: 1.1;
}

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

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

/* Video Section */
.page-slot-games__video-section {
  padding: 80px 20px;
  text-align: center;
}

.page-slot-games__video-container {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  width: 100%; /* Ensure width is 100% for desktop */
  margin: 0 auto;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
  cursor: pointer;
}

.page-slot-games__video-link {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.page-slot-games__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

/* 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__content-grid--reverse {
  grid-template-columns: 1fr 1fr;
}

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

.page-slot-games__image-block img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  display: block;
  min-width: 200px;
  min-height: 200px;
}

/* Game Types Section */
.page-slot-games__game-types-section {
  padding: 80px 0;
}

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

.page-slot-games__card {
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-slot-games__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(17, 168, 78, 0.3);
}

.page-slot-games__card-title {
  font-size: 1.5em;
  margin-bottom: 10px;
  font-weight: 700;
}

.page-slot-games__card-description {
  font-size: 1em;
  line-height: 1.5;
}

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

.page-slot-games__feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-slot-games__list-item {
  font-size: 1.1em;
  margin-bottom: 15px;
  padding-left: 30px;
  position: relative;
}

.page-slot-games__list-item::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--page-slot-games-glow-color);
  font-weight: bold;
  font-size: 1.2em;
}

/* How to Play Section */
.page-slot-games__how-to-play-section {
  padding: 80px 0;
}

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

.page-slot-games__step-card {
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-slot-games__step-number {
  display: block;
  font-size: 3em;
  font-weight: bold;
  margin-bottom: 10px;
  line-height: 1;
}

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

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

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

.page-slot-games__promo-card {
  display: flex;
  flex-direction: column;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.page-slot-games__promo-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-slot-games__promo-content .page-slot-games__card-title {
  margin-top: 0;
  text-align: left;
}

.page-slot-games__promo-content .page-slot-games__card-description {
  text-align: left;
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-slot-games__promo-content .page-slot-games__btn-secondary {
  width: fit-content;
  align-self: flex-start;
}

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

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

.page-slot-games__provider-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  text-align: center;
}

.page-slot-games__provider-item {
  background-color: var(--page-slot-games-card-bg);
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-slot-games__provider-logo {
  width: 100%;
  max-width: 150px;
  height: auto;
  margin-bottom: 15px;
  filter: grayscale(100%); /* Example: Grayscale for logos */
  transition: filter 0.3s ease;
  min-width: 200px; /* Ensure minimum size */
  min-height: 200px;
  object-fit: contain; /* Ensure logo fits without cropping */
}

.page-slot-games__provider-logo:hover {
  filter: grayscale(0%);
}

.page-slot-games__provider-name {
  font-size: 1.2em;
  font-weight: 600;
}

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

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

.page-slot-games__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-slot-games__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: var(--page-slot-games-deep-green);
  font-weight: bold;
  list-style: none; /* Remove default marker */
}

.page-slot-games__faq-item summary::-webkit-details-marker {
  display: none; /* Remove default marker for Webkit */
}

.page-slot-games__faq-qtext {
  flex-grow: 1;
  font-size: 1.1em;
}

.page-slot-games__faq-toggle {
  font-size: 1.5em;
  margin-left: 20px;
  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: 20px 25px;
  background-color: var(--page-slot-games-card-bg);
  border-top: 1px solid var(--page-slot-games-divider-color);
}

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

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

.page-slot-games__cta-content {
  background-color: var(--page-slot-games-deep-green);
  padding: 50px;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-slot-games__hero-content {
    padding: 25px;
  }

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

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

  .page-slot-games__content-grid--reverse .page-slot-games__image-block {
    order: -1;
  }
}

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

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

  .page-slot-games__hero-section {
    min-height: 500px;
    padding: 40px 15px 60px;
  }

  .page-slot-games__hero-content {
    padding: 20px;
  }

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

  .page-slot-games__hero-description {
    font-size: 1em;
    margin-bottom: 20px;
  }

  .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"] {
    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;
  }

  .page-slot-games__section-title {
    font-size: clamp(1.8em, 5vw, 2.2em);
    margin-bottom: 15px;
  }

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

  .page-slot-games__video-section,
  .page-slot-games__about-section,
  .page-slot-games__game-types-section,
  .page-slot-games__features-section,
  .page-slot-games__how-to-play-section,
  .page-slot-games__promotions-section,
  .page-slot-games__tips-section,
  .page-slot-games__providers-section,
  .page-slot-games__faq-section,
  .page-slot-games__cta-final-section {
    padding: 40px 0;
  }

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

  .page-slot-games__video,
  .page-slot-games__video-container {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }

  .page-slot-games__image-block img,
  .page-slot-games__promo-image,
  .page-slot-games__provider-logo,
  .page-slot-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }

  .page-slot-games__grid-2-cols,
  .page-slot-games__grid-3-cols,
  .page-slot-games__steps-grid,
  .page-slot-games__provider-grid {
    grid-template-columns: 1fr;
  }

  .page-slot-games__promo-card {
    flex-direction: column;
  }

  .page-slot-games__promo-content .page-slot-games__btn-secondary {
    width: 100%;
    align-self: stretch;
  }

  .page-slot-games__faq-item summary {
    padding: 15px 20px;
  }

  .page-slot-games__faq-qtext {
    font-size: 1em;
  }

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

  .page-slot-games__cta-content {
    padding: 30px;
  }

  .page-slot-games__provider-logo {
    max-width: 100% !important;
    object-fit: contain;
  }
}

@media (max-width: 480px) {
  .page-slot-games__main-title {
    font-size: clamp(1.5em, 8vw, 2em);
  }

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

  .page-slot-games__btn-large {
    font-size: 1em;
    padding: 12px 20px;
  }
}

/* Ensure content area images are not smaller than 200px */
.page-slot-games__about-section .page-slot-games__image-block img,
.page-slot-games__features-section .page-slot-games__image-block img,
.page-slot-games__promo-card .page-slot-games__promo-image,
.page-slot-games__provider-item .page-slot-games__provider-logo {
  min-width: 200px;
  min-height: 200px;
}

/* No filter on images */
.page-slot-games img,
.page-slot-games__video {
  filter: none !important;
}