/* style/slot-games-latest-slots.css */

/* Base styles for the page content, ensuring light text on dark body background */
.page-slot-games-latest-slots {
  color: #ffffff; /* Default text color for dark body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: transparent; /* Body background is handled by shared.css var(--black-color) */
}

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

.page-slot-games-latest-slots__section {
  padding: 60px 0;
  text-align: center;
}

/* Color contrast classes */
.page-slot-games-latest-slots__dark-bg {
  background-color: #26A9E0; /* Brand primary color */
  color: #ffffff; /* White text on primary background */
}

.page-slot-games-latest-slots__light-bg {
  background-color: #ffffff; /* Auxiliary color for contrast */
  color: #333333; /* Dark text on white background */
}

.page-slot-games-latest-slots__section-title {
  font-size: clamp(2em, 4vw, 2.8em); /* Responsive font size */
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  color: inherit; /* Inherit from parent section */
}

.page-slot-games-latest-slots__section-intro {
  font-size: 1.1em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: inherit;
}

/* Hero Section */
.page-slot-games-latest-slots__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 0 60px 0; /* Small top padding, more bottom padding */
  overflow: hidden;
}

.page-slot-games-latest-slots__hero-image-wrapper {
  width: 100%;
  max-height: 700px; /* Limit height for hero image */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-slot-games-latest-slots__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-slot-games-latest-slots__hero-content {
  position: relative; /* Ensure content is below image in normal flow */
  z-index: 1; /* Ensure content is above any potential background elements */
  padding: 40px 20px;
  max-width: 900px;
  box-sizing: border-box;
}

.page-slot-games-latest-slots__main-title {
  font-size: clamp(2.5em, 5vw, 3.5em); /* Responsive font size for H1 */
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.1;
  color: #ffffff;
}

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

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

/* Buttons */
.page-slot-games-latest-slots__btn-primary,
.page-slot-games-latest-slots__btn-secondary,
.page-slot-games-latest-slots__btn-play {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  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%;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
}

.page-slot-games-latest-slots__btn-primary {
  background-color: #EA7C07; /* Login color for primary action */
  color: #ffffff;
  border: 2px solid #EA7C07;
}

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

.page-slot-games-latest-slots__btn-secondary {
  background-color: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}

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

.page-slot-games-latest-slots__btn-play {
  background-color: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
  padding: 10px 20px;
  font-size: 1em;
}

.page-slot-games-latest-slots__btn-play:hover {
  background-color: #1e87bb;
  border-color: #1e87bb;
}

.page-slot-games-latest-slots__cta-center {
  margin-top: 40px;
}

/* Features Grid */
.page-slot-games-latest-slots__features-grid,
.page-slot-games-latest-slots__game-types-grid,
.page-slot-games-latest-slots__featured-games-grid,
.page-slot-games-latest-slots__promotions-grid,
.page-slot-games-latest-slots__security-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-slot-games-latest-slots__feature-item,
.page-slot-games-latest-slots__game-type-card,
.page-slot-games-latest-slots__game-card,
.page-slot-games-latest-slots__promo-card,
.page-slot-games-latest-slots__security-item {
  background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white on dark background */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-slot-games-latest-slots__light-bg .page-slot-games-latest-slots__feature-item,
.page-slot-games-latest-slots__light-bg .page-slot-games-latest-slots__game-type-card,
.page-slot-games-latest-slots__light-bg .page-slot-games-latest-slots__game-card,
.page-slot-games-latest-slots__light-bg .page-slot-games-latest-slots__promo-card,
.page-slot-games-latest-slots__light-bg .page-slot-games-latest-slots__security-item {
  background-color: #f8f8f8; /* Light background for cards on light sections */
  color: #333333;
}

.page-slot-games-latest-slots__feature-title,
.page-slot-games-latest-slots__card-title,
.page-slot-games-latest-slots__game-title,
.page-slot-games-latest-slots__promo-title,
.page-slot-games-latest-slots__security-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  font-weight: 600;
  color: inherit;
}

.page-slot-games-latest-slots__feature-description,
.page-slot-games-latest-slots__card-description,
.page-slot-games-latest-slots__game-description,
.page-slot-games-latest-slots__promo-description,
.page-slot-games-latest-slots__security-description {
  font-size: 1em;
  color: inherit;
}

.page-slot-games-latest-slots__card-image,
.page-slot-games-latest-slots__game-image {
  width: 100%;
  height: 200px; /* Fixed height for consistent card layout */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

/* How to Play */
.page-slot-games-latest-slots__how-to-play-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-slot-games-latest-slots__step-item {
  background-color: rgba(255, 255, 255, 0.15);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  color: #ffffff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.page-slot-games-latest-slots__step-number {
  font-size: 2.5em;
  font-weight: 800;
  color: #EA7C07;
  margin-bottom: 15px;
}

.page-slot-games-latest-slots__step-title {
  font-size: 1.8em;
  font-weight: 700;
  margin-bottom: 10px;
  color: #ffffff;
}

.page-slot-games-latest-slots__step-description {
  font-size: 1em;
  color: #f0f0f0;
}

/* Mobile Experience */
.page-slot-games-latest-slots__mobile-features {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 40px;
  margin-top: 40px;
}

.page-slot-games-latest-slots__mobile-text {
  flex: 1;
  min-width: 300px;
  text-align: left;
  color: #ffffff;
}

.page-slot-games-latest-slots__mobile-title {
  font-size: 1.6em;
  font-weight: 600;
  margin-bottom: 10px;
  color: #ffffff;
}

.page-slot-games-latest-slots__mobile-description {
  font-size: 1em;
  margin-bottom: 20px;
  color: #f0f0f0;
}

.page-slot-games-latest-slots__mobile-image-wrapper {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-slot-games-latest-slots__mobile-image {
  width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  display: block;
}

/* Security Section */
.page-slot-games-latest-slots__security-icon {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 15px;
  display: block;
}

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

.page-slot-games-latest-slots__faq-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #ffffff;
}

.page-slot-games-latest-slots__faq-item[open] {
  background-color: rgba(255, 255, 255, 0.2);
}

.page-slot-games-latest-slots__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.1em;
  font-weight: 600;
  cursor: pointer;
  list-style: none; /* Hide default marker for details */
  color: #ffffff;
}

.page-slot-games-latest-slots__faq-question::-webkit-details-marker {
  display: none; /* Hide default marker for webkit browsers */
}

.page-slot-games-latest-slots__faq-qtext {
  flex-grow: 1;
}

.page-slot-games-latest-slots__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  transition: transform 0.3s ease;
}

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

