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

:root {
    --neon-yellow: #ffff00;
    --neon-cyan: #00ffff;
    --neon-pink: #ff006e;
    --neon-rose: #ff69b4;
    --bg: #0a0014;
    --card-bg: rgba(10, 10, 20, 0.3);
}

body {
    font-family: 'Inter', -apple-system, sans-serif;
    background: 
        linear-gradient(135deg, 
            #0a0014 0%, 
            #1a0033 25%, 
            #0d1a26 50%, 
            #1a0026 75%, 
            #0a0014 100%
        );
    color: #fff;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
    overflow-y: auto;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(255, 255, 0, 0.25) 0%, transparent 25%),
        radial-gradient(circle at 80% 35%, rgba(0, 255, 255, 0.2) 0%, transparent 30%),
        radial-gradient(circle at 30% 65%, rgba(255, 0, 110, 0.18) 0%, transparent 35%),
        radial-gradient(circle at 70% 80%, rgba(255, 105, 180, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(138, 43, 226, 0.1) 0%, transparent 50%);
    animation: nebula 20s ease-in-out infinite;
    filter: blur(60px);
    opacity: 0.8;
}

body::after {
    content: '';
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        conic-gradient(
            from 0deg at 50% 50%,
            rgba(255, 255, 0, 0.1),
            rgba(0, 255, 255, 0.1),
            rgba(255, 0, 110, 0.1),
            rgba(255, 105, 180, 0.1),
            rgba(255, 255, 0, 0.1)
        );
    animation: rotate 30s linear infinite;
    filter: blur(100px);
    opacity: 0.3;
}

@keyframes nebula {
    0%, 100% { 
        transform: scale(1) translate(0, 0);
        filter: blur(60px) brightness(1);
    }
    25% { 
        transform: scale(1.2) translate(-5%, 5%);
        filter: blur(70px) brightness(1.2);
    }
    50% { 
        transform: scale(0.9) translate(5%, -5%);
        filter: blur(50px) brightness(0.9);
    }
    75% { 
        transform: scale(1.1) translate(-3%, -3%);
        filter: blur(65px) brightness(1.1);
    }
}

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

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

.beam {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0.7;
    mix-blend-mode: screen;
}

.beam-1 {
    background: 
        radial-gradient(
            ellipse 800px 300px at 50% 20%,
            transparent 0%,
            rgba(255, 255, 0, 0.08) 15%,
            rgba(255, 255, 0, 0.15) 35%,
            rgba(255, 255, 0, 0.05) 55%,
            transparent 100%
        ),
        linear-gradient(
            90deg,
            transparent 20%,
            rgba(255, 255, 0, 0.05) 50%,
            transparent 80%
        );
    animation: beam-flow-1 15s ease-in-out infinite;
    filter: blur(20px);
}

.beam-2 {
    background: 
        radial-gradient(
            ellipse 700px 350px at 50% 35%,
            transparent 0%,
            rgba(0, 255, 255, 0.06) 15%,
            rgba(0, 255, 255, 0.12) 40%,
            rgba(0, 255, 255, 0.04) 60%,
            transparent 100%
        ),
        linear-gradient(
            90deg,
            transparent 25%,
            rgba(0, 255, 255, 0.04) 50%,
            transparent 75%
        );
    animation: beam-flow-2 18s ease-in-out infinite;
    filter: blur(25px);
}

.beam-3 {
    background: 
        radial-gradient(
            ellipse 750px 320px at 50% 55%,
            transparent 0%,
            rgba(255, 0, 110, 0.05) 15%,
            rgba(255, 0, 110, 0.10) 35%,
            rgba(255, 0, 110, 0.03) 55%,
            transparent 100%
        ),
        linear-gradient(
            90deg,
            transparent 30%,
            rgba(255, 0, 110, 0.03) 50%,
            transparent 70%
        );
    animation: beam-flow-3 20s ease-in-out infinite;
    filter: blur(22px);
}

.beam-4 {
    background: 
        radial-gradient(
            ellipse 800px 340px at 50% 75%,
            transparent 0%,
            rgba(255, 105, 180, 0.04) 15%,
            rgba(255, 105, 180, 0.08) 40%,
            rgba(255, 105, 180, 0.02) 60%,
            transparent 100%
        ),
        linear-gradient(
            90deg,
            transparent 35%,
            rgba(255, 105, 180, 0.03) 50%,
            transparent 65%
        );
    animation: beam-flow-4 22s ease-in-out infinite;
    filter: blur(28px);
}

