/* style/slot-games.css */

/* General styles for the page content, assuming body background #f4f7f6 (light) */
.page-slot-games {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333; /* Dark text for light body background */
  background-color: #f4f7f6; /* Ensure consistency with body background */
}

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

.page-slot-games__section--dark {
  background-color: #08160F; /* Custom dark background */
  color: #F2FFF6; /* Light text for dark background */
}

.page-slot-games__section--dark h2,
.page-slot-games__section--dark h3 {
  color: #F2FFF6;
}

.page-slot-games__section--dark p,
.page-slot-games__section--dark li {
  color: #A7D9B8; /* Secondary light text for dark background */
}

/* Hero Section */
.page-slot-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 100px 20px 60px; /* Adjusted padding-top to avoid conflict with body padding */
  background-color: #08160F; /* Dark background for hero */
  color: #F2FFF6;
  overflow: hidden; /* Ensure image overflow is handled */
}

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

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

.page-slot-games__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
}

.page-slot-games__hero-content h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive H1 font size */
  font-weight: bold;
  margin-bottom: 20px;
  color: #F2FFF6;
  line-height: 1.2;
}

.page-slot-games__hero-content p {
  font-size: clamp(1rem, 2vw, 1.25rem);
  margin-bottom: 30px;
  color: #A7D9B8;
}

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

/* 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;
  transition: all 0.3s ease;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
  box-sizing: border-box;
  max-width: 100%; /* Ensure button doesn't overflow */
}

.page-slot-games__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6;
  border: none;
}

.page-slot-games__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  transform: translateY(-2px);
}

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

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

/* Content Sections */
.page-slot-games__intro-content-section,
.page-slot-games__guide-section,
.page-slot-games__promotions-section,
.page-slot-games__cta-section {
  background-color: #f4f7f6; /* Light background for general content */
  color: #333333;
}

.page-slot-games__game-types-section,
.page-slot-games__strategy-section,
.page-slot-games__security-section {
  background-color: #08160F; /* Dark background for specific sections */
  color: #F2FFF6;
}
.page-slot-games__game-types-section h2,
.page-slot-games__game-types-section h3,
.page-slot-games__strategy-section h2,
.page-slot-games__strategy-section h3,
.page-slot-games__security-section h2,
.page-slot-games__security-section h3 {
  color: #F2FFF6;
}
.page-slot-games__game-types-section p,
.page-slot-games__game-types-section li,
.page-slot-games__strategy-section p,
.page-slot-games__strategy-section li,
.page-slot-games__security-section p,
.page-slot-games__security-section li {
  color: #A7D9B8;
}

.page-slot-games h2 {
  font-size: clamp(2rem, 4vw, 2.5rem);
  margin-bottom: 30px;
  text-align: center;
  color: #11A84E; /* Brand color for main titles */
}

.page-slot-games__section--dark h2 {
  color: #F2FFF6; /* Override for dark sections */
}

.page-slot-games h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-top: 40px;
  margin-bottom: 20px;
  color: #22C768; /* Auxiliary brand color for subtitles */
}

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

.page-slot-games ul {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: 20px;
}

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

/* FAQ Section */
.page-slot-games__faq-section {
  background-color: #11271B; /* Card BG color */
  color: #F2FFF6;
}
.page-slot-games__faq-section h2 {
  color: #F2FFF6;
}

.page-slot-games__faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.page-slot-games__faq-item {
  background-color: #08160F; /* Darker background for FAQ items */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  border: 1px solid #2E7A4E; /* Border color */
}

.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  font-weight: bold;
  color: #F2FFF6;
  transition: background-color 0.3s ease;
  list-style: none; /* Remove default marker for summary */
}
.page-slot-games__faq-question::-webkit-details-marker {
  display: none; /* Remove default marker for webkit browsers */
}

.page-slot-games__faq-question:hover {
  background-color: #1a3c2c;
}

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

.page-slot-games__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: #22C768;
}

.page-slot-games__faq-answer {
  padding: 0 25px 15px;
  color: #A7D9B8;
  font-size: 0.95em;
}

/* Images */
.page-slot-games img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  margin: 20px auto;
  object-fit: cover; /* Ensure images fill their space nicely */
}

/* Divider - not explicitly used in HTML, but good to have */
.page-slot-games__divider {
  border-top: 1px solid #1E3A2A;
  margin: 40px auto;
  max-width: 80%;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .page-slot-games__hero-section {
    padding: 80px 15px 40px;
  }

  .page-slot-games__hero-content h1 {
    font-size: clamp(2rem, 8vw, 2.5rem);
  }

  .page-slot-games__hero-content p {
    font-size: clamp(0.9rem, 3vw, 1.1rem);
  }

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

  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary {
    width: 100% !important; /* Force full width on mobile */
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 0.9em;
  }

  .page-slot-games__section {
    padding: 40px 15px;
  }

  .page-slot-games h2 {
    font-size: clamp(1.8rem, 6vw, 2.2rem);
    margin-bottom: 20px;
  }

  .page-slot-games h3 {
    font-size: clamp(1.3rem, 4.5vw, 1.7rem);
    margin-top: 30px;
    margin-bottom: 15px;
  }

  .page-slot-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    margin: 15px auto;
  }

  .page-slot-games__section,
  .page-slot-games__card,
  .page-slot-games__container,
  .page-slot-games__cta-buttons,
  .page-slot-games__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}