/* ============================================================
   随缘江湖 · 现代科技风样式表
   暗黑底 + 霓虹青/紫 + 玻璃拟态 + 网格线
   ============================================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --cyan: #00f0ff;
    --cyan-dim: #00a8b8;
    --purple: #8b5cf6;
    --purple-dim: #6d3fc7;
    --pink: #ec4899;
    --dark-1: #050810;
    --dark-2: #0a0e1a;
    --dark-3: #0f1424;
    --glass: rgba(15, 20, 36, 0.65);
    --glass-border: rgba(0, 240, 255, 0.18);
    --text: #c8d6e5;
    --text-bright: #e8f4ff;
    --text-dim: #5a6a80;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Microsoft YaHei", "微软雅黑", "Segoe UI", "Inter", sans-serif;
    color: var(--text);
    background: var(--dark-1);
    overflow-x: hidden;
    line-height: 1.7;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ========== 全局背景 ========== */
.bg-layer {
    position: fixed;
    inset: 0;
    background: url("sctp/ztbj.png") no-repeat center center / cover;
    z-index: -5;
    filter: brightness(0.4) contrast(1.15) saturate(0.85) hue-rotate(190deg);
}

.bg-overlay {
    position: fixed;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 30%, rgba(0, 100, 200, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 70%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
        linear-gradient(180deg, rgba(5, 8, 16, 0.85) 0%, rgba(5, 8, 16, 0.7) 50%, rgba(5, 8, 16, 0.92) 100%);
    z-index: -4;
}

/* 科技网格 */
.grid-layer {
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 240, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 240, 255, 0.04) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -3;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { background-position: 0 0; }
    100% { background-position: 50px 50px; }
}

/* 数字雨 canvas */
.matrix {
    position: fixed;
    inset: 0;
    z-index: -2;
    opacity: 0.12;
    pointer-events: none;
}

/* 粒子层 */
.particles {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--cyan);
    border-radius: 50%;
    box-shadow: 0 0 6px var(--cyan);
    animation: floatUp linear infinite;
    opacity: 0.5;
}

@keyframes floatUp {
    0% { transform: translateY(110vh) translateX(0); opacity: 0; }
    10% { opacity: 0.6; }
    90% { opacity: 0.4; }
    100% { transform: translateY(-10vh) translateX(30px); opacity: 0; }
}

/* ========== 顶部导航 ========== */
.top-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(5, 8, 16, 0.8);
    border-bottom: 1px solid var(--glass-border);
    backdrop-filter: blur(16px);
    box-shadow: 0 2px 30px rgba(0, 0, 0, 0.5), 0 0 1px rgba(0, 240, 255, 0.3);
}

.nav-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 14px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-seal {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--cyan), var(--purple));
    color: var(--dark-1);
    font-size: 15px;
    font-weight: 900;
    border-radius: 8px;
    box-shadow: 0 0 14px rgba(0, 240, 255, 0.5), inset 0 0 0 1px rgba(255,255,255,0.15);
    font-family: "Segoe UI", sans-serif;
    letter-spacing: 0;
}

.logo-text {
    font-size: 22px;
    font-weight: 700;
    background: linear-gradient(90deg, var(--cyan), var(--purple));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 3px;
}

.nav-menu {
    display: flex;
    gap: 36px;
}

.nav-link {
    font-size: 15px;
    color: var(--text);
    position: relative;
    padding: 6px 4px;
    transition: color 0.3s;
    letter-spacing: 1px;
}

.nav-link::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--cyan), var(--purple));
    transition: all 0.3s;
    transform: translateX(-50%);
    box-shadow: 0 0 6px var(--cyan);
}

.nav-link:hover,
.nav-link.active {
    color: var(--cyan);
    text-shadow: 0 0 8px rgba(0, 240, 255, 0.5);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-download-top {
    padding: 8px 20px;
    background: var(--glass);
    color: var(--cyan);
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    border: 1px solid var(--glass-border);
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.15);
    transition: all 0.3s;
    backdrop-filter: blur(6px);
}

.btn-download-top:hover {
    border-color: var(--cyan);
    box-shadow: 0 0 18px rgba(0, 240, 255, 0.5);
    transform: translateY(-1px);
}

.btn-register-top {
    padding: 8px 20px;
    background: linear-gradient(135deg, var(--cyan), var(--purple));
    color: var(--dark-1);
    border-radius: 6px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    border: none;
    box-shadow: 0 0 14px rgba(0, 240, 255, 0.35);
    transition: all 0.3s;
}

