:root {
    --background: #191817;
    --foreground: #f7f5f5;
    --muted: #938e91;
    --line: rgba(255, 255, 255, 0.20);
    --red: #ff334d;
    --cyan: #20d9ff;
    --violet: #a855f7;
}

* {
    box-sizing: border-box;
}

html {
    background: var(--background);
}

body {
    margin: 0;
    background: var(--background);
    color: var(--foreground);
    font-family: "Sora", sans-serif;
}

.landing-page {
    position: relative;
    isolation: isolate;
    min-height: 100svh;
    overflow: hidden;
    padding: clamp(2.5rem, 5vh, 4.5rem) 1.5rem;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: clamp(1.25rem, 2.6vh, 2rem);

    text-align: center;
    background:
        radial-gradient(circle at 50% 44%, rgba(168, 85, 247, 0.08), transparent 28rem),
        linear-gradient(180deg, #191817 0%, #151414 100%);
}

.ambient-grid {
    position: absolute;
    z-index: -2;
    inset: 0;
    opacity: 0.22;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.125) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 54px 54px;
    mask-image: radial-gradient(circle at center, black, transparent 72%);
}

.hero-copy {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.9rem;
}

.fab-status {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.42rem 0.7rem;
    border: 1px solid rgba(255, 51, 77, 0.35);
    border-radius: 999px;
    background: rgba(255, 51, 77, 0.06);

    color: #d8d2d4;
    font-size: 0.64rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.status-dot {
    width: 0.42rem;
    height: 0.42rem;
    border-radius: 50%;
    background: var(--red);
    box-shadow: 0 0 0.75rem rgba(255, 51, 77, 0.9);
    animation: status-pulse 1.8s ease-in-out infinite;
}

.status-code {
    padding-left: 0.55rem;
    border-left: 1px solid rgba(255, 255, 255, 0.17);
    color: #827c7f;
}

.hero-title {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    margin: 0;
    text-transform: uppercase;
}

.brand-name {
    color: transparent;
    background: linear-gradient(100deg, var(--cyan) 6%, #8a62ff 48%, #ff4960 92%);
    background-clip: text;
    -webkit-background-clip: text;

    font-size: clamp(2rem, 4vw, 3.55rem);
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.055em;
    text-shadow: 0 0 2.5rem rgba(168, 85, 247, 0.12);
}

.status-text {
    max-width: 44rem;
    margin: 0;
    color: var(--muted);
    font-size: clamp(0.68rem, 1.05vw, 0.84rem);
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: 0.3em;
}

.chippy-stage {
    position: relative;
    display: grid;
    place-items: center;
    width: min(100%, 430px);
}

.chippy-glow {
    position: absolute;
    z-index: -1;
    width: 74%;
    aspect-ratio: 1;
    border-radius: 50%;
    opacity: 0.45;
    filter: blur(48px);
    background: conic-gradient(
        from 180deg,
        rgba(32, 217, 255, 0.4),
        rgba(168, 85, 247, 0.45),
        rgba(255, 51, 77, 0.4),
        rgba(32, 217, 255, 0.4)
    );
}

.chippy-animation {
    display: block;
    width: clamp(285px, 31vw, 390px);
    height: auto;
    filter: drop-shadow(0 1.5rem 2rem rgba(0, 0, 0, 0.4));
}

.signal-section {
    width: min(100%, 380px);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 1.15rem;
}

.signal-title {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 0.9rem;
    margin: 0;

    color: #dedadc;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.24em;
    text-transform: uppercase;
}

.signal-title::before,
.signal-title::after {
    content: "";
    height: 1px;
}

.signal-title::before {
    background: linear-gradient(90deg, transparent, var(--cyan));
}

.signal-title::after {
    background: linear-gradient(90deg, var(--red), transparent);
}

.social-links {
    width: 100%;
    max-height: 190px;
    overflow-y: auto;

    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    padding-right: 0.25rem;
    scrollbar-width: thin;
    scrollbar-color: #5c5658 transparent;
}

.social-links a {
    position: relative;
    min-height: 66px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 0.9rem;

    padding: 0.75rem 0.95rem;
    border: 1px solid var(--line);
    border-radius: 0.65rem;
    color: white;
    background: linear-gradient(110deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018));
    text-align: left;
    text-decoration: none;
    cursor: pointer;

    transition:
        color 180ms ease,
        background-color 180ms ease,
        border-color 180ms ease,
        transform 180ms ease,
        box-shadow 180ms ease;
}

.social-links a::before {
    content: "";
    position: absolute;
    inset: -1px auto -1px -1px;
    width: 3px;
    border-radius: 0.65rem 0 0 0.65rem;
    background: linear-gradient(var(--cyan), var(--violet), var(--red));
    opacity: 0;
    transition: opacity 180ms ease;
}

.social-icon {
    width: 2.35rem;
    height: 2.35rem;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 0.55rem;
    background: rgba(255, 255, 255, 0.055);
}

.social-links img {
    width: 1.25rem;
    height: 1.25rem;
    filter: invert(1);
    transition: filter 180ms ease;
}

.social-copy {
    display: flex;
    flex-direction: column;
    gap: 0.16rem;
}

.social-copy strong {
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.social-copy small {
    color: #8f898c;
    font-size: 0.64rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    transition: color 180ms ease;
}

.social-arrow {
    color: #6f696c;
    font-size: 1.05rem;
    transition: color 180ms ease, transform 180ms ease;
}

.social-links a:hover,
.social-links a:focus-visible {
    color: #191817;
    border-color: white;
    outline: none;
    background: white;
    box-shadow: 0 0.8rem 2.4rem rgba(0, 0, 0, 0.26);
    transform: translateY(-2px);
}

.social-links a:hover::before,
.social-links a:focus-visible::before {
    opacity: 1;
}

.social-links a:hover img,
.social-links a:focus-visible img {
    filter: invert(0);
}

.social-links a:hover .social-copy small,
.social-links a:focus-visible .social-copy small,
.social-links a:hover .social-arrow,
.social-links a:focus-visible .social-arrow {
    color: #4d484a;
}

.social-links a:hover .social-arrow,
.social-links a:focus-visible .social-arrow {
    transform: translate(2px, -2px);
}

@keyframes status-pulse {
    0%,
    100% {
        opacity: 0.55;
        transform: scale(0.92);
    }

    50% {
        opacity: 1;
        transform: scale(1.08);
    }
}

@media (max-height: 850px) and (min-width: 700px) {
    .landing-page {
        gap: 1rem;
        padding-block: 1.5rem;
    }

    .chippy-animation {
        width: min(34vh, 330px);
    }
}

@media (max-width: 640px) {
    .landing-page {
        justify-content: flex-start;
        overflow-y: auto;
        padding: 2.5rem 1.1rem 3rem;
    }

    .brand-name {
        letter-spacing: 0.025em;
    }

    .status-text {
        letter-spacing: 0.18em;
    }

    .chippy-animation {
        width: min(82vw, 340px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .status-dot {
        animation: none;
    }

    .social-links a,
    .social-links a::before,
    .social-links img,
    .social-arrow {
        transition: none;
    }
}
