/* style/slot-games.css */

/* Base Styles & Typography */
.page-slot-games {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default dark text for light body background */
  background-color: #ffffff;
}

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

.page-slot-games h1, .page-slot-games h2, .page-slot-games h3 {
  color: #017439; /* Brand color for headings */
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-slot-games__main-title {
  font-size: 2.8em;
  font-weight: bold;
  text-align: center;
  color: #FFFF00; /* Yellow for main title on dark background */
  margin-bottom: 20px;
}

.page-slot-games__section-title {
  font-size: 2em;
  font-weight: bold;
  margin-top: 40px;
  margin-bottom: 20px;
  color: #017439;
}

.page-slot-games__sub-title {
  font-size: 1.5em;
  font-weight: bold;
  margin-top: 30px;
  margin-bottom: 15px;
  color: #017439;
}

.page-slot-games__intro-text {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 30px;
  color: #ffffff;
}

.page-slot-games p {
  margin-bottom: 15px;
  color: #333333;
}

.page-slot-games a {
  color: #017439;
  text-decoration: none;
}

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

/* Hero Section */
.page-slot-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px); /* Fixed header spacing */
  background-color: #017439; /* Brand color for hero background */
  color: #ffffff;
  overflow: hidden;
}

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

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

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

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

/* Buttons */
.page-slot-games__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-transform: uppercase;
  transition: background-color 0.3s ease, transform 0.3s ease;
  text-decoration: none;
  text-align: center;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-slot-games__btn-primary {
  background-color: #C30808; /* Register color */
  color: #FFFF00; /* Register font color */
  border: 2px solid #C30808;
}

.page-slot-games__btn-primary:hover {
  background-color: #a30606;
  transform: translateY(-2px);
}

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

.page-slot-games__btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.page-slot-games__btn-register {
  background-color: #C30808;
  color: #FFFF00;
  border: 2px solid #C30808;
}

.page-slot-games__btn-register:hover {
  background-color: #a30606;
}

.page-slot-games__btn-login {
  background-color: #C30808;
  color: #FFFF00;
  border: 2px solid #C30808;
}

.page-slot-games__btn-login:hover {
  background-color: #a30606;
}

/* Content Sections */
.page-slot-games__content-area {
  padding: 40px 20px;
  background-color: #ffffff; /* Light background for content */
  color: #333333;
}

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

.page-slot-games__list li {
  margin-bottom: 10px;
}

.page-slot-games__image-content {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-slot-games__button-group {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin-top: 30px;
  margin-bottom: 30px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* FAQ Section */
.page-slot-games__faq-list {
  margin-top: 30px;
  border-top: 1px solid #eee;
}

.page-slot-games__faq-item {
  border-bottom: 1px solid #eee;
}

.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  cursor: pointer;
  color: #017439;
  font-weight: bold;
  font-size: 1.1em;
}

.page-slot-games__faq-question:hover {
  color: #005f2e;
}

.page-slot-games__faq-title {
  margin: 0;
  color: inherit;
  font-size: 1em;
}

.page-slot-games__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  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 15px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #333333;
}

.page-slot-games__faq-item.active .page-slot-games__faq-answer {
  max-height: 1000px !important; /* Ensure it expands sufficiently */
  padding: 15px;
}

/* Background color specific classes for contrast */
.page-slot-games__dark-section {
  background-color: #017439;
  color: #ffffff;
}

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

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

  .page-slot-games__intro-text {
    font-size: 1em;
  }

  .page-slot-games__section-title {
    font-size: 1.6em;
  }

  .page-slot-games__sub-title {
    font-size: 1.2em;
  }

  .page-slot-games__hero-section {
    padding: 40px 15px;
    padding-top: var(--header-offset, 120px) !important; /* Mobile header spacing */
  }

  .page-slot-games__hero-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .page-slot-games__cta-button {
    width: 100% !important;
    max-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__button-group {
    flex-direction: column;
    gap: 10px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-slot-games__content-area, .page-slot-games__section-wrapper {
    padding: 20px 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

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

  /* Videos responsive (if any) */
  .page-slot-games video,
  .page-slot-games__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-slot-games__video-section,
  .page-slot-games__video-container,
  .page-slot-games__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

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

  .page-slot-games__faq-item.active .page-slot-games__faq-answer {
    padding: 10px;
  }
}