.page-slot-games {
  font-family: Arial, sans-serif;
  color: #FFF3E6; /* Text Main */
  background-color: #0D0E12; /* Background */
  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-title {
  font-size: 38px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  color: #FFB04D; /* Glow */
  line-height: 1.2;
}

.page-slot-games__section-description {
  font-size: 18px;
  text-align: center;
  margin-bottom: 40px;
  color: #FFF3E6;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.page-slot-games__hero-section {
  position: relative;
  overflow: hidden;
  padding-top: 10px; /* Small top padding, not var(--header-offset) */
  background-color: #0D0E12;
}

.page-slot-games__hero-image-wrapper {
  width: 100%;
  max-height: 675px; /* Limit height for aspect ratio */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-slot-games__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  min-height: 200px; /* Enforce min size */
}

.page-slot-games__hero-content {
  text-align: center;
  padding: 40px 20px 60px;
  position: relative; /* Ensure content is below image */
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
}

.page-slot-games__main-title {
  font-size: clamp(32px, 4.5vw, 56px); /* Use clamp for H1 */
  font-weight: 800;
  color: #FFB04D; /* Glow */
  margin-bottom: 15px;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(255,176,77,0.5);
}

.page-slot-games__hero-description {
  font-size: 20px;
  color: #FFF3E6;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-slot-games__hero-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap; /* Allow wrapping for buttons */
}

.page-slot-games__btn-primary,
.page-slot-games__btn-secondary,
.page-slot-games__btn-play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%; /* Ensure buttons don't overflow */
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-slot-games__btn-primary {
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%); /* Button color */
  color: #ffffff;
  border: 2px solid #FFA53A;
  box-shadow: 0 4px 15px rgba(255,165,58,0.4);
}

.page-slot-games__btn-primary:hover {
  background: linear-gradient(180deg, #FFB04D 0%, #E07D1A 100%);
  box-shadow: 0 6px 20px rgba(255,176,77,0.6);
  transform: translateY(-2px);
}

.page-slot-games__btn-secondary {
  background: transparent;
  color: #FFA53A;
  border: 2px solid #FFA53A;
  box-shadow: 0 4px 15px rgba(255,165,58,0.2);
}

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

/* Features Section */
.page-slot-games__features-section {
  padding: 80px 0;
  background-color: #0D0E12;
}

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

.page-slot-games__feature-card {
  background-color: #17191F; /* Card BG */
  border: 1px solid #A84F0C; /* Border */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0,0,0,0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  min-height: 400px; /* Ensure cards have minimum height */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.page-slot-games__feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(255,165,58,0.3);
}

.page-slot-games__feature-icon {
  width: 100%;
  height: auto;
  max-width: 250px;
  margin-bottom: 20px;
  object-fit: cover;
  border-radius: 8px;
  min-width: 200px;
  min-height: 150px;
}

.page-slot-games__feature-title {
  font-size: 24px;
  font-weight: 700;
  color: #FFB04D; /* Glow */
  margin-bottom: 10px;
}

.page-slot-games__feature-text {
  font-size: 16px;
  color: #FFF3E6;
  flex-grow: 1;
}

/* Game Showcase Section */
.page-slot-games__game-showcase {
  padding: 80px 0;
  background-color: #0D0E12;
}

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

.page-slot-games__game-card {
  background-color: #17191F; /* Card BG */
  border: 1px solid #A84F0C; /* Border */
  border-radius: 12px;
  overflow: hidden;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0,0,0,0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  min-height: 450px; /* Ensure consistent card height */
}

.page-slot-games__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(255,165,58,0.3);
}

.page-slot-games__game-thumbnail {
  width: 100%;
  height: 200px; /* Fixed height for thumbnails */
  object-fit: cover;
  border-bottom: 1px solid #A84F0C;
  min-width: 200px;
  min-height: 200px; /* Min size enforcement */
}

.page-slot-games__game-title {
  font-size: 22px;
  font-weight: 700;
  color: #FFB04D; /* Glow */
  margin: 15px 15px 5px;
}

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

