@import url('css2?family=Plus+Jakarta+Sans:wght@400;600;800&family=Syncopate:wght@700&display=swap');

/* 钛金流光多色系统 */
:root {
    --titanium-base: #1e2230;
    --iridescent-cyan: #00f0ff;
    --iridescent-purple: #bd00ff;
    --iridescent-orange: #ff7a00;
    --iridescent-green: #00ff66;

    --surface-card: rgba(38, 44, 64, 0.7);
    --border-tech: rgba(255, 255, 255, 0.12);

    --font-title: 'Syncopate', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    --fx-speed: 0.35s;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    /* 多色弥散钛金背景：不暗沉，富有科技层次感 */
    background:
            radial-gradient(at 0% 0%, rgba(0, 240, 255, 0.15) 0px, transparent 40%),
            radial-gradient(at 100% 0%, rgba(189, 0, 255, 0.15) 0px, transparent 40%),
            radial-gradient(at 50% 100%, rgba(255, 122, 0, 0.1) 0px, transparent 50%),
            radial-gradient(at 100% 100%, rgba(0, 255, 102, 0.1) 0px, transparent 40%);
    background-color: var(--titanium-base);
    color: #f1f5f9;
    font-family: var(--font-body);
    min-height: 100vh;
    overflow-x: hidden;
    padding-bottom: 50px;
}

/* 顶部悬浮控制台 */
.nexus-dash-bar {
    width: 100%;
    height: 80px;
    padding: 0 4%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border-tech);
    background: rgba(30, 34, 48, 0.5);
    backdrop-filter: blur(20px);
    position: sticky;
    top: 0;
    z-index: 100;
}

.matrix-brand {
    font-family: var(--font-title);
    font-size: 1.3rem;
    letter-spacing: 3px;
    background: linear-gradient(90deg, var(--iridescent-cyan), var(--iridescent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

/* 游戏大厅专属：中心宽域搜索 */
.beam-search-wrapper {
    width: 450px;
    position: relative;
}
.beam-search-wrapper input {
    width: 100%;
    padding: 12px 20px 12px 50px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-tech);
    border-radius: 12px;
    color: #fff;
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
    transition: all var(--fx-speed);
}
.beam-search-wrapper input:focus {
    background: rgba(255, 255, 255, 0.09);
    border-color: var(--iridescent-cyan);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.2);
}
.beam-search-wrapper i {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255,255,255,0.4);
}

/* 主舞台容器 */
.nexus-frame {
    max-width: 1650px;
    margin: 30px auto 0;
    padding: 0 4%;
    display: flex;
    flex-direction: column;
    gap: 45px;
}

/* 核心布局：巨幕大厅横幅（Console-Style Billboard） */
.cinema-billboard {
    position: relative;
    width: 100%;
    border-radius: 24px;
    overflow: hidden;
    background: linear-gradient(135deg, #1e1b4b 0%, #0f172a 100%);
    border: 1px solid var(--border-tech);
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5);
    display: flex;
    align-items: flex-end;
    padding: 50px;
}

/* 背景流光艺术罩 */
.cinema-billboard::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.95) 20%, transparent 80%);
    z-index: 1;
}
.billboard-glow-blob {
    position: absolute;
    right: 10%;
    top: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(189, 0, 255, 0.25) 0%, transparent 70%);
    z-index: 0;
    animation: pulseBlob 8s infinite alternate;
}

@keyframes pulseBlob {
    0% { transform: scale(1) translate(0, 0); }
    100% { transform: scale(1.2) translate(-50px, 30px); }
}

.billboard-text-panel {
    position: relative;
    z-index: 2;
}

.billboard-badge {
    background: linear-gradient(90deg, var(--iridescent-orange), #ff0055);
    color: #fff;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 20px;
}

.billboard-text-panel h1 {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 15px;
    color: #fff;
}

.billboard-text-panel p {
    font-size: 1.1rem;
    color: #94a3b8;
    line-height: 1.6;
}
.billboard-text-panel strong {
    color: var(--iridescent-cyan);
}

/* 顶层横向操控卡槽 */
.arcade-filter-track {
    display: flex;
    align-items: center;
    gap: 15px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding-bottom: 15px;
}

.track-node {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-tech);
    color: #94a3b8;
    padding: 12px 28px;
    border-radius: 14px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--fx-speed) cubic-bezier(0.4, 0, 0.2, 1);
}
.track-node:hover {
    border-color: rgba(255,255,255,0.3);
    color: #fff;
    transform: translateY(-2px);
}
.track-node.node-active {
    background: #fff;
    color: var(--titanium-base);
    border-color: #fff;
    box-shadow: 0 10px 25px rgba(255,255,255,0.15);
}

