/* style/slot-games.css */
:root {
  --primary-color: #017439;
  --secondary-color: #FFFFFF;
  --accent-red: #C30808;
  --accent-yellow: #FFFF00;
  --text-dark: #333333;
  --text-light: #ffffff;
  --bg-light: #ffffff;
  --border-light: #e0e0e0;
}

/* Base styles for the page content */
.page-slot-games {
  color: var(--text-light); /* Default text color for dark body background */
  background-color: transparent; /* Body handles background, this is for main content */
  padding-top: 0; /* body already has padding-top from shared */
}

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

.page-slot-games__section {
  padding: 60px 0;
  text-align: center;
}

.page-slot-games__dark-section {
  background-color: var(--primary-color);
  color: var(--text-light);
}

.page-slot-games__light-bg {
  background-color: var(--bg-light);
  color: var(--text-dark);
}

.page-slot-games__section-title {
  font-size: 2.5em;
  font-weight: 700;
  margin-bottom: 30px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.page-slot-games__dark-section .page-slot-games__section-title {
  color: var(--text-light);
}

.page-slot-games__light-bg .page-slot-games__section-title {
  color: var(--primary-color);
}

.page-slot-games p {
  font-size: 1.1em;
  line-height: 1.7;
  margin-bottom: 20px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-slot-games__link {
  color: var(--secondary-color);
  text-decoration: underline;
  font-weight: 600;
}

.page-slot-games__light-bg .page-slot-games__link {
  color: var(--primary-color);
}

/* Hero Section */
.page-slot-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 0 60px 0; /* body handles top padding, only small decorative top padding here */
  min-height: 600px; /* Ensure sufficient height */
  overflow: hidden;
}

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

.page-slot-games__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5); /* Darken image for text readability, not changing color hue */
}

.page-slot-games__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 20px;
  color: var(--text-light);
  text-align: center;
}

.page-slot-games__main-title {
  font-size: clamp(2.5em, 5vw, 3.5em); /* Responsive font size for H1 */
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
  color: var(--accent-yellow); /* Eye-catching color for H1 */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-slot-games__description {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-light);
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

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

/* Buttons */
.page-slot-games__btn-primary,
.page-slot-games__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-slot-games__btn-primary {
  background-color: var(--accent-red); /* Register/Login color */
  color: var(--accent-yellow); /* Register/Login font color */
  border: 2px solid var(--accent-red);
}

.page-slot-games__btn-primary:hover {
  background-color: darken(var(--accent-red), 10%);
  border-color: darken(var(--accent-red), 10%);
}

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

.page-slot-games__btn-secondary:hover {
  background-color: var(--accent-yellow);
  color: var(--primary-color);
}

.page-slot-games__btn-inline {
  margin-top: 30px;
}

/* Images */
.page-slot-games__image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  /* No CSS filter for color manipulation */
}

/* Lists */
.page-slot-games__list {
  list-style: none;
  padding: 0;
  margin: 0 auto 30px auto;
  max-width: 800px;
  text-align: left;
}

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

.page-slot-games__list li::before {
  content: '✔️';
  position: absolute;
  left: 0;
  color: var(--accent-yellow); /* Use accent color for bullet */
}

.page-slot-games__light-bg .page-slot-games__list li::before {
  color: var(--primary-color);
}

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

.page-slot-games__grid-list .page-slot-games__list-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 25px;
  text-align: left;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.page-slot-games__light-bg .page-slot-games__grid-list .page-slot-games__list-item {
  background-color: var(--secondary-color);
  color: var(--text-dark);
  border: 1px solid var(--border-light);
}

.page-slot-games__grid-list .page-slot-games__list-item:hover {
  transform: translateY(-5px);
}

.page-slot-games__grid-list .page-slot-games__list-item-title {
  font-size: 1.3em;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--accent-yellow);
}

.page-slot-games__light-bg .page-slot-games__grid-list .page-slot-games__list-item-title {
  color: var(--primary-color);
}

.page-slot-games__grid-list .page-slot-games__list-item p {
  font-size: 1em;
  line-height: 1.5;
  margin-bottom: 0;
}

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

