/* style/slot-games.css */

/* Base styles for the page content */
.page-slot-games {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #f0f0f0; /* Default text color for dark body background */
  background-color: var(--black-color); /* Assuming shared.css defines --black-color as dark */
}

/* Hero Section */
.page-slot-games__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 20px 60px 20px; /* Small top padding, more bottom padding */
  text-align: center;
  overflow: hidden;
  box-sizing: border-box;
}

.page-slot-games__hero-image-wrapper {
  width: 100%;
  position: relative;
  overflow: hidden;
  margin-bottom: 20px; /* Space between image and content */
}

.page-slot-games__hero-image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  filter: none; /* Ensure no CSS filter is applied */
}

.page-slot-games__hero-content {
  max-width: 900px;
  padding: 0 15px;
  box-sizing: border-box;
}

.page-slot-games__main-title {
  font-size: clamp(2.2rem, 4vw, 3.2rem); /* Responsive H1 font size */
  color: #FFFFFF;
  margin-bottom: 15px;
  line-height: 1.2;
  font-weight: bold;
}

.page-slot-games__description {
  font-size: 1.1rem;
  color: #e0e0e0;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-slot-games__btn-primary,
.page-slot-games__btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
  box-sizing: border-box;
  max-width: 100%;
}

.page-slot-games__btn-primary {
  background-color: #26A9E0;
  color: #FFFFFF;
  border: 2px solid #26A9E0;
}

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

.page-slot-games__btn-secondary {
  background-color: #FFFFFF;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

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

/* General Section Styling */
.page-slot-games__section {
  padding: 60px 20px;
  background-color: var(--black-color); /* Inherit from body for consistency */
  box-sizing: border-box;
}

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

.page-slot-games__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  color: #FFFFFF;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  line-height: 1.3;
}

.page-slot-games__image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  filter: none; /* Ensure no CSS filter is applied */
}

.page-slot-games p {
  font-size: 1.05rem;
  color: #e0e0e0;
  margin-bottom: 20px;
  text-align: justify;
}

/* Game Types Grid */
.page-slot-games__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.page-slot-games__card {
  background-color: rgba(255, 255, 255, 0.08); /* Slightly transparent white for cards on dark background */
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  transition: transform 0.3s ease, background-color 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-slot-games__card:hover {
  transform: translateY(-5px);
  background-color: rgba(255, 255, 255, 0.15);
}

.page-slot-games__card-title {
  font-size: 1.5rem;
  color: #26A9E0; /* Brand color for card titles */
  margin-bottom: 15px;
  font-weight: bold;
}

/* Lists */
.page-slot-games__list {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-slot-games__list li {
  font-size: 1.05rem;
  color: #e0e0e0;
  margin-bottom: 15px;
  padding-left: 30px;
  position: relative;
  text-align: justify;
}

.page-slot-games__list li::before {
  content: '✓';
  color: #26A9E0;
  position: absolute;
  left: 0;
  font-weight: bold;
}

.page-slot-games__numbered-list {
  list-style: decimal;
  padding-left: 25px;
  margin-bottom: 30px;
}

.page-slot-games__numbered-list li {
  font-size: 1.05rem;
  color: #e0e0e0;
  margin-bottom: 15px;
  text-align: justify;
}

/* Video Section */
.page-slot-games__video-section {
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
  background-color: var(--black-color);
  box-sizing: border-box;
}

.page-slot-games__video-wrapper {
  position: relative;
  width: 100%;
  max-width: 800px; /* Max width for video */
  margin: 0 auto 30px auto;
  background-color: #000;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  box-sizing: border-box;
}

.page-slot-games__video {
  max-width: 100%;
  width: 100%;
  height: auto;
  display: block;
  cursor: pointer; /* Indicate it's clickable */
}

.page-slot-games__video-caption {
  text-align: center;
  font-style: italic;
  color: #b0b0b0;
  margin-bottom: 30px;
}

.page-slot-games__video-cta {
  margin-top: 20px;
}

/* FAQ Section */
.page-slot-games__faq-list {
  margin-top: 30px;
}

.page-slot-games__faq-item {
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: background-color 0.3s ease;
}

.page-slot-games__faq-item[open] {
  background-color: rgba(255, 255, 255, 0.15);
}

.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.1rem;
  font-weight: bold;
  color: #FFFFFF;
  cursor: pointer;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  list-style: none; /* For details/summary */
}

.page-slot-games__faq-question::-webkit-details-marker {
  display: none; /* Hide default marker for Chrome/Safari */
}

.page-slot-games__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
  color: #26A9E0;
}

