/* 基础样式 */
.page-index {
  color: #F3F8FF; /* Text Main */
  background-color: var(--deep-navy, #08162B);
}
.page-index__section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 12px;
  max-width: 1280px;
  margin: 0 auto;
}
.page-index__section-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #F2C14E; /* Gold */
  margin: 0;
}
.page-index__view-more {
  color: #AFC4E8; /* Text Secondary */
  text-decoration: none;
  font-size: 0.9rem;
  white-space: nowrap;
}

/* Module 0 / 首屏: __home-hero */
.page-index__home-hero {
  padding: 10px 12px 16px;
  box-sizing: border-box;
  max-width: 100%;
}
.page-index__hero-brand-title {
  font-size: clamp(1.1rem, 5vw, 1.5rem);
  line-height: 1.25;
  font-weight: 800;
  background: linear-gradient(180deg, #ffe082, #ff9800);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin: 0 0 12px;
  text-align: center;
}
.page-index__hero-brand-lead {
  color: #AFC4E8;
  font-size: 0.85rem;
  line-height: 1.5;
  margin: 0 0 16px;
  text-align: center;
}
.page-index__hero-brand-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.page-index__hero-brand-trust li {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  color: #AFC4E8;
}
.page-index__hero-jackpot-label {
  font-size: 0.9rem;
  color: #AFC4E8;
  margin: 0 0 8px;
}
.page-index__hero-jackpot-amount {
  font-size: clamp(1.8rem, 5vw, 2.5rem);
  font-weight: 800;
  color: #F2C14E; /* Gold */
  margin: 8px 0;
  line-height: 1.2;
}
.page-index__hero-jackpot-gift {
  font-size: 0.8rem;
  color: #F3F8FF;
  margin: 12px 0 0;
}

/* Module 1: 试玩游戏 __game-trial */
.page-index__game-trial {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 0 16px;
  box-sizing: border-box;
}
.page-index__game-trial-shell {
  border: 1px solid #244D84; /* Border */
  border-radius: 10px;
  overflow: hidden;
  background: #10233F; /* Card BG */
}
.page-index__game-trial-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 10px;
  font-size: 0.75rem;
  background: rgba(0,0,0,.35);
  color: #F3F8FF;
}
.page-index__game-trial-top-promo {
  padding: 4px 10px;
  border-radius: 6px;
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%); /* Button */
  color: #fff;
  text-decoration: none;
  font-size: 0.7rem;
  white-space: nowrap;
}
.page-index__game-trial-top-jackpot {
  color: #F2C14E;
  font-weight: 700;
}
.page-index__game-trial-viewport { 
  position: relative;
  width: 100%;
  isolation: isolate;
}
.page-index__game-trial-frame {
  display: block;
  width: 100%;
  border: none;
  background: #08162B; /* Deep Navy */
  position: relative;
  z-index: 1;
}
.page-index__game-trial-bottombar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  font-size: 0.7rem;
  background: rgba(0,0,0,.4);
  color: #AFC4E8; /* Text Secondary */
}
.page-index__game-trial-overlay {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,.55);
  pointer-events: auto;
}
.page-index__game-trial-overlay.is-hidden {
  display: none !important;
  visibility: hidden;
  pointer-events: none;
}
.page-index__game-trial-start {
  position: relative;
  z-index: 6;
  padding: 14px 32px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  pointer-events: auto;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  background: linear-gradient(180deg, #ffe082, #ff9800);
  color: #1a1a1a;
  font-weight: 700;
  box-shadow: 0 0 20px rgba(255,193,7,.45);
}

/* Module 1.3: Reward Modal */
.page-index__reward-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
}
.page-index__reward-modal[hidden] { display: none; }
.page-index__reward-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.72);
}
.page-index__reward-modal-card {
  position: relative;
  z-index: 1;
  width: 90vw;
  max-width: 360px;
  padding: 28px 20px;
  border-radius: 20px;
  border: 2px solid #F2C14E; /* Gold */
  background: #10233F; /* Card BG */
  text-align: center;
}
.page-index__reward-modal-close {
  position: absolute;
  top: 8px;
  right: 10px;
  z-index: 2;
  width: 36px;
  height: 36px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  color: #F3F8FF; /* Text Main */
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  pointer-events: auto;
  touch-action: manipulation;
}
.page-index__reward-modal-close:hover {
  background: rgba(255,255,255,.22);
}
.page-index__reward-modal-brand {
  font-size: 1.8rem;
  font-weight: 800;
  background: linear-gradient(180deg, #ffe082, #ff9800);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin: 0 0 10px;
}
.page-index__reward-modal-subtitle {
  font-size: 1rem;
  color: #F3F8FF; /* Text Main */
  margin: 0 0 20px;
}