.page-slot-games__btn-play {
  margin: auto 15px 20px; /* Push to bottom */
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
  color: #ffffff;
  border: none;
  border-radius: 6px;
  padding: 12px 25px;
  font-size: 16px;
  font-weight: 600;
}

.page-slot-games__btn-play:hover {
  background: linear-gradient(180deg, #FFB04D 0%, #E07D1A 100%);
  transform: translateY(-2px);
}

/* Promotions Section */
.page-slot-games__promotions-section {
  padding: 80px 0;
  background-color: #0D0E12;
}

.page-slot-games__promo-card {
  background-color: #17191F; /* Card BG */
  border: 1px solid #A84F0C; /* Border */
  border-radius: 12px;
  display: flex;
  align-items: center;
  margin-bottom: 40px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.3);
  overflow: hidden;
}

.page-slot-games__promo-card:last-child {
  margin-bottom: 0;
}

.page-slot-games__promo-card--reverse {
  flex-direction: row-reverse;
}

.page-slot-games__promo-image {
  width: 50%;
  height: auto;
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

.page-slot-games__promo-content {
  width: 50%;
  padding: 40px;
  box-sizing: border-box;
}

.page-slot-games__promo-title {
  font-size: 28px;
  font-weight: 700;
  color: #FFB04D; /* Glow */
  margin-bottom: 15px;
}

.page-slot-games__promo-text {
  font-size: 16px;
  color: #FFF3E6;
  margin-bottom: 25px;
}

/* Guide Section */
.page-slot-games__guide-section {
  padding: 80px 0;
  background-color: #0D0E12;
}

.page-slot-games__guide-list {
  list-style: none;
  padding: 0;
  margin: 0 0 40px;
}

.page-slot-games__guide-item {
  background-color: #17191F; /* Card BG */
  border: 1px solid #A84F0C; /* Border */
  border-radius: 10px;
  padding: 30px;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.page-slot-games__guide-step-title {
  font-size: 22px;
  font-weight: 700;
  color: #FFA53A;
  margin-bottom: 10px;
}

.page-slot-games__guide-item p {
  font-size: 16px;
  color: #FFF3E6;
}

.page-slot-games__guide-cta {
  text-align: center;
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* FAQ Section */
.page-slot-games__faq-section {
  padding: 80px 0;
  background-color: #0D0E12;
}

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

details.page-slot-games__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid #A84F0C; /* Border */
  overflow: hidden;
  background: #17191F; /* Card BG */
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}
details.page-slot-games__faq-item summary.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  color: #FFB04D; /* Glow */
}
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,165,58,0.05);
}
.page-slot-games__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
}
.page-slot-games__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: #FFA53A;
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px;
  text-align: center;
  line-height: 1;
}
details.page-slot-games__faq-item .page-slot-games__faq-answer {
  padding: 0 25px 20px;
  background: #17191F; /* Card BG */
  border-radius: 0 0 10px 10px;
  color: #FFF3E6;
}
.page-slot-games__faq-answer p {
  margin: 0;
  font-size: 16px;
}

/* Final CTA Section */
.page-slot-games__cta-final {
  padding: 80px 0;
  background-color: #0D0E12;
  text-align: center;
}

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

/* General image and button responsive rules for desktop */
.page-slot-games img {
  max-width: 100%;
  height: auto;
  display: block;
}