@keyframes beam-flow-1 {
    0%, 100% { 
        transform: translateX(0) translateY(0) scale(1);
        opacity: 0.7;
    }
    25% {
        transform: translateX(-5%) translateY(-2%) scale(1.1);
        opacity: 0.9;
    }
    50% { 
        transform: translateX(5%) translateY(2%) scale(0.95);
        opacity: 0.6;
    }
    75% {
        transform: translateX(-3%) translateY(-1%) scale(1.05);
        opacity: 0.8;
    }
}

@keyframes beam-flow-2 {
    0%, 100% { 
        transform: translateX(0) translateY(0) scale(1);
        opacity: 0.6;
    }
    25% {
        transform: translateX(5%) translateY(-3%) scale(1.05);
        opacity: 0.8;
    }
    50% { 
        transform: translateX(-5%) translateY(3%) scale(1.1);
        opacity: 0.7;
    }
    75% {
        transform: translateX(3%) translateY(-2%) scale(0.95);
        opacity: 0.5;
    }
}

@keyframes beam-flow-3 {
    0%, 100% { 
        transform: translateX(0) translateY(0) scale(1);
        opacity: 0.65;
    }
    25% {
        transform: translateX(-4%) translateY(2%) scale(0.95);
        opacity: 0.5;
    }
    50% { 
        transform: translateX(4%) translateY(-2%) scale(1.15);
        opacity: 0.85;
    }
    75% {
        transform: translateX(-2%) translateY(1%) scale(1.05);
        opacity: 0.7;
    }
}

@keyframes beam-flow-4 {
    0%, 100% { 
        transform: translateX(0) translateY(0) scale(1);
        opacity: 0.6;
    }
    25% {
        transform: translateX(3%) translateY(3%) scale(1.08);
        opacity: 0.75;
    }
    50% { 
        transform: translateX(-3%) translateY(-3%) scale(0.92);
        opacity: 0.5;
    }
    75% {
        transform: translateX(2%) translateY(2%) scale(1.03);
        opacity: 0.65;
    }
}

.aurora {
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        linear-gradient(
            45deg,
            transparent 0%,
            rgba(255, 255, 0, 0.03) 20%,
            rgba(0, 255, 255, 0.04) 40%,
            rgba(255, 0, 110, 0.03) 60%,
            rgba(255, 105, 180, 0.02) 80%,
            transparent 100%
        );
    animation: aurora 12s ease-in-out infinite;
    filter: blur(80px);
    opacity: 0.6;
    mix-blend-mode: screen;
}

@keyframes aurora {
    0%, 100% { 
        transform: translate(0%, 0%) rotate(0deg) scale(1);
    }
    33% { 
        transform: translate(10%, -10%) rotate(120deg) scale(1.2);
    }
    66% { 
        transform: translate(-10%, 10%) rotate(240deg) scale(0.8);
    }
}

.container {
    width: 100%;
    max-width: 420px;
    z-index: 10;
    position: relative;
}

.profile-section {
    text-align: center;
    margin-bottom: 32px;
    animation: fadeIn 0.6s ease-out;
}

.avatar-container {
    display: inline-block;
    margin-bottom: 16px;
    position: relative;
}

.avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
    backdrop-filter: blur(10px);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.2);
}

.avatar-container::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120px;
    height: 120px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(0, 255, 255, 0.3) 0%,
        rgba(0, 255, 255, 0.1) 40%,
        transparent 70%
    );
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
    filter: blur(15px);
}

.avatar-container:hover::before {
    opacity: 1;
    animation: pulse-glow 2s ease-in-out infinite;
}

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

.avatar:hover {
    border-color: var(--neon-cyan);
    box-shadow: 
        0 0 40px rgba(0, 255, 255, 0.6),
        inset 0 0 15px rgba(0, 255, 255, 0.2);
    transform: scale(1.05);
}

.username {
    font-size: 18px;
    font-weight: 300;
    margin-bottom: 4px;
    letter-spacing: 1.5px;
    opacity: 0.95;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
}

.bio {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.8px;
    text-transform: uppercase;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
}

.image-links {
    display: grid;
    gap: 12px;
    margin-bottom: 32px;
}

