/* style/game-guides-slot-games.css */
/* Body background is #0a0a0a (dark), so main text color must be light */

:root {
  --primary-color: #26A9E0;
  --secondary-color: #FFFFFF;
  --text-light: #ffffff;
  --text-dark: #333333;
  --bg-dark: #0a0a0a; /* From body background */
  --btn-login-bg: #EA7C07;
}

.page-game-guides-slot-games {
  color: var(--text-light); /* Default text color for dark body background */
  background-color: var(--bg-dark);
  line-height: 1.6;
  font-family: 'Arial', sans-serif;
}

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

.page-game-guides-slot-games__hero-image-wrapper {
  width: 100%;
  position: relative;
  margin-bottom: 40px;
}

.page-game-guides-slot-games__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7); /* Slightly dim image for better text contrast */
}

.page-game-guides-slot-games__hero-content {
  max-width: 900px;
  text-align: center;
  padding: 0 20px;
  margin-top: -120px; /* Pull content up over the image for a cohesive look */
  position: relative;
  z-index: 2;
}

.page-game-guides-slot-games__main-title {
  color: var(--secondary-color);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  /* H1 font-size rule: no fixed large values, use clamp if necessary */
  font-size: clamp(2.5rem, 5vw, 3.5rem);
}

.page-game-guides-slot-games__hero-description {
  color: var(--secondary-color);
  font-size: 1.15rem;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

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

.page-game-guides-slot-games__btn-primary,
.page-game-guides-slot-games__btn-secondary {
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text breaking */
  box-sizing: border-box;
  max-width: 100%; /* Ensure buttons don't overflow */
}

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

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

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

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

.page-game-guides-slot-games__btn--center {
  display: block;
  margin: 30px auto 0 auto;
  width: fit-content;
}

.page-game-guides-slot-games__section {
  padding: 60px 0;
  background-color: var(--bg-dark); /* Default section background, matches body */
  color: var(--text-light);
}

.page-game-guides-slot-games__dark-section {
  background-color: rgba(38, 169, 224, 0.1); /* Slightly lighter dark background for contrast */
  color: var(--text-light);
}

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

.page-game-guides-slot-games__section-title {
  font-size: 2.2rem;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
  line-height: 1.3;
}

.page-game-guides-slot-games__sub-title {
  font-size: 1.6rem;
  color: var(--secondary-color);
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-game-guides-slot-games__content-area {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-light);
}

.page-game-guides-slot-games__content-area p {
  margin-bottom: 15px;
}

.page-game-guides-slot-games__content-area strong {
  color: var(--primary-color);
}

.page-game-guides-slot-games__image {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px 0;
  border-radius: 8px;
  object-fit: cover;
  min-width: 200px; /* Minimum image size */
  min-height: 200px; /* Minimum image size */
}

.page-game-guides-slot-games__list,
.page-game-guides-slot-games__ordered-list {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  color: var(--text-light);
}

.page-game-guides-slot-games__ordered-list {
  list-style-type: decimal;
}

.page-game-guides-slot-games__list li,
.page-game-guides-slot-games__ordered-list li {
  margin-bottom: 10px;
}

/* FAQ Section */
.page-game-guides-slot-games__faq-item {
  background-color: rgba(255, 255, 255, 0.08); /* Semi-transparent white for card-like background */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: var(--text-light);
}

.page-game-guides-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--secondary-color);
  background-color: rgba(38, 169, 224, 0.2); /* Slightly darker primary color */
  transition: background-color 0.3s ease;
  list-style: none; /* For <details> summary */
}

.page-game-guides-slot-games__faq-question::-webkit-details-marker {
  display: none;
}

.page-game-guides-slot-games__faq-question:hover {
  background-color: rgba(38, 169, 224, 0.3);
}

.page-game-guides-slot-games__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
  color: var(--primary-color);
}

.page-game-guides-slot-games__faq-answer {
  padding: 0 25px 20px;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-light);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out, padding 0.5s ease-out;
}

.page-game-guides-slot-games__faq-item.active .page-game-guides-slot-games__faq-answer {
  max-height: 2000px; /* Sufficiently large to show full content */
  padding-top: 15px;
}

/* For <details> tag, native behavior is used, JS only updates toggle icon */
.page-game-guides-slot-games__faq-item[open] .page-game-guides-slot-games__faq-answer {
  max-height: none; /* Let browser handle height */
  padding-top: 15px;
  overflow: visible;
}

.page-game-guides-slot-games__faq-item[open] .page-game-guides-slot-games__faq-question .page-game-guides-slot-games__faq-toggle {
  content: '−'; /* Updated by JS */
}

.page-game-guides-slot-games__cta-buttons--bottom {
  margin-top: 50px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-game-guides-slot-games__main-title {
    font-size: clamp(2rem, 6vw, 3rem);
  }

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

  .page-game-guides-slot-games__section-title {
    font-size: 2rem;
  }

  .page-game-guides-slot-games__sub-title {
    font-size: 1.4rem;
  }

  .page-game-guides-slot-games__content-area {
    font-size: 1rem;
  }
}

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

  .page-game-guides-slot-games__hero-section {
    padding-bottom: 40px;
    padding-top: 10px !important;
  }

  .page-game-guides-slot-games__hero-content {
    margin-top: -80px;
    padding: 0 15px;
  }

  .page-game-guides-slot-games__main-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
    margin-bottom: 15px;
  }

  .page-game-guides-slot-games__hero-description {
    font-size: 0.95rem;
    margin-bottom: 25px;
  }

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

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

  .page-game-guides-slot-games__section {
    padding: 40px 0;
  }

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

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

  .page-game-guides-slot-games__sub-title {
    font-size: 1.3rem;
    margin-top: 25px;
    margin-bottom: 10px;
  }

  .page-game-guides-slot-games__content-area {
    font-size: 0.95rem;
  }

  .page-game-guides-slot-games__image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    margin: 20px 0 !important;
    min-width: 200px !important; /* Ensure minimum size */
    min-height: 200px !important; /* Ensure minimum size */
  }

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

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

  .page-game-guides-slot-games__list,
  .page-game-guides-slot-games__ordered-list {
    margin-left: 20px;
  }
}

/* Ensure all images and containers are responsive and do not overflow */
.page-game-guides-slot-games img {
  max-width: 100%;
  height: auto;
  display: block;
}

.page-game-guides-slot-games__section,
.page-game-guides-slot-games__card,
.page-game-guides-slot-games__container {
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}