/* ========== 亮色模式（海洋蓝） ========== */
:root {
    --primary-color: #3b82f6;
    --primary-light: #60a5fa;
    --primary-dark: #2563eb;
    --accent-color: #0ea5e9;
    --secondary-color: #06b6d4;
    --tertiary-color: #5c95f6;

    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-tertiary: #94a3b8;

    --bg-gradient-start: #f0f7ff;
    --bg-gradient-mid: #e0ecff;
    --bg-gradient-end: #dbeafe;

    --card-bg: rgba(255, 255, 255, 0.65);
    --card-border: rgba(255, 255, 255, 0.85);
    --card-hover-border: rgba(59, 130, 246, 0.45);

    --shadow-rgb: 59, 130, 246;
    --box-shadow: 0 10px 40px rgba(59, 130, 246, 0.12), 0 2px 8px rgba(15, 23, 42, 0.04);
    --hover-shadow: 0 20px 50px rgba(59, 130, 246, 0.22), 0 6px 16px rgba(15, 23, 42, 0.08);

    --glass-bg: rgba(255, 255, 255, 0.5);
    --glass-border: rgba(255, 255, 255, 0.75);
    --glass-strong: rgba(255, 255, 255, 0.85);

    --blob-1: rgba(59, 130, 246, 0.4);
    --blob-2: rgba(14, 165, 233, 0.32);
    --blob-3: rgba(139, 92, 246, 0.22);

    --modal-overlay: rgba(15, 23, 42, 0.55);
    --modal-bg: rgba(255, 255, 255, 0.97);
    --modal-footer-bg: rgba(248, 250, 252, 0.9);

    --scrollbar-thumb: rgba(59, 130, 246, 0.4);
    --scrollbar-hover: rgba(59, 130, 246, 0.6);

    --selection-bg: rgba(59, 130, 246, 0.25);
    --wave-fill: rgba(59, 130, 246, 0.08);
    --danger-color: #ef4444;
    --warning-color: #f59e0b;
    --success-color: #10b981;

    --grid-color: rgba(59, 130, 246, 0.04);
    --noise-opacity: 0.4;
}

/* ========== 暗色模式 ========== */
[data-theme="dark"] {
    --primary-color: #60a5fa;
    --primary-light: #93c5fd;
    --primary-dark: #3b82f6;
    --accent-color: #38bdf8;
    --secondary-color: #22d3ee;
    --tertiary-color: #5c95f6;

    --text-primary: #f1f5f9;
    --text-secondary: #cbd5e1;
    --text-tertiary: #64748b;

    --bg-gradient-start: #0a1020;
    --bg-gradient-mid: #0d1830;
    --bg-gradient-end: #131f3a;

    --card-bg: rgba(30, 41, 59, 0.5);
    --card-border: rgba(148, 163, 184, 0.18);
    --card-hover-border: rgba(96, 165, 250, 0.5);

    --box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4), 0 2px 8px rgba(0, 0, 0, 0.25);
    --hover-shadow: 0 20px 50px rgba(96, 165, 250, 0.25), 0 6px 16px rgba(0, 0, 0, 0.4);

    --glass-bg: rgba(30, 41, 59, 0.5);
    --glass-border: rgba(148, 163, 184, 0.18);
    --glass-strong: rgba(30, 41, 59, 0.85);

    --blob-1: rgba(59, 130, 246, 0.28);
    --blob-2: rgba(14, 165, 233, 0.22);
    --blob-3: rgba(139, 92, 246, 0.18);

    --modal-overlay: rgba(0, 0, 0, 0.75);
    --modal-bg: rgba(22, 32, 52, 0.97);
    --modal-footer-bg: rgba(15, 23, 42, 0.9);

    --scrollbar-thumb: rgba(96, 165, 250, 0.4);
    --scrollbar-hover: rgba(96, 165, 250, 0.6);

    --selection-bg: rgba(96, 165, 250, 0.3);
    --wave-fill: rgba(96, 165, 250, 0.1);
    --grid-color: rgba(96, 165, 250, 0.05);
    --noise-opacity: 0.25;
}