.image-link {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 12px;
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: slideUp 0.5s ease-out forwards;
    opacity: 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.image-link:nth-child(1) { 
    animation-delay: 0.05s;
    --glow-color: var(--neon-yellow);
}

.image-link:nth-child(1)::after {
    content: '';
    position: absolute;
    top: -200%;
    left: 50%;
    width: 400px;
    height: 400px;
    transform: translateX(-50%);
    background: radial-gradient(
        circle,
        rgba(255, 255, 0, 0.3) 0%,
        rgba(255, 255, 0, 0.1) 30%,
        transparent 60%
    );
    opacity: 0;
    transition: all 0.5s ease;
    pointer-events: none;
    filter: blur(20px);
}

.image-link:nth-child(1):hover::after {
    opacity: 0.8;
    top: -100%;
}

.image-link:nth-child(2) { 
    animation-delay: 0.1s;
    --glow-color: var(--neon-cyan);
}

.image-link:nth-child(2)::after {
    content: '';
    position: absolute;
    top: -200%;
    left: 50%;
    width: 400px;
    height: 400px;
    transform: translateX(-50%);
    background: radial-gradient(
        circle,
        rgba(0, 255, 255, 0.3) 0%,
        rgba(0, 255, 255, 0.1) 30%,
        transparent 60%
    );
    opacity: 0;
    transition: all 0.5s ease;
    pointer-events: none;
    filter: blur(20px);
}

.image-link:nth-child(2):hover::after {
    opacity: 0.8;
    top: -100%;
}

.image-link:nth-child(3) { 
    animation-delay: 0.15s;
    --glow-color: var(--neon-pink);
}

.image-link:nth-child(3)::after {
    content: '';
    position: absolute;
    top: -200%;
    left: 50%;
    width: 400px;
    height: 400px;
    transform: translateX(-50%);
    background: radial-gradient(
        circle,
        rgba(255, 0, 110, 0.3) 0%,
        rgba(255, 0, 110, 0.1) 30%,
        transparent 60%
    );
    opacity: 0;
    transition: all 0.5s ease;
    pointer-events: none;
    filter: blur(20px);
}

.image-link:nth-child(3):hover::after {
    opacity: 0.8;
    top: -100%;
}

.image-link:nth-child(4) { 
    animation-delay: 0.2s;
    --glow-color: var(--neon-rose);
}

.image-link:nth-child(4)::after {
    content: '';
    position: absolute;
    top: -200%;
    left: 50%;
    width: 400px;
    height: 400px;
    transform: translateX(-50%);
    background: radial-gradient(
        circle,
        rgba(255, 105, 180, 0.3) 0%,
        rgba(255, 105, 180, 0.1) 30%,
        transparent 60%
    );
    opacity: 0;
    transition: all 0.5s ease;
    pointer-events: none;
    filter: blur(20px);
}

.image-link:nth-child(4):hover::after {
    opacity: 0.8;
    top: -100%;
}

.image-link img {
    width: 100%;
    height: auto;
    display: block;
    transition: all 0.3s ease;
    filter: brightness(0.9) contrast(1.1);
}

.image-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 3px;
    background: linear-gradient(
        90deg,
        transparent,
        var(--glow-color),
        var(--glow-color),
        transparent
    );
    transition: left 0.6s ease;
    box-shadow: 0 0 10px var(--glow-color);
}

.image-link:hover::before {
    left: 100%;
}

.image-link:hover {
    transform: translateY(-4px) scale(1.02);
    border-color: var(--glow-color);
    box-shadow: 
        0 20px 50px rgba(0, 0, 0, 0.5),
        0 0 60px var(--glow-color),
        inset 0 0 30px rgba(255, 255, 255, 0.1);
}

.image-link:hover img {
    filter: brightness(1.15) contrast(1.25) saturate(1.3);
    transform: scale(1.05);
}

.image-hover {
    position: absolute;
    inset: 0;
    background: 
        linear-gradient(
            135deg,
            transparent 20%,
            var(--glow-color) 100%
        );
    mix-blend-mode: overlay;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.image-link:hover .image-hover {
    opacity: 0.2;
}

.footer {
    text-align: center;
    animation: fadeIn 0.8s 0.4s ease-out forwards;
    opacity: 0;
}

.footer p {
    font-size: 9px;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 3px;
    font-weight: 300;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

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

@media (max-width: 480px) {
    body::before {
        filter: blur(40px);
        opacity: 0.9;
    }
    
    body::after {
        filter: blur(60px);
        opacity: 0.4;
    }
    
    .container {
        max-width: 100%;
    }
    
    .avatar {
        width: 64px;
        height: 64px;
        box-shadow: 0 0 30px rgba(0, 255, 255, 0.3);
    }
    
    .username {
        font-size: 16px;
        text-shadow: 0 0 20px rgba(255, 255, 255, 0.6);
    }
    
    .image-links {
        gap: 10px;
    }
    
    .beam-1, .beam-2, .beam-3, .beam-4 {
        filter: blur(30px);
        opacity: 0.8;
    }
    
    .aurora {
        opacity: 0.7;
        filter: blur(60px);
    }
    
    .image-link {
        box-shadow: 0 6px 30px rgba(0, 0, 0, 0.4);
        border: 1px solid rgba(255, 255, 255, 0.15);
    }
}

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