@import url('https://fonts.googleapis.com/css2?family=Sora:wght@400;500;700;800&display=swap');

:root {
    --bg: #050505;
    --text: #f5f5f5;
    --muted: rgba(245, 245, 245, 0.72);
    --card: rgba(18, 18, 18, 0.72);
    --border: rgba(245, 245, 245, 0.2);
    --border-strong: rgba(245, 245, 245, 0.45);
    --shadow: rgba(0, 0, 0, 0.45);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    border: 0;
    text-decoration: none;
    cursor: url('cursor_409_6810484e26a332.98640404.png'), auto;
}

html,
body {
    width: 100%;
    height: 100%;
    font-family: 'Sora', sans-serif;
    color: var(--text);
    overflow: hidden;
}

body {
    display: grid;
    place-items: center;
    min-height: 100dvh;
    background: var(--bg);
    position: relative;
}

.hero-video {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
    background: center / cover no-repeat;
}

.hero-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(10px) saturate(1.1);
}

.no-video .hero-video video {
    opacity: 0;
}

.hero-overlay {
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.85));
}

.splash {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: grid;
    place-items: center;
    background: #000;
    color: #c8c8c8;
    cursor: pointer;
    transition: opacity 0.6s ease;
    pointer-events: auto;
}

.splash.hidden {
    opacity: 0;
    pointer-events: none;
}

.splash-content {
    text-align: center;
    animation: splashFadeIn 0.8s ease-out;
    pointer-events: none;
}

.splash-title {
    font-size: clamp(1.05rem, 2.2vw, 1.5rem);
    letter-spacing: 0.14em;
    text-transform: lowercase;
    font-weight: 500;
    margin-bottom: 0.8rem;
}

.splash-hint {
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    color: rgba(200, 200, 200, 0.6);
    text-transform: uppercase;
    font-weight: 400;
}

.splash:focus-visible,
.ghost-link:focus-visible,
.social-icons a:focus-visible {
    outline: 2px solid var(--border-strong);
    outline-offset: 3px;
}

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

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

@keyframes splashFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}



.profile {
    position: relative;
    flex-shrink: 0;
    z-index: 2;
    width: min(500px, 90vw);
    display: grid;
    gap: 0.85rem;
    justify-items: center;
    text-align: center;
    padding: 2rem 1.5rem;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: var(--card);
    backdrop-filter: blur(12px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6);
    transition: all 0.3s ease;
}

.profile:hover {
    border-color: var(--border-strong);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.7);
    transform: translateY(-2px);
}

.avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--border-strong);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.1);
}

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

.logo {
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1;
    text-transform: none;
    margin-bottom: 0.3rem;
}

.bio {
    max-width: 50ch;
    font-size: 0.9rem;
    line-height: 1.7;
    color: rgba(245, 245, 245, 0.8);
    margin: 0.3rem 0 0 0;
}

.quick-links,
.social-icons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem;
}

.ghost-link {
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: lowercase;
    color: var(--muted);
    border-bottom: 2px solid transparent;
    transition: all 0.2s ease;
    position: relative;
    padding-bottom: 2px;
}

.ghost-link:hover {
    color: var(--text);
    border-color: var(--border-strong);
}

.social-icons a {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1.5px solid var(--border);
    background: rgba(10, 10, 10, 0.5);
    transition: all 0.2s ease;
}

.social-icons a:hover {
    transform: translateY(-4px) scale(1.15);
    border-color: var(--border-strong);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.5);
    background: rgba(10, 10, 10, 0.7);
}

.social-icons a:active {
    transform: translateY(-2px) scale(0.98);
}

.social-icons img {
    width: 26px;
    height: 26px;
    object-fit: contain;
}



.raindrop,
.snowflake {
    position: absolute;
    top: -24px;
    pointer-events: none;
    z-index: 1;
}

.raindrop {
    width: 2px;
    border-radius: 999px;
    background: linear-gradient(to bottom, rgba(245, 245, 245, 0), rgba(245, 245, 245, 0.92));
    animation: rain-fall linear forwards;
}

.snowflake {
    border-radius: 50%;
    background: rgba(245, 245, 245, 0.95);
    box-shadow: 0 0 6px rgba(255, 255, 255, 0.5);
    animation: snow-fall linear forwards;
}

@keyframes rain-fall {
    0% {
        transform: translateY(-20px) translateX(0);
    }
    100% {
        transform: translateY(108vh) translateX(18px);
    }
}

@keyframes snow-fall {
    0% {
        transform: translateY(-20px) translateX(0);
    }
    25% {
        transform: translateY(24vh) translateX(-10px);
    }
    50% {
        transform: translateY(48vh) translateX(8px);
    }
    75% {
        transform: translateY(76vh) translateX(-7px);
    }
    100% {
        transform: translateY(108vh) translateX(6px);
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
    .splash {
        transition: none;
    }
    .profile {
        transition: none;
    }
}

@media (max-width: 1024px) {
    .profile {
        width: min(90vw, 500px);
    }
}

@media (max-height: 700px) {
    .profile {
        padding: 1.5rem 1.2rem;
    }
    .avatar {
        width: 100px;
        height: 100px;
    }
}

@media (hover: none) and (pointer: coarse) {
    .social-icons a:hover {
        transform: scale(1.08);
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
    }
}
