/* 须含：1023px试玩重置、1024px三栏300px、overlay z-index、promo、hot-games、768px */
/* Verbatim CSS for homepage trial layout (as per prompt instructions for CSS output, despite this being an inner page) */
@media (max-width: 1023px) {
  .page-slot-games__home-hero {
    display: block !important;
    grid-template-columns: none !important;
    height: auto !important;
    max-height: none !important;
    overflow-x: hidden;
    box-sizing: border-box;
  }
  .page-slot-games__hero-brand,
  .page-slot-games__hero-jackpot {
    display: none !important;
  }
  .page-slot-games__game-trial {
    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-shell {
    height: auto !important;
    max-height: none !important;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
  }
  .page-slot-games__game-trial-topbar,
  .page-slot-games__game-trial-bottombar {
    display: none !important;
  }
  .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-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-overlay {
    z-index: 5 !important;
    pointer-events: auto !important;
  }
  .page-slot-games__game-trial-start {
    z-index: 6 !important;
    pointer-events: auto !important;
    touch-action: manipulation;
  }
}

@media (min-width: 1024px) {
  .page-slot-games__home-hero {
    display: grid;
    grid-template-columns: 26% 48% 26%;
    gap: 16px;
    align-items: stretch;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 10px 16px 24px;
    box-sizing: border-box;
  }
  .page-slot-games__hero-brand,
  .page-slot-games__hero-jackpot,
  .page-slot-games__game-trial {
    height: 300px;
    max-height: 300px;
    overflow: hidden;
    box-sizing: border-box;
  }
  .page-slot-games__game-trial {
    max-width: none !important;
    width: 100%;
    margin: 0;
    padding: 0;
  }
  .page-slot-games__game-trial-shell {
    display: flex;
    flex-direction: column;
    height: 100%;
    max-height: 300px;
    box-sizing: border-box;
  }
  .page-slot-games__game-trial-viewport {
    flex: 1;
    min-height: 0;
    position: relative;
    width: 100%;
  }
  .page-slot-games__game-trial-frame {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    border: none;
  }
  .page-slot-games__hero-jackpot-claim {
    background: #c62828 !important;
    color: #fff !important;
  }
}
/* End of verbatim homepage trial layout CSS */

:root {
  --primary-color: #FF8C1A;
  --secondary-color: #FFA53A;
  --card-bg: #17191F;
  --background-color: #0D0E12;
  --text-main-color: #FFF3E6;
  --border-color: #A84F0C;
  --glow-color: #FFB04D;
  --deep-orange-color: #D96800;
}

.page-slot-games {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-main-color); /* Light text for dark body background */
  background-color: var(--background-color); /* Body background */
}

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

.page-slot-games__hero-section {
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 40px;
  text-align: center;
  background-color: var(--background-color);
  position: relative;
  overflow: hidden;
}

.page-slot-games__hero-image {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  margin: 0 auto 20px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-slot-games__hero-content {
  max-width: 900px;
  margin: 0 auto;
}

.page-slot-games__main-title {
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-slot-games__description {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: var(--text-main-color);
}

.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,
.page-slot-games__btn-tertiary {
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.05rem;
  transition: all 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  text-align: center;
}

.page-slot-games__btn-primary {
  background: linear-gradient(180deg, var(--secondary-color) 0%, var(--deep-orange-color) 100%);
  color: #ffffff;
  border: 2px solid transparent;
  box-shadow: 0 4px 10px rgba(255, 140, 26, 0.4);
}

.page-slot-games__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(255, 140, 26, 0.6);
}

.page-slot-games__btn-secondary {
  background: transparent;
  color: var(--secondary-color);
  border: 2px solid var(--secondary-color);
}

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

.page-slot-games__btn-tertiary {
  background: var(--primary-color);
  color: #ffffff;
  border: none;
  padding: 10px 20px;
  font-size: 1rem;
}

.page-slot-games__btn-tertiary:hover {
  background: var(--secondary-color);
}

.page-slot-games__section-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--secondary-color);
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-slot-games__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--primary-color);
  border-radius: 2px;
}

.page-slot-games__about-section,
.page-slot-games__game-types-section,
.page-slot-games__how-to-play-section,
.page-slot-games__tips-section,
.page-slot-games__promotions-section,
.page-slot-games__faq-section {
  padding: 60px 0;
}

.page-slot-games__card-bg {
  background-color: var(--card-bg);
}

.page-slot-games__dark-bg {
  background-color: var(--background-color);
}

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

.page-slot-games__feature-card,
.page-slot-games__type-card,
.page-slot-games__tip-card,
.page-slot-games__promo-card {
  background-color: var(--card-bg);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  padding-bottom: 25px;
  display: flex;
  flex-direction: column;
  color: var(--text-main-color);
  border: 1px solid var(--border-color);
}

.page-slot-games__feature-card img,
.page-slot-games__type-card img,
.page-slot-games__promo-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-bottom: 20px;
  display: block;
}

