/* style/slot-games.css */
:root {
  --page-slot-games-primary-color: #26A9E0;
  --page-slot-games-secondary-color: #FFFFFF;
  --page-slot-games-dark-text: #333333;
  --page-slot-games-light-text: #ffffff;
  --page-slot-games-login-color: #EA7C07;
  --page-slot-games-background-color: #FFFFFF;
  --page-slot-games-black-color: #000000;
}

.page-slot-games {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--page-slot-games-light-text); /* Body background is dark, so light text */
  background-color: #0a0a0a; /* Assuming body background from shared.css */
}

.page-slot-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px 20px 60px; /* Small top padding, larger bottom for content */
  min-height: 500px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--page-slot-games-primary-color), #1a7bb0);
  box-sizing: border-box;
}

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

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

.page-slot-games__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 20px;
  color: var(--page-slot-games-light-text);
}

.page-slot-games__main-title {
  font-size: clamp(2em, 4vw, 3.2em);
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  color: var(--page-slot-games-light-text);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-slot-games__description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: var(--page-slot-games-light-text);
}

.page-slot-games__description--light {
  color: var(--page-slot-games-light-text);
}

.page-slot-games__cta-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-slot-games__btn-primary,
.page-slot-games__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-slot-games__btn-primary {
  background-color: var(--page-slot-games-primary-color);
  color: var(--page-slot-games-light-text);
  border: 2px solid var(--page-slot-games-primary-color);
}

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

.page-slot-games__btn-secondary {
  background-color: transparent;
  color: var(--page-slot-games-light-text);
  border: 2px solid var(--page-slot-games-light-text);
}

.page-slot-games__btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.page-slot-games__btn-link {
  color: var(--page-slot-games-primary-color);
  text-decoration: underline;
  font-weight: bold;
  display: inline-block;
  margin-top: 10px;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-slot-games__btn-link:hover {
  color: #1e87b8;
}

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

.page-slot-games__dark-bg {
  background-color: #0a0a0a; /* Matches body background */
  color: var(--page-slot-games-light-text);
}

.page-slot-games__light-bg {
  background-color: var(--page-slot-games-background-color);
  color: var(--page-slot-games-dark-text);
}

.page-slot-games__section-title {
  font-size: 2.2em;
  font-weight: 700;
  margin-bottom: 30px;
  text-align: center;
  color: var(--page-slot-games-primary-color);
}

.page-slot-games__section-title--light {
  color: var(--page-slot-games-light-text);
}

.page-slot-games__features-grid,
.page-slot-games__promotions-grid,
.page-slot-games__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-slot-games__feature-item,
.page-slot-games__promo-card,
.page-slot-games__step-item {
  background-color: var(--page-slot-games-background-color);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  color: var(--page-slot-games-dark-text);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-slot-games__promo-card {
  overflow: hidden;
  padding: 0;
  text-align: left;
}

.page-slot-games__promo-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  margin-bottom: 15px;
}

.page-slot-games__promo-card h3,
.page-slot-games__promo-card p,
.page-slot-games__promo-card a {
  padding: 0 25px;
}

.page-slot-games__promo-card h3 {
  margin-top: 0;
}

.page-slot-games__feature-image,
.page-slot-games__step-image {
  width: 100%;
  max-width: 250px;
  height: auto;
  object-fit: contain;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
}

.page-slot-games__feature-title,
.page-slot-games__step-title,
.page-slot-games__promo-title {
  font-size: 1.5em;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--page-slot-games-primary-color);
}

.page-slot-games__step-item {
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--page-slot-games-light-text);
  box-shadow: none;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-slot-games__step-item .page-slot-games__step-title {
  color: var(--page-slot-games-light-text);
}

.page-slot-games__step-item .page-slot-games__btn-link {
  color: var(--page-slot-games-primary-color);
}

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

.page-slot-games__advantage-item {
  background-color: rgba(255, 255, 255, 0.05);
  border-left: 4px solid var(--page-slot-games-primary-color);
  padding: 15px 20px;
  margin-bottom: 15px;
  border-radius: 5px;
  font-size: 1.1em;
}

.page-slot-games__button-group {
  display: flex;
  gap: 15px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.page-slot-games__button-group--center {
  justify-content: center;
}

.page-slot-games__faq-list {
  margin-top: 40px;
}

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

.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  background-color: #f8f8f8;
  border-bottom: 1px solid #eee;
  color: var(--page-slot-games-primary-color);
  list-style: none; /* For details/summary */
}

.page-slot-games__faq-item[open] .page-slot-games__faq-question {
  border-bottom: 1px solid var(--page-slot-games-primary-color);
}

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

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

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

.page-slot-games__faq-answer {
  padding: 20px 25px;
  font-size: 1em;
  color: var(--page-slot-games-dark-text);
}

.page-slot-games__faq-answer p {
  margin-bottom: 15px;
}

.page-slot-games__cta-section {
  text-align: center;
  padding: 80px 20px;
}

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

  .page-slot-games__hero-section {
    padding: 10px 15px 40px;
    min-height: 400px;
  }

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

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

  .page-slot-games__cta-buttons {
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }

  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary,
  .page-slot-games__btn-link {
    width: 100% !important;
    max-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__content-area {
    padding: 40px 15px;
  }

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

  .page-slot-games__features-grid,
  .page-slot-games__promotions-grid,
  .page-slot-games__steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-slot-games__feature-item,
  .page-slot-games__promo-card,
  .page-slot-games__step-item {
    padding: 20px;
  }

  .page-slot-games__feature-image,
  .page-slot-games__step-image {
    min-width: 200px !important;
    min-height: 200px !important;
  }

  .page-slot-games__promo-card img {
    
  }

  .page-slot-games__promo-card h3,
  .page-slot-games__promo-card p,
  .page-slot-games__promo-card a {
    padding: 0 15px;
  }

  .page-slot-games__advantage-item {
    padding: 12px 15px;
    font-size: 1em;
  }

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

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

  .page-slot-games__cta-section {
    padding: 60px 15px;
  }

  /* Ensure all images are responsive and do not overflow */
  .page-slot-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-slot-games__section,
  .page-slot-games__card,
  .page-slot-games__container,
  .page-slot-games__hero-section,
  .page-slot-games__content-area,
  .page-slot-games__cta-section,
  .page-slot-games__hero-image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    /* padding-left: 15px; */ /* Handled by content-area, hero-section */
    /* padding-right: 15px; */
    overflow: hidden !important; /* Ensure no overflow */
  }

  .page-slot-games__button-group {
    flex-direction: column !important;
    gap: 10px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-slot-games__button-group--center {
    padding-left: 0;
    padding-right: 0;
  }
}