[hidden] {
  display: none !important;
}

:root {
  color-scheme: dark;
  --font-sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", "Cascadia Code", "Fira Code", Consolas, monospace;

  /* 背景色系 */
  --bg-deep: #07090e;
  --bg-surface: #0e131d;
  --bg-panel: rgba(18, 25, 38, 0.78);
  --bg-panel-solid: #121926;
  --bg-panel-hover: rgba(26, 36, 54, 0.85);
  --bg-glass: rgba(20, 29, 44, 0.65);

  /* 边框与分割线 */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-card: rgba(255, 255, 255, 0.12);
  --border-highlight: rgba(0, 240, 168, 0.4);

  /* 文字颜色 */
  --text-main: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-white: #ffffff;

  /* 品牌与竞技主题色 */
  --brand-green: #00f0a8;
  --brand-green-glow: rgba(0, 240, 168, 0.28);
  --brand-green-hover: #1dfac2;
  
  --brand-red: #ff4757;
  --brand-red-glow: rgba(255, 71, 87, 0.28);
  --brand-red-hover: #ff6b81;

  --brand-gold: #ffb800;
  --brand-gold-glow: rgba(255, 184, 0, 0.28);

  --brand-blue: #00d2ff;
  --brand-blue-glow: rgba(0, 210, 255, 0.25);

  --brand-purple: #9d4edd;
  --brand-purple-glow: rgba(157, 78, 221, 0.25);

  /* 阴影 */
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.35);
  --shadow-card: 0 12px 36px rgba(0, 0, 0, 0.45);
  --shadow-glow: 0 0 24px var(--brand-green-glow);
  --shadow-red-glow: 0 0 24px var(--brand-red-glow);

  /* 圆角与过渡 */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-pill: 9999px;
  --transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  background-color: var(--bg-deep);
  background-image:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(0, 240, 168, 0.12), transparent),
    radial-gradient(circle 900px at 90% 20%, rgba(255, 71, 87, 0.08), transparent),
    radial-gradient(circle 800px at 10% 80%, rgba(0, 210, 255, 0.06), transparent),
    linear-gradient(to bottom, #07090e, #0c111a);
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* 滚动条 */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.2);
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.18);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--brand-green);
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

/* 主容器 */
.app-container {
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 64px;
}

/* 顶部导航 Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(7, 9, 14, 0.85);
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 32px;
}

.header-inner {
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* Logo 区 */
.brand-box {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 0 16px rgba(0, 240, 168, 0.4);
}

.brand-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: inherit;
}

.brand-icon svg {
  width: 24px;
  height: 24px;
  fill: #07090e;
}

.brand-title {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(90deg, #ffffff 0%, #a5f3fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(0, 240, 168, 0.15);
  color: var(--brand-green);
  border: 1px solid rgba(0, 240, 168, 0.35);
  padding: 2px 7px;
  border-radius: var(--radius-pill);
  -webkit-text-fill-color: var(--brand-green);
}

.brand-sub {
  font-size: 12px;
  color: var(--text-muted);
}

/* 导航 Tabs */
.header-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(18, 25, 38, 0.65);
  padding: 4px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
}

.nav-btn {
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.nav-btn:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.06);
}

.nav-btn.active {
  color: #07090e;
  background: var(--brand-green);
  font-weight: 700;
  box-shadow: 0 0 14px rgba(0, 240, 168, 0.4);
}

.nav-link {
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.04);
}

/* 导航右侧用户区域 */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.user-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.05);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-subtle);
  font-size: 13px;
}

.deposit-indicator[hidden] {
  display: none !important;
}

.deposit-indicator {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
}

.deposit-indicator.valid {
  background: rgba(0, 240, 168, 0.12);
  border-color: rgba(0, 240, 168, 0.35);
  color: var(--brand-green);
}

.deposit-indicator.invalid {
  background: rgba(255, 184, 0, 0.12);
  border-color: rgba(255, 184, 0, 0.35);
  color: var(--brand-gold);
}

