/* style/slot-games.css */
.page-slot-games {
  color: #ffffff; /* Text color for dark body background */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

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

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

.page-slot-games__dark-bg {
  background-color: #0a0a0a; /* Body background color */
  color: #ffffff;
}

.page-slot-games__section-title {
  font-size: 2.8em;
  font-weight: bold;
  margin-bottom: 20px;
  color: #26A9E0;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.page-slot-games__sub-title {
  font-size: 1.8em;
  font-weight: bold;
  margin-top: 30px;
  margin-bottom: 15px;
  color: #26A9E0;
}

.page-slot-games__description {
  font-size: 1.1em;
  color: #f0f0f0;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

.page-slot-games__text-block p {
  color: #f0f0f0;
  font-size: 1.05em;
}

/* Hero Section */
.page-slot-games__hero-section {
  position: relative;
  padding: 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.page-slot-games__hero-image-wrapper {
  width: 100%;
  max-height: 700px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.page-slot-games__hero-content {
  position: relative;
  z-index: 10;
  padding: 40px 20px;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.page-slot-games__main-title {
  color: #FFFFFF;
  font-weight: bold;
  margin-bottom: 20px;
  line-height: 1.2;
  letter-spacing: -0.03em;
  font-size: clamp(2.2em, 4vw, 3.5em); /* Responsive font size */
}

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

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

.page-slot-games__btn-primary,
.page-slot-games__btn-secondary,
.page-slot-games__card-btn,
.page-slot-games__promo-btn,
.page-slot-games__step-btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  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: #26A9E0;
  color: #FFFFFF;
  border: 2px solid #26A9E0;
}

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

.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;
}

/* Introduction Section */
.page-slot-games__introduction {
  background-color: #0d0d0d;
}

.page-slot-games__content-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-top: 40px;
  text-align: left;
}

.page-slot-games__image-block {
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-slot-games__image {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Game List Section */
.page-slot-games__game-list {
  background-color: #0a0a0a;
}

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

.page-slot-games__card {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  min-height: 450px; /* Ensure cards have enough height */
}

.page-slot-games__card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

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

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

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

.page-slot-games__card-btn {
  background-color: #EA7C07;
  color: #FFFFFF;
  border: none;
  padding: 12px 25px;
  font-size: 1em;
  border-radius: 6px;
  cursor: pointer;
}

.page-slot-games__card-btn:hover {
  background-color: #c96806;
}

/* Promotions Section */
.page-slot-games__promotions {
  background-color: #0d0d0d;
}

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

.page-slot-games__promo-card {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  text-align: left;
  transition: transform 0.3s ease;
}

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

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

.page-slot-games__promo-content {
  padding: 25px;
}

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

.page-slot-games__promo-text {
  color: #f0f0f0;
  margin-bottom: 20px;
}

.page-slot-games__promo-btn {
  background-color: #EA7C07;
  color: #FFFFFF;
  border: none;
  padding: 10px 20px;
  font-size: 0.95em;
  border-radius: 6px;
  text-decoration: none;
  display: inline-block;
}

.page-slot-games__promo-btn:hover {
  background-color: #c96806;
}

/* How To Play Section */
.page-slot-games__how-to-play {
  background-color: #0a0a0a;
}

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

.page-slot-games__step-card {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  min-height: 300px;
}

.page-slot-games__step-icon {
  background-color: #26A9E0;
  color: #FFFFFF;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2em;
  font-weight: bold;
  margin-bottom: 20px;
}

.page-slot-games__step-title {
  font-size: 1.5em;
  font-weight: bold;
  color: #FFFFFF;
  margin-bottom: 10px;
}

.page-slot-games__step-text {
  color: #f0f0f0;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-slot-games__step-btn {
  background-color: #EA7C07;
  color: #FFFFFF;
  border: none;
  padding: 12px 25px;
  font-size: 1em;
  border-radius: 6px;
  text-decoration: none;
  display: inline-block;
}

.page-slot-games__step-btn:hover {
  background-color: #c96806;
}

/* Tips Section */
.page-slot-games__tips {
  background-color: #0d0d0d;
}

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

.page-slot-games__tip-item {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.page-slot-games__tip-text {
  color: #f0f0f0;
}

/* Security Section */
.page-slot-games__security {
  background-color: #0a0a0a;
}

/* FAQ Section */
.page-slot-games__faq {
  background-color: #0d0d0d;
}

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

.page-slot-games__faq-item {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.page-slot-games__faq-question::-webkit-details-marker {
  display: none; /* For details/summary */
}

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

.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: 15px 25px 20px 25px;
  font-size: 1.05em;
  color: #f0f0f0;
  line-height: 1.6;
}

/* Conclusion Section */
.page-slot-games__conclusion {
  background-color: #0a0a0a;
  padding-bottom: 80px;
}

.page-slot-games__conclusion-content {
  max-width: 800px;
  margin: 0 auto;
}

/* Responsive Design */
@media (min-width: 769px) {
  .page-slot-games__content-grid {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
  .page-slot-games__introduction .page-slot-games__image-block {
    order: 2;
  }
  .page-slot-games__security .page-slot-games__image-block {
    order: 1;
  }
  .page-slot-games__security .page-slot-games__text-block {
    order: 2;
  }
}

@media (max-width: 768px) {
  .page-slot-games__section {
    padding: 40px 0;
  }

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

  .page-slot-games__sub-title {
    font-size: 1.5em;
  }

  .page-slot-games__description {
    font-size: 1em;
    margin-bottom: 30px;
  }

  .page-slot-games__hero-content {
    padding: 30px 15px;
  }

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

  .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__card-btn,
  .page-slot-games__promo-btn,
  .page-slot-games__step-btn {
    width: 100% !important;
    max-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__game-cards-grid,
  .page-slot-games__promotions-grid,
  .page-slot-games__steps-grid,
  .page-slot-games__tips-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-slot-games__card,
  .page-slot-games__promo-card,
  .page-slot-games__step-card,
  .page-slot-games__tip-item {
    padding: 20px;
    margin: 0 15px;
  }

  .page-slot-games__image {
    margin: 0 15px;
  }

  /* Mobile responsive images */
  .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__introduction,
  .page-slot-games__game-list,
  .page-slot-games__promotions,
  .page-slot-games__how-to-play,
  .page-slot-games__tips,
  .page-slot-games__security,
  .page-slot-games__faq,
  .page-slot-games__conclusion {
    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 handles header offset */
  }

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

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

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