/* style/slot-games.css */

/* Base styles for the page content */
.page-slot-games {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #f0f0f0; /* Default text color for dark body background */
  background-color: #0a0a0a; /* Body background from shared.css */
}

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

.page-slot-games__section-title {
  font-size: 2.5em;
  font-weight: 700;
  color: #26A9E0; /* Brand primary color */
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.2;
}

.page-slot-games__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #ffffff;
  text-align: justify;
}

/* Hero Section */
.page-slot-games__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  text-align: center;
  overflow: hidden;
}

.page-slot-games__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.page-slot-games__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 8px;
}

.page-slot-games__hero-content {
  position: relative;
  z-index: 10;
  max-width: 800px;
  margin-top: 40px;
}

.page-slot-games__main-title {
  font-size: clamp(2.5em, 5vw, 3.5em); /* Responsive H1 font size */
  font-weight: 900;
  color: #FFFFFF;
  margin-bottom: 20px;
  line-height: 1.1;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.page-slot-games__hero-description {
  font-size: 1.2em;
  color: #f0f0f0;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-slot-games__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.page-slot-games__btn-primary,
.page-slot-games__btn-secondary,
.page-slot-games__btn-link {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1em;
  transition: all 0.3s ease;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow long words to break */
  box-sizing: border-box;
  max-width: 100%;
}

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

.page-slot-games__btn-primary:hover {
  background: #1e87bb;
  border-color: #1e87bb;
  transform: translateY(-2px);
}

.page-slot-games__btn-secondary {
  background: #EA7C07; /* Login specific color */
  color: #ffffff;
  border: 2px solid #EA7C07;
}

.page-slot-games__btn-secondary:hover {
  background: #c26505;
  border-color: #c26505;
  transform: translateY(-2px);
}

.page-slot-games__btn-link {
  background: transparent;
  color: #26A9E0;
  border: 2px solid #26A9E0;
  padding: 10px 20px;
  font-size: 0.95em;
}

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

/* General Section Styling */
.page-slot-games__introduction-section,
.page-slot-games__game-types-section,
.page-slot-games__promotions-section,
.page-slot-games__faq-section {
  padding: 60px 0;
  background-color: #ffffff; /* Light background for these sections */
  color: #333333; /* Dark text for light background */
}

.page-slot-games__introduction-section .page-slot-games__text-block,
.page-slot-games__introduction-section .page-slot-games__section-title,
.page-slot-games__game-types-section .page-slot-games__text-block,
.page-slot-games__game-types-section .page-slot-games__section-title,
.page-slot-games__promotions-section .page-slot-games__text-block,
.page-slot-games__promotions-section .page-slot-games__section-title,
.page-slot-games__faq-section .page-slot-games__section-title,
.page-slot-games__faq-section .page-slot-games__text-block {
  color: #333333;
}

.page-slot-games__why-choose-section,
.page-slot-games__how-to-play-section,
.page-slot-games__providers-section,
.page-slot-games__cta-final-section {
  padding: 60px 0;
  background-color: #0a0a0a; /* Dark background for these sections */
  color: #ffffff;
}

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

.page-slot-games__image-content--center {
  max-width: 800px;
}

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

.page-slot-games__feature-card {
  background: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  transition: transform 0.3s ease;
  color: #ffffff;
}

.page-slot-games__feature-card:hover {
  transform: translateY(-5px);
}

.page-slot-games__feature-title {
  font-size: 1.5em;
  color: #26A9E0;
  margin-bottom: 15px;
  font-weight: 700;
}

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

/* List Styles */
.page-slot-games__list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-slot-games__list-item {
  background: #f5f5f5;
  padding: 25px;
  margin-bottom: 15px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  color: #333333;
}

.page-slot-games__list-title {
  font-size: 1.4em;
  color: #26A9E0;
  margin-bottom: 10px;
  font-weight: 600;
}

.page-slot-games__list-description {
  font-size: 1em;
  color: #555555;
}

/* Steps List (How to Play) */
.page-slot-games__steps-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  counter-reset: step-counter;
}

.page-slot-games__step-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 30px;
  counter-increment: step-counter;
  background: rgba(255, 255, 255, 0.05);
  padding: 20px;
  border-radius: 10px;
}