/* 统一按钮系统 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 14px;
  padding: 9px 18px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  outline: none;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #00f0a8 0%, #00d2be 100%);
  color: #07090e;
  font-weight: 700;
  box-shadow: 0 4px 18px rgba(0, 240, 168, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0, 240, 168, 0.45);
  background: linear-gradient(135deg, #1dfac2 0%, #00e0cb 100%);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-danger {
  background: linear-gradient(135deg, #ff4757 0%, #ee3344 100%);
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(255, 71, 87, 0.3);
}

.btn-danger:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(255, 71, 87, 0.45);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-main);
  border-color: var(--border-subtle);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-outline-green {
  background: rgba(0, 240, 168, 0.08);
  color: var(--brand-green);
  border-color: rgba(0, 240, 168, 0.35);
}

.btn-outline-green:hover {
  background: rgba(0, 240, 168, 0.16);
  border-color: var(--brand-green);
}

.btn-sm {
  padding: 6px 12px;
  font-size: 13px;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 13px 28px;
  font-size: 16px;
  border-radius: var(--radius-md);
}

.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

/* Hero 首屏宣传区 */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, rgba(20, 28, 44, 0.7) 0%, rgba(10, 15, 25, 0.85) 100%);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  margin-bottom: 36px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.hero-section::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(0, 240, 168, 0.16), transparent 70%);
  pointer-events: none;
}

.hero-section::after {
  content: "";
  position: absolute;
  bottom: -100px;
  left: 20%;
  width: 400px;
  height: 300px;
  background: radial-gradient(circle, rgba(255, 71, 87, 0.09), transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 780px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 240, 168, 0.1);
  border: 1px solid rgba(0, 240, 168, 0.3);
  color: var(--brand-green);
  font-size: 12px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--brand-green);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--brand-green);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); opacity: 0.8; box-shadow: 0 0 0 0 rgba(0, 240, 168, 0.7); }
  70% { transform: scale(1.1); opacity: 1; box-shadow: 0 0 0 8px rgba(0, 240, 168, 0); }
  100% { transform: scale(0.95); opacity: 0.8; box-shadow: 0 0 0 0 rgba(0, 240, 168, 0); }
}

.hero-title {
  font-size: clamp(32px, 4.2vw, 48px);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 14px;
  background: linear-gradient(135deg, #ffffff 30%, #a5f3fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: clamp(15px, 1.8vw, 17px);
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.order-code-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  margin-bottom: 18px;
}

.order-code-banner strong {
  display: block;
  font-size: 14px;
  color: var(--brand-green);
  margin-bottom: 4px;
}

.order-code-banner span {
  font-size: 12px;
  color: var(--text-secondary);
}

/* 特色保障卡片阵列 */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 36px;
  position: relative;
  z-index: 1;
}

.feature-item {
  background: rgba(14, 20, 32, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  transition: var(--transition);
}

.feature-item:hover {
  background: rgba(20, 28, 44, 0.85);
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
}

.feature-icon-box {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.feature-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 3px;
}

.feature-text {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Section 头部与标题 */
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.section-title-wrap h2 {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-white);
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-title-wrap p {
  color: var(--text-secondary);
  font-size: 14px;
  margin-top: 4px;
}

/* 视图容器切换 */
.view-panel {
  display: none;
}
.view-panel.active {
  display: block;
}

/* ============================
   段位卡片商城展示区 (Tier Store)
   ============================ */
.store-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
  gap: 24px;
}

.tier-card {
  position: relative;
  background: var(--bg-panel);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.tier-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--card-accent, var(--brand-green));
  opacity: 0.8;
}

.tier-card:hover {
  transform: translateY(-4px);
  border-color: var(--card-accent-border, rgba(0, 240, 168, 0.45));
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), 0 0 20px var(--card-glow, var(--brand-green-glow));
}

/* 段位专属色调 */
.tier-card[data-tier-key*="bronze"],
.tier-card[data-tier-key*="rookie"] {
  --card-accent: #cd7f32;
  --card-accent-border: rgba(205, 127, 50, 0.5);
  --card-glow: rgba(205, 127, 50, 0.2);
}

.tier-card[data-tier-key*="silver"] {
  --card-accent: #a0aec0;
  --card-accent-border: rgba(160, 174, 192, 0.5);
  --card-glow: rgba(160, 174, 192, 0.2);
}

.tier-card[data-tier-key*="gold"] {
  --card-accent: #f59e0b;
  --card-accent-border: rgba(245, 158, 11, 0.55);
  --card-glow: rgba(245, 158, 11, 0.25);
}

.tier-card[data-tier-key*="platinum"] {
  --card-accent: #00d2ff;
  --card-accent-border: rgba(0, 210, 255, 0.5);
  --card-glow: rgba(0, 210, 255, 0.25);
}

