:root {
    color-scheme: dark;
    --bg: #090d0a;
    --surface: #121a14;
    --surface-2: #19231b;
    --panel: #121a14;
    --panel-2: #19231b;
    --panel-light: #19231b;
    --line: rgba(255, 255, 255, .09);
    --border: rgba(255, 255, 255, .09);
    --text: #f6f8f6;
    --muted: #a9b6ab;
    --green: #67df52;
    --green-dark: #348f32;
    --gold: #f5d269;
    --yellow: #f5d269;
    --red: #ff7676;
    --shadow: 0 22px 65px rgba(0, 0, 0, .42);
}

body {
    min-height: 100vh;
    color: var(--text);
    background:
        radial-gradient(circle at 15% 8%, rgba(72, 172, 61, .23), transparent 32rem),
        radial-gradient(circle at 88% 31%, rgba(245, 210, 105, .08), transparent 30rem),
        linear-gradient(180deg, #0e1510, var(--bg));
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.wrap {
    width: min(1160px, calc(100% - 34px));
    margin-inline: auto;
}

.site-header {
    position: relative;
    z-index: 20;
    padding: 18px 0;
    border-bottom: 1px solid var(--border);
    background: rgba(9, 13, 10, .74);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
}

.site-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.site-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--text);
    text-decoration: none;
    font-size: 1.08rem;
    font-weight: 950;
    letter-spacing: -.03em;
}

.site-brand img {
    width: 52px;
    height: 52px;
    object-fit: contain;
    filter: drop-shadow(0 9px 20px rgba(72, 172, 61, .23));
}

.site-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.site-links a {
    padding: 10px 12px;
    border-radius: 10px;
    color: var(--muted);
    text-decoration: none;
    font-weight: 750;
    transition: color .18s ease, background .18s ease, transform .18s ease;
}

.site-links a:hover,
.site-links a[aria-current="page"] {
    color: var(--text);
    background: rgba(255, 255, 255, .055);
}

.site-links .site-join {
    margin-left: 4px;
    color: #11200f;
    background: var(--green);
    box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .18);
}

.site-links .site-join:hover,
.site-links .site-join[aria-current="page"] {
    color: #11200f;
    background: #79eb65;
    transform: translateY(-1px);
}

.nav-toggle { display: none; width: 44px; height: 44px; padding: 0; border: 1px solid var(--border); border-radius: 10px; color: var(--text); background: rgba(255,255,255,.045); font-size: 1.3rem; cursor: pointer; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 100; padding: 10px 14px; border-radius: 9px; color: #10200e; background: var(--yellow); font-weight: 900; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
.sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }

.site-footer {
    margin-top: 90px;
    padding: 30px 0;
    border-top: 1px solid var(--border);
    color: var(--muted);
    font-size: .88rem;
}

.site-footer-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.site-footer-links { display: flex; flex-wrap: wrap; gap: 16px; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--text); }
.share-profile { padding: 8px 11px; border: 1px solid var(--border); border-radius: 10px; color: var(--text); background: rgba(255,255,255,.055); font: inherit; font-size: .86rem; font-weight: 800; cursor: pointer; }

@media (max-width: 720px) {
    .site-header { padding: 12px 0; }
    .site-nav { gap: 12px; }
    .site-brand span { display: none; }
    .site-brand img { width: 44px; height: 44px; }
    .nav-toggle { display: grid; place-items: center; margin-left: auto; }
    .site-nav { position: relative; }
    .site-links { position: absolute; top: calc(100% + 12px); right: 0; display: none; width: min(290px, calc(100vw - 34px)); padding: 9px; border: 1px solid var(--border); border-radius: 15px; background: #111a13; box-shadow: var(--shadow); }
    .site-links.open { display: grid; }
    .site-links a, .site-links .site-join { display: block; margin: 0; padding: 12px 13px; font-size: .92rem; }
}

@media (max-width: 430px) {
    .site-footer-row { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; } }
