/* style/slot-games.css */

/* Base styles for the page content */
.page-slot-games {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Light text for dark body background */
  background-color: transparent; /* Inherit from body, which is dark */
}

/* Section styling */
.page-slot-games__section {
  padding: 60px 20px;
  text-align: center;
  position: relative;
  overflow: hidden; /* Ensure no overflow */
}

/* Specific section background colors for contrast */
.page-slot-games__dark-bg {
  background-color: #000000; /* Dark background from body */
  color: #ffffff;
}

.page-slot-games__light-bg {
  background-color: #ffffff; /* White background for cards */
  color: #333333; /* Dark text for light background */
}

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

.page-slot-games__center-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Hero Section */
.page-slot-games__hero-section {
  padding-top: var(--header-offset, 120px); /* Fixed header spacing */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  position: relative;
  overflow: hidden;
  background-color: #000000; /* Ensure dark background for hero */
  color: #ffffff;
}

.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;
  filter: brightness(0.5); /* Darken image for text readability */
}

.page-slot-games__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
  text-align: center;
}

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

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

/* Section Titles */
.page-slot-games__section-title {
  font-size: 2.5em;
  margin-bottom: 40px;
  color: #26A9E0; /* Brand color for titles */
}

/* Text Blocks */
.page-slot-games__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #ffffff; /* Default light text */
}

.page-slot-games__introduction .page-slot-games__text-block {
  color: #ffffff; /* Ensure white text on dark background */
}

.page-slot-games__installation .page-slot-games__text-block {
  color: #ffffff; /* Ensure white text on dark background */
}

.page-slot-games__promotions .page-slot-games__text-block {
  color: #ffffff; /* Ensure white text on dark background */
}

.page-slot-games__video-section .page-slot-games__text-block {
  color: #ffffff; /* Ensure white text on dark background */
}

.page-slot-games__call-to-action .page-slot-games__text-block {
  color: #ffffff; /* Ensure white text on dark background */
}

.page-slot-games__faq .page-slot-games__text-block {
  color: #ffffff; /* Ensure white text on dark background */
}

/* Buttons */
.page-slot-games__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap; /* Allow wrapping for mobile */
}

.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: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
  max-width: 100%; /* Ensure button responsiveness */
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
}

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

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

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

.page-slot-games__btn-secondary:hover {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-slot-games__center-btn {
  margin: 40px auto 0 auto;
}

/* Image styling */
.page-slot-games__image-content {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 30px auto;
  display: block; /* Ensure it's block for centering */
}

.page-slot-games__card-image,
.page-slot-games__promo-image,
.page-slot-games__game-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

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

.page-slot-games__step-card {
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-slot-games__step-card .page-slot-games__card-title {
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-slot-games__step-card p {
  color: #333333; /* Dark text on light card background */
  margin-bottom: 20px;
  flex-grow: 1;
}

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

.page-slot-games__game-card {
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  color: #333333; /* Dark text on light card background */
}

.page-slot-games__game-card .page-slot-games__card-title {
  color: #26A9E0;
  margin-bottom: 10px;
}

.page-slot-games__game-card p {
  color: #555555;
}

/* Promotions */
.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-card {
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  color: #333333; /* Dark text on light card background */
}

.page-slot-games__promo-card .page-slot-games__card-title {
  color: #26A9E0;
  margin-bottom: 10px;
}

.page-slot-games__promo-card p {
  color: #555555;
}

/* Video Section */
.page-slot-games__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
  margin: 40px auto;
  border-radius: 10px;
}

.page-slot-games__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 10px;
  cursor: pointer;
}

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

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

.page-slot-games__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  color: #333333; /* Dark text on light card background */
}

.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-weight: bold;
  cursor: pointer;
  background-color: #f5f5f5; /* Lighter background for question */
  color: #26A9E0; /* Brand color for question text */
  border-bottom: 1px solid #e0e0e0;
}

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

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

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

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

.page-slot-games__faq-answer {
  padding: 20px;
  background-color: #ffffff;
  color: #333333;
  border-top: 1px solid #eee;
}

.page-slot-games__faq-answer p {
  margin: 0;
  color: #333333;
}

/* Hide default details marker */
.page-slot-games__faq-item > summary {
  list-style: none;
}
.page-slot-games__faq-item > summary::-webkit-details-marker {
  display: none;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .page-slot-games__hero-title {
    font-size: 2.5em;
  }

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

  .page-slot-games__section-title {
    font-size: 2em;
  }

  .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-left: 15px !important;
    padding-right: 15px !important;
    box-sizing: border-box !important;
  }

  .page-slot-games__installation-steps,
  .page-slot-games__game-grid,
  .page-slot-games__promo-cards {
    grid-template-columns: 1fr;
  }

  /* Images responsive */
  .page-slot-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* Video responsive */
  .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__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__hero-section {
    padding-top: var(--header-offset, 120px) !important;
  }
}

/* Ensure images do not use filter to change color, only brightness for contrast if needed */
/* The hero image has a brightness filter applied for text readability, which is not a color-altering filter like invert/sepia/hue-rotate/saturate */
.page-slot-games img {
  /* filter: none; */ /* Removing this to allow brightness on hero image */
}