/* style/slot-games.css */

/* Base styles for the page content, ensuring light text on dark body background */
.page-slot-games {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Light text on dark body background (#0a0a0a) */
  background-color: transparent; /* Body background from shared.css */
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

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

.page-slot-games__section-title {
  font-size: 2.5em;
  color: #FFFFFF;
  text-align: center;
  margin-bottom: 40px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.page-slot-games__subtitle {
  font-size: 1.8em;
  color: #FFFFFF;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-slot-games__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #f0f0f0;
}

.page-slot-games__list {
  list-style: disc inside;
  margin-bottom: 20px;
  padding-left: 20px;
}

.page-slot-games__list li {
  margin-bottom: 10px;
  font-size: 1.1em;
  color: #f0f0f0;
}

.page-slot-games__list li p {
  display: inline;
}

.page-slot-games a {
  color: #FFFF00; /* Yellow for links */
  text-decoration: none;
}

.page-slot-games a:hover {
  text-decoration: underline;
}

/* Buttons */
.page-slot-games__btn-primary,
.page-slot-games__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-align: center;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  font-size: 1.1em;
  cursor: pointer;
  border: 2px solid transparent;
}

.page-slot-games__btn-primary {
  background-color: #C30808; /* Register/Login red */
  color: #FFFF00; /* Register/Login yellow font */
}

.page-slot-games__btn-primary:hover {
  background-color: #e02020;
  color: #FFFFFF;
}

.page-slot-games__btn-secondary {
  background-color: transparent;
  color: #FFFF00; /* Register/Login yellow font */
  border-color: #FFFF00;
}

.page-slot-games__btn-secondary:hover {
  background-color: #FFFF00;
  color: #C30808; /* Register/Login red */
}

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

/* Cards */
.page-slot-games__card {
  background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white for cards on dark background */
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  color: #ffffff;
  height: 100%; /* Ensure cards in a flex container have equal height */
}

.page-slot-games__card-title {
  font-size: 1.5em;
  color: #FFFFFF;
  margin-bottom: 15px;
}

.page-slot-games__card-description {
  font-size: 1em;
  color: #f0f0f0;
  margin-bottom: 20px;
}

.page-slot-games__card-link {
  color: #FFFF00;
  font-weight: bold;
}

.page-slot-games__card-link:hover {
  text-decoration: underline;
}

/* Image Wrapper for responsive images */
.page-slot-games__image-wrapper {
  margin: 30px auto;
  text-align: center;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.page-slot-games__content-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 8px;
  object-fit: cover; /* Ensure images fill their space */
}

/* Hero Section */
.page-slot-games__hero-section {
  position: relative;
  width: 100%;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 0;
}

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

.page-slot-games__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7); /* Dark overlay for text readability */
  z-index: 2;
}

.page-slot-games__hero-content {
  position: relative;
  z-index: 3;
  max-width: 900px;
  padding: 20px;
}

.page-slot-games__hero-title {
  font-size: 3.8em;
  color: #FFFFFF;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.page-slot-games__hero-description {
  font-size: 1.4em;
  color: #f0f0f0;
  margin-bottom: 40px;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

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

/* Intro Section */
.page-slot-games__intro-section {
  padding: 60px 0;
  background-color: #0d0d0d; /* Slightly lighter dark background for contrast */
}

/* Game Types Section */
.page-slot-games__game-types-section {
  padding: 60px 0;
  background-color: #017439; /* Primary brand color background */
}

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

/* Guide Section */
.page-slot-games__guide-section {
  padding: 60px 0;
  background-color: #0d0d0d;
}

.page-slot-games__steps-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-slot-games__steps-list li {
  background-color: rgba(255, 255, 255, 0.08);
  margin-bottom: 20px;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  color: #ffffff;
}

.page-slot-games__steps-list li:last-child {
  margin-bottom: 0;
}

/* Promotions Section */
.page-slot-games__promotions-section {
  padding: 60px 0;
  background-color: #017439;
}

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

.page-slot-games__promo-banner {
  max-width: 100%;
  margin-top: 40px;
  margin-bottom: 40px;
  border-radius: 8px;
  overflow: hidden;
}

/* Tips Section */
.page-slot-games__tips-section {
  padding: 60px 0;
  background-color: #0d0d0d;
}

/* Features Section */
.page-slot-games__features-section {
  padding: 60px 0;
  background-color: #017439;
}

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

/* Download Section */
.page-slot-games__download-section {
  padding: 60px 0;
  background-color: #0d0d0d;
  text-align: center;
}

.page-slot-games__app-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 30px;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

/* FAQ Section */
.page-slot-games__faq-section {
  padding: 60px 0;
  background-color: #017439;
}

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

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

.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.15);
  transition: background-color 0.3s ease;
}

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

.page-slot-games__faq-title {
  font-size: 1.3em;
  color: #FFFFFF;
  margin: 0;
}

.page-slot-games__faq-toggle {
  font-size: 1.8em;
  font-weight: bold;
  color: #FFFF00;
  transition: transform 0.3s ease;
}

.page-slot-games__faq-item.active .page-slot-games__faq-toggle {
  transform: rotate(45deg);
}

.page-slot-games__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #f0f0f0;
}

.page-slot-games__faq-item.active .page-slot-games__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to contain content */
  padding: 15px 25px 25px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-slot-games__hero-title {
    font-size: 3em;
  }
  .page-slot-games__hero-description {
    font-size: 1.2em;
  }
  .page-slot-games__section-title {
    font-size: 2em;
  }
  .page-slot-games__subtitle {
    font-size: 1.5em;
  }
}

@media (max-width: 768px) {
  .page-slot-games {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-slot-games__hero-section {
    min-height: 60vh;
  }
  .page-slot-games__hero-title {
    font-size: 2.5em;
  }
  .page-slot-games__hero-description {
    font-size: 1em;
  }
  .page-slot-games__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary {
    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__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-slot-games__subtitle {
    font-size: 1.3em;
  }
  .page-slot-games__game-cards,
  .page-slot-games__promo-cards,
  .page-slot-games__feature-cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-slot-games__card {
    padding: 20px;
  }
  .page-slot-games__faq-question {
    padding: 15px 20px;
  }
  .page-slot-games__faq-title {
    font-size: 1.1em;
  }
  .page-slot-games__faq-answer {
    padding: 0 20px;
  }
  .page-slot-games__faq-item.active .page-slot-games__faq-answer {
    padding: 10px 20px 20px;
  }
  .page-slot-games__image-wrapper,
  .page-slot-games__promo-banner,
  .page-slot-games__app-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-slot-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-slot-games__download-section .page-slot-games__app-buttons {
    flex-direction: column;
    align-items: center;
  }
  .page-slot-games__hero-section {
    padding-top: var(--header-offset, 120px) !important; /* Apply header offset */
  }
}

@media (max-width: 480px) {
  .page-slot-games__hero-title {
    font-size: 2em;
  }
  .page-slot-games__hero-description {
    font-size: 0.9em;
  }
  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary {
    padding: 12px 20px;
    font-size: 1em;
  }
  .page-slot-games__section-title {
    font-size: 1.5em;
  }
  .page-slot-games__subtitle {
    font-size: 1.2em;
  }
}