/* Base styles for the slot games page */
.page-slot-games {
  font-family: 'Arial', sans-serif;
  color: #1F2D3D; /* Text Main */
  background-color: #F4F7FB; /* Background */
  line-height: 1.6;
}

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

.page-slot-games__section {
  padding: 40px 0;
  margin-bottom: 20px;
}

.page-slot-games__section-title {
  font-size: clamp(24px, 3.5vw, 36px);
  color: #000000; /* Custom Color_1776249996415 */
  text-align: center;
  margin-bottom: 30px;
  font-weight: 700;
}

.page-slot-games__paragraph {
  font-size: 17px;
  margin-bottom: 20px;
  text-align: justify;
}

/* Hero Section */
.page-slot-games__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  color: #ffffff;
  padding-top: 10px; /* Small top padding, body handles header offset */
}

.page-slot-games__hero-image-wrapper {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

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

.page-slot-games__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  padding: 80px 15px;
  text-align: center;
  background: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay for text readability */
  border-radius: 10px;
  box-sizing: border-box;
}

.page-slot-games__main-title {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #ffffff;
}

.page-slot-games__intro-text {
  font-size: 18px;
  margin-bottom: 30px;
  line-height: 1.7;
  color: #f0f0f0;
}

.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 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-slot-games__btn-primary {
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Button */
  color: #ffffff;
  border: none;
}

.page-slot-games__btn-primary:hover {
  background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%);
  box-shadow: 0 4px 15px rgba(47, 107, 255, 0.4);
}

.page-slot-games__btn-secondary {
  background: #ffffff; /* Card BG */
  color: #2F6BFF; /* Main Color */
  border: 2px solid #2F6BFF; /* Main Color */
}

.page-slot-games__btn-secondary:hover {
  background: #f0f0f0;
  color: #1a51cc;
  border-color: #1a51cc;
}

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

/* Game Types Grid */
.page-slot-games__grid-2-col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.page-slot-games__card {
  background: #FFFFFF; /* Card BG */
  border: 1px solid #D6E2FF; /* Border */
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #1F2D3D;
}

.page-slot-games__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

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

.page-slot-games__card-title {
  font-size: 22px;
  font-weight: 700;
  color: #000000; /* Custom Color_1776249996415 */
  margin-bottom: 10px;
}

/* Advantages Grid */
.page-slot-games__grid-3-col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.page-slot-games__advantage-item {
  background: #FFFFFF; /* Card BG */
  border: 1px solid #D6E2FF; /* Border */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  transition: all 0.3s ease;
  color: #1F2D3D;
}

.page-slot-games__advantage-item:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  transform: translateY(-3px);
}

.page-slot-games__advantage-icon {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-slot-games__advantage-item h3 {
  font-size: 20px;
  font-weight: 700;
  color: #000000; /* Custom Color_1776249996415 */
  margin-bottom: 10px;
}

/* How-to-Play & Tips */
.page-slot-games__step-list,
.page-slot-games__tip-list {
  list-style: none;
  padding: 0;
  margin-top: 25px;
}

.page-slot-games__step-list li,
.page-slot-games__tip-list li {
  background: #FFFFFF; /* Card BG */
  border: 1px solid #D6E2FF; /* Border */
  border-radius: 8px;
  padding: 18px 25px;
  margin-bottom: 15px;
  font-size: 17px;
  display: flex;
  align-items: center;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.02);
  color: #1F2D3D;
}

.page-slot-games__step-list li strong {
  color: #2F6BFF; /* Main Color */
  margin-right: 10px;
  flex-shrink: 0;
}

.page-slot-games__content-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

/* Promotions */
.page-slot-games__promo-list {
  list-style: disc;
  padding-left: 25px;
  margin-top: 25px;
}

.page-slot-games__promo-list li {
  font-size: 17px;
  margin-bottom: 10px;
  color: #1F2D3D;
}

/* FAQ Section */
details.page-slot-games__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid #D6E2FF; /* Border */
  overflow: hidden;
  background: #FFFFFF; /* Card BG */
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

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: #F4F7FB;
}

.page-slot-games__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #000000; /* Custom Color_1776249996415 */
}

.page-slot-games__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: #2F6BFF; /* Main Color */
  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 20px 20px;
  background: #F4F7FB;
  border-radius: 0 0 10px 10px;
  font-size: 16px;
  color: #1F2D3D;
}

/* Final CTA Section */
.page-slot-games__final-cta {
  background: #2F6BFF; /* Main Color */
  color: #ffffff;
  text-align: center;
  padding: 60px 0;
}

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

.page-slot-games__final-cta .page-slot-games__paragraph {
  color: #f0f0f0;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-slot-games__final-cta .page-slot-games__btn-primary {
  background: #ffffff;
  color: #2F6BFF;
}

.page-slot-games__final-cta .page-slot-games__btn-primary:hover {
  background: #e0e0e0;
  color: #1a51cc;
}

.page-slot-games__final-cta .page-slot-games__btn-secondary {
  background: transparent;
  color: #ffffff;
  border-color: #ffffff;
}

.page-slot-games__final-cta .page-slot-games__btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #f0f0f0;
}