.btn-register-top:hover {
    box-shadow: 0 0 24px rgba(0, 240, 255, 0.7), 0 0 40px rgba(139, 92, 246, 0.4);
    transform: translateY(-1px);
}

/* ========== Hero 首屏 ========== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 100px 20px 60px;
    overflow: hidden;
}

/* 霓虹光环 */
.neon-rings {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    pointer-events: none;
}

.ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: ringPulse 4s ease-in-out infinite;
}

.ring-1 {
    width: 400px;
    height: 400px;
    border-color: rgba(0, 240, 255, 0.15);
    animation-delay: 0s;
}

.ring-2 {
    width: 600px;
    height: 600px;
    border-color: rgba(139, 92, 246, 0.1);
    animation-delay: 1s;
}

.ring-3 {
    width: 800px;
    height: 800px;
    border-color: rgba(0, 240, 255, 0.06);
    animation-delay: 2s;
}

@keyframes ringPulse {
    0%, 100% { opacity: 0.3; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.7; transform: translate(-50%, -50%) scale(1.05); }
}

/* 科技大字标题 */
.title-wrap {
    position: relative;
    z-index: 10;
    margin-bottom: 20px;
    text-align: center;
}

.tech-title {
    display: flex;
    gap: 10px;
    position: relative;
    justify-content: center;
}

.char {
    font-family: "Microsoft YaHei", "微软雅黑", sans-serif;
    font-size: clamp(70px, 12vw, 170px);
    font-weight: 900;
    line-height: 1;
    cursor: default;
    position: relative;
    display: inline-block;

    /* 全息渐变 —— 青紫双色科技感 */
    background: linear-gradient(135deg,
        #ffffff 0%,
        var(--cyan) 25%,
        #6dd0ff 45%,
        var(--purple) 70%,
        var(--pink) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;

    text-shadow: none;
    filter:
        drop-shadow(0 0 20px rgba(0, 240, 255, 0.6))
        drop-shadow(0 0 40px rgba(139, 92, 246, 0.4));

    animation: techShimmer 3s ease-in-out infinite, floatChar 5s ease-in-out infinite;
}

.char:nth-child(2) { animation-delay: 0.3s, 0.5s; }
.char:nth-child(3) { animation-delay: 0.6s, 1.0s; }
.char:nth-child(4) { animation-delay: 0.9s, 1.5s; }

@keyframes techShimmer {
    0%, 100% {
        filter:
            drop-shadow(0 0 20px rgba(0, 240, 255, 0.6))
            drop-shadow(0 0 40px rgba(139, 92, 246, 0.4));
    }
    50% {
        filter:
            drop-shadow(0 0 30px rgba(0, 240, 255, 0.9))
            drop-shadow(0 0 60px rgba(139, 92, 246, 0.6))
            drop-shadow(0 0 80px rgba(236, 72, 153, 0.3));
    }
}

@keyframes floatChar {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.char:hover {
    animation: techShimmer 0.5s ease-in-out infinite, glitch 0.3s ease-in-out infinite alternate;
}

@keyframes glitch {
    0% { transform: translate(0); filter: drop-shadow(0 0 20px var(--cyan)) drop-shadow(2px 0 var(--pink)); }
    25% { transform: translate(-2px, 1px); filter: drop-shadow(0 0 25px var(--cyan)) drop-shadow(-2px 0 var(--purple)); }
    50% { transform: translate(2px, -1px); filter: drop-shadow(0 0 30px var(--cyan)) drop-shadow(2px 0 var(--pink)); }
    75% { transform: translate(-1px, -1px); filter: drop-shadow(0 0 25px var(--cyan)) drop-shadow(-1px 0 var(--purple)); }
    100% { transform: translate(1px, 1px); filter: drop-shadow(0 0 20px var(--cyan)) drop-shadow(2px 0 var(--pink)); }
}

/* 标题底线 */
.title-subline {
    width: 0;
    height: 2px;
    margin: 16px auto 14px;
    background: linear-gradient(90deg, transparent, var(--cyan), var(--purple), transparent);
    box-shadow: 0 0 8px var(--cyan);
    animation: lineExpand 1.5s ease-out 0.5s forwards;
}

@keyframes lineExpand {
    to { width: 60%; max-width: 400px; }
}

/* 标签行 */
.title-tags {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.tag-item {
    font-size: 12px;
    color: var(--cyan);
    letter-spacing: 2px;
    font-family: "Consolas", "Courier New", monospace;
    text-transform: uppercase;
    opacity: 0.8;
}

.tag-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--purple);
    box-shadow: 0 0 4px var(--purple);
}

/* 副标题 */
.subtitle {
    font-size: clamp(15px, 2vw, 20px);
    color: var(--text);
    letter-spacing: 6px;
    margin-top: 24px;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.9);
    position: relative;
    z-index: 10;
    opacity: 0.85;
}