/* ========== 自动模式：跟随系统 ========== */
@media (prefers-color-scheme: dark) {
    [data-theme="auto"] {
        --primary-color: #60a5fa;
        --primary-light: #93c5fd;
        --primary-dark: #3b82f6;
        --accent-color: #38bdf8;
        --secondary-color: #22d3ee;
        --tertiary-color: #5c95f6;

        --text-primary: #f1f5f9;
        --text-secondary: #cbd5e1;
        --text-tertiary: #64748b;

        --bg-gradient-start: #0a1020;
        --bg-gradient-mid: #0d1830;
        --bg-gradient-end: #131f3a;

        --card-bg: rgba(30, 41, 59, 0.5);
        --card-border: rgba(148, 163, 184, 0.18);
        --card-hover-border: rgba(96, 165, 250, 0.5);

        --box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4), 0 2px 8px rgba(0, 0, 0, 0.25);
        --hover-shadow: 0 20px 50px rgba(96, 165, 250, 0.25), 0 6px 16px rgba(0, 0, 0, 0.4);

        --glass-bg: rgba(30, 41, 59, 0.5);
        --glass-border: rgba(148, 163, 184, 0.18);
        --glass-strong: rgba(30, 41, 59, 0.85);

        --blob-1: rgba(59, 130, 246, 0.28);
        --blob-2: rgba(14, 165, 233, 0.22);
        --blob-3: rgba(139, 92, 246, 0.18);

        --modal-overlay: rgba(0, 0, 0, 0.75);
        --modal-bg: rgba(22, 32, 52, 0.97);
        --modal-footer-bg: rgba(15, 23, 42, 0.9);

        --scrollbar-thumb: rgba(96, 165, 250, 0.4);
        --scrollbar-hover: rgba(96, 165, 250, 0.6);

        --selection-bg: rgba(96, 165, 250, 0.3);
        --wave-fill: rgba(96, 165, 250, 0.1);
        --grid-color: rgba(96, 165, 250, 0.05);
        --noise-opacity: 0.25;
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', 'Noto Sans SC', 'Segoe UI', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background: linear-gradient(135deg, var(--bg-gradient-start) 0%, var(--bg-gradient-mid) 50%, var(--bg-gradient-end) 100%);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow-x: hidden;
    line-height: 1.6;
    padding: 24px;
    font-weight: 400;
    transition: background 0.6s ease, color 0.4s ease;
}

/* 网格背景 */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(var(--grid-color) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-color) 1px, transparent 1px);
    background-size: 48px 48px;
    z-index: -3;
    pointer-events: none;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}

/* 背景光斑 */
.bg-blob {
    position: fixed;
    border-radius: 50%;
    filter: blur(90px);
    z-index: -2;
    pointer-events: none;
    animation: blobMove 24s ease-in-out infinite;
    transition: background 0.6s ease;
}

.bg-blob.b1 {
    width: 520px;
    height: 520px;
    background: radial-gradient(circle, var(--blob-1), transparent 70%);
    top: -220px;
    right: -120px;
    opacity: 0.7;
}

.bg-blob.b2 {
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, var(--blob-2), transparent 70%);
    bottom: -180px;
    left: -120px;
    animation-delay: -12s;
    opacity: 0.6;
}

.bg-blob.b3 {
    width: 360px;
    height: 360px;
    background: radial-gradient(circle, var(--blob-3), transparent 70%);
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -6s;
    opacity: 0.5;
}

@keyframes blobMove {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(40px, -40px) scale(1.12); }
    66% { transform: translate(-30px, 25px) scale(0.92); }
}

/* 噪点纹理 */
.noise-overlay {
    position: fixed;
    inset: 0;
    opacity: var(--noise-opacity);
    z-index: -1;
    pointer-events: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.5 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
    mix-blend-mode: overlay;
}

/* 波浪背景 */
.wave-bg {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 1200 120" xmlns="http://www.w3.org/2000/svg"><path d="M0 0v46.29c47.79 22.2 103.59 32.17 158 28 70.36-5.37 136.33-33.31 206.8-37.5 73.84-4.36 147.54 16.88 218.2 35.26 69.27 18 138.3 24.88 209.4 13.08 36.15-6 69.85-17.84 104.45-29.34C989.49 25 1113-14.29 1200 52.47V0z" fill="rgba(59, 130, 246, 0.08)"/></svg>');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: bottom;
    z-index: -1;
}

/* ========== 主题切换按钮 ========== */
.theme-toggle {
    position: fixed;
    top: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    border-radius: 16px;
    background: var(--glass-strong);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: var(--box-shadow);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9990;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--primary-color);
    overflow: hidden;
}

