:root {
  --bl88-primary: #2F6BFF;
  --bl88-primary-light: #6FA3FF;
  --bl88-button-gradient: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  --bl88-card-bg: #FFFFFF;
  --bl88-background: #F4F7FB;
  --bl88-text-main: #1F2D3D;
  --bl88-text-dark: #000000;
  --bl88-border: #D6E2FF;
  --bl88-glow: #A5C4FF;
}

.page-slot-games {
  color: var(--bl88-text-main); /* Assuming body is light background */
  background: var(--bl88-background);
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

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

.page-slot-games__section-title {
  font-size: 36px;
  font-weight: 700;
  color: var(--bl88-text-dark);
  text-align: center;
  margin-bottom: 20px;
}

.page-slot-games__section-title--light {
  color: #ffffff;
}

.page-slot-games__section-description {
  font-size: 18px;
  color: var(--bl88-text-main);
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
}

.page-slot-games__section-description--light {
  color: #f0f0f0;
}

.page-slot-games__cta-button,
.page-slot-games__btn-primary,
.page-slot-games__btn-secondary {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-slot-games__cta-button,
.page-slot-games__btn-primary {
  background: var(--bl88-button-gradient);
  color: #ffffff;
  border: none;
}

.page-slot-games__cta-button:hover,
.page-slot-games__btn-primary:hover {
  opacity: 0.9;
  box-shadow: 0 4px 15px rgba(47, 107, 255, 0.4);
}

.page-slot-games__btn-secondary {
  background: var(--bl88-card-bg);
  color: var(--bl88-primary);
  border: 2px solid var(--bl88-primary);
}

.page-slot-games__btn-secondary:hover {
  background: var(--bl88-primary);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(47, 107, 255, 0.2);
}

/* Hero Section */
.page-slot-games__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
  background: linear-gradient(135deg, var(--bl88-primary), var(--bl88-primary-light));
  color: #ffffff;
}

.page-slot-games__hero-content {
  max-width: 900px;
  margin-bottom: 40px;
}

.page-slot-games__main-title {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #ffffff;
}

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

.page-slot-games__hero-image-wrapper {
  width: 100%;
  max-width: 1000px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

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

/* Game Trial Section */
.page-slot-games__game-trial-section {
  padding: 40px 0;
  background: var(--bl88-background);
}

.page-slot-games__game-trial-shell {
  border: 1px solid var(--bl88-border);
  border-radius: 10px;
  overflow: hidden;
  background: var(--bl88-card-bg);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  position: relative;
}

.page-slot-games__game-trial-viewport {
  position: relative;
  width: 100%;
  aspect-ratio: 1024 / 768; /* Standard game aspect ratio */
  background: #000;
}

.page-slot-games__game-trial-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  z-index: 1;
}

.page-slot-games__game-trial-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  pointer-events: auto;
  transition: opacity 0.3s ease;
}

.page-slot-games__game-trial-overlay.is-hidden {
  opacity: 0;
  pointer-events: none !important;
  display: none !important; /* Ensure it's hidden from accessibility tree */
}

.page-slot-games__game-trial-start {
  background: var(--bl88-button-gradient);
  color: #ffffff;
  border: none;
  padding: 18px 40px;
  border-radius: 10px;
  font-size: 22px;
  font-weight: 700;
  cursor: pointer;
  z-index: 6;
  pointer-events: auto;
  touch-action: manipulation;
  box-shadow: 0 4px 20px rgba(47, 107, 255, 0.6);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.page-slot-games__game-trial-start:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(47, 107, 255, 0.8);
}

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

.page-slot-games__game-card {
  background: var(--bl88-card-bg);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  display: flex;
  flex-direction: column;
}

.page-slot-games__game-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

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

.page-slot-games__game-card-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--bl88-text-dark);
  margin: 20px 15px 10px;
}

.page-slot-games__game-card-description {
  font-size: 15px;
  color: var(--bl88-text-main);
  margin: 0 15px 20px;
  flex-grow: 1;
}

.page-slot-games__game-card-button {
  display: block;
  margin: 0 15px 20px;
  padding: 12px 20px;
  background: var(--bl88-button-gradient);
  color: #ffffff;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
}

.page-slot-games__game-card-button:hover {
  opacity: 0.9;
}

/* Providers Section */
.page-slot-games__dark-section {
  background: var(--bl88-primary);
  color: #ffffff;
}

.page-slot-games__logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 30px;
  justify-items: center;
  align-items: center;
}

.page-slot-games__provider-logo {
  max-width: 100%;
  height: auto;
  display: block;
  filter: brightness(1.2) grayscale(0.2);
  transition: filter 0.3s ease;
}

