:root {
    --wl-bg: #0a0a0a;
    --wl-surface: #1a1a1a;
    --wl-surface-alt: #232323;
    --wl-text: #f4f4f4;
    --wl-muted: #a0a0a0;
    --wl-muted-alt: #7f7f7f;
    --wl-border: #2a2a2a;
    --wl-border-alt: #3a3a3a;
    --wl-accent: #be9d57;
    --wl-accent-strong: #d4b06a;
    --wl-accent-dark: #855c2e;
    --wl-link: #cfb17a;
    --wl-radius: 12px;
    --wl-shadow-sm: 0 4px 16px rgba(0, 0, 0, 0.28);
    --wl-shadow-md: 0 12px 34px rgba(0, 0, 0, 0.4);
    --wl-focus-ring: rgba(190, 157, 87, 0.45);
}

* {
    box-sizing: border-box;
}

html,
body {
    min-height: 100%;
}

body {
    margin: 0;
    color: var(--wl-text);
    background:
        radial-gradient(900px 420px at 20% -10%, rgba(190, 157, 87, 0.12), transparent 65%),
        linear-gradient(180deg, #111111 0%, var(--wl-bg) 45%);
    font-family: Manrope, "Segoe UI", Tahoma, sans-serif;
    line-height: 1.6;
}

a {
    color: var(--wl-link);
    text-decoration: none;
    transition: color 0.2s ease, opacity 0.2s ease;
}

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

a:focus-visible {
    outline: 2px solid var(--wl-accent);
    outline-offset: 3px;
    border-radius: 4px;
}

.wl-wrap {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.wl-site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--wl-border);
    background: rgba(10, 10, 10, 0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.wl-site-header .wl-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 70px;
}

.wl-brand {
    color: var(--wl-text);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.08rem;
    letter-spacing: -0.01em;
}

.wl-brand:hover {
    color: var(--wl-accent-strong);
}

.wl-nav ul,
.wl-footer-nav ul {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.wl-nav a {
    position: relative;
    color: var(--wl-muted);
    font-size: 0.92rem;
    font-weight: 500;
    padding-bottom: 4px;
}

.wl-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 0;
    height: 2px;
    background: var(--wl-accent);
    transition: width 0.2s ease;
}

.wl-nav a:hover,
.wl-nav .current-menu-item > a,
.wl-nav .current_page_item > a {
    color: var(--wl-text);
}

.wl-nav a:hover::after,
.wl-nav .current-menu-item > a::after,
.wl-nav .current_page_item > a::after {
    width: 100%;
}

.wl-main {
    padding-top: 0;
    padding-bottom: 0;
}

.wl-main.wl-wrap {
    padding-top: 28px;
    padding-bottom: 28px;
}

.wl-network-site .wl-main.wl-wrap {
    padding-bottom: 0;
}

.wl-main.wl-wrap .wl-page,
.wl-main.wl-wrap .wl-entry {
    padding: 30px;
}

.wl-network-site .wl-main.wl-wrap .wl-page,
.wl-network-site .wl-main.wl-wrap .wl-entry {
    padding-bottom: 0;
}

.wl-entry-content {
    color: var(--wl-text);
}

.wl-entry-content > :first-child {
    margin-top: 0;
}

.wl-entry-content > :last-child {
    margin-bottom: 0;
}

.wl-entry-content h1,
.wl-entry-content h2,
.wl-entry-content h3,
.wl-entry-content h4 {
    color: var(--wl-text);
}

.wl-entry-content p,
.wl-entry-content li {
    color: #d0d0d0;
}

.wl-site-footer {
    border-top: 1px solid var(--wl-border);
    margin-top: 36px;
    padding: 22px 0;
    color: var(--wl-muted);
    background: rgba(16, 16, 16, 0.74);
}

.wl-site-footer .wl-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
}

.wl-site-footer p {
    margin: 0;
    color: var(--wl-muted);
    font-size: 0.86rem;
}

.wl-footer-nav a {
    color: var(--wl-muted);
    font-size: 0.86rem;
}

.wl-footer-nav a:hover {
    color: var(--wl-accent-strong);
}

.wl-404 {
    text-align: center;
    padding: 76px 24px;
    border: 1px solid var(--wl-border);
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(38, 38, 38, 0.96), rgba(26, 26, 26, 0.96));
    box-shadow: var(--wl-shadow-md);
}

.wl-404 h1 {
    margin: 0;
    font-size: clamp(3rem, 8vw, 4.5rem);
    line-height: 1;
    color: var(--wl-accent-strong);
}

.wl-404 p {
    margin: 14px 0 24px;
    color: var(--wl-muted);
}

.wl-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 999px;
    border: 0;
    background: linear-gradient(135deg, var(--wl-accent), var(--wl-accent-dark));
    color: #111111;
    font-weight: 600;
    box-shadow: 0 8px 22px rgba(190, 157, 87, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.wl-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(190, 157, 87, 0.35);
    color: #111111;
}

.wl-btn:focus-visible {
    outline: 2px solid var(--wl-accent-strong);
    outline-offset: 3px;
}

@media (max-width: 768px) {
    .wl-site-header .wl-wrap {
        flex-direction: column;
        justify-content: center;
        min-height: auto;
        padding-top: 12px;
        padding-bottom: 12px;
    }

    .wl-nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px 16px;
    }

    .wl-main.wl-wrap {
        max-width: 100%;
        padding: 0;
    }

    .wl-network-site .wl-main.wl-wrap {
        padding-bottom: 0;
    }

    .wl-main.wl-wrap .wl-page,
    .wl-main.wl-wrap .wl-entry {
        padding: 0;
    }

    .wl-network-site .wl-main.wl-wrap .wl-page,
    .wl-network-site .wl-main.wl-wrap .wl-entry {
        padding-bottom: 0;
    }

    .wl-site-footer .wl-wrap {
        justify-content: center;
        text-align: center;
    }

    .wl-footer-nav ul {
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px 14px;
    }
}