.theme-toggle::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, var(--primary-color), transparent 70%);
    opacity: 0;
    transition: opacity 0.4s;
}

.theme-toggle:hover {
    transform: translateY(-3px) rotate(20deg);
    box-shadow: var(--hover-shadow);
}

.theme-toggle:hover::before {
    opacity: 0.15;
}

.theme-toggle:active {
    transform: scale(0.9);
}

.theme-toggle svg {
    width: 22px;
    height: 22px;
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    z-index: 1;
}

/* 加载动画 */
.loader {
    position: fixed;
    inset: 0;
    background: linear-gradient(135deg, var(--bg-gradient-start), var(--bg-gradient-end));
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.6s, visibility 0.6s;
}

.loader-content {
    text-align: center;
    transform: translateY(-30px);
}

.loader-animation {
    position: relative;
    width: 76px;
    height: 76px;
    margin: 0 auto 28px;
}

.loader-circle {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 4px solid transparent;
    border-top-color: var(--primary-color);
    animation: spin 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
}
.loader-circle:nth-child(1) { animation-delay: -0.45s; border-top-color: var(--primary-color); }
.loader-circle:nth-child(2) { animation-delay: -0.3s;  border-top-color: var(--accent-color); }
.loader-circle:nth-child(3) { animation-delay: -0.15s; border-top-color: var(--secondary-color); }

.loader-text {
    font-size: 15px;
    color: var(--text-secondary);
    letter-spacing: 3px;
    font-weight: 500;
    font-family: 'Noto Sans SC', sans-serif;
    display: flex;
    align-items: center;
    gap: 8px;
}

.loader-text::before,
.loader-text::after {
    content: '';
    width: 24px;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--primary-color), transparent);
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.hidden {
    opacity: 0;
    visibility: hidden;
}

/* 主容器 */
.container {
    max-width: 1120px;
    width: 100%;
    margin: 20px auto;
    background: var(--card-bg);
    border-radius: 32px;
    box-shadow: var(--box-shadow);
    padding: 40px;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s, transform 0.7s, background 0.6s;
    border: 1px solid var(--card-border);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
}

.container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
}

/* 顶部区域 */
header {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px 0 32px;
    margin-bottom: 24px;
    position: relative;
}

.avatar-container {
    position: relative;
    width: 120px;
    height: 120px;
    margin-bottom: 24px;
}

.avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--glass-strong);
    box-shadow:
        0 14px 40px rgba(59, 130, 246, 0.3),
        0 0 0 1px rgba(59, 130, 246, 0.12),
        inset 0 2px 4px rgba(255, 255, 255, 0.4);
    background: var(--bg-gradient-start);
    position: relative;
    z-index: 2;
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.avatar:hover {
    transform: scale(1.08) rotate(-4deg);
}

.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    background-color: rgba(255, 255, 255, 1);
}

.avatar-bg {
    position: absolute;
    top: -14px;
    left: -14px;
    width: 148px;
    height: 148px;
    border-radius: 50%;
    background: conic-gradient(from 0deg, var(--primary-color), var(--accent-color), var(--secondary-color), var(--tertiary-color), var(--primary-color));
    z-index: 1;
    animation: rotate 10s linear infinite;
    opacity: 0.75;
    filter: blur(2px);
}

.avatar-bg::after {
    content: '';
    position: absolute;
    inset: 8px;
    border-radius: 50%;
    background: var(--bg-gradient-start);
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.user-info {
    text-align: center;
    margin-bottom: 8px;
}

.nickname {
    font-size: 30px;
    font-weight: 800;
    margin-bottom: 12px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color), var(--secondary-color), var(--tertiary-color));
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
    font-family: 'Noto Sans SC', sans-serif;
    text-align: center;
    animation: gradientShift 8s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.user-desc {
    opacity: 0.85;
    font-size: 14px;
    color: var(--text-secondary);
    text-align: center;
    max-width: 420px;
    margin: 0 auto 24px;
    padding: 0 16px;
    font-weight: 400;
    position: relative;
}

.user-desc::before,
.user-desc::after {
    content: '◆';
    color: var(--primary-color);
    opacity: 0.4;
    font-size: 10px;
    margin: 0 8px;
    vertical-align: middle;
}

/* 网站导航区 */
.app-section {
    margin-bottom: 36px;
}