.page-slot-games__provider-logo:hover {
  filter: brightness(1.5) grayscale(0);
}

/* Why Choose Section */
.page-slot-games__feature-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-slot-games__feature-item {
  background: var(--bl88-card-bg);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.page-slot-games__feature-item:hover {
  transform: translateY(-5px);
}

.page-slot-games__feature-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--bl88-primary);
  margin-bottom: 15px;
}

.page-slot-games__feature-text {
  font-size: 16px;
  color: var(--bl88-text-main);
}

/* Guide Section */
.page-slot-games__light-bg {
  background: var(--bl88-background);
}

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

.page-slot-games__step-card {
  background: var(--bl88-card-bg);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-slot-games__step-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--bl88-text-dark);
  margin-bottom: 15px;
}

.page-slot-games__step-text {
  font-size: 16px;
  color: var(--bl88-text-main);
  flex-grow: 1;
  margin-bottom: 20px;
}

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

.page-slot-games__promo-card {
  background: var(--bl88-card-bg);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
}

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

.page-slot-games__promo-card-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.page-slot-games__promo-card-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--bl88-text-dark);
  margin-bottom: 10px;
}

.page-slot-games__promo-card-text {
  font-size: 16px;
  color: var(--bl88-text-main);
  margin-bottom: 20px;
  flex-grow: 1;
}

/* FAQ Section */
details.page-slot-games__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid var(--bl88-border);
  overflow: hidden;
  background: var(--bl88-card-bg);
}
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: #f5f5f5;
}
.page-slot-games__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: var(--bl88-text-dark);
}
.page-slot-games__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--bl88-primary);
  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: #f9f9f9;
  border-radius: 0 0 5px 5px;
  color: var(--bl88-text-main);
  font-size: 16px;
}

/* CTA Banner */
.page-slot-games__cta-banner {
  text-align: center;
  padding: 80px 0;
  background: linear-gradient(135deg, var(--bl88-primary), var(--bl88-primary-light));
  color: #ffffff;
}

.page-slot-games__banner-title {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #ffffff;
}

.page-slot-games__banner-description {
  font-size: 20px;
  margin-bottom: 40px;
  color: #f0f8ff;
}

.page-slot-games__banner-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

/* Reward Modal */
.page-slot-games__reward-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease;
}

.page-slot-games__reward-modal[hidden] {
  display: none;
}

.page-slot-games__reward-modal-content {
  background: var(--bl88-card-bg);
  padding: 40px;
  border-radius: 15px;
  text-align: center;
  max-width: 500px;
  width: 90%;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-slot-games__reward-modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  font-size: 30px;
  color: var(--bl88-text-main);
  cursor: pointer;
  line-height: 1;
  padding: 5px;
}

.page-slot-games__reward-modal-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--bl88-text-dark);
  margin-bottom: 15px;
}

.page-slot-games__reward-modal-text {
  font-size: 18px;
  color: var(--bl88-text-main);
  margin-bottom: 30px;
}

.page-slot-games__reward-modal-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
}

/* Responsive Styles */
@media (max-width: 1023px) {
  .page-slot-games__main-title {
    font-size: 40px;
  }
  .page-slot-games__description {
    font-size: 18px;
  }
  .page-slot-games__section-title {
    font-size: 30px;
  }
  .page-slot-games__section-description {
    font-size: 16px;
  }
  .page-slot-games__hero-section {
    flex-direction: column-reverse; /* Text above image on smaller screens */
    padding-bottom: 40px;
  }
  .page-slot-games__hero-content {
    margin-top: 30px;
    margin-bottom: 0;
  }
  /* No specific __home-hero game trial reset for this non-homepage page, 
     but general game trial responsiveness below. */
}

@media (min-width: 1024px) {
  /* No specific __home-hero grid for this non-homepage page. */
  .page-slot-games__hero-section {
    padding-top: 10px;
  }
  .page-slot-games__game-trial-section {
    padding: 60px 0;
  }
}

