/* Base styles for the slot-games page */
.page-slot-games {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #FFF1E8; /* Main text color for dark background */
  background-color: #140C0C; /* Overall page background */
}

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

/* Hero Section */
.page-slot-games__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding, body padding-top from shared.css */
  padding-bottom: 40px;
  text-align: center;
  background-color: #140C0C;
}

.page-slot-games__hero-content {
  max-width: 800px;
  margin-bottom: 30px;
}

.page-slot-games__main-title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  color: #FFB04A;
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-slot-games__description {
  font-size: 18px;
  color: #FFF1E8;
  margin-bottom: 30px;
}

.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: 14px 28px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
}

.page-slot-games__btn-primary {
  background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%);
  color: #FFF1E8;
  border: none;
}

.page-slot-games__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-slot-games__btn-secondary {
  background: transparent;
  color: #FFB04A;
  border: 2px solid #FFB04A;
}

.page-slot-games__btn-secondary:hover {
  background: #FFB04A;
  color: #140C0C;
}

.page-slot-games__hero-image-wrapper {
  width: 100%;
  max-width: 1000px;
  overflow: hidden;
  border-radius: 10px;
}

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

/* General Section Styling */
.page-slot-games__section-title {
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 700;
  color: #FFB04A;
  text-align: center;
  margin-bottom: 30px;
  padding-top: 40px;
}

.page-slot-games__text-block {
  font-size: 16px;
  color: #FFF1E8;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 20px;
}

.page-slot-games__text-block a {
  color: #F3C54D;
  text-decoration: none;
}

.page-slot-games__text-block a:hover {
  text-decoration: underline;
}

.page-slot-games__intro-section, .page-slot-games__how-to-play, .page-slot-games__faq-section, .page-slot-games__seo-text {
  background-color: #140C0C;
  padding-bottom: 40px;
}

.page-slot-games__dark-section {
  background-color: #2A1212; /* Card BG color for sections */
  padding-bottom: 40px;
}

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

.page-slot-games__feature-item {
  text-align: center;
  background-color: #2A1212;
  padding: 30px 20px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #6A1E1E;
}

.page-slot-games__feature-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-slot-games__feature-title {
  font-size: 20px;
  color: #F3C54D;
  margin-bottom: 10px;
}

.page-slot-games__feature-item p {
  font-size: 15px;
  color: #FFF1E8;
}

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

.page-slot-games__game-card {
  background-color: #2A1212;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #6A1E1E;
  color: #FFF1E8;
}

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

.page-slot-games__game-info {
  padding: 20px;
  text-align: center;
}

.page-slot-games__game-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
}

.page-slot-games__game-title a {
  color: #F3C54D;
  text-decoration: none;
}

.page-slot-games__game-title a:hover {
  text-decoration: underline;
}

.page-slot-games__game-provider {
  font-size: 14px;
  color: #E53030;
  margin-bottom: 15px;
}

.page-slot-games__btn-play {
  display: inline-block;
  padding: 10px 20px;
  background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%);
  color: #FFF1E8;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: opacity 0.3s ease;
}

.page-slot-games__btn-play:hover {
  opacity: 0.9;
}

.page-slot-games__view-all-games {
  text-align: center;
  margin-top: 40px;
}

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

/* How To Play Section */
.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-item {
  background-color: #2A1212;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  border: 1px solid #6A1E1E;
}

.page-slot-games__step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #E53030;
  color: #FFF1E8;
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 20px;
}

.page-slot-games__step-title {
  font-size: 20px;
  color: #F3C54D;
  margin-bottom: 10px;
}

.page-slot-games__step-item p {
  font-size: 15px;
  color: #FFF1E8;
}

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

.page-slot-games__promo-card {
  background-color: #2A1212;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #6A1E1E;
  color: #FFF1E8;
}

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

.page-slot-games__promo-info {
  padding: 20px;
  text-align: center;
}

.page-slot-games__promo-title {
  font-size: 20px;
  font-weight: 600;
  color: #F3C54D;
  margin-bottom: 10px;
}

.page-slot-games__promo-card p {
  font-size: 15px;
  color: #FFF1E8;
  margin-bottom: 15px;
}

/* FAQ Section */
details.page-slot-games__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #6A1E1E;
  overflow: hidden;
  background: #2A1212;
  color: #FFF1E8;
}
details.page-slot-games__faq-item summary.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}
details.page-slot-games__faq-item summary.page-slot-games__faq-question::-webkit-details-marker {
  display: none;
}
details.page-slot-games__faq-item summary.page-slot-games__faq-question:hover {
  background: rgba(255, 255, 255, 0.05);
}
.page-slot-games__faq-qtext {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #F3C54D;
}
.page-slot-games__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #FFB04A;
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-slot-games__faq-item .page-slot-games__faq-answer {
  padding: 0 20px 20px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 0 0 5px 5px;
  color: #FFF1E8;
}

/* SEO Text Section */
.page-slot-games__seo-text p {
  text-align: left;
}

/* Footer Content */
.page-slot-games__footer-content {
  background-color: #0d0d0d;
  padding: 20px 0;
  text-align: center;
  color: #FFF1E8;
  font-size: 14px;
  border-top: 1px solid #6A1E1E;
}

/* Responsive Styles */
@media (max-width: 1023px) {
  .page-slot-games__hero-section {
    flex-direction: column;
  }
  .page-slot-games__hero-content {
    margin-bottom: 20px;
  }
  .page-slot-games__hero-image-wrapper {
    max-width: 100%;
    margin-top: 20px;
  }
}

@media (max-width: 768px) {
  .page-slot-games__main-title {
    font-size: 28px;
  }
  .page-slot-games__description {
    font-size: 16px;
  }
  .page-slot-games__cta-buttons {
    flex-direction: column;
    gap: 10px;
    padding: 0 15px;
  }
  .page-slot-games__btn-primary, .page-slot-games__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    font-size: 15px;
    padding: 12px 20px;
  }
  
  .page-slot-games__section-title {
    font-size: 24px;
    margin-bottom: 20px;
    padding-top: 30px;
  }
  .page-slot-games__text-block {
    font-size: 15px;
    padding: 0 15px;
  }

  .page-slot-games__features-grid,
  .page-slot-games__game-grid,
  .page-slot-games__steps-grid,
  .page-slot-games__promo-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 15px;
  }

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

  .page-slot-games__game-thumbnail, .page-slot-games__promo-thumbnail {
    height: 180px;
  }

  /* Images responsive */
  .page-slot-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block;
  }
  
  /* Containers for images and buttons */
  .page-slot-games__container,
  .page-slot-games__hero-section,
  .page-slot-games__intro-section,
  .page-slot-games__games-showcase,
  .page-slot-games__how-to-play,
  .page-slot-games__promotions,
  .page-slot-games__faq-section,
  .page-slot-games__seo-text,
  .page-slot-games__game-card,
  .page-slot-games__promo-card,
  .page-slot-games__feature-item,
  .page-slot-games__step-item,
  .page-slot-games__cta-buttons,
  .page-slot-games__view-all-games,
  .page-slot-games__cta-center {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden;
  }

  details.page-slot-games__faq-item summary.page-slot-games__faq-question { padding: 15px; }
  .page-slot-games__faq-qtext { font-size: 15px; }
  details.page-slot-games__faq-item .page-slot-games__faq-answer { padding: 0 15px 15px; }
}