.app-section h2 {
    margin: 0 0 28px;
    font-weight: 700;
    text-align: center;
    color: var(--text-primary);
    font-size: 24px;
    position: relative;
    padding-bottom: 12px;
    font-family: 'Noto Sans SC', sans-serif;
    letter-spacing: 0.5px;
}

@keyframes pulse {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.15); }
}

.app-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color), var(--secondary-color));
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.4);
}

.app-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 20px;
    margin-bottom: 15px;
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.6s 0.2s, transform 0.6s 0.2s;
}

/* 应用卡片 */
.app-item {
    aspect-ratio: 1/1;
    background: var(--glass-bg);
    border-radius: 22px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s, border-color 0.4s, background 0.4s;
    cursor: pointer;
    box-shadow: 0 6px 24px rgba(59, 130, 246, 0.1);
    border: 1px solid var(--glass-border);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transform-style: preserve-3d;
    will-change: transform;
}

.app-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(59, 130, 246, 0.2), transparent 60%);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
    z-index: 0;
}

.app-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.7), transparent);
    opacity: 0;
    transition: opacity 0.4s;
}

.app-item:hover::before {
    opacity: 1;
}

.app-item:hover::after {
    opacity: 1;
}

.app-item:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: var(--hover-shadow);
    border-color: var(--card-hover-border);
    background: var(--glass-strong);
}

.app-item:active {
    transform: translateY(-4px) scale(0.98);
}

.app-icon {
    width: 56px;
    height: 56px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        0 8px 20px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
    z-index: 1;
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

.app-icon::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 40%, rgba(255, 255, 255, 0.4) 50%, transparent 60%);
    transform: rotate(45deg) translateY(100%);
    transition: transform 0.6s;
}

.app-item:hover .app-icon {
    transform: scale(1.12) rotate(-6deg);
}

.app-item:hover .app-icon::before {
    transform: rotate(45deg) translateY(-100%);
}

.app-icon svg {
    width: 30px;
    height: 30px;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.15));
}

.app-item p {
    font-size: 13px;
    color: var(--text-primary);
    font-weight: 600;
    margin-top: 14px;
    transition: color 0.3s;
    text-align: center;
    line-height: 1.3;
    z-index: 1;
    font-family: 'Noto Sans SC', sans-serif;
    position: relative;
}

.app-item:hover p {
    color: var(--primary-color);
}

/* 页脚 */
footer {
    text-align: center;
    padding: 28px 0 12px;
    color: var(--text-secondary);
    font-size: 12px;
    margin-top: 20px;
    opacity: 0;
    transition: opacity 0.6s 0.4s;
    position: relative;
    z-index: 1;
    line-height: 1.7;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(59, 130, 246, 0.3), transparent);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 14px;
    font-size: 12px;
    flex-wrap: wrap;
    font-family: 'Noto Sans SC', sans-serif;
    align-items: center;
}

.footer-links span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* 公告弹窗 */
.announcement-modal {
    position: fixed;
    inset: 0;
    background-color: var(--modal-overlay);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s, visibility 0.5s;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    padding: 20px;
}

.announcement-modal.active {
    opacity: 1;
    visibility: visible;
}

.announcement-content {
    background: var(--modal-bg);
    border-radius: 28px;
    box-shadow: 0 30px 70px rgba(15, 23, 42, 0.4), 0 0 0 1px var(--card-border);
    max-width: 500px;
    width: 100%;
    overflow: hidden;
    position: relative;
    transform: scale(0.85) translateY(24px);
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.4s ease;
    opacity: 0;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
}

.announcement-modal.active .announcement-content {
    transform: scale(1) translateY(0);
    opacity: 1;
}

.announcement-header {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color), var(--secondary-color), var(--tertiary-color));
    background-size: 200% 200%;
    animation: gradientShift 6s ease infinite;
    color: white;
    padding: 26px 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.announcement-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.22), transparent 50%);
    animation: shimmer 8s linear infinite;
}

.announcement-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
}

@keyframes shimmer {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.announcement-header h3 {
    font-size: 20px;
    font-weight: 700;
    margin: 0;
    position: relative;
    letter-spacing: 1px;
    font-family: 'Noto Sans SC', sans-serif;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.announcement-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    background: rgba(255, 255, 255, 0.25);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.4s;
    z-index: 2;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    font-weight: 300;
}

.announcement-badge:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: rotate(90deg) scale(1.1);
}

.announcement-body {
    padding: 28px 24px;
}