.page-slot-games__step-item::before {
  content: counter(step-counter);
  font-size: 2em;
  font-weight: 900;
  color: #26A9E0;
  margin-right: 20px;
  min-width: 40px;
  text-align: center;
  line-height: 1;
}

.page-slot-games__step-title {
  font-size: 1.4em;
  color: #ffffff;
  margin-bottom: 10px;
  font-weight: 700;
}

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

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

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

.page-slot-games__promo-card {
  background: #f5f5f5;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
  color: #333333;
  text-align: center;
}

.page-slot-games__promo-card:hover {
  transform: translateY(-5px);
}

.page-slot-games__promo-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-slot-games__promo-title {
  font-size: 1.4em;
  color: #26A9E0;
  margin: 20px 15px 10px;
  font-weight: 700;
}

.page-slot-games__promo-description {
  font-size: 0.95em;
  color: #555555;
  padding: 0 15px 20px;
}

/* Providers Section */
.page-slot-games__providers-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.page-slot-games__provider-logo {
  width: 150px;
  height: 150px;
  object-fit: contain;
  filter: grayscale(100%); /* Example: make logos grayscale */
  opacity: 0.7;
  transition: all 0.3s ease;
  border-radius: 8px;
}

.page-slot-games__provider-logo:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.05);
}

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

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

.page-slot-games__faq-item[open] {
  background: #e0f2f7; /* Lighter background when open */
}

.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: 600;
  color: #26A9E0;
  cursor: pointer;
  list-style: none; /* Remove default marker */
}

.page-slot-games__faq-question::-webkit-details-marker {
  display: none;
}

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

.page-slot-games__faq-toggle {
  font-size: 1.5em;
  font-weight: 900;
  margin-left: 15px;
  color: #26A9E0;
}

.page-slot-games__faq-answer {
  padding: 0 25px 20px;
  font-size: 1em;
  color: #555555;
  line-height: 1.6;
}

/* Final CTA Section */
.page-slot-games__cta-final-section {
  padding: 80px 0;
  text-align: center;
}

.page-slot-games__cta-final-content {
  max-width: 900px;
}

.page-slot-games__cta-final-section .page-slot-games__section-title {
  color: #FFFFFF;
}

.page-slot-games__cta-final-section .page-slot-games__text-block {
  color: #f0f0f0;
  font-size: 1.15em;
  margin-bottom: 40px;
}

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

@media (max-width: 768px) {
  .page-slot-games {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-slot-games__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-slot-games__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
  }

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

  .page-slot-games__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important; /* body handles header offset, small top padding */
  }

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

  .page-slot-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }

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

  .page-slot-games__introduction-section,
  .page-slot-games__why-choose-section,
  .page-slot-games__game-types-section,
  .page-slot-games__how-to-play-section,
  .page-slot-games__promotions-section,
  .page-slot-games__providers-section,
  .page-slot-games__faq-section,
  .page-slot-games__cta-final-section {
    padding: 40px 0;
  }

  .page-slot-games__features-grid,
  .page-slot-games__promo-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .page-slot-games__feature-card,
  .page-slot-games__promo-card,
  .page-slot-games__list-item,
  .page-slot-games__step-item,
  .page-slot-games__faq-item {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-slot-games__image-content,
  .page-slot-games__promo-image,
  .page-slot-games__provider-logo {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    box-sizing: border-box !important;
  }

  .page-slot-games__providers-list {
    gap: 15px;
  }

  .page-slot-games__provider-logo {
    width: 100px;
    height: 100px;
  }

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

  .page-slot-games__faq-answer {
    padding: 0 20px 15px;
  }

  .page-slot-games__dark-bg {
    color: #ffffff;
  }

  .page-slot-games__light-bg {
    color: #333333;
  }
}