.page-slot-games-latest-slots__faq-answer {
  padding: 0 20px 20px 20px;
  font-size: 0.95em;
  color: #f0f0f0;
}

.page-slot-games-latest-slots__faq-answer p {
  margin: 0;
}

/* Final CTA */
.page-slot-games-latest-slots__cta-final {
  padding: 80px 20px;
}

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

  .page-slot-games-latest-slots__container,
  .page-slot-games-latest-slots__hero-content,
  .page-slot-games-latest-slots__cta-buttons,
  .page-slot-games-latest-slots__features-grid,
  .page-slot-games-latest-slots__game-types-grid,
  .page-slot-games-latest-slots__featured-games-grid,
  .page-slot-games-latest-slots__how-to-play-steps,
  .page-slot-games-latest-slots__promotions-grid,
  .page-slot-games-latest-slots__mobile-features,
  .page-slot-games-latest-slots__security-features,
  .page-slot-games-latest-slots__faq-list {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-slot-games-latest-slots__hero-section {
    padding-top: 10px !important; /* Small top padding for mobile hero */
    padding-bottom: 40px !important;
  }

  .page-slot-games-latest-slots__hero-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-slot-games-latest-slots__main-title {
    font-size: clamp(2em, 8vw, 2.5em);
  }

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

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

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

  .page-slot-games-latest-slots__section {
    padding: 40px 0;
  }

  .page-slot-games-latest-slots__section-title {
    font-size: clamp(1.8em, 7vw, 2.2em);
  }

  .page-slot-games-latest-slots__card-image,
  .page-slot-games-latest-slots__game-image {
    height: 180px; /* Adjust height for mobile card images */
    max-width: 100% !important;
    width: 100% !important;
    display: block !important;
  }

  .page-slot-games-latest-slots__mobile-features {
    flex-direction: column;
  }

  .page-slot-games-latest-slots__mobile-text,
  .page-slot-games-latest-slots__mobile-image-wrapper {
    min-width: unset;
    width: 100%;
    max-width: 100%;
  }

  .page-slot-games-latest-slots__mobile-image,
  .page-slot-games-latest-slots__security-icon {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-slot-games-latest-slots__security-icon {
    width: 60px !important;
    height: 60px !important;
  }

  .page-slot-games-latest-slots__faq-question {
    font-size: 1em;
  }

  .page-slot-games-latest-slots__faq-answer {
    font-size: 0.9em;
  }
}