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

/* Hero Section */
.page-slot-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  background-color: #000000; /* Dark background for hero */
  overflow: hidden;
  min-height: 600px;
}

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

.page-slot-games__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4); /* Darken video for text readability */
}

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

.page-slot-games__main-title {
  font-size: 3.5em;
  font-weight: bold;
  margin-bottom: 20px;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

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

.page-slot-games__hero-cta {
  display: flex;
  gap: 20px;
  justify-content: center;
}

/* 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;
  font-size: 1.1em;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 2px solid transparent; /* Default transparent border */
}

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

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

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

.page-slot-games__btn-secondary:hover {
  background-color: #e0e0e0;
  color: #1e87b7;
  border-color: #1e87b7;
}

/* General Sections */
.page-slot-games__section {
  padding: 60px 20px;
  text-align: center;
}

.page-slot-games__dark-bg {
  background-color: #1a1a1a; /* Darker background for contrast */
  color: #ffffff;
}

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

.page-slot-games__dark-bg .page-slot-games__section-title {
  color: #ffffff; /* White title on dark background */
}

.page-slot-games__section-description {
  font-size: 1.1em;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #f0f0f0;
}

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

.page-slot-games__content-wrapper {
  max-width: 900px;
  margin: 0 auto 40px auto;
  text-align: left;
}

.page-slot-games__content-wrapper p {
  margin-bottom: 15px;
  color: #f0f0f0; /* Light text for readability */
}

.page-slot-games__content-wrapper ul {
  list-style: disc;
  padding-left: 25px;
  margin-bottom: 15px;
  color: #f0f0f0;
}

.page-slot-games__content-wrapper li {
  margin-bottom: 8px;
  color: #f0f0f0;
}

.page-slot-games__sub-title {
  font-size: 1.8em;
  font-weight: bold;
  margin-top: 30px;
  margin-bottom: 20px;
  color: #26A9E0;
  text-align: left;
}

/* Image styling */
.page-slot-games__image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.page-slot-games__card,
.page-slot-games__step-card,
.page-slot-games__strategy-card,
.page-slot-games__benefit-card {
  background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white on dark body */
  color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: left;
  display: flex;
  flex-direction: column;
}

.page-slot-games__card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

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

.page-slot-games__card-text {
  font-size: 1em;
  color: #f0f0f0;
}

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

.page-slot-games__step-card p {
  color: #f0f0f0;
}

.page-slot-games__step-card ul {
  list-style: none;
  padding-left: 0;
}

.page-slot-games__step-card li {
  margin-bottom: 5px;
  color: #f0f0f0;
}

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

.page-slot-games__strategy-card p {
  color: #f0f0f0;
}

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

.page-slot-games__benefit-card p {
  color: #f0f0f0;
}

/* CTA Wrapper */
.page-slot-games__cta-wrapper {
  margin-top: 50px;
  text-align: center;
}

/* FAQ Section */
.page-slot-games__faq-section {
  padding-top: 60px;
  padding-bottom: 80px;
  background-color: #000000; /* Dark background for FAQ section */
  color: #ffffff;
}

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

.page-slot-games__faq-item {
  background-color: rgba(255, 255, 255, 0.1);
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: #26A9E0; /* Brand color for question background */
  color: #ffffff;
  font-weight: bold;
  font-size: 1.1em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

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

.page-slot-games__faq-question h3 {
  margin: 0;
  color: #ffffff;
}

.page-slot-games__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-slot-games__faq-item.active .page-slot-games__faq-toggle {
  transform: rotate(45deg);
}

.page-slot-games__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
  color: #f0f0f0;
  background-color: rgba(0, 0, 0, 0.4); /* Darker background for answer */
}

.page-slot-games__faq-item.active .page-slot-games__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show all content */
  padding: 20px 25px;
}

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

/* Links within content */
.page-slot-games a {
  color: #26A9E0;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-slot-games a:hover {
  color: #1e87b7;
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-slot-games__main-title {
    font-size: 3em;
  }
  .page-slot-games__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-slot-games__hero-section {
    padding: 60px 15px;
    min-height: 500px;
    padding-top: var(--header-offset, 120px) !important;
  }

  .page-slot-games__main-title {
    font-size: 2.2em;
  }

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

  .page-slot-games__hero-cta {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 300px; /* Constrain buttons */
  }

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

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

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

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

  .page-slot-games__sub-title {
    font-size: 1.5em;
  }

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

  .page-slot-games__card-image {
    height: auto; /* Allow card images to scale */
  }

  /* Video responsiveness */
  .page-slot-games video,
  .page-slot-games__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-slot-games__hero-video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  
  /* Ensure content containers also respect max-width */
  .page-slot-games__section,
  .page-slot-games__card,
  .page-slot-games__container,
  .page-slot-games__content-wrapper,
  .page-slot-games__grid,
  .page-slot-games__steps-grid,
  .page-slot-games__strategy-grid,
  .page-slot-games__benefits-grid,
  .page-slot-games__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-slot-games__faq-question,
  .page-slot-games__faq-answer {
    padding-left: 15px;
    padding-right: 15px;
  }
}

/* Ensure content area images are not too small */
.page-slot-games img:not(.page-slot-games__card-image) {
  min-width: 200px;
  min-height: 200px;
}
.page-slot-games__card-image {
  min-width: 200px;
  min-height: 150px;
}

/* No CSS filters for images */
.page-slot-games img {
  filter: none;
}