:root {
    --text-primary: #fff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-muted: rgba(255, 255, 255, 0.45);
    --accent: #f9a8d4;
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans SC", sans-serif;
}

* {
    user-select: none !important;
    -webkit-user-select: none !important;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    background: #000;
    min-height: 100vh;
    overflow-x: hidden;
    touch-action: manipulation;
    font-family: var(--font);
    color: var(--text-primary);
    -webkit-font-smoothing: antialiased;
}

.bg-video {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    z-index: 0;
    background: #000;
}

.wrap {
    position: relative;
    min-height: 100vh;
    pointer-events: none;
    text-align: center;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ===== Liquid Glass Card ===== */
.liquidGlass-wrapper {
    position: relative;
    overflow: hidden;
    box-shadow: 0 6px 6px rgba(0, 0, 0, 0.2), 0 0 20px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 2.2);
}

.liquidGlass-effect {
    position: absolute;
    z-index: 0;
    inset: 0;
    -webkit-mask-image: radial-gradient(ellipse at center, transparent 20%, black 100%);
    mask-image: radial-gradient(ellipse at center, transparent 20%, black 100%);
    backdrop-filter: blur(3px);
    filter: url(#glass-distortion);
    overflow: hidden;
    isolation: isolate;
}

.liquidGlass-tint {
    z-index: 1;
    position: absolute;
    inset: 0;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    background: rgba(255, 255, 255, 0.03);
}

.liquidGlass-shine {
    position: absolute;
    inset: 0;
    z-index: 2;
    overflow: hidden;
    box-shadow:
        inset 2px 2px 1px 0 rgba(255, 255, 255, 0.5),
        inset -1px -1px 1px 1px rgba(255, 255, 255, 0.5);
}

.liquidGlass-content {
    position: relative;
    z-index: 3;
    color: var(--text-primary);
}

.hero {
    position: relative;
    z-index: 1;
    padding: 12vh 1rem 1rem;
    pointer-events: auto;
    width: 100%;
    max-width: 520px;
}

.card-profile {
    padding: 2.5rem 2rem;
}

.greeting {
    margin-bottom: 1.5rem;
}

.greeting span {
    display: block;
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    opacity: 0.5;
    line-height: 1.8;
}

.avatar-wrap {
    width: 110px; height: 110px;
    margin: 0 auto 1.2rem;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(255,255,255,0.15);
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    transition: transform 0.4s ease;
}
.avatar-wrap:hover { transform: scale(1.05); }

.avatar {
    width: 100%; height: 100%;
    object-fit: cover; display: block;
}

.profile-name {
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    background: linear-gradient(90deg, var(--accent), #fff 80%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.profile-desc {
    font-size: 0.92rem;
    color: var(--text-secondary);
    margin-bottom: 0.4rem;
    line-height: 1.6;
}

/* ===== Buttons Section ===== */
.section-buttons {
    position: relative;
    z-index: 1;
    padding: 1rem 1rem 1.5rem;
    pointer-events: auto;
    width: 100%;
    max-width: 520px;
}

.section-title {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.btn-group {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    align-items: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    max-width: 300px;
    padding: 0.7rem 1.2rem;
    background: rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 0.88rem;
    font-family: var(--font);
    text-decoration: none;
    pointer-events: auto;
    transition: all 0.25s ease;
    cursor: pointer;
}

.btn:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

.btn:active {
    transform: scale(0.97);
}

.nav-dropdown {
    position: relative;
    width: 100%;
    max-width: 300px;
}

.nav-dropdown > .btn {
    max-width: none;
    cursor: pointer;
}

.nav-dropdown-menu {
    display: none;
    position: absolute;
    z-index: 10;
    top: calc(100% + 0.45rem);
    left: 0;
    right: 0;
    padding: 0.35rem;
    border: 1px solid rgba(255,255,255,0.16);
    border-radius: var(--radius-sm);
    background: rgba(18, 18, 24, 0.94);
    box-shadow: 0 10px 24px rgba(0,0,0,0.3);
    backdrop-filter: blur(12px);
}

.nav-dropdown.open .nav-dropdown-menu {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.nav-dropdown-option {
    display: block;
    padding: 0.65rem 0.8rem;
    border-radius: calc(var(--radius-sm) - 2px);
    color: var(--text-primary);
    font-size: 0.86rem;
    text-decoration: none;
    text-align: center;
    transition: background 0.2s ease;
}

.nav-dropdown-option:hover,
.nav-dropdown-option:focus-visible {
    background: rgba(255,255,255,0.1);
    outline: none;
}

/* ===== Main Content ===== */
.content-area {
    position: relative;
    z-index: 1;
    padding: 0 1rem 3rem;
    pointer-events: auto;
    width: 100%;
    max-width: 520px;
}

.content-area .liquidGlass-content {
    text-align: left;
}

.content-area .liquidGlass-content h2 {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.item-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.item {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius-md);
    padding: 0.8rem 1rem;
    cursor: pointer;
    transition: all 0.25s ease;
}

.item:hover {
    background: rgba(255,255,255,0.07);
    border-color: rgba(255,255,255,0.14);
    transform: translateY(-1px);
}

.item-header {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 0.35rem;
}

.item-title {
    font-size: 0.88rem;
    line-height: 1.5;
    color: var(--text-secondary);
}

/* ===== 实时统计 ===== */
.stats-row {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.2rem;
}

.stat-box {
    flex: 1;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius-md);
    padding: 0.8rem 1rem;
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1.2;
}

.stat-label {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.72rem;
    color: var(--text-muted);
}

/* Music player */
.music-player { cursor: default; }

.music-info {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-top: 0.2rem;
}

.music-icon {
    font-size: 1.3rem;
    color: var(--accent);
    flex-shrink: 0;
}
@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.song-details {
    flex: 1;
    min-width: 0;
}

.song-name {
    font-size: 0.88rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.artist-name {
    font-size: 0.72rem;
    color: var(--text-muted);
    margin-top: 0.1rem;
}

.music-controls {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    flex-shrink: 0;
}

.music-controls i {
    transition: opacity 0.2s;
}
.music-controls i:hover {
    opacity: 1 !important;
}

.music-list {
    margin-top: 8px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.music-list-item {
    padding: 0.45rem 0.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    cursor: pointer;
    font-size: 0.78rem;
    color: var(--text-muted);
    transition: all 0.2s;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.music-list-item:hover {
    background: rgba(255,255,255,0.06);
    color: var(--text-secondary);
}

.music-list-item.playing {
    color: var(--accent);
}

.music-list-item:last-child {
    border-bottom: none;
}

/* ===== Footer ===== */
.site-footer {
    position: relative;
    z-index: 1;
    padding: 1.2rem 2rem 2rem;
    pointer-events: auto;
    width: 100%;
}

.footer-content {
    display: flex;
    gap: 0.8rem;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: var(--text-muted);
    flex-wrap: wrap;
}

@media (max-width: 640px) {
    .hero { padding-top: 9vh; }
    .card-profile { padding: 2rem 1.5rem; }
}
