/* style/slot-games.css */

/* Base styles for the slot games page */
.page-slot-games {
  font-family: 'Arial', sans-serif;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #0a0a0a; /* Ensure consistency with body background */
}

.page-slot-games__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 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;
  color: #ffffff;
}

.page-slot-games__hero-image-wrapper {
  width: 100%;
  max-height: 700px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
}

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

.page-slot-games__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin-top: 20px;
}

.page-slot-games__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  color: #FFFFFF;
  margin-bottom: 15px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-slot-games__hero-description {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.6;
  color: #f0f0f0;
  margin-bottom: 30px;
}

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

/* General Section Styles */
.page-slot-games__introduction-section,
.page-slot-games__game-types-section,
.page-slot-games__popular-games-section,
.page-slot-games__how-to-play-section,
.page-slot-games__promotions-section,
.page-slot-games__why-choose-section,
.page-slot-games__faq-section,
.page-slot-games__cta-bottom-section {
  padding: 80px 0;
  box-sizing: border-box;
}

.page-slot-games__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.3;
}

.page-slot-games p {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 15px;
}

/* Color Contrast Handling */
.page-slot-games__dark-bg {
  background-color: #0a0a0a;
  color: #ffffff;
}

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

.page-slot-games__light-bg .page-slot-games__section-title {
  color: #26A9E0;
}

.page-slot-games__light-bg p {
  color: #f0f0f0;
}

/* Buttons */
.page-slot-games__btn-primary,
.page-slot-games__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
  text-align: center;
}

.page-slot-games__btn-primary {
  background-color: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
}

.page-slot-games__btn-primary:hover {
  background-color: #1d8acb;
  border-color: #1d8acb;
}

.page-slot-games__btn-secondary {
  background-color: transparent;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-slot-games__btn-secondary:hover {
  background-color: #26A9E0;
  color: #ffffff;
}

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

.page-slot-games__btn-small {
  padding: 10px 20px;
  font-size: 0.95rem;
}

/* Lists */
.page-slot-games__list,
.page-slot-games__numbered-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-slot-games__list-item {
  background-color: rgba(255, 255, 255, 0.05);
  border-left: 5px solid #26A9E0;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 8px;
}

.page-slot-games__numbered-list .page-slot-games__list-item {
  counter-increment: list-counter;
  position: relative;
  padding-left: 50px;
  background-color: rgba(255, 255, 255, 0.05);
  border-left: none;
}

.page-slot-games__numbered-list .page-slot-games__list-item::before {
  content: counter(list-counter);
  position: absolute;
  left: 15px;
  top: 15px;
  background-color: #26A9E0;
  color: #ffffff;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 700;
  font-size: 1.1rem;
}

.page-slot-games__list-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: #FFFFFF;
  margin-bottom: 10px;
}

.page-slot-games__list-item p {
  font-size: 1rem;
  color: #e0e0e0;
  margin-bottom: 0;
}

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

.page-slot-games__game-card {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #ffffff;
}

.page-slot-games__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.page-slot-games__game-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  margin-bottom: 15px;
}

.page-slot-games__game-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #26A9E0;
  margin-bottom: 10px;
}

.page-slot-games__game-description {
  font-size: 0.95rem;
  color: #e0e0e0;
  padding: 0 15px;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Promotions Section */
.page-slot-games__promotion-card {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 40px;
  color: #ffffff;
}

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

.page-slot-games__promotion-content {
  padding: 30px;
  text-align: center;
}

.page-slot-games__promotion-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-slot-games__promotion-content p {
  font-size: 1.1rem;
  color: #e0e0e0;
  margin-bottom: 25px;
}

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

.page-slot-games__feature-item {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  transition: transform 0.3s ease;
  color: #ffffff;
}

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

.page-slot-games__feature-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-slot-games__feature-item p {
  font-size: 1rem;
  color: #e0e0e0;
  margin-bottom: 0;
}

/* FAQ Section */
.page-slot-games__faq-list {
  margin-top: 40px;
}

.page-slot-games__faq-item {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #ffffff;
}

.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-size: 1.15rem;
  font-weight: 600;
  color: #FFFFFF;
  background-color: rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-slot-games__faq-item[open] .page-slot-games__faq-question {
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.page-slot-games__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.12);
}

.page-slot-games__faq-qtext {
  flex-grow: 1;
}

.page-slot-games__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
  color: #26A9E0;
}

.page-slot-games__faq-item[open] .page-slot-games__faq-toggle {
  content: '−';
}

.page-slot-games__faq-answer {
  padding: 20px;
  font-size: 1rem;
  line-height: 1.6;
  color: #e0e0e0;
}

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

/* Details/Summary reset for cross-browser consistency */
details > summary {
  list-style: none;
}
details > summary::-webkit-details-marker {
  display: none;
}

/* CTA Bottom Section */
.page-slot-games__cta-bottom-section {
  text-align: center;
  padding-top: 60px;
  padding-bottom: 60px;
}

/* Links within content */
.page-slot-games p a {
  color: #26A9E0;
  text-decoration: underline;
}

.page-slot-games p a:hover {
  color: #1d8acb;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-slot-games__hero-section {
    padding: 40px 15px;
  }

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

  .page-slot-games__hero-description {
    font-size: clamp(0.95rem, 2vw, 1.1rem);
  }

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

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

  .page-slot-games__promotion-image {
    height: auto;
  }

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

@media (max-width: 768px) {
  .page-slot-games__content-area {
    padding: 30px 15px;
  }

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

  .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;
    overflow: hidden !important;
  }

  /* All images responsive */
  .page-slot-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* All image containers responsive */
  .page-slot-games__section,
  .page-slot-games__card,
  .page-slot-games__container,
  .page-slot-games__hero-image-wrapper,
  .page-slot-games__game-card,
  .page-slot-games__promotion-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

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

  .page-slot-games__list-item,
  .page-slot-games__numbered-list .page-slot-games__list-item {
    padding: 15px;
    padding-left: 45px;
  }

  .page-slot-games__numbered-list .page-slot-games__list-item::before {
    width: 25px;
    height: 25px;
    font-size: 1rem;
    left: 10px;
    top: 12px;
  }

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

  .page-slot-games__faq-toggle {
    font-size: 1.3rem;
  }

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

@media (max-width: 480px) {
  .page-slot-games__main-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }

  .page-slot-games__hero-description {
    font-size: clamp(0.9rem, 2.5vw, 1rem);
  }

  .page-slot-games__section-title {
    font-size: clamp(1.4rem, 5vw, 2rem);
  }

  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary {
    font-size: 1rem;
    padding: 12px 25px;
  }

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