/* style/slot-games.css */
.page-slot-games {
  font-family: 'Arial', sans-serif;
  color: var(--text-main-color); /* Light text on dark background */
  background-color: var(--background-color);
}

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

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

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

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

.page-slot-games__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 40px 20px;
  background-color: rgba(8, 22, 15, 0.7); /* Semi-transparent background for text */
  border-radius: 10px;
  margin-top: 80px; /* Adjust as needed to not overlap header */
}

.page-slot-games__main-title {
  font-size: clamp(2.2em, 4vw, 3.2em);
  color: var(--text-main-color);
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: bold;
  letter-spacing: 0.5px;
}

.page-slot-games__description {
  font-size: 1.1em;
  color: var(--text-secondary-color);
  margin-bottom: 30px;
  line-height: 1.6;
}

.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 {
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-sizing: border-box;
  text-align: center;
}

.page-slot-games__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: var(--text-main-color); /* #F2FFF6 */
  border: none;
}

.page-slot-games__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  transform: translateY(-2px);
}

.page-slot-games__btn-secondary {
  background-color: transparent;
  color: var(--text-main-color); /* #F2FFF6 */
  border: 2px solid var(--border-color); /* #2E7A4E */
}

.page-slot-games__btn-secondary:hover {
  background-color: rgba(46, 122, 78, 0.2);
  transform: translateY(-2px);
}

.page-slot-games__section-title {
  font-size: 2.5em;
  color: var(--text-main-color);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  line-height: 1.3;
}

.page-slot-games__text-block {
  font-size: 1.05em;
  line-height: 1.7;
  color: var(--text-secondary-color);
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px auto;
}

.page-slot-games__about-section,
.page-slot-games__games-section,
.page-slot-games__guide-section,
.page-slot-games__promotions-section,
.page-slot-games__benefits-section,
.page-slot-games__faq-section,
.page-slot-games__cta-bottom-section {
  padding: 80px 0;
}

.page-slot-games__dark-section {
  background-color: var(--card-bg-color); /* #11271B */
}

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

.page-slot-games__card {
  background-color: var(--card-bg-color); /* #11271B */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--divider-color); /* #1E3A2A */
}

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

.page-slot-games__feature-title,
.page-slot-games__game-title,
.page-slot-games__promo-title,
.page-slot-games__step-title,
.page-slot-games__benefit-title {
  font-size: 1.5em;
  color: var(--text-main-color);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-slot-games__feature-description,
.page-slot-games__game-description,
.page-slot-games__promo-description,
.page-slot-games__step-description {
  font-size: 1em;
  color: var(--text-secondary-color);
  line-height: 1.6;
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-slot-games__btn-center {
  display: block;
  margin: 0 auto;
  width: fit-content;
}

.page-slot-games__btn-play,
.page-slot-games__btn-link {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.95em;
  transition: background-color 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-slot-games__btn-play {
  background: var(--primary-color); /* #11A84E */
  color: var(--text-main-color); /* #F2FFF6 */
  border: none;
}

.page-slot-games__btn-play:hover {
  background: var(--auxiliary-color); /* #22C768 */
}

.page-slot-games__btn-link {
  background-color: transparent;
  color: var(--auxiliary-color); /* #22C768 */
  border: 1px solid var(--auxiliary-color);
}

.page-slot-games__btn-link:hover {
  background-color: rgba(34, 199, 104, 0.1);
}

.page-slot-games__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
  margin: 0 auto 50px auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
  width: 100%; /* Ensure desktop width is 100% */
}

.page-slot-games__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  cursor: pointer;
}

.page-slot-games__benefits-list {
  list-style: none;
  padding: 0;
  margin: 0 auto 50px auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
}

.page-slot-games__benefit-item {
  background-color: var(--card-bg-color); /* #11271B */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--divider-color); /* #1E3A2A */
  text-align: left;
}

.page-slot-games__benefit-item p {
  color: var(--text-secondary-color);
  font-size: 1em;
  line-height: 1.6;
  margin-bottom: 20px;
  text-align: left;
}

.page-slot-games__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-slot-games__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  background-color: var(--card-bg-color); /* #11271B */
  border: 1px solid var(--divider-color); /* #1E3A2A */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.15em;
  font-weight: bold;
  color: var(--text-main-color);
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.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;
  color: var(--auxiliary-color);
}

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

.page-slot-games__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1em;
  color: var(--text-secondary-color);
  line-height: 1.6;
}

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

.page-slot-games__faq-answer .page-slot-games__btn-link {
  margin-top: 10px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-slot-games__hero-content {
    padding: 30px 15px;
  }

  .page-slot-games__main-title {
    font-size: clamp(2em, 5vw, 2.8em);
  }

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

  .page-slot-games__about-section,
  .page-slot-games__games-section,
  .page-slot-games__guide-section,
  .page-slot-games__promotions-section,
  .page-slot-games__benefits-section,
  .page-slot-games__faq-section,
  .page-slot-games__cta-bottom-section {
    padding: 60px 0;
  }
}

@media (max-width: 768px) {
  .page-slot-games__hero-content {
    margin-top: 60px;
    padding: 25px 15px;
  }

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

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

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

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

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

  .page-slot-games__text-block {
    font-size: 0.9em;
    margin-bottom: 40px;
  }

  .page-slot-games__features-grid,
  .page-slot-games__games-grid,
  .page-slot-games__promos-grid,
  .page-slot-games__steps-grid,
  .page-slot-games__benefits-list {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 15px;
  }

  .page-slot-games__card {
    padding: 25px;
  }

  .page-slot-games__feature-icon,
  .page-slot-games__game-image,
  .page-slot-games__promo-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-width: 200px !important;
    min-height: 150px !important;
  }

  .page-slot-games__video-wrapper {
    padding-bottom: 56.25%;
    margin-bottom: 30px;
    padding: 0 15px;
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
  }

  .page-slot-games__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

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

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

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

  /* Ensure all content containers have proper mobile padding */
  .page-slot-games__container {
    padding: 0 15px;
  }

  .page-slot-games__about-section,
  .page-slot-games__games-section,
  .page-slot-games__guide-section,
  .page-slot-games__promotions-section,
  .page-slot-games__benefits-section,
  .page-slot-games__faq-section,
  .page-slot-games__cta-bottom-section {
    padding: 40px 0;
  }

  .page-slot-games__hero-section {
    padding-bottom: 40px;
  }

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

  .page-slot-games__feature-icon,
  .page-slot-games__game-image,
  .page-slot-games__promo-image {
    min-width: 200px;
    min-height: 150px;
  }
}

@media (max-width: 480px) {
  .page-slot-games__main-title {
    font-size: clamp(1.6em, 7vw, 2.2em);
  }

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

  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary {
    font-size: 0.9em;
  }

  .page-slot-games__feature-title,
  .page-slot-games__game-title,
  .page-slot-games__promo-title,
  .page-slot-games__step-title,
  .page-slot-games__benefit-title {
    font-size: 1.3em;
  }
}