/* style/slot-games.css */

/* Base styles for the page content, ensuring contrast with body background */
.page-slot-games {
  color: #FFF6D6; /* Main text color for dark background */
  background-color: #0A0A0A; /* Page specific background, assuming body has a similar dark background from shared.css */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-bottom: 60px; /* Add some space above footer */
}

/* Container for main content, centered */
.page-slot-games__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Section styling */
.page-slot-games__section {
  padding: 60px 0;
  text-align: center;
}

.page-slot-games__section--dark-bg {
  background-color: #0A0A0A; /* Explicitly set for sections that need this dark background */
}

/* Hero Section */
.page-slot-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  padding-bottom: 60px;
  overflow: hidden; /* Ensure image doesn't overflow */
  background-color: #0A0A0A; /* Fallback */
}

.page-slot-games__hero-image-wrapper {
  width: 100%;
  max-width: 100%; /* Ensure it takes full width */
  overflow: hidden;
  position: relative;
}

.page-slot-games__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  min-height: 300px; /* Minimum height for hero image */
  max-height: 600px; /* Max height to prevent it from being too tall */
}

.page-slot-games__hero-content {
  position: relative;
  z-index: 10;
  max-width: 900px;
  margin-top: 40px; /* Spacing below the image, not overlaying */
  padding: 0 20px;
  text-align: center;
}

.page-slot-games__main-title {
  font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size for H1 */
  font-weight: bold;
  color: #FFD36B; /* Glow color for title */
  margin-bottom: 20px;
  line-height: 1.2;
  letter-spacing: 1px;
}

.page-slot-games__hero-description {
  font-size: 1.2em;
  color: #FFF6D6;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-slot-games__cta-buttons--center {
  justify-content: center;
}

.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;
  cursor: pointer;
  box-sizing: border-box;
  max-width: 100%; /* Ensure buttons are responsive */
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word;
  text-align: center;
}

.page-slot-games__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Custom button gradient */
  color: #111111; /* Dark text for bright button */
  border: none;
  box-shadow: 0 4px 15px rgba(255, 211, 107, 0.4); /* Glow color shadow */
}

.page-slot-games__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 211, 107, 0.6);
}

.page-slot-games__btn-secondary {
  background-color: transparent;
  color: #FFD36B; /* Glow color for text */
  border: 2px solid #FFD36B; /* Glow color for border */
}

.page-slot-games__btn-secondary:hover {
  background-color: #FFD36B;
  color: #111111; /* Dark text on hover */
  transform: translateY(-3px);
}

/* Section titles */
.page-slot-games__section-title {
  font-size: clamp(1.8em, 3.5vw, 2.8em);
  color: #FFD36B;
  margin-bottom: 30px;
  font-weight: bold;
  text-align: center;
}

.page-slot-games__sub-title {
  font-size: clamp(1.4em, 2.5vw, 2em);
  color: #F2C14E; /* Main brand color */
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-slot-games__text-block {
  font-size: 1.1em;
  color: #FFF6D6;
  margin-bottom: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: justify;
}

/* Grid layout for content sections */
.page-slot-games__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-top: 40px;
  text-align: left;
}

.page-slot-games__grid-item {
  background-color: #111111; /* Card BG color */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid #3A2A12; /* Border color */
}

.page-slot-games__list {
  list-style: none;
  padding-left: 0;
  margin-top: 15px;
}

.page-slot-games__list li {
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
  color: #FFF6D6;
}

.page-slot-games__list li::before {
  content: '✓';
  color: #FFD36B; /* Glow color for checkmark */
  position: absolute;
  left: 0;
  font-weight: bold;
}

/* Card styling */
.page-slot-games__card {
  background-color: #111111; /* Card BG color */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid #3A2A12; /* Border color */
  color: #FFF6D6;
  text-align: left;
}

.page-slot-games__card-title {
  font-size: 1.5em;
  color: #F2C14E; /* Main brand color */
  margin-bottom: 15px;
  font-weight: bold;
}

