/* ============================================================
   ICEARK · Pages — 首页/服务器/商店/文章/玩家中心 专用样式
   ============================================================ */

/* ---------- HERO 轮播 ---------- */
.hero { position: relative; min-height: min(660px, 84vh); border-radius: var(--r-xl); overflow: hidden;
  margin-top: 8px; box-shadow: var(--shadow-lg), inset 0 1px 0 var(--spec-top); }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s var(--ease-io); }
.hero-slide.active { opacity: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; }
.hero-slide::after { content:""; position:absolute; inset:0;
  background: linear-gradient(90deg, rgba(6,12,24,0.88) 0%, rgba(6,12,24,0.45) 48%, rgba(6,12,24,0.1) 100%),
              linear-gradient(0deg, rgba(6,12,24,0.7), transparent 45%); }
.hero-content { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center;
  padding: clamp(30px, 6vw, 80px); max-width: 760px; }
.hero-badge { display: inline-flex; align-items: center; gap: 9px; width: fit-content; padding: 8px 16px; border-radius: var(--r-pill);
  background: rgba(94,234,212,0.12); border: 1px solid rgba(94,234,212,0.35); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  color: var(--brand-ice); font-size: 12.5px; font-weight: 700; letter-spacing: 0.06em; margin-bottom: 22px; }
.hero-title { font-size: clamp(36px, 5vw, 62px); line-height: 1.14; font-weight: 850; letter-spacing: -0.035em; margin: 0 0 20px;
  text-shadow: 0 4px 30px rgba(0,0,0,0.5); }
