/* style/slot-games.css */

/* Base Styles */
.page-slot-games {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: transparent; /* Body background handled by shared.css */
}

.page-slot-games__section {
  padding: 60px 20px;
  margin-bottom: 20px;
}

.page-slot-games__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  box-sizing: border-box;
}

.page-slot-games__dark-section {
  background-color: #017439;
  color: #ffffff;
}

.page-slot-games__section-title,
.page-slot-games__cta-title {
  font-size: 2.5em;
  color: #ffffff;
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
}

.page-slot-games__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
}

.page-slot-games__text-link {
  color: #FFFF00; /* Yellow for links on dark green background */
  text-decoration: underline;
}

.page-slot-games__text-link:hover {
  color: #FFFFFF;
}

/* Hero Section */
.page-slot-games__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
  position: relative;
  overflow: hidden;
  min-height: 600px;
}

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

.page-slot-games__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFFFFF;
  font-weight: bold;
  line-height: 1.2;
}

.page-slot-games__hero-description {
  font-size: 1.4em;
  margin-bottom: 40px;
  color: #f0f0f0;
}

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

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

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

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

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

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

.page-slot-games__btn-secondary {
  background-color: #FFFFFF;
  color: #017439;
  border-color: #FFFFFF;
}

.page-slot-games__btn-secondary:hover {
  background-color: #f0f0f0;
  border-color: #f0f0f0;
  transform: translateY(-2px);
}

/* Image Specific Styles */
.page-slot-games__image-full-width {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 30px 0;
  display: block;
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

.page-slot-games__image-center {
  display: block;
  margin: 30px auto;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

/* FAQ Section */
.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;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.2em;
  color: #ffffff;
  transition: background-color 0.3s ease;
}

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

.page-slot-games__faq-question h3 {
  margin: 0;
  font-size: 1.2em;
  color: #ffffff;
}

.page-slot-games__faq-toggle {
  font-size: 1.8em;
  line-height: 1;
  width: 30px;
  text-align: center;
  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 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #f0f0f0;
  text-align: justify;
}

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

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

/* CTA Section */
.page-slot-games__cta-section {
  background-color: #1a1a1a;
  padding: 80px 20px;
  text-align: center;
}

.page-slot-games__cta-content {
  max-width: 900px;
}

.page-slot-games__cta-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  color: #f0f0f0;
}

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

/* 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,
  .page-slot-games__cta-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-slot-games__hero-section {
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-slot-games__hero-title {
    font-size: 2.5em;
  }
  .page-slot-games__hero-description {
    font-size: 1.1em;
  }
  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary {
    padding: 12px 20px;
    font-size: 1em;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-slot-games__hero-cta-buttons,
  .page-slot-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 15px;
  }
  .page-slot-games__section,
  .page-slot-games__cta-section {
    padding: 40px 0;
  }
  .page-slot-games__content-area {
    padding: 0 15px;
  }
  .page-slot-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }
  .page-slot-games__image-full-width,
  .page-slot-games__image-center {
    margin: 20px 0 !important;
  }
  .page-slot-games__faq-question,
  .page-slot-games__faq-answer {
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-slot-games__faq-question h3 {
    font-size: 1.1em;
  }
  .page-slot-games__faq-toggle {
    font-size: 1.5em;
  }
}

@media (max-width: 480px) {
  .page-slot-games__hero-title {
    font-size: 2em;
  }
  .page-slot-games__hero-description {
    font-size: 1em;
  }
  .page-slot-games__section-title,
  .page-slot-games__cta-title {
    font-size: 1.8em;
  }
  .page-slot-games__text-block {
    font-size: 0.95em;
  }
}