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

:root {
    --background: #050505;
    --text: #ffffff;
    --muted: #8b8b93;
    --border: rgba(255, 255, 255, 0.1);
}

body {
    min-height: 100vh;

    background: var(--background);
    color: var(--text);

    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;
}

#particles {
    position: fixed;
    inset: 0;

    width: 100%;
    height: 100%;

    z-index: 0;
}

.mouse-glow {
    position: fixed;

    width: 450px;
    height: 450px;

    border-radius: 50%;

    pointer-events: none;

    background:
        radial-gradient(
            circle,
            rgba(255, 255, 255, 0.08),
            transparent 65%
        );

    transform: translate(-50%, -50%);

    z-index: 1;

    transition:
        left 0.15s ease,
        top 0.15s ease;
}

.grid {
    position: fixed;
    inset: 0;

    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.025) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.025) 1px,
            transparent 1px
        );

    background-size: 50px 50px;

    mask-image:
        radial-gradient(
            circle at center,
            black 30%,
            transparent 80%
        );

    pointer-events: none;

    z-index: 1;
}

.container {
    position: relative;

    z-index: 5;

    width: min(850px, 90%);

    text-align: center;

    animation: appear 1s ease forwards;
}

.status {
    display: inline-flex;

    align-items: center;

    gap: 9px;

    padding: 9px 15px;

    border: 1px solid var(--border);

    border-radius: 999px;

    background: rgba(255, 255, 255, 0.035);

    color: #b5b5bd;

    font-size: 0.72rem;

    letter-spacing: 0.13em;

    margin-bottom: 28px;

    backdrop-filter: blur(10px);
}

.status-dot {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: #ffffff;

    box-shadow:
        0 0 10px rgba(255, 255, 255, 0.8);

    animation: pulse 2s infinite;
}

h1 {
    font-size: clamp(4rem, 13vw, 9rem);

    font-weight: 850;

    letter-spacing: -0.085em;

    line-height: 0.9;

    cursor: default;

    transition:
        transform 0.25s ease,
        letter-spacing 0.25s ease;

    user-select: none;
}

h1:hover {
    transform: scale(1.025);

    letter-spacing: -0.07em;
}

.tagline {
    margin-top: 28px;

    font-size: clamp(1.15rem, 3vw, 1.55rem);

    color: #b1b1b8;
}

.description {
    max-width: 620px;

    margin: 20px auto 0;

    color: var(--muted);

    font-size: 1rem;

    line-height: 1.7;
}

.buttons {
    display: flex;

    justify-content: center;

    gap: 12px;

    margin-top: 32px;
}

.button {
    border: 1px solid var(--border);

    padding: 12px 20px;

    border-radius: 10px;

    font-size: 0.9rem;

    font-weight: 600;

    cursor: pointer;

    transition:
        transform 0.2s ease,
        background 0.2s ease,
        border-color 0.2s ease;
}

.button:hover {
    transform: translateY(-3px);
}

.primary {
    background: #ffffff;

    color: #000000;
}

.primary:hover {
    background: #e7e7e7;
}

.secondary {
    background: rgba(255, 255, 255, 0.04);

    color: #ffffff;

    backdrop-filter: blur(10px);
}

.secondary:hover {
    background: rgba(255, 255, 255, 0.09);

    border-color: rgba(255, 255, 255, 0.2);
}

.terminal {
    width: min(620px, 100%);

    margin: 40px auto 0;

    border: 1px solid var(--border);

    border-radius: 13px;

    background: rgba(10, 10, 10, 0.75);

    text-align: left;

    overflow: hidden;

    backdrop-filter: blur(15px);

    box-shadow:
        0 25px 80px rgba(0, 0, 0, 0.45);
}

.terminal-top {
    display: flex;

    gap: 7px;

    padding: 12px 14px;

    border-bottom: 1px solid var(--border);

    background: rgba(255, 255, 255, 0.025);
}

.terminal-top span {
    width: 9px;
    height: 9px;

    border-radius: 50%;

    background: #444;
}

.terminal-content {
    padding: 18px;

    font-family:
        "SFMono-Regular",
        Consolas,
        monospace;

    font-size: 0.85rem;

    line-height: 1.8;

    color: #9d9da5;
}

.prompt {
    color: #ffffff;
}

.popup {
    position: fixed;

    inset: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    background: rgba(0, 0, 0, 0.65);

    backdrop-filter: blur(8px);

    opacity: 0;

    visibility: hidden;

    transition:
        opacity 0.25s ease,
        visibility 0.25s ease;

    z-index: 20;
}

.popup.active {
    opacity: 1;

    visibility: visible;
}

.popup-box {
    position: relative;

    width: min(450px, 90%);

    padding: 35px;

    border: 1px solid var(--border);

    border-radius: 18px;

    background: #0c0c0c;

    text-align: center;

    transform: translateY(20px) scale(0.96);

    transition: transform 0.25s ease;
}

.popup.active .popup-box {
    transform: translateY(0) scale(1);
}

.popup-box h2 {
    font-size: 2rem;

    margin-bottom: 12px;
}

.popup-box p {
    color: var(--muted);

    line-height: 1.6;
}

.close {
    position: absolute;

    top: 12px;
    right: 15px;

    border: 0;

    background: transparent;

    color: #777;

    font-size: 1.7rem;

    cursor: pointer;
}

.close:hover {
    color: #ffffff;
}

footer {
    position: fixed;

    bottom: 20px;

    color: #4d4d55;

    font-size: 0.75rem;

    z-index: 5;
}

.ripple {
    position: fixed;

    width: 10px;
    height: 10px;

    border-radius: 50%;

    border: 1px solid rgba(255, 255, 255, 0.6);

    pointer-events: none;

    transform: translate(-50%, -50%);

    animation: ripple 0.7s ease-out forwards;

    z-index: 15;
}

@keyframes appear {
    from {
        opacity: 0;

        transform: translateY(25px);
    }

    to {
        opacity: 1;

        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.35;
        transform: scale(0.8);
    }

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

@keyframes ripple {
    from {
        width: 10px;
        height: 10px;
        opacity: 1;
    }

    to {
        width: 180px;
        height: 180px;
        opacity: 0;
    }
}

@media (max-width: 600px) {

    body {
        overflow-y: auto;
    }

    .container {
        padding: 60px 0;
    }

    h1 {
        font-size: 3.7rem;
    }

    .buttons {
        flex-direction: column;

        width: 220px;

        margin-left: auto;
        margin-right: auto;
    }

    .terminal {
        margin-top: 30px;
    }

    footer {
        position: static;

        margin-top: 20px;
    }
}