/* 游戏卡片流媒体矩阵 (Capsule Grid) */
.capsule-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 30px;
}

/* 高级流光卡片实体 */
.game-capsule {
    background: var(--surface-card);
    border: 1px solid var(--border-tech);
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all var(--fx-speed) cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.game-capsule:hover {
    transform: translateY(-8px) scale(1.01);
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* 每张卡片悬浮时的彩色底边呼吸灯效 */
.game-capsule::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; width: 100%; height: 3px;
    background: transparent;
    transition: background var(--fx-speed);
}
.game-capsule.hover-cyan:hover::after { background: var(--iridescent-cyan); box-shadow: 0 0 15px var(--iridescent-cyan); }
.game-capsule.hover-purple:hover::after { background: var(--iridescent-purple); box-shadow: 0 0 15px var(--iridescent-purple); }
.game-capsule.hover-orange:hover::after { background: var(--iridescent-orange); box-shadow: 0 0 15px var(--iridescent-orange); }
.game-capsule.hover-green:hover::after { background: var(--iridescent-green); box-shadow: 0 0 15px var(--iridescent-green); }

.capsule-media {
    width: 100%;
    height: 210px;
    position: relative;
    overflow: hidden;
    background: #0d1117;
}

.capsule-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.game-capsule:hover .capsule-media img {
    transform: scale(1.06);
}

.category-sticker {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(5px);
    padding: 6px 14px;
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 700;
    border: 1px solid rgba(255,255,255,0.1);
}

.capsule-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.capsule-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.capsule-summary {
    font-size: 0.9rem;
    color: #94a3b8;
    line-height: 1.5;
    margin-bottom: 24px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
}

.capsule-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
}

.meta-stats {
    display: flex;
    gap: 15px;
    font-size: 0.85rem;
    color: #64748b;
}
.meta-stats span i { margin-right: 5px; color: #f59e0b; }

.btn-interact {
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border-tech);
    color: #fff;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}
.btn-interact:hover {
    background: #fff;
    color: var(--titanium-base);
    border-color: #fff;
    transform: scale(1.05);
}

.btn-launch-capsule {
    background: linear-gradient(90deg, #38bdf8, #818cf8);
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all var(--fx-speed);
}
.btn-launch-capsule:hover {
    filter: brightness(1.1);
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.4);
}

/* 矩阵融合分享舱（Modal） */
.vortex-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(15px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--fx-speed);
    z-index: 1000;
}
.vortex-overlay.is-open { opacity: 1; visibility: visible; }

.vortex-chamber {
    background: #202533;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 24px;
    padding: 40px;
    width: 90%;
    max-width: 460px;
    text-align: center;
    box-shadow: 0 30px 60px rgba(0,0,0,0.4);
    transform: scale(0.9) translateY(20px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.vortex-overlay.is-open .vortex-chamber { transform: scale(1) translateY(0); }

.vortex-title { font-family: var(--font-body); font-size: 1.5rem; color: #fff; margin-bottom: 6px; font-weight: 700;}
.vortex-target { color: var(--iridescent-cyan); font-weight: 600; font-size: 0.95rem; margin-bottom: 30px; }

.link-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 30px;
}
.link-route {
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border-tech);
    padding: 14px;
    border-radius: 12px;
    color: #fff;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.2s;
}
.link-route:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.3); transform: translateY(-2px); }

.btn-abort-vortex {
    background: transparent;
    color: #64748b;
    border: none;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: color 0.2s;
}
.btn-abort-vortex:hover { color: #fff; }

/* 游戏大厅统一页脚 */
.matrix-footer {
    border-top: 1px solid var(--border-tech);
    padding: 40px 4% 0;
    max-width: 1650px;
    margin-inline: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #64748b;
    font-size: 0.9rem;
}
.footer-nodes a { color: #64748b; text-decoration: none; margin-left: 25px; transition: color 0.2s; }
.footer-nodes a:hover { color: #fff; }

/* 移动端排版自适应优化 */
@media (max-width: 900px) {
    .nexus-dash-bar { height: auto; padding: 20px 4%; flex-direction: column; gap: 15px; }
    .beam-search-wrapper { width: 100%; }
    .cinema-billboard { padding: 30px; height: auto; }
    .billboard-text-panel h1 { font-size: 1.8rem; }
    .arcade-filter-track { overflow-x: auto; white-space: nowrap; padding-bottom: 10px; width: 100%; }
    .matrix-footer { flex-direction: column; gap: 20px; text-align: center; }
    .footer-nodes a { margin: 0 10px; }
}
a{
    text-decoration: none;
}