.page-slot-games__card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 30px;
  text-align: left;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  color: var(--text-light);
}

.page-slot-games__light-bg .page-slot-games__card {
  background-color: var(--secondary-color);
  color: var(--text-dark);
  border: 1px solid var(--border-light);
}

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

.page-slot-games__card-title {
  font-size: 1.4em;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--accent-yellow);
}

.page-slot-games__light-bg .page-slot-games__card-title {
  color: var(--primary-color);
}

.page-slot-games__card p {
  font-size: 1em;
  line-height: 1.6;
  margin-bottom: 0;
}

/* FAQ Section */
.page-slot-games__faq-list {
  max-width: 900px;
  margin: 40px auto 0 auto;
  text-align: left;
}

.page-slot-games__faq-item {
  background-color: rgba(255, 255, 255, 0.1);
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  color: var(--text-light);
}

.page-slot-games__faq-item[open] {
  background-color: rgba(255, 255, 255, 0.15);
}

.page-slot-games__light-bg .page-slot-games__faq-item {
  background-color: var(--secondary-color);
  color: var(--text-dark);
  border: 1px solid var(--border-light);
}

.page-slot-games__light-bg .page-slot-games__faq-item[open] {
  background-color: #f9f9f9;
}

.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: 600;
  cursor: pointer;
  position: relative;
  list-style: none; /* For details/summary */
}

.page-slot-games__faq-question::-webkit-details-marker {
  display: none; /* Hide default marker for details/summary */
}

.page-slot-games__faq-qtext {
  flex-grow: 1;
  color: var(--accent-yellow);
}

.page-slot-games__light-bg .page-slot-games__faq-qtext {
  color: var(--primary-color);
}

.page-slot-games__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: var(--accent-yellow);
}

.page-slot-games__light-bg .page-slot-games__faq-toggle {
  color: var(--primary-color);
}

.page-slot-games__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1.05em;
  line-height: 1.6;
  color: var(--text-light);
}

.page-slot-games__light-bg .page-slot-games__faq-answer {
  color: var(--text-dark);
}

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

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

  .page-slot-games__description {
    font-size: 1.1em;
  }
}

@media (max-width: 768px) {
  .page-slot-games__section {
    padding: 40px 0;
  }

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

  .page-slot-games__main-title {
    font-size: clamp(1.8em, 6vw, 2.5em) !important; /* Ensure H1 is not too large */
    line-height: 1.3;
  }

  .page-slot-games__description {
    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 {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    white-space: normal !important;
    word-wrap: break-word !important;
    box-sizing: border-box !important;
  }

  .page-slot-games__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

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

  .page-slot-games p,
  .page-slot-games li {
    font-size: 1em;
    line-height: 1.5;
  }

  .page-slot-games__image {
    max-width: 100% !important;
    height: auto !important;
    width: 100% !important;
    margin: 20px auto;
  }

  .page-slot-games__grid-list,
  .page-slot-games__grid-cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

  .page-slot-games__faq-toggle {
    font-size: 1.2em;
  }

  .page-slot-games__faq-answer {
    font-size: 0.95em;
    padding: 0 20px 15px 20px;
  }

  /* Ensure all image containers are responsive */
  .page-slot-games__section,
  .page-slot-games__card,
  .page-slot-games__container,
  .page-slot-games__hero-image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important; /* Prevent content overflow */
  }

  /* Explicitly setting padding for content sections to ensure spacing */
  .page-slot-games__overview-section .page-slot-games__container,
  .page-slot-games__how-to-play-section .page-slot-games__container,
  .page-slot-games__types-section .page-slot-games__container,
  .page-slot-games__criteria-section .page-slot-games__container,
  .page-slot-games__promo-section .page-slot-games__container,
  .page-slot-games__tips-section .page-slot-games__container,
  .page-slot-games__responsible-gambling-section .page-slot-games__container,
  .page-slot-games__faq-section .page-slot-games__container,
  .page-slot-games__conclusion-section .page-slot-games__container {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
}

/* Ensure content area images are at least 200px */
.page-slot-games__content-area img,
.page-slot-games__section img {
  min-width: 200px;
  min-height: 200px;
}