.page-slot-games__faq-answer {
  padding: 0 20px 20px 20px;
  font-size: 1rem;
  color: #e0e0e0;
  text-align: justify;
}

/* Final CTA Section */
.page-slot-games__final-cta {
  text-align: center;
  padding: 80px 20px;
  background: linear-gradient(135deg, #26A9E0, #1a8cc4); /* Gradient for emphasis */
  color: #FFFFFF;
}

.page-slot-games__final-cta .page-slot-games__section-title {
  color: #FFFFFF;
}

.page-slot-games__final-cta .page-slot-games__description,
.page-slot-games__final-cta p {
  color: #f0f0f0;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-slot-games__main-title {
    font-size: clamp(2rem, 5vw, 2.8rem);
  }
  .page-slot-games__section-title {
    font-size: clamp(1.6rem, 4.5vw, 2.2rem);
  }
}

@media (max-width: 768px) {
  .page-slot-games {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-slot-games__hero-section {
    padding: 10px 15px 40px 15px;
  }

  .page-slot-games__hero-content {
    padding: 0 10px;
  }

  .page-slot-games__main-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }

  .page-slot-games__description {
    font-size: 1rem;
  }

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

  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px;
    white-space: normal !important;
    word-wrap: break-word !important;
    text-align: center;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .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;
  }

  .page-slot-games__section-title {
    font-size: clamp(1.5rem, 5.5vw, 2rem);
    margin-bottom: 30px;
  }

  .page-slot-games p,
  .page-slot-games__list li,
  .page-slot-games__numbered-list li,
  .page-slot-games__faq-answer {
    font-size: 0.95rem;
  }

  .page-slot-games__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-slot-games__card {
    padding: 25px;
  }

  .page-slot-games__card-title {
    font-size: 1.3rem;
  }

  /* Image responsiveness for mobile */
  .page-slot-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* Video responsiveness for mobile */
  .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: 10px !important; /* Small top padding, body handles header offset */
  }

  .page-slot-games__faq-question {
    font-size: 1rem;
    padding: 15px;
  }

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

/* Color contrast adjustments based on body background (var(--black-color) assumed dark) */
.page-slot-games {
  color: #ffffff; /* Light text for dark background */
}

.page-slot-games__introduction,
.page-slot-games__game-types,
.page-slot-games__benefits,
.page-slot-games__guide,
.page-slot-games__strategy,
.page-slot-games__faq {
  background-color: var(--black-color); /* Ensure consistency with body */
  color: #f0f0f0;
}

.page-slot-games__dark-section {
  background: linear-gradient(135deg, #26A9E0, #1a8cc4); /* Brand color gradient */
  color: #ffffff;
}

/* Specific color for login if applicable, not used directly in this page but good to have */
.page-slot-games__login-button {
  background-color: #EA7C07;
  color: #FFFFFF;
}

/* Ensured contrast for card titles on dark background */
.page-slot-games__card-title {
  color: #26A9E0; /* Brand blue on rgba(255,255,255,0.08) is good contrast */
}

/* Ensure link text contrast, if any */
.page-slot-games a {
  color: #26A9E0; /* Brand blue for links */
}
.page-slot-games a:hover {
  color: #1a8cc4;
}

/* Content area images should not have filters */
.page-slot-games img {
  filter: none;
}