.page-slot-games__feature-title,
.page-slot-games__type-title,
.page-slot-games__tip-title,
.page-slot-games__promo-title {
  font-size: 1.5rem;
  color: var(--secondary-color);
  margin-bottom: 15px;
  padding: 0 15px;
}

.page-slot-games__feature-card p,
.page-slot-games__type-card p,
.page-slot-games__tip-card p,
.page-slot-games__promo-card p {
  font-size: 1rem;
  color: var(--text-main-color);
  padding: 0 20px;
  flex-grow: 1;
}

.page-slot-games__how-to-play-section ol {
  list-style: none;
  counter-reset: step-counter;
  padding: 0;
  margin-top: 30px;
}

.page-slot-games__how-to-play-section li {
  background-color: var(--card-bg);
  border-radius: 10px;
  padding: 25px 30px;
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: flex-start;
  position: relative;
  border: 1px solid var(--border-color);
}

.page-slot-games__how-to-play-section li::before {
  counter-increment: step-counter;
  content: counter(step-counter);
  background: var(--primary-color);
  color: #ffffff;
  font-size: 1.5rem;
  font-weight: bold;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  min-width: 45px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.page-slot-games__step-title {
  font-size: 1.3rem;
  color: var(--secondary-color);
  margin-top: 0;
  margin-bottom: 10px;
}

.page-slot-games__how-to-play-section li p {
  font-size: 1rem;
  color: var(--text-main-color);
  margin: 0;
}

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

.page-slot-games__promo-card a {
  margin-top: auto; /* Push button to bottom */
  display: inline-block;
  margin-top: 20px;
}

/* FAQ Section */
details.page-slot-games__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  background: var(--card-bg);
  color: var(--text-main-color);
}
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, 140, 26, 0.1);
}
.page-slot-games__faq-qtext {
  flex: 1;
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: var(--text-main-color);
}
.page-slot-games__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--secondary-color);
  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(255, 140, 26, 0.05);
  border-radius: 0 0 10px 10px;
}
details.page-slot-games__faq-item .page-slot-games__faq-answer p {
  color: var(--text-main-color);
}

/* General Image and Container Responsive Styles */
.page-slot-games img {
  max-width: 100%;
  height: auto;
  display: block;
}

.page-slot-games__container,
.page-slot-games__hero-section,
.page-slot-games__about-section,
.page-slot-games__game-types-section,
.page-slot-games__how-to-play-section,
.page-slot-games__tips-section,
.page-slot-games__promotions-section,
.page-slot-games__faq-section,
.page-slot-games__features-grid,
.page-slot-games__types-grid,
.page-slot-games__tips-grid,
.page-slot-games__promo-cards {
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
  .page-slot-games {
    font-size: 15px;
    line-height: 1.5;
  }

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

  .page-slot-games__main-title {
    font-size: 1.8rem;
  }

  .page-slot-games__description {
    font-size: 1rem;
    margin-bottom: 20px;
  }

  .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__btn-tertiary {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px;
    font-size: 1rem;
  }

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

  .page-slot-games__about-section,
  .page-slot-games__game-types-section,
  .page-slot-games__how-to-play-section,
  .page-slot-games__tips-section,
  .page-slot-games__promotions-section,
  .page-slot-games__faq-section {
    padding: 40px 0;
  }

  .page-slot-games__features-grid,
  .page-slot-games__types-grid,
  .page-slot-games__tips-grid,
  .page-slot-games__promo-cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-slot-games__feature-card img,
  .page-slot-games__type-card img,
  .page-slot-games__promo-card img {
    
  }

  .page-slot-games__feature-title,
  .page-slot-games__type-title,
  .page-slot-games__tip-title,
  .page-slot-games__promo-title {
    font-size: 1.3rem;
  }

  .page-slot-games__how-to-play-section li {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
  }

  .page-slot-games__how-to-play-section li::before {
    margin-right: 0;
    margin-bottom: 15px;
  }

  .page-slot-games__step-title {
    font-size: 1.2rem;
  }

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

  /* Ensure all images and containers adapt to mobile */
  .page-slot-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-slot-games__container,
  .page-slot-games__hero-section,
  .page-slot-games__about-section,
  .page-slot-games__game-types-section,
  .page-slot-games__how-to-play-section,
  .page-slot-games__tips-section,
  .page-slot-games__promotions-section,
  .page-slot-games__faq-section,
  .page-slot-games__features-grid,
  .page-slot-games__types-grid,
  .page-slot-games__tips-grid,
  .page-slot-games__promo-cards,
  .page-slot-games__feature-card,
  .page-slot-games__type-card,
  .page-slot-games__tip-card,
  .page-slot-games__promo-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}

.page-slot-games__game-trial-overlay{z-index:5;pointer-events:auto;}.page-slot-games__game-trial-overlay.is-hidden{display:none!important;pointer-events:none!important;}.page-slot-games__game-trial-start{z-index:6;pointer-events:auto;touch-action:manipulation;}.page-slot-games__game-trial-shell{border:1px solid rgba(212,175,55,.45);border-radius:10px;overflow:hidden;}.page-slot-games__reward-modal{position:fixed;inset:0;z-index:10000;}