.tier-card[data-tier-key*="diamond"] {
  --card-accent: #8b5cf6;
  --card-accent-border: rgba(139, 92, 246, 0.5);
  --card-glow: rgba(139, 92, 246, 0.25);
}

.tier-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.tier-badge-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.tier-name {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 2px;
}

.tier-stock-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}

.tier-stock-chip.in-stock {
  background: rgba(0, 240, 168, 0.12);
  color: var(--brand-green);
  border: 1px solid rgba(0, 240, 168, 0.3);
}

.tier-stock-chip.out-stock {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
  border: 1px solid var(--border-subtle);
}

/* 价格展示 */
.tier-price-box {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  margin-bottom: 18px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.price-main {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.price-currency {
  font-size: 16px;
  font-weight: 700;
  color: var(--brand-green);
}

.price-num {
  font-size: 30px;
  font-weight: 900;
  color: var(--brand-green);
  letter-spacing: -0.02em;
  line-height: 1;
}

.price-unit {
  font-size: 13px;
  color: var(--text-muted);
  margin-left: 2px;
}

.price-original {
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: line-through;
  margin-left: 8px;
}

.gift-tag {
  font-size: 11px;
  font-weight: 700;
  background: rgba(255, 71, 87, 0.15);
  color: var(--brand-red);
  border: 1px solid rgba(255, 71, 87, 0.3);
  padding: 2px 8px;
  border-radius: var(--radius-pill);
}

/* 说明与属性列表 */
.tier-meta {
  list-style: none;
  font-size: 13px;
  color: var(--text-secondary);
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.tier-meta-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.06);
  padding-bottom: 6px;
}

.tier-meta-item span:first-child {
  color: var(--text-muted);
}

/* 英雄筛选容器 */
.legend-filter-box {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 12px;
  margin-bottom: 18px;
}

.legend-filter-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.legend-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  max-height: 140px;
  overflow-y: auto;
}

.legend-chip {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  padding: 4px 8px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  user-select: none;
  transition: var(--transition);
}

.legend-chip:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-main);
}

.legend-chip input {
  display: none;
}

.legend-chip.active {
  background: rgba(0, 240, 168, 0.16);
  border-color: var(--brand-green);
  color: var(--brand-green);
  font-weight: 700;
}

.legend-chip.disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.legend-count {
  font-size: 10px;
  opacity: 0.8;
}

/* 卡片操作按钮 */
.tier-actions {
  display: flex;
  gap: 10px;
}

.tier-actions .btn {
  flex: 1;
}

/* ============================
   我的订单面板 (My Orders)
   ============================ */
.orders-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: var(--bg-panel);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  margin-bottom: 24px;
}

.orders-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 20px;
}

.order-card {
  background: var(--bg-panel);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.order-card.active-order {
  border-color: rgba(0, 240, 168, 0.45);
  box-shadow: 0 8px 30px rgba(0, 240, 168, 0.12);
}

.order-card.active-order::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--brand-green);
}

.order-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.order-no {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-muted);
  user-select: text;
  -webkit-user-select: text;
}

.order-no-val {
  user-select: all;
  -webkit-user-select: all;
  color: var(--text-white);
  cursor: text;
}

.btn-copy-order-no:hover {
  background: rgba(255, 255, 255, 0.16) !important;
  color: var(--text-white) !important;
}

.order-tier-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-white);
  margin-top: 2px;
}

.order-status-badge {
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}

.order-status-badge.leasing {
  background: rgba(0, 240, 168, 0.15);
  color: var(--brand-green);
  border: 1px solid rgba(0, 240, 168, 0.35);
  display: flex;
  align-items: center;
  gap: 6px;
}

.order-status-badge.grace {
  background: rgba(255, 184, 0, 0.15);
  color: var(--brand-gold);
  border: 1px solid rgba(255, 184, 0, 0.35);
}

.order-status-badge.finished {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
}

.order-status-badge.refunded {
  background: rgba(255, 71, 87, 0.15);
  color: var(--brand-red);
}