@media (max-width: 768px) {
  .page-slot-games__main-title {
    font-size: 32px;
  }
  .page-slot-games__description {
    font-size: 16px;
  }
  .page-slot-games__section-title {
    font-size: 26px;
  }
  .page-slot-games__section-description {
    font-size: 15px;
  }
  .page-slot-games__cta-button,
  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary,
  .page-slot-games a[class*="button"],
  .page-slot-games a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
    font-size: 16px;
  }
  .page-slot-games__banner-buttons,
  .page-slot-games__reward-modal-buttons {
    flex-direction: column;
    gap: 10px;
    padding: 0 15px;
  }
  .page-slot-games__hero-section,
  .page-slot-games__game-trial-section,
  .page-slot-games__featured-games,
  .page-slot-games__providers,
  .page-slot-games__why-choose,
  .page-slot-games__guide,
  .page-slot-games__promotions,
  .page-slot-games__faq,
  .page-slot-games__cta-banner {
    padding: 30px 0;
  }
  .page-slot-games__container {
    padding: 0 15px;
  }
  .page-slot-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-slot-games__game-card-image {
    height: 180px;
  }
  .page-slot-games__promo-card-image {
    height: 160px;
  }
  details.page-slot-games__faq-item summary.page-slot-games__faq-question { padding: 15px; }
  .page-slot-games__faq-qtext { font-size: 15px; }
  .page-slot-games__faq-toggle { font-size: 20px; width: 24px; }
  details.page-slot-games__faq-item .page-slot-games__faq-answer { padding: 0 15px 15px; }
  .page-slot-games__banner-title {
    font-size: 28px;
  }
  .page-slot-games__banner-description {
    font-size: 16px;
  }
  .page-slot-games__reward-modal-title {
    font-size: 24px;
  }
  .page-slot-games__reward-modal-text {
    font-size: 16px;
  }
}

/* Additional CSS for game trial in the context of this page */
/* The prompt's CSS snippets for homepage game trial were specifically for __home-hero. 
   Here, I've integrated a game trial section with general page-slot-games styles. 
   The prompt's specific media queries for __home-hero are not directly applied as this is not index.html, 
   but the functionality is replicated with appropriate BEM classes. */

/* The prompt's specific 1023px and 1024px media query blocks are provided below as per instructions. */

@media (max-width: 1023px) {
  /* This is a non-homepage page, so __home-hero specific CSS is not strictly applicable. 
     However, if the game trial section mimics a similar layout, general responsive rules are applied. */
  .page-slot-games__game-trial-section .page-slot-games__game-trial-shell {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: none !important;
    overflow: hidden !important;
    margin: 0 auto;
    padding: 0 0 12px !important;
    box-sizing: border-box;
  }
  .page-slot-games__game-trial-section .page-slot-games__game-trial-viewport {
    position: relative;
    width: 100%;
    aspect-ratio: 1024 / 768;
    flex: none !important;
    min-height: 240px;
    max-height: none !important;
    overflow: hidden;
    box-sizing: border-box;
  }
  .page-slot-games__game-trial-section .page-slot-games__game-trial-frame {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    max-height: none !important;
    max-width: 100%;
    border: none;
    z-index: 1;
    overflow: hidden;
  }
  .page-slot-games__game-trial-section .page-slot-games__game-trial-overlay {
    z-index: 5 !important;
    pointer-events: auto !important;
  }
  .page-slot-games__game-trial-section .page-slot-games__game-trial-start {
    z-index: 6 !important;
    pointer-events: auto !important;
    touch-action: manipulation;
  }
}

@media (min-width: 1024px) {
  /* As this is not the homepage, the three-column layout for __home-hero is not directly used. 
     Instead, the hero section for this page uses a flex-column layout. 
     The game trial section itself will adapt based on its own max-width. */
  .page-slot-games__game-trial-section .page-slot-games__game-trial-shell {
    max-width: 800px; /* Example max-width for the game trial on desktop */
    margin: 0 auto;
    height: 450px; /* Fixed height for desktop game trial */
    max-height: 450px;
  }
  .page-slot-games__game-trial-section .page-slot-games__game-trial-viewport {
    height: 100%;
    min-height: 0;
  }
  .page-slot-games__game-trial-section .page-slot-games__game-trial-frame {
    height: 100%;
    min-height: 0;
  }
}

/* The prompt's specific 768px media query blocks are provided below as per instructions. */
@media (max-width: 768px) {
  /* 1. 首屏试玩: Handled by the general game-trial-section rules above */
  /* 2. 优惠 __promo-strip: Not directly present, but promo-grid adapted */
  .page-slot-games__promo-grid {
    grid-template-columns: 1fr;
  }
  .page-slot-games__promo-card {
    flex-direction: column;
  }
  /* 3. 热门 __hot-games: Not directly present, but game-grid adapted */
  .page-slot-games__game-grid {
    grid-template-columns: 1fr;
  }
  /* 4. 品牌 __brand-intro: Not present on this page */
  /* 5. 中奖条 __winner-ticker: Not present on this page */
  /* 6. 通用图片与容器: Already handled by general img and container rules */
  /* 7. 按钮与按钮容器: Already handled by general button rules */
  /* 8. 其他模块 (内页 FAQ 等) 768px 规则: Already handled by FAQ rules */
}