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

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

.page-slot-games__hero-section {
  position: relative;
  background-color: #1a1a1a; /* Dark background for hero */
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
  padding-bottom: 60px;
  text-align: center;
  overflow: hidden; /* Ensure image doesn't overflow */
}

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

.page-slot-games__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2; /* Darken image for better text contrast */
}

.page-slot-games__hero-section .page-slot-games__container {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 400px; /* Adjust as needed */
}

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

.page-slot-games__hero-description {
  font-size: 1.3em;
  color: #f0f0f0;
  margin-bottom: 40px;
  max-width: 800px;
  line-height: 1.5;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

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

.page-slot-games__cta-buttons--single {
  display: block; /* For single button to take full width on mobile */
  text-align: center;
}

.page-slot-games__btn-primary,
.page-slot-games__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box; /* Crucial for responsive buttons */
  max-width: 100%;
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word; /* Allow long words to break */
}

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

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

.page-slot-games__btn-secondary {
  background-color: transparent;
  color: #FFFF00; /* Use custom font color for secondary buttons for contrast */
  border: 2px solid #C30808; /* Use custom border color */
}

.page-slot-games__btn-secondary:hover {
  background-color: #C30808;
  color: #FFFF00;
}

.page-slot-games__section {
  padding: 60px 0;
  background-color: #1a1a1a; /* Consistent dark background */
}

.page-slot-games__section:nth-of-type(even) {
  background-color: #222222; /* Slightly different dark background for contrast */
}

.page-slot-games__section-title {
  font-size: 2.5em;
  color: #FFFFFF; /* Override to white for better contrast on dark background */
  text-align: center;
  margin-bottom: 40px;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

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

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

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

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

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

/* FAQ Section Styling */
.page-slot-games__faq-section {
  background-color: #222222;
}

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

.page-slot-games__faq-item {
  background-color: #1a1a1a;
  border: 1px solid #017439;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: bold;
  color: #FFFFFF;
  cursor: pointer;
  background-color: #017439; /* Brand color for FAQ question background, safe with white text */
  user-select: none;
  list-style: none; /* For details/summary */
}

.page-slot-games__faq-question::-webkit-details-marker {
  display: none;
}

.page-slot-games__faq-item summary {
  list-style: none; /* Remove default marker */
}

.page-slot-games__faq-item summary::-webkit-details-marker {
  display: none; /* Remove default marker for webkit browsers */
}

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

.page-slot-games__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  width: 20px;
  text-align: center;
}

/* For details tag, toggle handled by browser */
.page-slot-games__faq-item[open] .page-slot-games__faq-toggle {
  content: '−';
}

.page-slot-games__faq-answer {
  padding: 0 20px 20px;
  font-size: 1.1em;
  line-height: 1.6;
  color: #f0f0f0;
  max-height: 0; /* For div-based accordion */
  overflow: hidden; /* For div-based accordion */
  transition: max-height 0.3s ease-out, padding 0.3s ease-out; /* For div-based accordion */
  background-color: #1a1a1a; /* Darker background for answer */
}

.page-slot-games__faq-item.active .page-slot-games__faq-answer {
  max-height: 2000px; /* Sufficiently large for content */
  padding: 20px; /* Restore padding when active */
}

/* Responsive Styles */
@media (max-width: 992px) {
  .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__sub-title {
    font-size: 1.6em;
  }
  .page-slot-games__text-block,
  .page-slot-games__list-item,
  .page-slot-games__faq-question,
  .page-slot-games__faq-answer p {
    font-size: 1em;
  }
}

@media (max-width: 768px) {
  .page-slot-games__hero-section {
    padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
  }
  .page-slot-games__hero-title {
    font-size: 2.2em;
  }
  .page-slot-games__hero-description {
    font-size: 1em;
  }
  .page-slot-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
  }

  /* Images responsive */
  .page-slot-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-slot-games__section,
  .page-slot-games__card,
  .page-slot-games__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Video responsive (if any, although none on this page) */
  .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__video-section {
    padding-top: var(--header-offset, 120px) !important; /* Ensure mobile video section offset */
  }
}

/* Ensure text contrast for dark body background */
.page-slot-games h1, .page-slot-games h2, .page-slot-games h3, .page-slot-games h4, .page-slot-games h5, .page-slot-games h6 {
  color: #FFFFFF; /* All headings should be light on dark background */
}
.page-slot-games p, .page-slot-games li, .page-slot-games a:not([class*="btn"]) {
  color: #f0f0f0; /* General text should be light */
}