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

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

/* Hero Section */
.page-slot-games-latest-games__hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 0;
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
  min-height: 600px;
  text-align: center;
  overflow: hidden;
  color: #ffffff;
}

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

.page-slot-games-latest-games__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5); /* Darken image for text readability */
}

.page-slot-games-latest-games__hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.4); /* Semi-transparent background for text */
  border-radius: 8px;
}

.page-slot-games-latest-games__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #26A9E0; /* Brand color for emphasis */
  line-height: 1.2;
}

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

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

/* General Section Styles */
.page-slot-games-latest-games__introduction-section,
.page-slot-games-latest-games__how-to-play-section,
.page-slot-games-latest-games__faq-section {
  padding: 60px 0;
  background-color: #1a1a1a; /* Slightly lighter dark background for contrast */
  color: #ffffff;
}

.page-slot-games-latest-games__features-section,
.page-slot-games-latest-games__benefits-section,
.page-slot-games-latest-games__conclusion-section {
  padding: 60px 0;
  background-color: #121212; /* Darker background */
  color: #ffffff;
}

.page-slot-games-latest-games__section-title {
  font-size: 2.5em;
  color: #26A9E0; /* Brand color */
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 10px;
}

.page-slot-games-latest-games__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #26A9E0;
  border-radius: 2px;
}

.page-slot-games-latest-games__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
  color: #e0e0e0;
}

/* Buttons */
.page-slot-games-latest-games__btn-primary,
.page-slot-games-latest-games__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%; /* Ensure buttons adapt to container */
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

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

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

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

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

.page-slot-games-latest-games__btn-large {
  padding: 18px 35px;
  font-size: 1.1em;
}

.page-slot-games-latest-games__cta-center {
    text-align: center;
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

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

.page-slot-games-latest-games__feature-card {
  background-color: #1a1a1a;
  border-radius: 8px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #e0e0e0;
}

.page-slot-games-latest-games__feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.page-slot-games-latest-games__card-image {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  margin-bottom: 20px;
  object-fit: cover;
  min-height: 200px; /* Enforce minimum size */
  width: 100%;
}

.page-slot-games-latest-games__card-title {
  font-size: 1.5em;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-slot-games-latest-games__card-description {
  font-size: 1em;
  color: #c0c0c0;
  text-align: justify;
}

/* Lists */
.page-slot-games-latest-games__ordered-list,
.page-slot-games-latest-games__unordered-list {
  list-style-type: none;
  padding: 0;
  margin: 30px 0;
}

.page-slot-games-latest-games__ordered-list li,
.page-slot-games-latest-games__unordered-list li {
  background-color: #1a1a1a;
  margin-bottom: 15px;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  color: #e0e0e0;
}

.page-slot-games-latest-games__list-heading {
  font-size: 1.3em;
  color: #26A9E0;
  margin-bottom: 10px;
}

.page-slot-games-latest-games__list-text {
  font-size: 1em;
  color: #c0c0c0;
  text-align: justify;
}

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

.page-slot-games-latest-games__faq-item {
  background-color: #1a1a1a;
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  color: #e0e0e0;
}

.page-slot-games-latest-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;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-slot-games-latest-games__faq-question:hover {
  color: #26A9E0;
}

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

.page-slot-games-latest-games__faq-item[open] .page-slot-games-latest-games__faq-toggle {
  transform: rotate(45deg);
}

.page-slot-games-latest-games__faq-answer {
  padding: 20px;
  font-size: 1em;
  color: #c0c0c0;
  text-align: justify;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.page-slot-games-latest-games__faq-item summary::-webkit-details-marker {
  display: none;
}
.page-slot-games-latest-games__faq-item summary {
  list-style: none;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-slot-games-latest-games__hero-title {
    font-size: 2.8em;
  }

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

@media (max-width: 768px) {
  .page-slot-games-latest-games__hero-section {
    flex-direction: column;
    padding: 60px 0;
    padding-top: var(--header-offset, 120px) !important; /* Ensure mobile padding-top */
  }

  .page-slot-games-latest-games__hero-content {
    max-width: 90%;
    padding: 15px;
  }

  .page-slot-games-latest-games__hero-title {
    font-size: 2.2em;
  }

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

  .page-slot-games-latest-games__hero-cta {
    flex-direction: column;
    gap: 15px;
  }

  .page-slot-games-latest-games__btn-primary,
  .page-slot-games-latest-games__btn-secondary,
  .page-slot-games-latest-games a[class*="button"],
  .page-slot-games-latest-games a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-slot-games-latest-games__cta-center {
    flex-direction: column;
    gap: 15px;
  }

  .page-slot-games-latest-games__introduction-section,
  .page-slot-games-latest-games__features-section,
  .page-slot-games-latest-games__how-to-play-section,
  .page-slot-games-latest-games__benefits-section,
  .page-slot-games-latest-games__faq-section,
  .page-slot-games-latest-games__conclusion-section {
    padding: 40px 0;
  }

  .page-slot-games-latest-games__container {
    padding: 0 15px;
  }

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

  .page-slot-games-latest-games__paragraph,
  .page-slot-games-latest-games__card-description,
  .page-slot-games-latest-games__list-text,
  .page-slot-games-latest-games__faq-answer p {
    font-size: 0.95em;
  }

  .page-slot-games-latest-games__card-title {
    font-size: 1.3em;
  }

  .page-slot-games-latest-games__list-heading {
    font-size: 1.1em;
  }

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

  /* Image responsive rules for mobile */
  .page-slot-games-latest-games img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-slot-games-latest-games__hero-image-wrapper,
  .page-slot-games-latest-games__container,
  .page-slot-games-latest-games__feature-card,
  .page-slot-games-latest-games__ordered-list li,
  .page-slot-games-latest-games__unordered-list li,
  .page-slot-games-latest-games__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important; /* Prevent content overflow */
  }
  
  .page-slot-games-latest-games__hero-image-wrapper {
      position: relative; /* Adjust for mobile flow */
      height: 250px; /* Fixed height for mobile hero image */
      margin-bottom: 20px;
  }
  .page-slot-games-latest-games__hero-image {
      position: absolute;
      top: 0; left: 0; right: 0; bottom: 0;
  }
  .page-slot-games-latest-games__hero-content {
      margin-top: -200px; /* Pull content up over image */
  }
}

@media (max-width: 480px) {
  .page-slot-games-latest-games__hero-title {
    font-size: 1.8em;
  }

  .page-slot-games-latest-games__section-title {
    font-size: 1.5em;
  }

  .page-slot-games-latest-games__btn-large {
    font-size: 1em;
    padding: 12px 25px;
  }
}

/* Color Contrast Fixes for specific elements if needed */
.page-slot-games-latest-games__dark-bg {
  color: #ffffff; /* Deep dark background, so enforce light text */
}

.page-slot-games-latest-games__light-bg {
  color: #333333; /* Light background, so enforce dark text */
  background-color: #ffffff;
}

.page-slot-games-latest-games__btn-primary.page-slot-games-latest-games__login-button {
  background-color: #EA7C07;
  border-color: #EA7C07;
}

.page-slot-games-latest-games__btn-primary.page-slot-games-latest-games__login-button:hover {
  background-color: #d16b06;
  border-color: #d16b06;
}