:root {
    --bg: #0b0f14;
    --panel: rgba(15, 20, 28, 0.75);
    --panel-hover: rgba(15, 20, 28, 0.85);
    --elevated: rgba(15, 20, 28, 0.85);
    --line: rgba(255, 255, 255, 0.08);
    --line-hover: rgba(0, 191, 207, 0.35);

    --accent: #00bfcf;
    --accent1: #00bfcf;
    --accent2: #dfdfdf;
    --accent-hover: #33d4e2;
    --accent-glow: rgba(0, 191, 207, 0.25);

    --text: #e6eef6;
    --muted: #a6b0bd;
    --dim: rgba(255, 255, 255, 0.4);

    --success: #10b981;
    --success-bg: rgba(16, 185, 129, 0.12);
    --warning: #f59e0b;
    --warning-bg: rgba(245, 158, 11, 0.12);
    --danger: #ef4444;
    --danger-bg: rgba(239, 68, 68, 0.12);
    --orange: #f97316;
    --orange-bg: rgba(249, 115, 22, 0.12);

    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --font-sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    scrollbar-color: rgba(150, 150, 150, 0.5) rgba(11, 15, 20, 0.5);
    scrollbar-width: thin;
}

::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(11, 15, 20, 0.5);
}

::-webkit-scrollbar-thumb {
    background: rgba(150, 150, 150, 0.5);
    border-radius: 10px;
    border: 2px solid rgba(11, 15, 20, 0.5);
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 191, 207, 0.6);
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg);
    background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%20340%20260%27%20width%3D%27340%27%20height%3D%27260%27%20fill%3D%27none%27%3E%3Cg%20opacity%3D%270.17%27%3E%3Cg%20id%3D%27crescent-moon%27%20transform%3D%27translate%28230%2C%2020%29%27%3E%3Cpath%20d%3D%27M40%2C0%20C22%2C0%208%2C14%208%2C32%20C8%2C50%2022%2C64%2040%2C64%20C48%2C64%2055%2C61%2061%2C56%20C45%2C54%2033%2C40%2033%2C24%20C33%2C13%2039%2C4%2048%2C0%20C45%2C0%2042%2C0%2040%2C0%20Z%27%20fill%3D%27rgba%280%2C191%2C207%2C0.05%29%27%20stroke%3D%27rgba%280%2C191%2C207%2C0.15%29%27%20stroke-width%3D%271%27%2F%3E%3C%2Fg%3E%3Cg%20id%3D%27bat-1%27%20transform%3D%27translate%28170%2C%2045%29%20scale%280.9%29%20rotate%28-12%29%27%3E%3Cpath%20d%3D%27M25%2C12%20C20%2C4%2012%2C2%200%2C6%20C7%2C14%2012%2C18%2018%2C17%20C16%2C21%2012%2C25%206%2C26%20C15%2C28%2022%2C23%2025%2C17%20C28%2C23%2035%2C28%2044%2C26%20C38%2C25%2034%2C21%2032%2C17%20C38%2C18%2043%2C14%2050%2C6%20C38%2C2%2030%2C4%2025%2C12%20Z%27%20fill%3D%27rgba%280%2C191%2C207%2C0.07%29%27%20stroke%3D%27rgba%280%2C191%2C207%2C0.16%29%27%20stroke-width%3D%270.8%27%2F%3E%3C%2Fg%3E%3Cg%20id%3D%27bat-2%27%20transform%3D%27translate%28115%2C%2080%29%20scale%280.65%29%20rotate%28-5%29%27%3E%3Cpath%20d%3D%27M25%2C12%20C20%2C4%2012%2C2%200%2C6%20C7%2C14%2012%2C18%2018%2C17%20C16%2C21%2012%2C25%206%2C26%20C15%2C28%2022%2C23%2025%2C17%20C28%2C23%2035%2C28%2044%2C26%20C38%2C25%2034%2C21%2032%2C17%20C38%2C18%2043%2C14%2050%2C6%20C38%2C2%2030%2C4%2025%2C12%20Z%27%20fill%3D%27rgba%280%2C191%2C207%2C0.06%29%27%20stroke%3D%27rgba%280%2C191%2C207%2C0.14%29%27%20stroke-width%3D%270.8%27%2F%3E%3C%2Fg%3E%3Cg%20id%3D%27bat-3%27%20transform%3D%27translate%28235%2C%20110%29%20scale%280.55%29%20rotate%2810%29%27%3E%3Cpath%20d%3D%27M25%2C12%20C20%2C4%2012%2C2%200%2C6%20C7%2C14%2012%2C18%2018%2C17%20C16%2C21%2012%2C25%206%2C26%20C15%2C28%2022%2C23%2025%2C17%20C28%2C23%2035%2C28%2044%2C26%20C38%2C25%2034%2C21%2032%2C17%20C38%2C18%2043%2C14%2050%2C6%20C38%2C2%2030%2C4%2025%2C12%20Z%27%20fill%3D%27rgba%280%2C191%2C207%2C0.055%29%27%20stroke%3D%27rgba%280%2C191%2C207%2C0.12%29%27%20stroke-width%3D%270.8%27%2F%3E%3C%2Fg%3E%3Cg%20id%3D%27hanging-web%27%20transform%3D%27translate%28270%2C%200%29%27%3E%3Cpath%20d%3D%27M70%2C0%20L70%2C55%20M70%2C0%20L15%2C0%20M70%2C0%20L30%2C40%20M70%2C0%20L48%2C50%27%20stroke%3D%27rgba%280%2C191%2C207%2C0.12%29%27%20stroke-width%3D%270.9%27%2F%3E%3Cpath%20d%3D%27M70%2C25%20Q55%2C24%2050%2C15%20Q45%2C8%2040%2C0%27%20stroke%3D%27rgba%280%2C191%2C207%2C0.09%29%27%20stroke-width%3D%270.8%27%20fill%3D%27none%27%2F%3E%3Cpath%20d%3D%27M70%2C45%20Q45%2C43%2038%2C28%20Q30%2C15%2020%2C0%27%20stroke%3D%27rgba%280%2C191%2C207%2C0.09%29%27%20stroke-width%3D%270.8%27%20fill%3D%27none%27%2F%3E%3C%2Fg%3E%3Cg%20id%3D%27embers%27%3E%3Ccircle%20cx%3D%27155%27%20cy%3D%27140%27%20r%3D%271.2%27%20fill%3D%27rgba%280%2C191%2C207%2C0.22%29%27%2F%3E%3Ccircle%20cx%3D%2785%27%20cy%3D%27110%27%20r%3D%271%27%20fill%3D%27rgba%28139%2C92%2C246%2C0.18%29%27%2F%3E%3Ccircle%20cx%3D%27205%27%20cy%3D%27180%27%20r%3D%271.4%27%20fill%3D%27rgba%280%2C191%2C207%2C0.2%29%27%2F%3E%3Cpath%20d%3D%27M180%2C95%20Q180%2C98%20182%2C98%20Q180%2C98%20180%2C101%20Q180%2C98%20178%2C98%20Q180%2C98%20180%2C95%20Z%27%20fill%3D%27rgba%2857%2C215%2C228%2C0.22%29%27%2F%3E%3C%2Fg%3E%3C%2Fg%3E%3C%2Fsvg%3E"), radial-gradient(rgba(255, 255, 255, 0.014) 1px, transparent 1px);
    background-repeat: no-repeat, repeat;
    background-position: top 90px right 25px, 0 0;
    background-size: 340px 260px, 28px 28px;
    background-attachment: scroll, scroll;
    color: var(--text);
    font-family: var(--font-sans);
    line-height: 1.5;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

@media (max-width: 640px) {
    body {
        background-position: top 75px right 10px, 0 0;
        background-size: 200px 150px, 28px 28px;
    }
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.18s ease;
}

a:hover {
    color: var(--accent-hover);
}

button {
    font-family: inherit;
    cursor: pointer;
    background: transparent;
    border: none;
    color: inherit;
}

button:focus-visible,
a:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.main-content {
    flex: 1;
}

.site-footer {
    width: min(100%, 1200px);
    align-self: center;
    margin: 60px auto 30px;
    padding: 24px 18px;
    color: var(--muted);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 24px;
    position: relative;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--accent1, #00bfcf) 12%, transparent), transparent);
    pointer-events: none;
}

.site-footer h4 {
    margin: 0 0 10px 0;
    color: #ffffff;
    font-size: 0.95rem;
}

.site-footer p,
.site-footer a {
    color: var(--muted);
    text-decoration: none;
    font-size: 0.9rem;
    line-height: 1.6;
}

.site-footer a:hover {
    color: var(--accent1);
}

@media (max-width: 900px) {
    .site-footer {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .site-footer {
        gap: 16px;
        padding: 18px 14px;
    }
}
