* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
    -webkit-tap-highlight-color: transparent;
}

html, body {
    width: 100%;
    min-height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: none;
    -webkit-overflow-scrolling: auto;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

body {
    min-height: 100vh;
    background: 
        radial-gradient(circle at 20% 20%, rgba(0, 255, 255, .25), transparent 40%),
        radial-gradient(circle at 80% 30%, rgba(255, 0, 255, .2), transparent 40%),
        radial-gradient(circle at 50% 80%, rgba(0, 120, 255, .25), transparent 50%),
        url("背景.jpg");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background: inherit;
    filter: blur(20px);
    transform: scale(1.15);
    z-index: -2;
}

.ambient {
    position: fixed;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(rgba(0, 150, 255, .4), transparent);
    filter: blur(80px);
    animation: ambientMove 15s linear infinite;
    z-index: -1;
}

@keyframes ambientMove {
    0% { transform: translate(0, 0); }
    25% { transform: translate(200px, 100px); }
    50% { transform: translate(-100px, 200px); }
    75% { transform: translate(150px, -100px); }
    100% { transform: translate(0, 0); }
}

.glass-card {
    background: rgba(255, 255, 255, .08);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, .25);
    box-shadow: 
        inset 0 1px 1px rgba(255, 255, 255, .4),
        0 10px 40px rgba(0, 0, 0, .15);
    border-radius: 30px;
}

.glass-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 120px;
    height: 56px;
    font-size: 22px;
    color: white;
    border-radius: 28px;
    background: rgba(255, 255, 255, .12);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, .25);
    box-shadow: 
        inset 0 1px 1px rgba(255, 255, 255, .5),
        0 10px 30px rgba(0, 0, 0, .15);
    cursor: pointer;
    transition: all .25s ease;
    text-decoration: none;
}

.glass-btn:hover {
    transform: translateY(-3px);
    box-shadow: 
        inset 0 1px 1px rgba(255, 255, 255, .5),
        0 15px 40px rgba(0, 0, 0, .2);
}

.glass-btn:active {
    transform: translateY(-1px);
}

.color-flow {
    background: linear-gradient(90deg, #ff4d4f, #ffcc00, #36cbcb, #722ed1, #ff4d4f);
    background-size: 300%;
    -webkit-background-clip: text;
    color: transparent;
    animation: flowColor 2s linear infinite;
}

@keyframes flowColor {
    100% { background-position: 300%; }
}

.dynamic-island {
    position: fixed;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 95px;
    height: 36px;
    border-radius: 30px;
    background: rgba(255, 255, 255, .08);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, .25);
    box-shadow: 
        inset 0 1px 1px rgba(255, 255, 255, .5),
        inset 0 -1px 1px rgba(255, 255, 255, .1),
        0 8px 30px rgba(0, 0, 0, .25);
    overflow: hidden;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform .2s ease, width .25s ease, height .25s ease, border-radius .25s ease;
    outline: none;
}

.dynamic-island::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 20%, rgba(255, 255, 255, .4), transparent 80%);
    transform: translateX(-200%);
    animation: liquidLight 5s linear infinite;
}

@keyframes liquidLight {
    100% { transform: translateX(200%); }
}

.dynamic-island:active {
    transform: translateX(-50%) scale(.95);
}

.dynamic-island.touch-active {
    transform: translateX(-50%) scale(.95);
}

.island-ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, .3);
    transform: scale(0);
    animation: rippleEffect .6s linear;
    pointer-events: none;
}

.island-expanded {
    width: 300px;
    height: 60px;
    border-radius: 18px;
}

.island-text {
    font-size: 15px;
    white-space: nowrap;
    text-shadow: 0 0 10px rgba(255, 255, 255, .5);
    transition: opacity .3s ease;
}

.island-text.color-flow {
    background: linear-gradient(90deg, #ff4d4f, #ffcc00, #36cbcb, #722ed1, #ff4d4f);
    background-size: 300%;
    -webkit-background-clip: text;
    color: transparent;
    animation: flowColor 2s linear infinite;
}

.avatar {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, .4);
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, .25),
        inset 0 2px 2px rgba(255, 255, 255, .4);
    animation: floatAvatar 4s ease-in-out infinite;
}

@keyframes floatAvatar {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.profile-box {
    display: flex;
    align-items: center;
    gap: 20px;
}

.name-text {
    font-size: 30px;
    font-weight: 700;
    color: white;
    letter-spacing: 1px;
    text-shadow: 0 2px 20px rgba(255, 255, 255, .4);
}

.desc-text {
    margin-top: 8px;
    color: white;
    font-size: 16px;
}

.copyright {
    text-align: center;
    color: white;
    opacity: .7;
    font-size: 12px;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fadeIn {
    animation: fadeIn .6s ease forwards;
}

@keyframes scaleIn {
    from { opacity: 0; transform: scale(.9); }
    to { opacity: 1; transform: scale(1); }
}

.animate-scaleIn {
    animation: scaleIn .4s ease forwards;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: .6; }
}

.animate-pulse {
    animation: pulse 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.animate-bounce {
    animation: bounce 1s ease-in-out infinite;
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.shimmer {
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.3), transparent);
    background-size: 200% 100%;
    animation: shimmer 2s infinite;
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 
        inset 0 1px 1px rgba(255, 255, 255, .4),
        0 20px 60px rgba(0, 0, 0, .2);
    transition: all .3s ease;
}

.cursor-follower {
    position: fixed;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(0, 150, 255, .3);
    pointer-events: none;
    z-index: 9999;
    transition: transform .1s ease;
    mix-blend-mode: overlay;
}

.cursor-follower::before {
    content: "";
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    border: 1px solid rgba(0, 150, 255, .2);
    animation: ripple 2s ease-out infinite;
}

@keyframes ripple {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(2); opacity: 0; }
}

@keyframes rippleEffect {
    100% {
        transform: scale(4);
        opacity: 0;
    }
}

.scroll-indicator {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, .5);
    border-radius: 25px;
    animation: bounce 1.5s ease-in-out infinite;
}

.scroll-indicator::before {
    content: "";
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 12px;
    background: rgba(255, 255, 255, .8);
    border-radius: 3px;
    animation: scrollArrow 1.5s ease-in-out infinite;
}

@keyframes scrollArrow {
    0%, 100% { transform: translateX(-50%) translateY(0); opacity: 1; }
    50% { transform: translateX(-50%) translateY(10px); opacity: .5; }
}

.typewriter {
    overflow: hidden;
    white-space: nowrap;
    animation: typing 3s steps(20) forwards;
}

@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-5px) rotate(2deg); }
    50% { transform: translateY(-10px) rotate(0deg); }
    75% { transform: translateY(-5px) rotate(-2deg); }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}