@import url('https://fonts.googleapis.com/css2?family=Inter:opsz,wght@14..32,300;14..32,400;14..32,500;14..32,600;14..32,700&display=swap');

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

body {
    background: #0a0a0a;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    padding: 24px;
    position: relative;
    overflow-x: hidden;
}

/* Blurred background gradient */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 10%, #1a1a1a, #030303, #000000);
    z-index: -2;
}

body::after {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(32px);
    background: rgba(0, 0, 0, 0.35);
    z-index: -1;
    pointer-events: none;
}

/* FLOATING PARTICLES */
.particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 8;
    overflow: hidden;
}

.particle {
    position: absolute;
    background: radial-gradient(circle, rgba(200,220,255,0.6), rgba(150,180,255,0));
    border-radius: 50%;
    pointer-events: none;
    animation: floatParticle linear infinite;
    filter: blur(1px);
}

@keyframes floatParticle {
    0% {
        transform: translateY(100vh) translateX(0) scale(1);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.4;
    }
    100% {
        transform: translateY(-20vh) translateX(30px) scale(0.8);
        opacity: 0;
    }
}

/* SNOWFLAKE LAYER */
.snow-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 10;
    overflow: hidden;
}

.snowflake {
    position: absolute;
    top: -20px;
    color: #ffffff;
    font-size: 14px;
    opacity: 0.7;
    text-shadow: 0 0 5px rgba(255,255,255,0.5);
    animation: fallSnow linear infinite;
    user-select: none;
    will-change: transform;
}

@keyframes fallSnow {
    to {
        transform: translateY(110vh);
    }
}

/* MAIN GLASS CARD */
.glass-card {
    max-width: 420px;
    width: 100%;
    background: rgba(18, 18, 22, 0.6);
    backdrop-filter: blur(20px);
    border-radius: 48px;
    box-shadow: 0 25px 45px -12px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.06);
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.3s ease;
    border: 0.5px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 20;
}

.glass-card:hover {
    box-shadow: 0 30px 50px -15px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.15);
}

/* PROFILE SECTION */
.profile {
    padding: 32px 24px 16px;
    text-align: center;
}

.avatar {
    width: 100px;
    height: 100px;
    margin: 0 auto 16px;
    border-radius: 28px;
    overflow: hidden;
    background: #1e1e20;
    box-shadow: 0 12px 20px -8px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.12);
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
    animation-delay: 0.2s;
}

.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.94;
}

.name-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 6px;
    min-height: 48px;
}

.name {
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, #f5f5f5, #c0c0c0);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    display: inline-block;
}

.typed-name-cursor {
    display: inline-block;
    width: 3px;
    height: 36px;
    background-color: #a0a0a0;
    margin-left: 4px;
    vertical-align: middle;
    animation: blink 1s step-end infinite;
    border-radius: 2px;
}

.verified {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #2c2c30;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 1px 1px rgba(255,255,255,0.08), 0 2px 6px rgba(0,0,0,0.3);
    border: 0.5px solid rgba(255,255,255,0.2);
    opacity: 0;
}

.verified::after {
    content: "✓";
    color: #a0a0a0;
    font-size: 16px;
    font-weight: 800;
}

.username {
    color: #9a9a9e;
    font-size: 14px;
    font-weight: 500;
    margin-top: 4px;
    margin-bottom: 16px;
    letter-spacing: -0.2px;
    background: rgba(255,255,255,0.03);
    display: inline-block;
    padding: 4px 14px;
    border-radius: 40px;
    backdrop-filter: blur(4px);
    opacity: 0;
}

.bio-container {
    margin: 8px 0 12px;
    min-height: 75px;
}

.bio {
    color: #d4d4d8;
    font-size: 15px;
    font-weight: 440;
    line-height: 1.45;
    background: rgba(255,255,255,0.02);
    border-radius: 28px;
    padding: 12px 18px;
    backdrop-filter: blur(2px);
    display: inline-block;
    width: 100%;
}

.typed-bio-cursor {
    display: inline-block;
    width: 2px;
    height: 18px;
    background-color: #a0a0a0;
    margin-left: 2px;
    vertical-align: middle;
    animation: blink 1s step-end infinite;
    border-radius: 1px;
}

/* QUOTE SECTION */
.quote-section {
    background: rgba(10, 20, 30, 0.5);
    border-radius: 28px;
    padding: 10px 18px;
    margin: 8px 20px 16px;
    backdrop-filter: blur(6px);
    border: 0.5px solid rgba(255,255,255,0.1);
    transition: all 0.3s ease;
    opacity: 0;
    animation: fadeInUp 0.5s ease forwards;
    animation-delay: 2.2s;
}