/* CTA 按钮组 */
.cta-group {
    display: flex;
    gap: 24px;
    margin-top: 44px;
    position: relative;
    z-index: 10;
}

.btn-primary,
.btn-secondary {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 44px;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 3px;
    border-radius: 8px;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s;
    border: none;
    font-family: inherit;
}

.btn-primary {
    background: linear-gradient(135deg, var(--cyan), var(--purple));
    color: var(--dark-1);
    box-shadow: 0 0 24px rgba(0, 240, 255, 0.35);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 36px rgba(0, 240, 255, 0.6), 0 0 50px rgba(139, 92, 246, 0.4);
}

.btn-secondary {
    background: var(--glass);
    color: var(--cyan);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(6px);
    box-shadow: inset 0 0 12px rgba(0, 240, 255, 0.08);
}

.btn-secondary:hover {
    border-color: var(--cyan);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.4), inset 0 0 12px rgba(0, 240, 255, 0.15);
    transform: translateY(-3px);
}

.btn-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transform: skewX(-20deg);
    transition: left 0.6s;
}

.btn-primary:hover .btn-shine {
    left: 120%;
}

/* 滚动提示 */
.scroll-hint {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-dim);
    font-size: 11px;
    letter-spacing: 3px;
    z-index: 10;
    font-family: "Consolas", monospace;
}

.scroll-line {
    width: 1px;
    height: 30px;
    background: linear-gradient(180deg, var(--cyan), transparent);
    animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
    0%, 100% { opacity: 0.3; transform: scaleY(0.5); transform-origin: top; }
    50% { opacity: 1; transform: scaleY(1); }
}

/* ========== 通用章节标题 ========== */
.section-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-bottom: 40px;
}

.header-line {
    flex: 0 1 120px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--cyan), transparent);
}

.section-title {
    font-size: clamp(28px, 4.5vw, 42px);
    font-weight: 800;
    letter-spacing: 8px;
    background: linear-gradient(135deg, var(--cyan), var(--purple));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 12px rgba(0, 240, 255, 0.3));
}

/* ========== 江湖志 ========== */
.intro-section {
    position: relative;
    padding: 100px 24px;
    z-index: 5;
}

.intro-content {
    max-width: 1100px;
    margin: 0 auto;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 50px 60px;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.5), inset 0 0 60px rgba(0, 240, 255, 0.03);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

/* 玻璃面板装饰角 */
.intro-content::before,
.intro-content::after {
    content: "";
    position: absolute;
    width: 60px;
    height: 60px;
    border: 2px solid var(--cyan);
    opacity: 0.3;
}

.intro-content::before {
    top: 0; left: 0;
    border-right: none; border-bottom: none;
    border-radius: 12px 0 0 0;
}

.intro-content::after {
    bottom: 0; right: 0;
    border-left: none; border-top: none;
    border-radius: 0 0 12px 0;
}

.intro-title {
    font-size: 28px;
    font-weight: 700;
    background: linear-gradient(90deg, var(--cyan), var(--purple));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 24px;
    letter-spacing: 4px;
    text-align: center;
}

/* ---------- 设置区块 ---------- */
.setting-block {
    margin-bottom: 32px;
    padding-bottom: 28px;
    border-bottom: 1px solid rgba(0, 240, 255, 0.1);
}

.setting-block:last-of-type {
    border-bottom: none;
}

.setting-title {
    font-size: 20px;
    color: var(--cyan);
    margin-bottom: 16px;
    letter-spacing: 3px;
    display: flex;
    align-items: center;
    gap: 12px;
    text-shadow: 0 0 8px rgba(0, 240, 255, 0.3);
}

.setting-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 24px;
    background: linear-gradient(135deg, var(--cyan), var(--purple));
    color: var(--dark-1);
    border-radius: 4px;
    font-size: 13px;
    font-weight: 800;
    font-family: "Consolas", monospace;
    box-shadow: 0 0 8px rgba(0, 240, 255, 0.4);
    flex-shrink: 0;
}

.setting-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 14px;
}

.setting-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 18px;
    background: rgba(0, 240, 255, 0.04);
    border: 1px solid rgba(0, 240, 255, 0.12);
    border-radius: 8px;
    transition: all 0.3s;
}

