/* style/slot-games.css */

/* Base styles for the slot-games page */
.page-slot-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 */
}

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

.page-slot-games__dark-bg {
  background-color: #0a0a0a; /* Match body background for consistency */
  color: #ffffff;
}

.page-slot-games__light-bg {
  background-color: #1a1a1a; /* Slightly lighter dark for contrast */
  color: #ffffff;
}

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

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

.page-slot-games__hero-image-wrapper {
  width: 100%;
  max-height: 600px; /* Limit height for desktop hero image */
  overflow: hidden;
  position: relative;
}

.page-slot-games__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7); /* Slightly darken image for text readability */
}

.page-slot-games__hero-content {
  position: relative; /* Ensure content is above image but not overlapping */
  z-index: 2;
  padding: 40px 20px;
  max-width: 900px;
  margin-top: -100px; /* Pull content up over the image slightly */
  background: linear-gradient(to top, rgba(10, 10, 10, 0.9), rgba(10, 10, 10, 0.6), transparent); /* Gradient for text readability */
  border-radius: 10px;
}

.page-slot-games__main-title {
  font-size: clamp(2.5rem, 4vw, 3.5rem); /* Responsive H1 font size */
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-slot-games__lead-paragraph {
  font-size: 1.2rem;
  color: #f0f0f0;
  margin-bottom: 30px;
}

/* Titles and Descriptions */
.page-slot-games__section-title {
  font-size: clamp(2rem, 3vw, 2.8rem); /* Responsive section title */
  color: #26A9E0;
  margin-bottom: 20px;
  font-weight: 700;
}

.page-slot-games__section-description {
  font-size: 1.1rem;
  color: #f0f0f0;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-slot-games__sub-title {
  font-size: 1.8rem;
  color: #26A9E0;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-slot-games__text-block {
  font-size: 1rem;
  color: #f0f0f0;
  margin-bottom: 20px;
}

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

.page-slot-games__btn-primary,
.page-slot-games__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

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

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

.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__btn-small {
  display: inline-block;
  padding: 8px 15px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  background-color: #EA7C07; /* Login color for small buttons */
  color: #FFFFFF;
  border: none;
  transition: background-color 0.3s ease;
}

.page-slot-games__btn-small:hover {
  background-color: #c96706;
}

.page-slot-games__cta-center {
  margin-top: 40px;
}

/* Image styles */
.page-slot-games__image-full-width {
  width: 100%;
  height: auto;
  max-width: 800px;
  margin: 30px auto;
  border-radius: 10px;
  display: block;
  object-fit: cover;
}

.page-slot-games__image-center {
  width: 100%;
  height: auto;
  max-width: 600px;
  margin: 30px auto;
  border-radius: 10px;
  display: block;
  object-fit: cover;
}

/* Grid layouts */
.page-slot-games__features-grid,
.page-slot-games__game-types-grid,
.page-slot-games__promotions-grid,
.page-slot-games__security-points-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

/* Cards */
.page-slot-games__card {
  background-color: rgba(255, 255, 255, 0.1); /* Slightly transparent white for dark background */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #ffffff;
}

.page-slot-games__card-title {
  font-size: 1.4rem;
  color: #26A9E0;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-slot-games__card-text {
  font-size: 1rem;
  color: #f0f0f0;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Lists */
.page-slot-games__steps-list {
  list-style: none;
  padding: 0;
  margin: 40px auto;
  max-width: 800px;
  text-align: left;
}

.page-slot-games__steps-list li {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 25px;
  margin-bottom: 15px;
  border-radius: 8px;
  position: relative;
  padding-left: 60px;
  color: #ffffff;
}

.page-slot-games__steps-list li:before {
  content: counter(step-counter);
  counter-increment: step-counter;
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  background-color: #26A9E0;
  color: #FFFFFF;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
}

.page-slot-games__step-title {
  font-size: 1.25rem;
  color: #26A9E0;
  margin-bottom: 5px;
}

.page-slot-games__step-text {
  font-size: 1rem;
  color: #f0f0f0;
}

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

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

.page-slot-games__list li::before {
  content: '✔';
  position: absolute;
  left: 0;
  color: #26A9E0;
  font-weight: bold;
}

.page-slot-games__vip-benefits-list {
  list-style: none;
  padding: 0;
  margin: 40px auto;
  max-width: 800px;
  text-align: left;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.page-slot-games__vip-benefits-list li {
  background-color: rgba(38, 169, 224, 0.1);
  padding: 20px;
  border-left: 5px solid #26A9E0;
  border-radius: 5px;
  color: #ffffff;
  font-size: 1.05rem;
}

/* Mobile Experience Section */
.page-slot-games__mobile-content-wrapper {
  display: flex;
  align-items: center;
  gap: 40px;
  text-align: left;
  margin-top: 40px;
}

.page-slot-games__mobile-image {
  flex: 1;
  max-width: 50%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
}

.page-slot-games__mobile-text-content {
  flex: 1;
  max-width: 50%;
}

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

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

.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.1rem;
  color: #26A9E0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-slot-games__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

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

.page-slot-games__faq-item[open] .page-slot-games__faq-toggle {
  transform: rotate(45deg); /* Rotate for 'x' or '-' effect */
}

.page-slot-games__faq-answer {
  padding: 0 20px 20px 20px;
  font-size: 1rem;
  color: #f0f0f0;
}

/* Hide default details arrow */
details > summary::-webkit-details-marker {
  display: none;
}
details > summary {
  list-style: none;
}

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

/* Responsive adjustments */
@media (max-width: 992px) {
  .page-slot-games__hero-content {
    margin-top: -50px;
    padding: 30px 15px;
  }
  .page-slot-games__section {
    padding: 40px 0;
  }
  .page-slot-games__main-title {
    font-size: clamp(2rem, 5vw, 3rem);
  }
  .page-slot-games__section-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
  }
  .page-slot-games__mobile-content-wrapper {
    flex-direction: column;
    text-align: center;
  }
  .page-slot-games__mobile-image,
  .page-slot-games__mobile-text-content {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .page-slot-games {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-slot-games__container {
    padding: 0 15px;
  }
  .page-slot-games__hero-section {
    padding: 10px 0 40px 0;
  }
  .page-slot-games__hero-content {
    margin-top: 0; /* Remove negative margin on mobile */
    padding: 20px 15px;
    background: rgba(10, 10, 10, 0.8); /* Solid background for text on mobile */
  }
  .page-slot-games__main-title {
    font-size: 2.2rem;
  }
  .page-slot-games__lead-paragraph {
    font-size: 1rem;
  }
  .page-slot-games__section-title {
    font-size: 1.8rem;
  }
  .page-slot-games__section-description {
    font-size: 0.95rem;
  }
  .page-slot-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary,
  .page-slot-games a[class*="button"],
  .page-slot-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__cta-buttons,
  .page-slot-games__button-group,
  .page-slot-games__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }
  .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-image-wrapper,
  .page-slot-games__image-full-width,
  .page-slot-games__image-center,
  .page-slot-games__mobile-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-slot-games__faq-question {
    font-size: 1rem;
    padding: 15px;
  }
  .page-slot-games__faq-answer {
    padding: 0 15px 15px 15px;
  }
  .page-slot-games__steps-list li {
    padding-left: 50px;
  }
  .page-slot-games__steps-list li:before {
    left: 15px;
  }
  .page-slot-games__vip-benefits-list {
    grid-template-columns: 1fr;
  }
  .page-slot-games__hero-image {
    filter: brightness(0.5); /* Darken more for better mobile text contrast */
  }
  .page-slot-games__hero-section {
    padding-top: 10px !important; /* body already handles header offset */
  }
}