.announcement-body p {
    color: var(--text-secondary);
    line-height: 1.75;
    margin-bottom: 16px;
    font-size: 14px;
    position: relative;
    padding-left: 26px;
    font-family: 'Noto Sans SC', sans-serif;
}

.announcement-body p:last-child {
    margin-bottom: 0;
}

.announcement-body p:before {
    content: '';
    position: absolute;
    left: 4px;
    top: 9px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    box-shadow: 0 0 12px rgba(59, 130, 246, 0.6);
}

.announcement-footer {
    padding: 20px 24px;
    background: var(--modal-footer-bg);
    text-align: center;
    border-top: 1px solid var(--card-border);
}

.close-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    border: none;
    padding: 13px 36px;
    border-radius: 14px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s;
    box-shadow: 0 8px 22px rgba(59, 130, 246, 0.4);
    font-family: 'Noto Sans SC', sans-serif;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.close-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s;
}

.close-btn:hover {
    box-shadow: 0 10px 28px rgba(59, 130, 246, 0.5);
    transform: translateY(-2px);
}

.close-btn:hover::before {
    left: 100%;
}

.close-btn:active {
    transform: translateY(0);
}

/* 入场动画 */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

.app-item {
    animation: fadeInUp 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) backwards;
}
.app-item:nth-child(1) { animation-delay: 0.10s; }
.app-item:nth-child(2) { animation-delay: 0.16s; }
.app-item:nth-child(3) { animation-delay: 0.22s; }
.app-item:nth-child(4) { animation-delay: 0.28s; }
.app-item:nth-child(5) { animation-delay: 0.34s; }
.app-item:nth-child(6) { animation-delay: 0.40s; }
.app-item:nth-child(7) { animation-delay: 0.46s; }
.app-item:nth-child(8) { animation-delay: 0.52s; }
.app-item:nth-child(9) { animation-delay: 0.58s; }
.app-item:nth-child(10) { animation-delay: 0.64s; }
.app-item:nth-child(n+11) { animation-delay: 0.70s; }

/* 响应式 */
@media (max-width: 768px) {
    body { padding: 16px; }
    .wave-bg { height: 70px; }
    .container { padding: 28px 22px; margin-top: 12px; border-radius: 28px; }
    .avatar-container { width: 105px; height: 105px; }
    .avatar-bg { width: 130px; height: 130px; }
    .nickname { font-size: 25px; }
    .app-grid { grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)); gap: 14px; }
    .app-icon { width: 48px; height: 48px; border-radius: 15px; }
    .app-icon svg { width: 26px; height: 26px; }
    .app-item p { font-size: 12px; }
    .footer-links { gap: 18px; }
    .theme-toggle { top: 16px; right: 16px; width: 44px; height: 44px; }
    .app-section h2 { font-size: 22px; }
}

@media (max-width: 480px) {
    body { padding: 12px; }
    .wave-bg { height: 50px; }
    .container { padding: 24px 18px; border-radius: 24px; }
    .avatar-container { width: 92px; height: 92px; margin-bottom: 18px; }
    .avatar-bg { width: 114px; height: 114px; }
    .nickname { font-size: 22px; }
    .user-desc { font-size: 13px; }
    .app-grid { grid-template-columns: repeat(auto-fit, minmax(88px, 1fr)); gap: 12px; }
    .app-item { padding: 14px 10px; border-radius: 18px; }
    .app-icon { width: 44px; height: 44px; border-radius: 13px; }
    .app-icon svg { width: 23px; height: 23px; }
    .app-item p { font-size: 11px; margin-top: 11px; }
    .footer-links { gap: 14px; font-size: 11px; }
    .app-section h2 { font-size: 20px; }
    .loader-text { font-size: 13px; letter-spacing: 2px; }
    .loader-text::before, .loader-text::after { width: 18px; }
}

@media (max-width: 350px) {
    .app-grid { grid-template-columns: repeat(auto-fit, minmax(78px, 1fr)); }
    .avatar-container { width: 82px; height: 82px; }
    .avatar-bg { width: 102px; height: 102px; }
    .nickname { font-size: 20px; }
}

/* 滚动条 */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
    background: var(--scrollbar-thumb);
    border-radius: 5px;
    border: 2px solid transparent;
    background-clip: padding-box;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--scrollbar-hover);
    background-clip: padding-box;
    border: 2px solid transparent;
}

::selection {
    background: var(--selection-bg);
    color: var(--primary-dark);
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