/* Image styling for content */
.page-slot-games__content-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  margin-top: 25px;
  object-fit: cover;
  min-height: 200px; /* Minimum size requirement */
}

/* Steps grid for registration/game choice */
.page-slot-games__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

/* Promotion cards */
.page-slot-games__promo-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-slot-games__promo-cards .page-slot-games__card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
}

.page-slot-games__promo-cards .page-slot-games__card .page-slot-games__btn-primary,
.page-slot-games__promo-cards .page-slot-games__card .page-slot-games__btn-secondary {
  margin-top: 20px;
  align-self: center; /* Center buttons within the card */
  width: auto; /* Allow button to size to content */
  max-width: 100%; /* Ensure responsiveness */
}

/* FAQ Section */
.page-slot-games__faq-list {
  max-width: 900px;
  margin: 40px auto 0;
  text-align: left;
}

.page-slot-games__faq-item {
  background-color: #111111; /* Card BG color */
  border: 1px solid #3A2A12; /* Border color */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #FFF6D6;
}

.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #F2C14E; /* Main brand color */
  cursor: pointer;
  background-color: #111111;
  user-select: none;
  transition: background-color 0.3s ease;
}

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

.page-slot-games__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: #FFD36B; /* Glow color */
  margin-left: 15px;
}

.page-slot-games__faq-item[open] .page-slot-games__faq-toggle {
  content: '−';
}

.page-slot-games__faq-answer {
  padding: 0 25px 20px;
  font-size: 1.05em;
  color: #FFF6D6;
  line-height: 1.7;
}

.page-slot-games__faq-answer p {
  margin-bottom: 0; /* Remove default paragraph margin */
}

/* Details element specific styling */
.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 */
}

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

  .page-slot-games__container {
    padding: 0 15px; /* Smaller padding on mobile */
  }

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

  .page-slot-games__hero-section {
    padding-top: 10px !important; /* body already handles --header-offset */
    padding-bottom: 40px;
  }

  .page-slot-games__hero-content {
    margin-top: 20px;
    padding: 0 15px;
  }

  .page-slot-games__main-title {
    font-size: clamp(1.8em, 8vw, 2.5em); /* Adjust H1 for mobile */
  }

  .page-slot-games__hero-description {
    font-size: 1em;
  }

  .page-slot-games__cta-buttons {
    flex-direction: column; /* Stack buttons vertically */
    gap: 15px;
    padding: 0 15px; /* Add padding to button container */
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-slot-games__section-title {
    font-size: clamp(1.5em, 7vw, 2em);
    margin-bottom: 20px;
  }

  .page-slot-games__sub-title {
    font-size: clamp(1.2em, 5vw, 1.5em);
    margin-top: 20px;
    margin-bottom: 10px;
  }

  .page-slot-games__text-block {
    font-size: 1em;
    text-align: left; /* Align text left on mobile for readability */
  }

  .page-slot-games__grid,
  .page-slot-games__steps-grid,
  .page-slot-games__promo-cards {
    grid-template-columns: 1fr; /* Single column layout */
    gap: 20px;
    margin-top: 20px;
  }

  .page-slot-games__grid-item,
  .page-slot-games__card {
    padding: 20px;
  }

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

  /* All containers with images/videos/buttons must have these */
  .page-slot-games__section,
  .page-slot-games__card,
  .page-slot-games__container,
  .page-slot-games__hero-image-wrapper,
  .page-slot-games__grid-item,
  .page-slot-games__steps-grid,
  .page-slot-games__promo-cards,
  .page-slot-games__faq-list,
  .page-slot-games__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important; /* Prevent horizontal scroll */
  }

  .page-slot-games__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }

  .page-slot-games__faq-answer {
    padding: 0 20px 15px;
    font-size: 1em;
  }
}

/* Ensure content images are at least 200px wide for desktop */
@media (min-width: 769px) {
  .page-slot-games__content-image {
    min-width: 200px;
  }
}