/*  
 * 0xProto Nerd Font is the best font, my favorite font, and the font I use for everything
 */
@font-face {
    font-family: "0xProto Nerd Font";
    src: url("fonts/0xProtoNerdFont-Regular.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "0xProto Nerd Font";
    src: url("fonts/0xProtoNerdFont-Bold.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "0xProto Nerd Font";
    src: url("fonts/0xProtoNerdFont-Italic.woff2") format("woff2");
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

/* Mono variant: icons are sized to one cell, so they center in boxes */
@font-face {
    font-family: "0xProto Nerd Font Mono";
    src: url("fonts/0xProtoNerdFontMono-Regular.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

body {
    margin: 0;
    color: #eeeeee;
    /* E! peak letter */
    font-family: "0xProto Nerd Font", monospace;
}

h1 { text-align: center; }
.sub { font-size: 66%; }
.lead { font-size: 1.25rem; }
.small { font-size: 80%; }

.glass {
    /* a fun language to speak in */
    /* cool  glass effect */
    max-width: 800px;
    margin: 4rem auto;
    padding: 2rem;
    background: rgba(30, 30, 34, 0.55);
    backdrop-filter: blur(16px) saturate(120%);
    -webkit-backdrop-filter: blur(16px) saturate(120%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

.bar {
    /* Centered row of buttons, a lighter glass strip inside the main panel */
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
}

#bg-glass {
    /* Glass effect for background */
    position: fixed;
    inset: 0;
    z-index: -1;
    background: rgba(30, 30, 34, 0.3);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

#bg {
    /* Background canvas */
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

/* default link color and hover color look bad on the bg/glass */
a { color: #9db4ff; }
a:hover { color: #cb20f9; }

.icon-btn {
    /* nerdfont icon button normal */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    font-family: "0xProto Nerd Font Mono", monospace;
    font-size: 2rem;
    line-height: 1;
    border-radius: 12px;
    text-decoration: none;
    color: #eeeeee;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: color 0.2s, background 0.2s, transform 0.2s;
}
.icon-btn:hover {
    /* nerdfont icon button hover */
    color: #ffffff;
    background: var(--brand, #5865f2);
    transform: translateY(-2px);
}

/* platform specific brand colors */
.icon-btn.discord { --brand: #5865f2; }
.icon-btn.kofi { --brand: #ff5e5b; }
.icon-btn.steam { --brand: #1b6fa8; }