.quote-text {
    font-size: 13px;
    font-style: italic;
    color: #c7cdd4;
    text-align: center;
    letter-spacing: -0.2px;
    line-height: 1.4;
    min-height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px 0;
    transition: opacity 0.15s ease;
}

.quote-toggle-btn {
    background: rgba(255,255,255,0.08);
    border: 0.5px solid rgba(255,255,255,0.2);
    color: #b0b4bc;
    font-size: 11px;
    padding: 6px 14px;
    border-radius: 40px;
    cursor: pointer;
    transition: all 0.2s;
    font-weight: 500;
    margin-top: 8px;
    display: inline-block;
    width: auto;
    backdrop-filter: blur(4px);
}

.quote-toggle-btn:hover {
    background: rgba(100, 140, 180, 0.4);
    color: white;
    border-color: rgba(255,255,255,0.4);
}

/* LINKS SECTION */
.links {
    padding: 8px 24px 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    opacity: 0;
    animation: fadeInUp 0.5s ease forwards;
    animation-delay: 2.6s;
}

.link-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(28, 28, 32, 0.65);
    backdrop-filter: blur(12px);
    padding: 12px 18px;
    border-radius: 100px;
    text-decoration: none;
    transition: all 0.25s ease;
    border: 0.5px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.link-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.link-icon {
    width: 40px;
    height: 40px;
    border-radius: 28px;
    background: #111115;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    transition: 0.2s;
    border: 0.5px solid rgba(255,255,255,0.1);
}

.link-label {
    font-weight: 560;
    font-size: 15px;
    color: #f0f0f4;
    letter-spacing: -0.2px;
}

.link-arrow {
    color: #7c7c84;
    font-size: 16px;
    transition: transform 0.2s ease;
}

.link-item:hover {
    background: rgba(45, 45, 52, 0.8);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.link-item:hover .link-arrow {
    transform: translateX(4px);
    color: #cdcdd4;
}

/* FOOTER */
.footer {
    padding: 14px 24px 28px;
    text-align: center;
    border-top: 0.5px solid rgba(255, 255, 255, 0.06);
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(8px);
    opacity: 0;
    animation: fadeInUp 0.5s ease forwards;
    animation-delay: 3s;
    position: relative;
}

.contact a {
    color: #9f9faa;
    text-decoration: none;
    font-size: 12px;
    transition: color 0.2s;
}

.contact a:hover {
    color: #ffffff;
}

.copyright {
    font-size: 10px;
    color: #6a6a70;
    margin-top: 10px;
}

/* VISITOR COUNTER */
.visitor-counter-bottom {
    position: fixed;
    bottom: 16px;
    left: 16px;
    z-index: 200;
    background: rgba(10, 10, 15, 0.55);
    backdrop-filter: blur(12px);
    padding: 5px 12px;
    border-radius: 40px;
    font-size: 10px;
    font-weight: 500;
    font-family: monospace;
    color: #8e9eae;
    border: 0.5px solid rgba(255, 255, 255, 0.12);
    pointer-events: none;
    letter-spacing: 0.3px;
}

.visitor-counter-bottom span {
    color: #cfe2f0;
    font-weight: 700;
    font-size: 12px;
    margin: 0 2px;
}

/* MUSIC PILL */
.music-pill {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 200;
    background: rgba(20, 20, 25, 0.7);
    backdrop-filter: blur(16px);
    border: 0.5px solid rgba(255,255,255,0.15);
    padding: 8px 18px;
    border-radius: 60px;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.25s ease;
    color: #e0e0e6;
    box-shadow: 0 6px 14px rgba(0,0,0,0.3);
    opacity: 0;
    animation: fadeInRight 0.5s ease forwards;
    animation-delay: 0.5s;
}

.music-pill.active {
    background: #2a2a30;
    border-color: rgba(255,255,255,0.35);
    color: white;
}

/* ANIMATIONS */
@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

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

@keyframes fadeInScale {
    from { opacity: 0; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1); }
}

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

.noise-overlay {
    pointer-events: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(0deg, rgba(0,0,0,0.02) 0px, rgba(0,0,0,0.02) 2px, transparent 2px, transparent 6px);
    z-index: 15;
}

/* RESPONSIVE */
@media (max-width: 480px) {
    body { padding: 16px; }
    .name { font-size: 28px; }
    .link-icon { width: 38px; height: 38px; font-size: 20px; }
    .quote-text { font-size: 12px; }
    .visitor-counter-bottom { bottom: 12px; left: 12px; font-size: 9px; padding: 4px 10px; }
    .visitor-counter-bottom span { font-size: 11px; }
}