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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    background: #000;
    color: #fff;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.container {
    max-width: 800px;
    width: 90%;
    padding: 2rem;
    z-index: 1;
    position: relative;
}

.profile {
    text-align: center;
    margin-bottom: 3rem;
    animation: fadeInDown 1s ease;
}

.avatar {
    width: 120px;
    height: 120px;
    background: linear-gradient(45deg, #00ffff, #0077ff);
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.3);
    transition: all 0.5s ease;
    position: relative;
}

.avatar::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: inherit;
    filter: blur(20px);
    opacity: 0.4;
    z-index: -1;
}

.avatar:hover {
    transform: scale(1.05) rotate(5deg);
    box-shadow: 0 0 50px rgba(0, 255, 255, 0.5);
}

.avatar i {
    font-size: 3rem;
    color: white;
    animation: pulse 2s infinite;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

.title {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(45deg, #00ffff, #0077ff, #00ffff);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientText 3s linear infinite;
    text-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
}

.subtitle {
    color: #888;
    font-size: 1.2rem;
    margin-bottom: 2rem;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.2);
}

.links {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    animation: fadeInUp 1s ease;
}

.link-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 1.5rem;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: white;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.card-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), 
                rgba(0, 255, 255, 0.15) 0%,
                transparent 50%);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.link-card:hover {
    transform: translateY(-5px) scale(1.02);
    background: rgba(0, 255, 255, 0.05);
    border-color: rgba(0, 255, 255, 0.2);
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.1);
}

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

.link-card i {
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 255, 255, 0.1);
    border-radius: 12px;
    transition: all 0.3s ease;
    color: #00ffff;
}

.link-card:hover i {
    background: rgba(0, 255, 255, 0.15);
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.2);
}

.link-card span {
    font-size: 1rem;
    font-weight: 500;
}

.background-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.5;
    background: 
        radial-gradient(circle at 20% 20%, rgba(0, 255, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 119, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(0, 0, 0, 1) 0%, transparent 100%);
    animation: backgroundPulse 15s ease-in-out infinite alternate;
}

.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.8; }
    100% { transform: scale(1); opacity: 1; }
}

@keyframes gradientText {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

@keyframes backgroundPulse {
    0% { transform: scale(1) rotate(0deg); }
    100% { transform: scale(1.1) rotate(5deg); }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) translateX(0);
    }
    50% {
        transform: translateY(-20px) translateX(10px);
    }
}

@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }
    
    .title {
        font-size: 2rem;
    }
    
    .avatar {
        width: 100px;
        height: 100px;
    }
    
    .link-card {
        padding: 1rem;
    }
}

.beian {
    position: fixed;
    bottom: 20px;
    left: 0;
    width: 100%;
    text-align: center;
    z-index: 1;
    animation: fadeInUp 1s ease;
}

.beian a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.9rem;
    padding: 8px 16px;
    border-radius: 4px;
    transition: all 0.3s ease;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.beian a:hover {
    color: rgba(255, 255, 255, 0.9);
    background: rgba(0, 255, 255, 0.1);
    border-color: rgba(0, 255, 255, 0.2);
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

@media (max-width: 768px) {
    .beian {
        bottom: 10px;
    }
    
    .beian a {
        font-size: 0.8rem;
        padding: 6px 12px;
    }
}