/* 剩余时间倒计时块 */
.countdown-box {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.countdown-label {
  font-size: 12px;
  color: var(--text-muted);
}

.countdown-timer {
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 800;
  color: var(--brand-green);
}

.countdown-timer.warning {
  color: var(--brand-gold);
}

.countdown-timer.expired {
  color: var(--brand-red);
}

/* 账号密码提取框 */
.order-credential-box {
  background: rgba(14, 20, 32, 0.7);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px;
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.credential-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.credential-label {
  font-size: 12px;
  color: var(--text-muted);
  width: 42px;
}

.credential-value {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--text-main);
  background: rgba(0, 0, 0, 0.4);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  user-select: all;
}

.order-foot-actions {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}

.order-foot-actions .btn {
  flex: 1;
}

/* ============================
   弹窗 Dialog 体系 (玻璃拟态)
   ============================ */
dialog {
  border: none;
  background: transparent;
  padding: 0;
  margin: auto;
  max-width: calc(100% - 32px);
  outline: none;
}

dialog::backdrop {
  background: rgba(5, 7, 12, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.modal-card {
  background: var(--bg-panel-solid);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 32px;
  width: min(480px, 92vw);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
  color: var(--text-main);
  position: relative;
}

.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.modal-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-white);
  display: flex;
  align-items: center;
  gap: 10px;
}

.modal-close {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 22px;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.modal-close:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.08);
}

/* 支付收银台弹窗特化 */
.payment-card {
  width: min(520px, 94vw);
  text-align: center;
}

.payment-amount-box {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 24px;
}

.pay-amount-label {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.pay-amount-val {
  font-size: 38px;
  font-weight: 900;
  color: var(--brand-green);
  font-family: var(--font-mono);
  letter-spacing: -0.02em;
}

.pay-status-text {
  font-size: 14px;
  color: var(--brand-gold);
  margin-top: 6px;
  font-weight: 600;
}

.payment-provider-row {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
}

.payment-provider-btn {
  flex: 1;
  padding: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: var(--text-main);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: var(--transition);
}

.payment-provider-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
}

.payment-provider-btn.alipay:hover {
  border-color: #1677ff;
  color: #69b1ff;
}

.payment-provider-btn.wechat:hover {
  border-color: #07c160;
  color: #52c41a;
}

.qr-container {
  background: #ffffff;
  padding: 16px;
  border-radius: var(--radius-md);
  display: inline-block;
  margin: 0 auto 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.qr-container img {
  width: 220px;
  height: 220px;
  display: block;
}

.pay-tips {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 20px;
}

/* 购买时长定制弹窗 (Purchase Customizer) */
.custom-duration-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: 18px 0;
}

.duration-chip {
  cursor: pointer;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 12px 6px;
  text-align: center;
  transition: var(--transition);
}

.duration-chip:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
}

.duration-chip.active {
  background: rgba(0, 240, 168, 0.15);
  border-color: var(--brand-green);
  color: var(--brand-green);
  font-weight: 700;
  box-shadow: 0 0 12px rgba(0, 240, 168, 0.2);
}

.duration-chip .dur-name {
  font-size: 15px;
  font-weight: 700;
}

.duration-chip .dur-gift {
  font-size: 11px;
  color: var(--brand-red);
  margin-top: 2px;
}

/* 登录弹窗与登录表单 */
.login-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
}

.form-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
}

.form-input {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  color: var(--text-main);
  outline: none;
  transition: var(--transition);
}

.form-input:focus {
  border-color: var(--brand-green);
  box-shadow: 0 0 12px rgba(0, 240, 168, 0.25);
}

.form-input::placeholder {
  color: var(--text-muted);
}

.input-with-btn {
  display: flex;
  gap: 8px;
}

.input-with-btn .form-input {
  flex: 1;
}

.form-hint {
  font-size: 12px;
  color: var(--text-muted);
}

.dev-code-box {
  background: rgba(0, 240, 168, 0.1);
  border: 1px dashed var(--brand-green);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
}

/* 客户端下载专区 Banner */
.download-section {
  background: linear-gradient(135deg, rgba(14, 20, 32, 0.8) 0%, rgba(20, 28, 44, 0.7) 100%);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  margin-top: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.download-info h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 6px;
}

.download-info p {
  color: var(--text-secondary);
  font-size: 14px;
}

/* 页脚 Footer */
.site-footer {
  border-top: 1px solid var(--border-subtle);
  margin-top: 64px;
  padding: 32px 0 16px;
  text-align: center;
  color: var(--text-muted);
  font-size: 13px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 12px;
}

.footer-links a:hover {
  color: var(--brand-green);
}