.setting-item:hover {
    border-color: rgba(0, 240, 255, 0.4);
    background: rgba(0, 240, 255, 0.08);
    box-shadow: 0 0 12px rgba(0, 240, 255, 0.15);
}

.setting-label {
    color: var(--text-dim);
    font-size: 14px;
    letter-spacing: 1px;
}

.setting-value {
    color: var(--cyan);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 1px;
    text-shadow: 0 0 6px rgba(0, 240, 255, 0.3);
}

.setting-note {
    color: var(--text);
    font-size: 14px;
    line-height: 1.9;
    margin-bottom: 14px;
    letter-spacing: 1px;
}

.setting-note b {
    color: var(--cyan);
    font-weight: 700;
    text-shadow: 0 0 6px rgba(0, 240, 255, 0.3);
}

.setting-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 14px;
    font-size: 14px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 0 0 1px rgba(0, 240, 255, 0.15);
}

.setting-table thead th {
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.15), rgba(139, 92, 246, 0.15));
    color: var(--cyan);
    padding: 12px 16px;
    text-align: left;
    letter-spacing: 2px;
    font-weight: 700;
    border-bottom: 1px solid rgba(0, 240, 255, 0.2);
}

.setting-table tbody td {
    padding: 11px 16px;
    background: rgba(10, 14, 26, 0.5);
    border-bottom: 1px solid rgba(0, 240, 255, 0.06);
    color: var(--text);
}

.setting-table tbody tr:nth-child(even) td {
    background: rgba(15, 20, 36, 0.5);
}

.setting-table tbody tr:hover td {
    background: rgba(0, 240, 255, 0.06);
    color: var(--text-bright);
}

.setting-table tbody td:last-child {
    color: var(--cyan);
    font-weight: 700;
}

.setting-bonus {
    color: var(--text);
    font-size: 14px;
    line-height: 2;
    letter-spacing: 1px;
    padding: 12px 16px;
    background: rgba(0, 240, 255, 0.04);
    border-left: 3px solid var(--cyan);
    border-radius: 4px;
}

.bonus-tag {
    display: inline-block;
    padding: 2px 10px;
    margin-right: 6px;
    background: linear-gradient(135deg, var(--cyan), var(--purple));
    color: var(--dark-1);
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    vertical-align: middle;
}

.intro-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(0, 240, 255, 0.1);
}

.feature-item {
    text-align: center;
    padding: 24px 12px;
    background: rgba(0, 240, 255, 0.03);
    border: 1px solid rgba(0, 240, 255, 0.1);
    border-radius: 10px;
    transition: all 0.3s;
    backdrop-filter: blur(6px);
}

.feature-item:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 240, 255, 0.4);
    box-shadow: 0 0 24px rgba(0, 240, 255, 0.2);
    background: rgba(0, 240, 255, 0.06);
}

.feature-icon {
    font-size: 36px;
    margin-bottom: 10px;
    filter: drop-shadow(0 0 8px rgba(0, 240, 255, 0.4));
}

.feature-name {
    font-size: 17px;
    font-weight: 700;
    color: var(--cyan);
    letter-spacing: 2px;
    margin-bottom: 6px;
}

.feature-desc {
    font-size: 12px;
    color: var(--text-dim);
    letter-spacing: 1px;
}

/* ========== 侠影录 轮播 ========== */
.gallery-section {
    position: relative;
    padding: 80px 24px 100px;
    z-index: 5;
}

.carousel {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.8), 0 0 0 1px var(--glass-border);
}

.carousel-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.65, 0, 0.35, 1);
}

.carousel-item {
    flex: 0 0 100%;
    height: 500px;
    background: var(--dark-2);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.carousel-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(5, 8, 16, 0.5));
    pointer-events: none;
}

.carousel-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid var(--glass-border);
    background: rgba(5, 8, 16, 0.8);
    color: var(--cyan);
    font-size: 28px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    z-index: 5;
    line-height: 1;
    backdrop-filter: blur(6px);
}

.carousel-btn:hover {
    border-color: var(--cyan);
    background: rgba(0, 240, 255, 0.15);
    color: var(--text-bright);
    box-shadow: 0 0 16px rgba(0, 240, 255, 0.5);
}

.carousel-btn.prev { left: 16px; }
.carousel-btn.next { right: 16px; }

