html {
    font-size: clamp(14px, 1vw + 10px, 18px);
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: "Sniglet", system-ui;
    user-select: none;
    -webkit-user-drag: none;
    overflow: hidden;
}

body {
    background-color: #08090E;
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.center-section {
    z-index: 10;
    width: 100%;
    height: max-content;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 1rem;
}

.center-section > span {
    color: #fff;
    font-size: clamp(2.5rem, 4vw + 1rem, 4rem);
    text-align: center; /* improves mobile readability */
    font-weight: 500;
}

.center-section > div {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: row;
    gap: 1rem;
}

.center-section > div > a {
    width: clamp(2.5rem, 5vw, 4rem);
    height: clamp(2.5rem, 5vw, 4rem);
    border-radius: 100rem;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.center-section > div > a > img {
    width: 70%;
    height: 70%;
}

.footer {
    z-index: 10;
    width: min(90%, 60rem);
    height: auto;
    padding: 1rem 0;
    bottom: 1rem;
    display: flex;
    justify-content: space-around;
    align-items: center;
    position: fixed;
    left: 50%;
    transform: translate(-50%, -50%);
}

.footer > hr {
    border: none;
    background-color: gray;
    height: 2px;
    width: 30%;
    border-radius: 100rem;
}

.footer > div {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.footer > div > span {
    color: gray;
    width: 100%;
    height: max-content;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: clamp(0.75rem, 1vw, 1rem);
    text-align: center;
}

.linear-effect {
    z-index: 0;
    background-color: rgba(55, 0, 94, 0.25);
    width: 100%;
    height: 34.375rem;
    filter: blur(100rem);
    position: fixed;
    left: 50%;
    top: 60%;
    transform: translate(-50%, -50%);
}

.grid-bg {
    z-index: 0;
    width: 100%;
    height: 100vh;
    background-color: #0a0a0a;

    background-image:
        /* grid */
        repeating-linear-gradient(
            to right,
            rgba(255,255,255,0.05) 0,
            rgba(255,255,255,0.05) 1px,
            transparent 1px,
            transparent 40px
        ),
        repeating-linear-gradient(
            to bottom,
            rgba(255,255,255,0.05) 0,
            rgba(255,255,255,0.05) 1px,
            transparent 1px,
            transparent 40px
        ),
        /* glow / vignette */
        radial-gradient(
            circle at center,
            rgba(255,255,255,0.02) 0%,
            rgba(255,255,255,0) 70%
        );
}


#tooltip {
    position: fixed;
    padding: 6px 10px;
    background: rgba(20, 20, 20, 0.9);
    color: white;
    font-size: 13px;
    border-radius: 4px;
    pointer-events: none; /* cursor never interacts with it */
    opacity: 0;
    transition: opacity 0.15s ease;
    white-space: nowrap;
    z-index: 1000;
    font-size: clamp(0.7rem, 1vw, 0.9rem);
    max-width: 90vw;
}

/* .grid-bg, .linear-effect {
    pointer-events: none;
} */