.hero-title em { font-style: normal; background: linear-gradient(120deg, var(--brand-ice), var(--brand-cyan) 45%, var(--brand-violet));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero-desc { font-size: clamp(15px, 1.6vw, 18px); color: rgba(255,255,255,0.82); max-width: 540px; margin: 0 0 30px; line-height: 1.75; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-cta .btn-glass {
  background: rgba(10, 18, 34, 0.55);
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  backdrop-filter: blur(20px) saturate(160%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.4), 0 8px 24px rgba(0,0,0,0.25);
}
.hero-cta .btn-glass:hover { background: rgba(10, 18, 34, 0.75); border-color: rgba(255,255,255,0.6); }
.hero-dots { position: absolute; z-index: 3; bottom: 92px; left: clamp(30px, 6vw, 80px); display: flex; gap: 9px; }
.hero-dot { width: 8px; height: 8px; border-radius: 20px; background: rgba(255,255,255,0.4); transition: all var(--dur); cursor: pointer; }
.hero-dot.active { width: 28px; background: var(--brand-ice); box-shadow: 0 0 12px var(--brand-ice); }
.hero-arrow { position: absolute; z-index: 3; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; color: #fff; background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.2);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); transition: all var(--dur-fast); }
.hero-arrow:hover { background: rgba(255,255,255,0.25); }
.hero-arrow.prev { left: 18px; } .hero-arrow.next { right: 18px; }

/* ---------- 统计条 ---------- */
.stats-bar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: -46px; position: relative; z-index: 5; }
@media (max-width: 720px) { .stats-bar { grid-template-columns: repeat(2, 1fr); margin-top: 20px; } }
.stat-item { padding: 22px 24px; text-align: center; }
.stat-num { font-size: clamp(28px, 3.5vw, 40px); font-weight: 800; line-height: 1.1;
  background: linear-gradient(135deg, var(--brand-ice), var(--brand-violet)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat-label { font-size: 12.5px; color: var(--text-2); margin-top: 6px; }

/* ---------- 特性卡 ---------- */
.feature-icon { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 18px;
  background: linear-gradient(135deg, rgba(94,234,212,0.18), rgba(79,140,255,0.1)); border: 1px solid rgba(94,234,212,0.28);
  box-shadow: inset 0 1px 0 var(--spec-top); }
.feature-icon svg { width: 26px; height: 26px; color: var(--brand-ice); }
.feature-card h3 { font-size: 18px; margin: 0 0 10px; font-weight: 700; }
.feature-card p { color: var(--text-2); font-size: 14px; margin: 0; line-height: 1.7; }

/* ---------- 服务器卡 ---------- */
.server-card { overflow: hidden; padding: 0; display: flex; flex-direction: column; }
.server-cover { position: relative; height: 150px; background-size: cover; background-position: center; }
.server-cover::after { content:""; position:absolute; inset:0; background: linear-gradient(0deg, var(--glass-bg-strong), transparent 75%); }
.server-cover .server-map { position: absolute; z-index: 2; left: 18px; bottom: -22px; width: 62px; height: 62px;
  border-radius: 16px; object-fit: cover; border: 2px solid rgba(255,255,255,0.25); box-shadow: var(--shadow-md); }
.server-body { padding: 34px 20px 20px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.server-name { font-size: 15.5px; font-weight: 700; line-height: 1.4; }
.server-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.server-online { display: flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--text-2); }
.server-actions { display: flex; gap: 10px; margin-top: auto; }
.server-actions .btn { flex: 1; width: auto; min-width: 0; margin-top: 0; justify-content: center; padding: 10px 8px; font-size: 13px; gap: 6px; }
.server-actions .btn svg { width: 15px; height: 15px; flex: none; }

/* ---------- 文章卡 ---------- */
.article-card { overflow: hidden; padding: 0; display: flex; flex-direction: column; }
.article-cover { height: 170px; background-size: cover; background-position: center; background-color: var(--bg-deep); }
.article-body { padding: 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.article-meta { display: flex; align-items: center; gap: 12px; font-size: 11.5px; color: var(--text-3); }
.article-card h3 { font-size: 16px; margin: 0; font-weight: 700; line-height: 1.45; }
.article-card:hover h3 { color: var(--accent); }

/* ---------- 商品卡 ---------- */
.shop-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; text-align: center; }
.shop-img { height: 140px; display: grid; place-items: center; padding: 16px;
  background: radial-gradient(circle at 50% 30%, rgba(94,234,212,0.14), transparent 70%); }
.shop-img img { max-height: 108px; object-fit: contain; filter: drop-shadow(0 8px 16px rgba(0,0,0,0.5)); transition: transform var(--dur) var(--ease-spring); }
.shop-card:hover .shop-img img { transform: scale(1.12) translateY(-4px); }
.shop-body { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.shop-name { font-weight: 700; font-size: 14.5px; }
.shop-desc { font-size: 12px; color: var(--text-2); min-height: 34px; }
.shop-price { font-size: 20px; font-weight: 800; color: var(--brand-amber); display: flex; align-items: center; justify-content: center; gap: 5px; }
.shop-price svg { width: 16px; height: 16px; }

/* ---------- 数据面板 ---------- */
.data-card { padding: 22px 24px; }
.data-card-title { font-size: 13px; color: var(--text-2); font-weight: 600; margin: 0 0 8px; }
.data-card-value { font-size: 30px; font-weight: 800; }
.data-card-ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; margin-left: auto;
  background: rgba(34,211,238,0.1); border: 1px solid rgba(34,211,238,0.25); }
.data-card-ico svg { width: 22px; height: 22px; color: var(--accent); }

/* ---------- 公告栏 ---------- */
.notice-bar { display: flex; align-items: center; gap: 14px; padding: 14px 20px; margin: 20px 0 0; }
.notice-bar .notice-ico { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex: none;
  background: rgba(251,191,36,0.14); color: var(--brand-amber); }
.notice-bar .notice-ico svg { width: 18px; height: 18px; }
.notice-text { font-size: 13.5px; color: var(--text-2); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }

/* ---------- 登录页 ---------- */
.auth-wrap { min-height: calc(100vh - var(--nav-h) - 120px); display: grid; place-items: center; padding: 40px 20px; }
.auth-card { width: min(440px, 100%); padding: 40px; }
.auth-logo { width: 68px; height: 68px; margin: 0 auto 18px; filter: drop-shadow(0 8px 24px rgba(94,234,212,0.45)); }
.auth-title { text-align: center; font-size: 26px; font-weight: 800; margin: 0 0 8px; }
.auth-sub { text-align: center; color: var(--text-2); font-size: 13.5px; margin: 0 0 28px; }

/* ---------- 文章正文 ---------- */
.prose { color: var(--text-1); font-size: 15.5px; line-height: 1.85; }
.prose h1,.prose h2,.prose h3 { margin: 1.6em 0 0.6em; line-height: 1.3; }
.prose img { border-radius: var(--r-sm); margin: 20px 0; }
.prose a { color: var(--accent); text-decoration: underline; }
.prose blockquote { margin: 20px 0; padding: 12px 20px; border-left: 3px solid var(--accent);
  background: var(--glass-bg-soft); border-radius: 0 var(--r-sm) var(--r-sm) 0; color: var(--text-2); }

/* ---------- 图片灯箱 ---------- */
.lightbox { position: fixed; inset: 0; z-index: 2000; background: rgba(0,0,0,0.85); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  display: grid; place-items: center; padding: 40px; cursor: zoom-out; animation: fadeIn 0.2s both; }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 12px; box-shadow: var(--shadow-lg); }