.carousel-dots {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 5;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(0, 240, 255, 0.2);
    border: 1px solid rgba(0, 240, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s;
}

.dot.active {
    background: var(--cyan);
    box-shadow: 0 0 10px var(--cyan);
    transform: scale(1.3);
}

/* ========== 背景音乐播放器 ========== */
.music-player {
    position: fixed;
    left: 24px;
    bottom: 24px;
    z-index: 200;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    background: rgba(5, 8, 16, 0.85);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6), 0 0 14px rgba(0, 240, 255, 0.1);
    backdrop-filter: blur(10px);
    max-width: 360px;
    transition: all 0.3s;
}

.music-player:hover {
    box-shadow: 0 6px 28px rgba(0, 0, 0, 0.7), 0 0 20px rgba(0, 240, 255, 0.2);
    border-color: rgba(0, 240, 255, 0.3);
}

.music-toggle,
.music-volume-btn,
.music-next {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid var(--glass-border);
    background: linear-gradient(135deg, var(--cyan), var(--purple));
    color: var(--dark-1);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: all 0.3s;
    position: relative;
}

.music-toggle:hover,
.music-volume-btn:hover,
.music-next:hover {
    box-shadow: 0 0 14px rgba(0, 240, 255, 0.6);
    transform: translateY(-1px);
}

.music-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 13px;
}

.pause-icon { display: none; letter-spacing: 1px; }

.music-toggle.playing .play-icon { display: none; }
.music-toggle.playing .pause-icon { display: inline; }

.music-toggle.playing {
    animation: musicPulse 2s ease-in-out infinite;
}

@keyframes musicPulse {
    0%, 100% { box-shadow: 0 0 8px rgba(0, 240, 255, 0.3); }
    50% { box-shadow: 0 0 20px rgba(0, 240, 255, 0.7); }
}

.music-info {
    flex: 1;
    min-width: 0;
}

.music-title {
    font-size: 12px;
    color: var(--cyan);
    letter-spacing: 1px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 4px;
}

.music-progress {
    width: 100%;
    height: 3px;
    background: rgba(0, 240, 255, 0.15);
    border-radius: 2px;
    cursor: pointer;
    overflow: hidden;
}

.music-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--cyan), var(--purple));
    border-radius: 2px;
    transition: width 0.1s linear;
    box-shadow: 0 0 4px var(--cyan);
}

.music-volume-panel {
    display: none;
    position: absolute;
    bottom: 52px;
    right: 0;
    background: rgba(5, 8, 16, 0.95);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    padding: 10px 14px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6);
}

.music-volume-panel.show { display: block; }

.music-volume-panel input[type="range"] {
    width: 90px;
    accent-color: var(--cyan);
    cursor: pointer;
}

/* ========== 页脚 ========== */
.footer {
    position: relative;
    padding: 50px 24px 30px;
    background: linear-gradient(180deg, transparent, rgba(5, 8, 16, 0.95));
    border-top: 1px solid var(--glass-border);
    z-index: 5;
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.footer-title {
    font-size: 24px;
    font-weight: 700;
    background: linear-gradient(90deg, var(--cyan), var(--purple));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 8px;
    margin-bottom: 12px;
}

.footer-desc {
    color: var(--text-dim);
    font-size: 14px;
    letter-spacing: 2px;
    margin-bottom: 18px;
}

.footer-copy {
    color: var(--text-dim);
    font-size: 12px;
    letter-spacing: 1px;
    opacity: 0.6;
    font-family: "Consolas", monospace;
}

/* ========== 响应式 ========== */
@media (max-width: 768px) {
    .nav-menu { display: none; }
    .nav-inner { padding: 12px 16px; }
    .logo-text { font-size: 18px; }
    .tech-title { gap: 4px; }
    .cta-group { flex-direction: column; gap: 16px; width: 100%; max-width: 280px; }
    .btn-primary, .btn-secondary { width: 100%; padding: 12px 24px; font-size: 15px; }
    .intro-content { padding: 32px 20px; }
    .intro-features { grid-template-columns: repeat(2, 1fr); }
    .carousel-item { height: 300px; }
    .carousel-btn { width: 38px; height: 38px; font-size: 22px; }
    .section-title { letter-spacing: 6px; }
    .music-player { left: 12px; right: 12px; bottom: 12px; max-width: none; padding: 8px 12px; gap: 8px; }
    .music-title { font-size: 11px; }
    .music-toggle, .music-volume-btn, .music-next { width: 32px; height: 32px; }
    .header-line { flex: 0 1 40px; }
    .ring-1 { width: 250px; height: 250px; }
    .ring-2 { width: 350px; height: 350px; }
    .ring-3 { width: 450px; height: 450px; }
}

@media (max-width: 480px) {
    .intro-features { grid-template-columns: 1fr; }
    .subtitle { letter-spacing: 4px; }
}