/* 空状态 */
.empty-box {
  text-align: center;
  padding: 64px 20px;
  color: var(--text-muted);
}

.empty-icon {
  font-size: 44px;
  margin-bottom: 12px;
  opacity: 0.6;
}

/* 响应式断点适配 */
@media (max-width: 900px) {
  .hero-section {
    padding: 32px 24px;
  }
  .features-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .header-inner {
    flex-direction: column;
    align-items: stretch;
    padding: 12px 0;
    gap: 14px;
  }
  .header-nav {
    overflow-x: auto;
    width: 100%;
    justify-content: flex-start;
  }
  .header-actions {
    justify-content: space-between;
    width: 100%;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .custom-duration-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .download-section {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* 游戏板块专区切换栏 */
.game-category-container {
  margin-bottom: 24px;
}

.game-category-bar {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  overflow-x: auto;
  padding: 8px 4px 14px 4px;
  scrollbar-width: thin;
}

.game-item-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 86px;
  max-width: 96px;
  padding: 8px 6px;
  border-radius: 12px;
  background: transparent;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  user-select: none;
  text-align: center;
  position: relative;
}

.game-item-card:hover {
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-2px);
}

.game-item-card.active {
  background: linear-gradient(180deg, rgba(0, 240, 168, 0.12), rgba(13, 124, 114, 0.18));
  border-color: var(--brand-green);
  box-shadow: 0 4px 16px rgba(0, 240, 168, 0.2), inset 0 0 10px rgba(0, 240, 168, 0.05);
}

.game-item-circle {
  width: 76px;
  height: 44px;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.45);
  border: 1.5px solid rgba(255, 255, 255, 0.14);
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #151a28;
}

.game-item-card.active .game-item-circle {
  border-color: var(--brand-green);
  box-shadow: 0 0 14px rgba(0, 240, 168, 0.55);
  transform: scale(1.04);
}

.game-item-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
}

.game-item-circle-icon {
  font-size: 24px;
}

.game-item-badge {
  position: absolute;
  top: -3px;
  right: -3px;
  background: #10b981;
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  padding: 1px 5px;
  border-radius: 6px;
  line-height: 1.2;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
  z-index: 2;
}

.game-item-name {
  margin-top: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  transition: color 0.2s;
}

.game-item-card:hover .game-item-name {
  color: var(--text-white);
}

.game-item-card.active .game-item-name {
  color: var(--brand-green);
  font-weight: 700;
}

/* 优惠套餐选择胶囊 */
.duration-chip.package-chip {
  border-color: rgba(0, 240, 168, 0.4);
  background: rgba(0, 240, 168, 0.08);
}
.duration-chip.package-chip:hover {
  background: rgba(0, 240, 168, 0.16);
}
.duration-chip.package-chip.active {
  background: linear-gradient(135deg, rgba(0, 240, 168, 0.25), rgba(13, 124, 114, 0.35));
  border-color: var(--brand-green);
  box-shadow: 0 0 14px rgba(0, 240, 168, 0.35);
}
.duration-chip.package-chip .dur-gift {
  color: var(--brand-green);
  font-weight: 700;
}

/* 板块专属说明横幅 */
.category-notice-banner {
  margin-top: 12px;
  padding: 12px 18px;
  border-radius: var(--radius-md);
  font-size: 13px;
  line-height: 1.6;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all var(--transition-fast);
}

.category-notice-banner.apex {
  background: rgba(255, 170, 0, 0.08);
  border: 1px solid rgba(255, 170, 0, 0.25);
  color: #ffc44d;
}

.category-notice-banner.free {
  background: rgba(0, 240, 168, 0.08);
  border: 1px solid rgba(0, 240, 168, 0.25);
  color: #55f1be;
}

.category-notice-banner.all {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
}

/* 卡片上的游戏标识与免押徽章 */
.tier-game-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  margin-top: 4px;
}

.tier-game-tag.free {
  background: rgba(0, 240, 168, 0.12);
  color: var(--brand-green);
  border: 1px solid rgba(0, 240, 168, 0.3);
}

.tier-game-tag.deposit {
  background: rgba(255, 170, 0, 0.12);
  color: #ffaa00;
  border: 1px solid rgba(255, 170, 0, 0.3);
}

.tier-game-thumb-avatar {
  width: 68px;
  height: 38px;
  border-radius: 6px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

