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

body
{
    margin: 0;
    overflow-x: hidden;
    font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
    background: radial-gradient(ellipse at center, #0a0e17 0%, #050811 70%);
    color: #e6f1ff;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: none;
}

.cursor-glow
{
    position: fixed;
    width: 50px;
    height: 50px;
    background: radial-gradient(circle, rgba(100, 180, 255, 0.6) 0%, rgba(80, 160, 240, 0.4) 30%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    mix-blend-mode: screen;
    filter: blur(1px);
    animation: cursorPulse 2s ease-in-out infinite alternate;
    transition: width 0.2s, height 0.2s, background 0.2s;
}

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

.container
{
    position: relative;
    width: 85%;
    max-width: 800px;
    padding: 3.5rem;
    background: rgba(18, 25, 40, 0.25);
    border-radius: 28px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.15), inset 0 -1px 0 rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(100, 180, 255, 0.1);
    backdrop-filter: blur(25px) saturate(200%);
    -webkit-backdrop-filter: blur(25px) saturate(200%);
    border: 1px solid rgba(100, 180, 255, 0.15);
    text-align: center;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    overflow: hidden;
    z-index: 10;
}

.container::before
{
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, rgba(100, 180, 255, 0.1), rgba(180, 100, 255, 0.05), rgba(100, 255, 200, 0.1));
    border-radius: 30px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.container:hover::before
{
    opacity: 1;
}

.container:hover
{
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 35px 70px rgba(0, 0, 0, 0.6), 0 0 100px rgba(100, 180, 255, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border-color: rgba(100, 180, 255, 0.3);
}

.profile-card
{
    margin-bottom: 3rem;
    position: relative;
    z-index: 2;
}

.avatar-container
{
    position: relative;
    display: inline-block;
    margin-bottom: 2rem;
}

.avatar
{
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(100, 180, 255, 0.4);
    box-shadow: 0 0 40px rgba(100, 180, 255, 0.5), 0 0 80px rgba(100, 180, 255, 0.3), 0 0 120px rgba(100, 180, 255, 0.1);
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    z-index: 3;
}

.avatar-glow
{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(100, 180, 255, 0.3) 0%, rgba(80, 160, 240, 0.2) 40%, transparent 70%);
    filter: blur(20px);
    animation: avatarPulse 4s ease-in-out infinite;
    z-index: 1;
}

.avatar-sparkles
{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    border-radius: 50%;
    z-index: 2;
}

.avatar-sparkles::before,
.avatar-sparkles::after
{
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    filter: blur(1px);
    animation: sparkleRotate 6s linear infinite;
}

.avatar-sparkles::before
{
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 0s;
}

.avatar-sparkles::after
{
    bottom: 10px;
    right: 50%;
    transform: translateX(50%);
    animation-delay: 3s;
}

@keyframes avatarPulse
{
    0%, 100%
    {
        opacity: 0.4;
        transform: translate(-50%, -50%) scale(1);
    }
    50%
    {
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(1.15);
    }
}

@keyframes sparkleRotate
{
    0%
    {
        transform: translateX(-50%) rotate(0deg) translateY(0);
        opacity: 0.7;
    }
    50%
    {
        opacity: 1;
    }
    100%
    {
        transform: translateX(-50%) rotate(360deg) translateY(0);
        opacity: 0.7;
    }
}

.avatar:hover
{
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 0 60px rgba(100, 180, 255, 0.7), 0 0 100px rgba(100, 180, 255, 0.4), 0 0 150px rgba(100, 180, 255, 0.2);
}

.glowing-text
{
    color: #64b4ff;
    margin: 2rem 0 1rem;
    font-size: 3rem;
    font-weight: 300;
    letter-spacing: 2px;
    text-shadow: 0 0 30px rgba(100, 180, 255, 0.9), 0 0 60px rgba(100, 180, 255, 0.6), 0 0 90px rgba(100, 180, 255, 0.3);
    animation: textGlow 4s ease-in-out infinite alternate;
    background: linear-gradient(135deg, #64b4ff 0%, #a4d4ff 50%, #64b4ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.glowing-text::after
{
    content: '';
    position: absolute;
    bottom: -10px;
    left: 25%;
    width: 50%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #64b4ff, transparent);
    filter: blur(1px);
}

@keyframes textGlow
{
    0%
    {
        text-shadow: 0 0 30px rgba(100, 180, 255, 0.9), 0 0 60px rgba(100, 180, 255, 0.6), 0 0 90px rgba(100, 180, 255, 0.3);
    }
    100%
    {
        text-shadow: 0 0 40px rgba(100, 180, 255, 1), 0 0 80px rgba(100, 180, 255, 0.8), 0 0 120px rgba(100, 180, 255, 0.4);
    }
}

.tagline
{
    font-style: italic;
    margin: 1rem 0 2rem;
    color: #a4c7ff;
    font-size: 1.3rem;
    font-weight: 300;
    text-shadow: 0 0 15px rgba(164, 199, 255, 0.5);
    letter-spacing: 1px;
}

.details
{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin: 2.5rem 0;
}

.detail-item
{
    display: flex;
    align-items: center;
    font-size: 1.1rem;
    background: rgba(30, 40, 60, 0.4);
    padding: 1rem 1.8rem;
    border-radius: 20px;
    border: 1px solid rgba(100, 180, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    backdrop-filter: blur(15px);
    position: relative;
    overflow: hidden;
}

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

.detail-item:hover::before
{
    left: 100%;
}

.detail-item:hover
{
    background: rgba(40, 55, 80, 0.6);
    border-color: rgba(100, 180, 255, 0.5);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.detail-item i
{
    margin-right: 1rem;
    color: #64b4ff;
    filter: drop-shadow(0 0 8px rgba(100, 180, 255, 0.7));
    font-size: 1.2rem;
}

.social-links
{
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    margin: 3rem 0;
}

.social-link
{
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(30, 40, 60, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.1);
    font-size: 1.8rem;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    text-decoration: none;
    backdrop-filter: blur(15px);
    overflow: hidden;
}

.social-glow
{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.social-link.github
{
    color: #f0f6fc;
}

.social-link.github .social-glow
{
    background: radial-gradient(circle, rgba(240, 246, 252, 0.4) 0%, transparent 70%);
}

.social-link.github:hover
{
    background: rgba(36, 41, 46, 0.6);
    color: #f0f6fc;
    box-shadow: 0 0 30px rgba(240, 246, 252, 0.4), 0 0 60px rgba(240, 246, 252, 0.2);
    border-color: rgba(240, 246, 252, 0.5);
}

.social-link.bilibili
{
    color: #00a1d6;
}

.social-link.bilibili .social-glow
{
    background: radial-gradient(circle, rgba(0, 161, 214, 0.4) 0%, transparent 70%);
}

.social-link.bilibili:hover
{
    background: rgba(0, 161, 214, 0.15);
    color: #00a1d6;
    box-shadow: 0 0 30px rgba(0, 161, 214, 0.4), 0 0 60px rgba(0, 161, 214, 0.2);
    border-color: rgba(0, 161, 214, 0.5);
}

.social-link.osu
{
    color: #ff66aa;
}

.social-link.osu .social-glow
{
    background: radial-gradient(circle, rgba(255, 102, 170, 0.4) 0%, transparent 70%);
}

.social-link.osu:hover
{
    background: rgba(255, 102, 170, 0.15);
    color: #ff66aa;
    box-shadow: 0 0 30px rgba(255, 102, 170, 0.4), 0 0 60px rgba(255, 102, 170, 0.2);
    border-color: rgba(255, 102, 170, 0.5);
}

.social-link:hover
{
    transform: translateY(-10px) scale(1.15);
}

.social-link:hover .social-glow
{
    opacity: 1;
}

footer
{
    margin-top: 3.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(100, 180, 255, 0.2);
    color: #8ba3cc;
    font-size: 1rem;
    text-shadow: 0 0 10px rgba(139, 163, 204, 0.5);
    position: relative;
}

.footer-sparkle
{
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    filter: blur(1px);
    animation: footerSparkle 3s ease-in-out infinite;
}

@keyframes footerSparkle
{
    0%, 100%
    {
        opacity: 0.3;
        transform: translateX(-50%) scale(1);
    }
    50%
    {
        opacity: 1;
        transform: translateX(-50%) scale(1.5);
    }
}

@media (max-width: 768px)
{
    .container
    {
        width: 90%;
        padding: 2.5rem;
    }
    
    .avatar
    {
        width: 140px;
        height: 140px;
    }
    
    .avatar-glow
    {
        width: 160px;
        height: 160px;
    }
    
    .glowing-text
    {
        font-size: 2.5rem;
    }
    
    .social-links
    {
        gap: 2rem;
    }
    
    .social-link
    {
        width: 65px;
        height: 65px;
        font-size: 1.6rem;
    }
    
    body
    {
        cursor: auto;
    }
    
    .cursor-glow
    {
        display: none;
    }
}

@media (max-width: 480px)
{
    .container
    {
        padding: 2rem;
    }
    
    .avatar
    {
        width: 120px;
        height: 120px;
    }
    
    .glowing-text
    {
        font-size: 2rem;
    }
    
    .details
    {
        gap: 1rem;
    }
    
    .detail-item
    {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
    
    .social-links
    {
        gap: 1.5rem;
    }
}