﻿

body, header, main, footer, .branding, .nav-links a {
    transition: background-color 0.3s ease, color 0.3s ease;
}


html, body {
    height: 100%;
    display: flex;
    flex-direction: column;
}

body {
    margin: 0;
    background-color: var(--background);
    color: var(--foreground);
    font-family: 'JetBrains Mono', monospace;
    min-height: 100vh;
}

header, footer {
    padding: 1rem 1.5rem;
    border-color: #2a2a2a;
}

header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--muted);
}

.branding{
    display: flex;
    align-items: center;
}

.subtitle {
    font-size: 0.75rem;
    color: var(--muted, #999);
    margin-top: 0.25rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.branding a {
    font-size: 1.25rem;
    font-weight: 600;
    text-decoration: none;
    color: var(--foreground);
}

.nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 0.5rem;
}

    .nav-links a {
        color: var(--muted);
        text-decoration: none;
        font-size: 0.9rem;
    }

        .nav-links a:hover {
            color: var(--link);
        }

main {
    max-width: 720px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
    font-size: 1rem;
    line-height: 1.7;
    flex-grow: 1;
}

footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    border-top: 1px solid var(--muted);
    font-size: 0.85rem;
    color: var(--muted);
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 1rem;
}

    .footer-links a {
        color: var(--muted);
        text-decoration: none;
    }

        .footer-links a:hover {
            color: var(--foreground);
        }

@media (max-width: 600px) {
    .nav-links {
        width: 100%;
        margin-top: 0.75rem;
        justify-content: center;
    }

    footer {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
        text-align: center;
    }
}

#themeSwitcher {
    background: var(--background);
    color: var(--foreground);
    border: 1px solid var(--muted);
    padding: 0.4rem 0.6rem;
    font-size: 0.9rem;
}

.theme-toggle button {
    background: none;
    border: 1px solid var(--muted);
    color: var(--foreground);
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

    .theme-toggle button:hover {
        background: var(--muted);
        color: var(--background);
    }

.theme-icon-btn {
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    color: var(--foreground);
    transition: transform 0.3s ease;
}

    .theme-icon-btn:hover {
        transform: scale(1.15);
    }



.hero {
    text-align: center;
    padding: 5rem 1.5rem;
}

    .hero h1 {
        font-size: 2.8rem;
        margin-bottom: 1rem;
        color: var(--logo-color);
    }

    .hero .intro {
        font-size: 1.15rem;
        max-width: 640px;
        margin: 0 auto 2rem;
        color: var(--muted);
        line-height: 1.6;
    }

.join-btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: var(--link-color);
    color: var(--background);
    text-decoration: none;
    font-weight: bold;
    border-radius: 4px;
    transition: background 0.3s ease;
}

    .join-btn:hover {
        background: #0097a7;
    }


.beta-tag {
    bottom: 1em;
    left: 1em;
    color: var(--foreground);
    letter-spacing: 1px;
    animation: pulse 4s ease-in-out infinite;
    pointer-events: none;
    user-select: none;
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.3;
    }

    50% {
        opacity: 0.9;
    }
}
