@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@300;500;800&display=swap');

:root {
    --primary-color: #0bd3ff;
    --secondary-color: #ff003c;
    --bg-color: #000000;
    --glass-bg: rgba(255, 255, 255, 0.02);
    --glass-border: rgba(255, 255, 255, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: default;
}

html,
body {
    background-color: var(--bg-color);
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    font-family: 'JetBrains Mono', monospace;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}

.crt-frame {
    position: relative;
    width: 100vw;
    height: 100vh;
    background: #000;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.crt-frame::before {
    content: " ";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: radial-gradient(circle at center, transparent 0%, rgba(0, 0, 0, 0.4) 100%);
    pointer-events: none;
    z-index: 1001;
}

.crt-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.2) 50%),
        linear-gradient(90deg, rgba(255, 0, 0, 0.03), rgba(0, 255, 0, 0.01), rgba(0, 0, 255, 0.03));
    background-size: 100% 3px, 3px 100%;
    pointer-events: none;
    z-index: 1002;
    animation: flicker 0.1s infinite;
}

.crt-noise {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.04;
    pointer-events: none;
    z-index: 1003;
}

@keyframes flicker {
    0% {
        opacity: 0.97;
    }

    5% {
        opacity: 0.95;
    }

    10% {
        opacity: 0.9;
    }

    15% {
        opacity: 0.93;
    }

    20% {
        opacity: 0.98;
    }

    25% {
        opacity: 0.95;
    }

    30% {
        opacity: 0.9;
    }

    35% {
        opacity: 0.94;
    }

    40% {
        opacity: 0.97;
    }

    45% {
        opacity: 0.95;
    }

    50% {
        opacity: 0.9;
    }

    55% {
        opacity: 0.92;
    }

    60% {
        opacity: 0.98;
    }

    65% {
        opacity: 0.95;
    }

    70% {
        opacity: 0.9;
    }

    75% {
        opacity: 0.94;
    }

    80% {
        opacity: 0.97;
    }

    85% {
        opacity: 0.95;
    }

    90% {
        opacity: 0.9;
    }

    95% {
        opacity: 0.93;
    }

    100% {
        opacity: 0.97;
    }
}

nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 50px;
    z-index: 120;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent);
}

.nav-logo {
    color: #fff;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-decoration: none;
    opacity: 0.8;
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.3));
    transition: all 0.3s ease;
}

.nav-logo:hover {
    opacity: 1;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.6));
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    letter-spacing: 1px;
    font-size: 0.65rem;
    padding: 5px 10px;
    opacity: 0.6;
    transition: all 0.3s ease;
}

.nav-link:hover {
    opacity: 1;
    color: #fff;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.5));
}

.viewport {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    perspective: 1500px;
}

.hero-section {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    transform-style: preserve-3d;
}

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transform-style: preserve-3d;
}

.central-text {
    font-size: clamp(4rem, 15vw, 15rem);
    font-weight: 800;
    text-transform: uppercase;
    color: #fff;
    user-select: none;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.1s ease-out;
    letter-spacing: -2px;
    filter: drop-shadow(0 0 20px rgba(11, 211, 255, 0.3));
    animation: pulseGlow 5s infinite;
}

@keyframes pulseGlow {

    0%,
    100% {
        filter: drop-shadow(0 0 20px rgba(11, 211, 255, 0.2));
        opacity: 0.9;
    }

    50% {
        filter: drop-shadow(0 0 35px rgba(11, 211, 255, 0.5));
        opacity: 1;
    }
}

.social-links {
    margin-top: 10px;
    z-index: 20;
    transform: translateZ(80px);
    display: flex;
    gap: 15px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: #fff;
    text-decoration: none;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(5px);
    border-radius: 4px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    opacity: 0.6;
}

.social-link svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.social-link:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
    transform: translateY(-5px) scale(1.1);
}

@media (max-width: 768px) {
    .central-text {
        font-size: 5rem;
    }

    nav {
        padding: 20px 30px;
    }
}