/* 共享样式：主视觉 + 画报式卡片（首页 / 专区页共用）
   来源：index.html 的内联样式（2026-10-17 外置）
   依赖 common.css 的 CSS 变量，引用顺序：common.css 在前。 */

        /* ===== 首页特有样式（霓虹电竞风）===== */

        /* 主视觉区：深色 + 霓虹光晕 */
        .hero {
            min-height: 100vh;
            background:
                radial-gradient(ellipse 70% 55% at 15% 30%, rgba(0, 229, 255, 0.12) 0%, transparent 60%),
                radial-gradient(ellipse 55% 45% at 85% 75%, rgba(255, 45, 149, 0.10) 0%, transparent 55%),
                radial-gradient(ellipse 50% 40% at 70% 20%, rgba(157, 77, 255, 0.09) 0%, transparent 50%),
                linear-gradient(180deg, var(--bg-1) 0%, var(--bg-0) 100%);
            background-size: cover;
            background-position: center;
            position: relative;
            display: flex;
            align-items: center;
            padding: 120px 5% 60px;
        }

        .hero::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            height: 120px;
            background: linear-gradient(180deg, transparent, var(--bg-0));
            z-index: 0;
            pointer-events: none;
        }

        .hero-content {
            max-width: 1400px;
            z-index: 1;
            position: relative;
            width: 100%;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 60px;
            align-items: center;
        }

        .hero-text {
            max-width: 600px;
        }

        .hero h1 {
            font-size: 4rem;
            font-weight: 800;
            line-height: 1.15;
            margin-bottom: 20px;
            animation: fadeInUp 0.8s ease;
            letter-spacing: -0.02em;
        }

        .hero h1 span {
            background: var(--gradient-text);
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
            filter: drop-shadow(0 0 22px var(--accent-glow));
        }

        .hero p {
            font-size: 1.2rem;
            color: var(--text-dim);
            margin-bottom: 30px;
            animation: fadeInUp 0.8s ease 0.2s backwards;
        }

        /* 游戏专区卡片 */
        .hero-zones {
            display: flex;
            flex-direction: column;
            gap: 16px;
            animation: fadeInUp 0.8s ease 0.6s backwards;
        }

        .zone-card-mini {
            /* 用 background-color 而非 background 简写：简写会重置 background-clip/origin，
               把下面「钻石会员」金框的 background-clip: padding-box, border-box 抹掉。
               （2026-10-16 加金框时踩到过这个坑。） */
            background-color: var(--glass);
            backdrop-filter: blur(14px);
            -webkit-backdrop-filter: blur(14px);
            border-radius: var(--radius-lg);
            padding: 20px 22px;
            border: 1px solid var(--border);
            transition: all var(--ease);
            text-decoration: none;
            color: inherit;
            display: block;
            position: relative;
            overflow: hidden;
        }

        .zone-card-mini::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(135deg, rgba(0, 229, 255, 0.08) 0%, transparent 50%, rgba(255, 45, 149, 0.06) 100%);
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .zone-card-mini::after {
            content: '';
            position: absolute;
            left: 0;
            right: 0;
            top: 0;
            height: 1px;
            background: linear-gradient(90deg, transparent, var(--accent), transparent);
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .zone-card-mini:hover::before {
            opacity: 1;
        }

        .zone-card-mini:hover::after {
            opacity: 0.8;
        }

        /* ===== 「星光会员」边框特效（2026-10-16，2026-10-17 起多卡复用）=====
           作用于带 .zone-starlight 类的卡片：首页的雾锁王国卡、专区页的
           「精品模组」与「2D 地图工具」卡；其它卡片保持原样。
           做法照搬 svip.html:310 的 .member-card.level-starlight（同站同源，观感统一）：
             border:1px solid transparent;
             background: linear-gradient(<深紫底>) padding-box,
                         linear-gradient(135deg,var(--accent) 0%,var(--accent-2) 45%,var(--accent) 100%) border-box;
           取色即 common.css:8-10 的主色：--accent:#00e5ff 青 / --accent-2:#9d4dff 紫。

           ⚠⚠ 关键坑（2026-10-16 实测踩到，务必别改回去）：
           **内层必须是接近不透明的颜色**。第一版内层用了 var(--glass)=rgba(255,255,255,.04)，
           结果下层那条渐变从半透明内层**透上来**，整张卡片被染成一片紫，根本看不出描边。
           最小复现对比确认过：内层 rgba(255,255,255,.04) → 整片染色；内层不透明 → 干净描边。
           svip.html 之所以没这个问题，正是因为它内层写的是 rgba(12,8,28,.94)（几乎不透明）。
           这里取 rgba(10,8,22,.93)：保留一点透感，同时足以挡住下层渐变。

           ⚠ 另一个坑：`.zone-card-mini` 原始的 `background: var(--glass)` 与 `:hover` 的
           `background: var(--glass-strong)` 都是**简写**，会重置 background-clip/origin、把描边抹掉。
           所以下面在 .zone-starlight 里用 background-color + background-image 重新声明，
           并让 hover 态也整组重写（不能只写 background 简写）。 */
        .zone-card-mini.zone-starlight {
            /* 星光三色（与 common.css 的 --gradient 同源） */
            --sl-a: #00e5ff;
            --sl-b: #9d4dff;
            --sl-inner: rgba(10, 8, 22, 0.93);

            background-color: var(--sl-inner);
            background-image:
                linear-gradient(var(--sl-inner), var(--sl-inner)),
                linear-gradient(135deg, var(--sl-a) 0%, var(--sl-b) 45%, var(--sl-a) 100%);
            background-origin: padding-box, border-box;
            background-clip: padding-box, border-box;
            border: 1px solid transparent;
            /* 静态辉光兼作不支持 background-clip 时的兜底描边 */
            box-shadow: 0 8px 25px rgba(123, 47, 247, 0.35), 0 0 0 1px rgba(157, 77, 255, 0.32);
        }

        /* 星点：照搬 svip.html 星光档那四颗（位置与色值不变）。
           注意 svip 把它放在 ::after；我们这边 ::before 留给流光，所以星点用 ::after。
           常态不显示、悬停才亮，避免和流光抢注意力。 */
        .zone-card-mini.zone-starlight::after {
            content: '';
            position: absolute;
            inset: 0;
            height: auto;
            background-image:
                radial-gradient(1.5px 1.5px at 15% 20%, rgba(255, 255, 255, 0.9), transparent),
                radial-gradient(1px 1px at 70% 12%, rgba(185, 242, 255, 0.8), transparent),
                radial-gradient(1.5px 1.5px at 85% 65%, rgba(255, 215, 0, 0.7), transparent),
                radial-gradient(1px 1px at 40% 80%, rgba(217, 184, 255, 0.8), transparent);
            pointer-events: none;
            opacity: 0;
            transition: opacity 0.3s ease;
        }
        .zone-card-mini.zone-starlight:hover::after { opacity: 0.7; }

        /* 描边流光：铺满卡片、被 padding 裁掉，只在 1px 边框区可见，斜着循环扫过。
           青白配色（同星光主色），mix-blend-mode:screen 只提亮不压暗。 */
        .zone-card-mini.zone-starlight::before {
            background: linear-gradient(115deg,
                transparent 0%, transparent 34%,
                rgba(185, 242, 255, 0.30) 45%,
                rgba(255, 255, 255, 0.75) 50%,
                rgba(185, 242, 255, 0.30) 55%,
                transparent 66%, transparent 100%);
            background-size: 260% 260%;
            mix-blend-mode: screen;
            opacity: 0.8;
            animation: zoneStarSweep 5.5s linear infinite;
        }
        .zone-card-mini.zone-starlight:hover::before { opacity: 1; }

        @keyframes zoneStarSweep {
            0%   { background-position: 140% 0%; }
            100% { background-position: -40% 0%; }
        }

        /* 悬停：紫色辉光加强；整组背景重写（只写简写会把描边抹掉） */
        .zone-card-mini.zone-starlight:hover {
            border-color: transparent;
            background-color: rgba(20, 12, 40, 0.95);
            background-image:
                linear-gradient(rgba(20, 12, 40, 0.95), rgba(20, 12, 40, 0.95)),
                linear-gradient(135deg, var(--sl-a) 0%, var(--sl-b) 45%, var(--sl-a) 100%);
            box-shadow: 0 15px 35px rgba(123, 47, 247, 0.55),
                        0 0 0 1px rgba(157, 77, 255, 0.6),
                        0 0 26px rgba(0, 229, 255, 0.22);
        }

        /* 尊重系统「减少动效」偏好：停掉流光，只留静态星光描边 */
        @media (prefers-reduced-motion: reduce) {
            .zone-card-mini.zone-starlight::before { animation: none; opacity: 0; }
        }

        .zone-card-header {
            display: flex;
            align-items: center;
            gap: 15px;
            margin-bottom: 10px;
            position: relative;
            z-index: 1;
        }

        .zone-icon {
            width: 52px;
            height: 52px;
            border-radius: 14px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
            flex-shrink: 0;
            overflow: hidden;
            background: var(--bg-3);
            border: 1px solid var(--border);
        }

        .zone-icon img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }

        .zone-icon.vrising {
            background: linear-gradient(135deg, rgba(212, 28, 42, 0.7) 0%, rgba(122, 0, 0, 0.8) 100%);
            color: #fff;
        }

        .zone-icon.coming {
            background: linear-gradient(135deg, rgba(155, 89, 182, 0.7) 0%, rgba(45, 26, 74, 0.8) 100%);
            color: #fff;
        }

        .zone-title-area {
            flex: 1;
        }

        .zone-badge-mini {
            display: inline-block;
            padding: 3px 12px;
            background: rgba(0, 229, 255, 0.10);
            color: #7fdbe8;
            font-size: 0.72rem;
            border-radius: 20px;
            margin-bottom: 5px;
            font-weight: 600;
            letter-spacing: 0.03em;
            border: 1px solid rgba(0, 229, 255, 0.25);
        }

        .zone-badge-mini.blue {
            background: rgba(74, 158, 255, 0.10);
            color: #8ab8e8;
            border: 1px solid rgba(74, 158, 255, 0.25);
        }

        .zone-badge-mini.purple {
            background: rgba(155, 89, 182, 0.10);
            color: #c0a0d8;
            border: 1px solid rgba(155, 89, 182, 0.25);
        }

        /* 「已更新」：青绿 + 呼吸光晕，与顶部导航的 .nav-badge.new 同一套语义 */
        .zone-badge-mini.badge-new {
            background: rgba(74, 222, 128, 0.12);
            color: #86efac;
            border: 1px solid rgba(74, 222, 128, 0.5);
            animation: zoneBadgeBreath 2.4s ease-in-out infinite;
        }

        /* 「火热」：橙红渐变 + 脉冲辉光，与顶部导航的 .nav-badge.hot 同一套语义 */
        .zone-badge-mini.badge-hot {
            background: linear-gradient(135deg, rgba(255, 88, 0, 0.28), rgba(255, 180, 0, 0.18));
            color: #ffb066;
            border: 1px solid rgba(255, 138, 61, 0.6);
            animation: zoneBadgeHot 1.4s ease-in-out infinite;
        }

        @keyframes zoneBadgeBreath {
            0%, 100% { opacity: 0.74; }
            50%      { opacity: 1; }
        }

        @keyframes zoneBadgeHot {
            0%, 100% { opacity: 0.82; box-shadow: 0 0 0 rgba(255, 110, 20, 0); }
            50%      { opacity: 1;    box-shadow: 0 0 10px rgba(255, 120, 30, 0.7); }
        }

        /* 尊重系统的「减少动效」偏好 */
        @media (prefers-reduced-motion: reduce) {
            .zone-badge-mini.badge-new,
            .zone-badge-mini.badge-hot { animation: none; }
        }

        .zone-card-header h3 {
            font-size: 1.2rem;
            color: var(--text);
            margin: 4px 0 0;
            font-weight: 700;
        }

        .zone-card-mini p {
            color: var(--text-dim);
            font-size: 0.88rem;
            line-height: 1.5;
            margin: 0;
            position: relative;
            z-index: 1;
        }

        .zone-arrow {
            position: absolute;
            right: 20px;
            top: 50%;
            transform: translateY(-50%);
            color: var(--accent);
            font-size: 1.1rem;
            transition: transform 0.3s ease;
            filter: drop-shadow(0 0 6px var(--accent-glow));
            z-index: 1;
        }

        .zone-card-mini:hover .zone-arrow {
            transform: translateY(-50%) translateX(6px);
        }


        /* ============ 特色服务（编辑式分栏） ============ */
        .services {
            padding: var(--space-8) 5%;
            position: relative;
        }

        .services-wrap {
            max-width: 1200px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: 340px 1fr;
            gap: 70px;
            align-items: start;
        }

        .services-aside {
            position: sticky;
            top: 120px;
        }

        .services-eyebrow {
            display: inline-block;
            font-size: 0.72rem;
            font-weight: 700;
            letter-spacing: 0.3em;
            text-transform: uppercase;
            color: var(--accent-2);
            margin-bottom: 14px;
            padding: 5px 16px;
            border: 1px solid rgba(157, 77, 255, 0.3);
            border-radius: 30px;
            background: rgba(157, 77, 255, 0.05);
        }

        .services-title {
            font-size: 2.6rem;
            font-weight: 800;
            color: var(--text);
            margin-bottom: 16px;
            line-height: 1.2;
            letter-spacing: -0.01em;
        }

        .services-desc {
            color: var(--text-dim);
            font-size: 1.1rem;
            line-height: 1.7;
        }

        .services-rule {
            width: 100%;
            height: 1px;
            background: linear-gradient(90deg, var(--accent), transparent);
            margin: 28px 0;
            position: relative;
        }

        .services-rule::after {
            content: '';
            position: absolute;
            left: 0;
            top: -2px;
            width: 5px;
            height: 5px;
            border-radius: 50%;
            background: var(--accent);
            box-shadow: 0 0 10px var(--accent-glow);
        }

        .services-note {
            color: var(--text-faint);
            font-size: 0.92rem;
            line-height: 1.8;
        }

        .services-list {
            display: flex;
            flex-direction: column;
        }

        .service-entry {
            display: grid;
            grid-template-columns: 56px 68px 1fr;
            gap: 24px;
            align-items: center;
            padding: 34px 8px;
            border-bottom: 1px solid var(--border);
            transition: all var(--ease);
            position: relative;
        }

        .service-entry:first-child {
            border-top: 1px solid var(--border);
        }

        .service-entry::after {
            content: '';
            position: absolute;
            left: 8px;
            right: 8px;
            bottom: -1px;
            height: 1px;
            background: linear-gradient(90deg, var(--accent), var(--accent-3), transparent);
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .service-entry:hover::after {
            opacity: 0.7;
        }

        .entry-num {
            font-size: 1.05rem;
            font-weight: 700;
            color: var(--text-faint);
            font-family: 'Segoe UI', monospace;
            letter-spacing: 0.05em;
            transition: color 0.3s ease;
        }

        .service-entry:hover .entry-num {
            color: var(--accent);
        }

        .entry-icon {
            width: 60px;
            height: 60px;
            border-radius: 16px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: var(--glass);
            border: 1px solid var(--border);
            transition: all var(--ease);
        }

        .entry-icon i {
            font-size: 1.4rem;
            color: var(--text-dim);
            transition: all var(--ease);
        }

        .service-entry:hover .entry-icon {
            border-color: var(--border-glow);
            background: linear-gradient(135deg, rgba(0, 229, 255, 0.1), rgba(157, 77, 255, 0.1));
            box-shadow: 0 0 20px var(--accent-glow-soft);
            transform: translateY(-3px);
        }

        .service-entry:hover .entry-icon i {
            color: var(--accent);
            filter: drop-shadow(0 0 6px var(--accent-glow));
        }

        .entry-body h3 {
            font-size: 1.3rem;
            font-weight: 700;
            color: var(--text);
            margin-bottom: 8px;
            letter-spacing: 0.02em;
        }

        .entry-body p {
            color: var(--text-dim);
            font-size: 0.95rem;
            line-height: 1.7;
        }
        /* 响应式（页面特有部分） */
        @media (max-width: 1024px) {
            .services-wrap {
                grid-template-columns: 1fr;
                gap: 50px;
            }

            .services-aside {
                position: static;
            }
        }

        @media (max-width: 900px) {
            .hero-content {
                grid-template-columns: 1fr;
                gap: 40px;
            }

            .hero-text {
                max-width: 100%;
                text-align: center;
                margin: 0 auto;
            }

            .hero-zones {
                max-width: 520px;
                margin: 0 auto;
                width: 100%;
            }

            .service-entry {
                grid-template-columns: 40px 56px 1fr;
                gap: 16px;
                padding: 26px 4px;
            }
        }

        @media (max-width: 600px) {
            .hero {
                padding: 100px 4% 40px;
                min-height: auto;
            }

            .hero h1 {
                font-size: 2rem;
            }

            .hero p {
                font-size: 0.98rem;
            }

            .services {
                padding: 50px 4%;
            }

            .services-title {
                font-size: 2rem;
            }

            .service-entry {
                grid-template-columns: 1fr;
                gap: 14px;
                text-align: left;
                padding: 24px 4px;
            }

            .entry-num {
                font-size: 0.9rem;
            }

            .entry-icon {
                width: 50px;
                height: 50px;
            }
        }

        /* 手机端（<480px）细节适配 */
        @media (max-width: 480px) {
            .hero {
                padding: 96px 4% 32px;
            }

            .hero h1 {
                font-size: 1.65rem;
                line-height: 1.25;
                margin-bottom: 12px;
            }

            .hero p {
                font-size: 0.9rem;
                margin-bottom: 20px;
            }

            .hero-zones {
                gap: 12px;
            }

            .zone-card-mini {
                padding: 16px;
            }

            .zone-card-header {
                gap: 12px;
            }

            .zone-icon {
                width: 44px;
                height: 44px;
                border-radius: 12px;
            }

            .zone-badge-mini {
                font-size: 0.65rem;
                padding: 2px 9px;
                margin-bottom: 4px;
            }

            .zone-card-header h3 {
                font-size: 1.05rem;
            }

            .zone-card-mini p {
                font-size: 0.82rem;
            }

            .zone-arrow {
                font-size: 0.95rem;
                right: 14px;
            }

            .services {
                padding: 40px 4%;
            }

            .services-eyebrow {
                font-size: 0.65rem;
                padding: 4px 12px;
            }

            .services-title {
                font-size: 1.7rem;
            }

            .services-desc {
                font-size: 0.95rem;
            }

            .services-note {
                font-size: 0.85rem;
            }

            .entry-body h3 {
                font-size: 1.1rem;
            }

            .entry-body p {
                font-size: 0.88rem;
            }
        }