/* --- General Responsive Rules (for non-homepage content) --- */
@media (max-width: 1023px) {
  /* Homepage Trial Layout CSS - REQUIRED BY RETURN FORMAT, EVEN IF NOT USED BY THIS HTML PAGE */
  .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) {
  /* Homepage Trial Layout CSS - REQUIRED BY RETURN FORMAT, EVEN IF NOT USED BY THIS HTML PAGE */
  .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;
  }
  /* Additional PC-specific styles (e.g., for promo/hot-games if they were on this page) */
  .page-slot-games__promo-strip-track {
    grid-template-columns: repeat(4, 1fr);
  }
  .page-slot-games__hot-games-grid {
    grid-template-columns: repeat(6, 1fr);
  }
  .page-slot-games__hot-games-item .page-slot-games__hot-games-name,
  .page-slot-games__hot-games-item .page-slot-games__hot-games-rtp,
  .page-slot-games__hot-games-item .page-slot-games__hot-games-desc {
    display: block;
  }
  .page-slot-games__promo-card-content {
    flex-direction: row;
    text-align: left;
  }
}

@media (max-width: 768px) {
  .page-slot-games__hero-content {
    padding: 60px 15px;
  }
  .page-slot-games__main-title {
    font-size: 32px;
  }
  .page-slot-games__intro-text {
    font-size: 16px;
  }
  .page-slot-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary {
    width: 100% !important;
    padding: 12px 20px;
    font-size: 16px;
  }
  
  .page-slot-games__section-title {
    font-size: 28px;
  }
  .page-slot-games__paragraph {
    font-size: 15px;
  }

  .page-slot-games__grid-2-col,
  .page-slot-games__grid-3-col {
    grid-template-columns: 1fr;
  }

  .page-slot-games__card,
  .page-slot-games__advantage-item {
    padding: 20px;
  }
  .page-slot-games__card-title {
    font-size: 20px;
  }
  .page-slot-games__advantage-item h3 {
    font-size: 18px;
  }

  .page-slot-games__step-list li,
  .page-slot-games__tip-list li {
    font-size: 15px;
    padding: 15px 20px;
    flex-direction: column;
    align-items: flex-start;
  }
  .page-slot-games__step-list li strong {
    margin-bottom: 5px;
  }

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

  /* REQUIRED 768px checklist items for homepage (even if not used by this page's HTML) */
  /* 1. 首屏试玩: Handled by 1023px block above */

  /* 2. 优惠 __promo-strip: */
  .page-slot-games__promo-strip-track {
    grid-template-columns: repeat(2, 1fr) !important; /* Example for 2 cols on mobile */
    overflow-x: hidden !important;
    gap: 15px;
  }
  .page-slot-games__promo-card {
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-slot-games__promo-card-content {
    flex-direction: column !important;
    text-align: center !important;
  }
  .page-slot-games__promo-card-image {
    width: 100% !important;
    height: auto !important;
    margin-bottom: 10px;
  }
  .page-slot-games__promo-card h3 {
    font-size: 18px;
  }
  .page-slot-games__promo-card p {
    font-size: 14px;
  }

  /* 3. 热门 __hot-games: */
  .page-slot-games__hot-games-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 15px;
  }
  .page-slot-games__hot-games-item img {
    width: 100% !important;
    height: auto !important;
  }
  .page-slot-games__hot-games-item .page-slot-games__hot-games-name,
  .page-slot-games__hot-games-item .page-slot-games__hot-games-rtp,
  .page-slot-games__hot-games-item .page-slot-games__hot-games-desc {
    display: none !important; /* Hide details on mobile */
  }
  .page-slot-games__hot-games-item {
    text-align: center;
  }

  /* 4. 品牌 __brand-intro: (if it were on this page and needed to be shown) */
  .page-slot-games__brand-intro {
    padding: 30px 15px;
  }
  .page-slot-games__brand-intro h2 {
    font-size: 26px;
  }
  .page-slot-games__brand-intro-content {
    flex-direction: column;
    gap: 20px;
  }

  /* 5. 中奖条 __winner-ticker: (if it were on this page) */
  .page-slot-games__winner-ticker {
    font-size: 14px;
    padding: 10px 15px;
  }
  /* Assuming shared.css handles body padding for fixed elements */

  /* 6. 通用图片与容器 */
  .page-slot-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-slot-games__container,
  .page-slot-games__card,
  .page-slot-games__section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-slot-games__hero-section .page-slot-games__container {
      padding-left: 0; padding-right: 0;
  }

  /* 7. 按钮与按钮容器: Handled by general btn-primary/secondary and cta-buttons above */
  .page-slot-games__cta-buttons {
    flex-wrap: wrap !important;
    gap: 10px;
  }

  /* 8. 其他模块 (e.g., FAQ) 768px rules: Handled by specific FAQ styles above */
}

/* Homepage Trial Related CSS - REQUIRED BY RETURN FORMAT, EVEN IF NOT USED BY THIS HTML PAGE */
.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;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.7);
}
.page-slot-games__reward-modal[hidden] {
  display: none !important;
}
.page-slot-games__reward-modal-content {
  background: #fff;
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  max-width: 90%;
  width: 500px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.3);
  position: relative;
}
.page-slot-games__reward-modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #333;
  line-height: 1;
  padding: 5px;
}
.page-slot-games__reward-modal h3 {
  font-size: 28px;
  color: #c62828; /* Highlight color */
  margin-bottom: 15px;
}
.page-slot-games__reward-modal p {
  font-size: 18px;
  color: #555;
  margin-bottom: 25px;
}
.page-slot-games__reward-modal .page-slot-games__btn-primary {
  width: auto;
  padding: 12px 25px;
  font-size: 17px;
}