/* style/slot-games.css */

/* Body background is #0a0a0a (dark), so text should be light */
.page-slot-games {
  color: #ffffff; /* Default text color for the page */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

.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 */
  background: #0a0a0a; /* Ensure dark background for this section */
  color: #ffffff;
  text-align: center;
}

.page-slot-games__hero-image-wrapper {
  width: 100%;
  max-width: 1920px; /* Adjust based on desired hero image width */
  margin-bottom: 30px;
}

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

.page-slot-games__hero-content {
  max-width: 900px;
  margin: 0 auto;
}

.page-slot-games__main-title {
  font-size: clamp(2.2em, 4vw, 3.5em);
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #26A9E0;
}

.page-slot-games__description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-slot-games__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  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: 600;
  font-size: 1.05em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

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

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

.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__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  box-sizing: border-box;
}

.page-slot-games__section-title {
  font-size: 2.5em;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: #26A9E0;
}

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

.page-slot-games__introduction-section {
  background: #0a0a0a; /* Body background is dark */
  color: #ffffff;
}

.page-slot-games__why-choose-section {
  background: #1a1a1a;
  color: #ffffff;
}

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

.page-slot-games__feature-card {
  background: rgba(255, 255, 255, 0.08); /* Semi-transparent light background */
  padding: 30px;
  border-radius: 10px;
  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(-10px);
}

.page-slot-games__feature-icon {
  width: 100%;
  max-width: 250px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

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

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

.page-slot-games__types-section {
  background: #0a0a0a;
  color: #ffffff;
}

.page-slot-games__game-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-slot-games__game-item {
  background: rgba(255, 255, 255, 0.05);
  padding: 25px;
  margin-bottom: 15px;
  border-left: 5px solid #26A9E0;
  border-radius: 5px;
  color: #f0f0f0;
}

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

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

.page-slot-games__how-to-play-section {
  background: #1a1a1a;
  color: #ffffff;
}

.page-slot-games__tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.page-slot-games__tip-card {
  background: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #ffffff;
}

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

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

.page-slot-games__promotions-section {
  background: #0a0a0a;
  color: #ffffff;
}

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

.page-slot-games__promo-card {
  background: rgba(255, 255, 255, 0.05);
  padding: 25px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-slot-games__promo-image {
  width: 100%;
  height: auto;
  max-height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

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

.page-slot-games__promo-description {
  font-size: 1em;
  margin-bottom: 20px;
  flex-grow: 1;
  color: #f0f0f0;
}

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

.page-slot-games__faq-section {
  background: #1a1a1a;
  color: #ffffff;
}

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

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

.page-slot-games__faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  background: #262626;
  font-weight: 600;
  font-size: 1.2em;
  color: #26A9E0;
}

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

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

.page-slot-games__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
}

.page-slot-games__faq-item[open] .page-slot-games__faq-toggle {
  content: '−';
}

.page-slot-games__faq-answer {
  padding: 20px;
  padding-top: 0;
  font-size: 1em;
  color: #cccccc;
}

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

/* Media Queries for Responsiveness */
@media (max-width: 1024px) {
  .page-slot-games__main-title {
    font-size: clamp(2em, 5vw, 3em);
  }

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

  .page-slot-games__hero-section,
  .page-slot-games__introduction-section,
  .page-slot-games__why-choose-section,
  .page-slot-games__types-section,
  .page-slot-games__how-to-play-section,
  .page-slot-games__promotions-section,
  .page-slot-games__faq-section {
    padding-left: 15px;
    padding-right: 15px;
  }
}

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

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

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

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

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

  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
  }

  .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-image-wrapper,
  .page-slot-games__features-grid,
  .page-slot-games__tips-grid,
  .page-slot-games__promotions-grid,
  .page-slot-games__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

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

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

  .page-slot-games__feature-icon {
    max-width: 150px;
  }

  .page-slot-games__game-item {
    padding: 20px;
  }

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

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