.page-slot-games__btn-primary,
.page-slot-games__btn-secondary,
.page-slot-games__btn-play,
.page-slot-games a[class*="button"],
.page-slot-games a[class*="btn"] {
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-slot-games__hero-buttons,
.page-slot-games__guide-cta,
.page-slot-games__cta-buttons {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}


/* --- Mobile Responsive Styles (max-width: 768px) --- */
@media (max-width: 768px) {
  .page-slot-games__container {
    padding: 0 15px;
  }

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

  .page-slot-games__section-description {
    font-size: 16px;
    margin-bottom: 30px;
  }

  /* Hero Section */
  .page-slot-games__hero-section {
    padding-top: 10px !important; /* Small top padding for mobile */
  }

  .page-slot-games__hero-image {
    max-height: 400px;
    min-width: 200px !important;
    min-height: 200px !important;
  }

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

  .page-slot-games__main-title {
    font-size: 30px; /* Specific font size for mobile H1 */
    margin-bottom: 10px;
  }

  .page-slot-games__hero-description {
    font-size: 16px;
    margin-bottom: 20px;
  }

  .page-slot-games__hero-buttons {
    flex-direction: column; /* Stack buttons vertically */
    gap: 15px;
  }

  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary,
  .page-slot-games a[class*="button"],
  .page-slot-games a[class*="btn"] {
    font-size: 16px;
    padding: 12px 20px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  /* Features Section */
  .page-slot-games__features-section {
    padding: 50px 0;
  }

  .page-slot-games__feature-card {
    padding: 25px;
    min-height: auto; /* Allow height to adjust */
  }

  .page-slot-games__feature-icon {
    max-width: 200px !important;
    min-width: 200px !important;
    min-height: 150px !important;
  }

  .page-slot-games__feature-title {
    font-size: 20px;
  }

  .page-slot-games__feature-text {
    font-size: 15px;
  }

  /* Game Showcase Section */
  .page-slot-games__game-showcase {
    padding: 50px 0;
  }

  .page-slot-games__game-thumbnail {
    height: 180px;
    min-width: 200px !important;
    min-height: 200px !important;
  }

  .page-slot-games__game-title {
    font-size: 20px;
  }

  /* Promotions Section */
  .page-slot-games__promotions-section {
    padding: 50px 0;
  }

  .page-slot-games__promo-card {
    flex-direction: column; /* Stack promo cards vertically */
  }

  .page-slot-games__promo-card--reverse {
    flex-direction: column; /* Also stack reversed cards vertically */
  }

  .page-slot-games__promo-image {
    width: 100% !important; /* Full width image */
    max-height: 250px;
    min-width: 200px !important;
    min-height: 200px !important;
  }

  .page-slot-games__promo-content {
    width: 100%; /* Full width content */
    padding: 30px;
  }

  .page-slot-games__promo-title {
    font-size: 24px;
  }

  .page-slot-games__promo-text {
    font-size: 15px;
  }

  /* Guide Section */
  .page-slot-games__guide-section {
    padding: 50px 0;
  }

  .page-slot-games__guide-item {
    padding: 25px;
  }

  .page-slot-games__guide-step-title {
    font-size: 20px;
  }

  .page-slot-games__guide-item p {
    font-size: 15px;
  }

  .page-slot-games__guide-cta {
    flex-direction: column; /* Stack buttons vertically */
    gap: 15px;
  }

  /* FAQ Section */
  .page-slot-games__faq-section {
    padding: 50px 0;
  }

  details.page-slot-games__faq-item summary.page-slot-games__faq-question {
    padding: 15px 20px;
  }
  .page-slot-games__faq-qtext {
    font-size: 16px;
  }
  .page-slot-games__faq-toggle {
    font-size: 24px;
    width: 24px;
  }
  details.page-slot-games__faq-item .page-slot-games__faq-answer {
    padding: 0 20px 15px;
  }
  .page-slot-games__faq-answer p {
    font-size: 15px;
  }

  /* Final CTA Section */
  .page-slot-games__cta-final {
    padding: 50px 0;
  }

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

  /* General image and container responsive rules */
  .page-slot-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-slot-games__hero-section,
  .page-slot-games__features-section,
  .page-slot-games__game-showcase,
  .page-slot-games__promotions-section,
  .page-slot-games__guide-section,
  .page-slot-games__faq-section,
  .page-slot-games__cta-final,
  .page-slot-games__container,
  .page-slot-games__feature-card,
  .page-slot-games__game-card,
  .page-slot-games__promo-card,
  .page-slot-games__guide-item,
  details.page-slot-games__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden; /* Prevent horizontal scroll */
  }

  /* Ensure button containers also adapt */
  .page-slot-games__hero-buttons,
  .page-slot-games__guide-cta,
  .page-slot-games__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 15px;
  }
}