@font-face {
    font-family: "GTAArtDeco";
    src: url("../fonts/GTAArtDeco-Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

:root {
    --accent: #f3f3d3;
    --font-logo: "GTAArtDeco", "Bebas Neue", sans-serif;
    --bg: #080808;
    --bg-alt: #0c0c0c;
    --online: #c2ff00;
    /* Высота под фиксированную шапку (padding main / якоря) */
    --site-header-h: 88px;
    --site-header-h-sm: 72px;
    --layout-max: 1200px;
    --layout-gutter: clamp(16px, 4.5vw, 48px);
    --layout-col-gap: 24px;
    --layout-row-gap: 24px;
    --header-pad: 30px 10%;
    /* Фоны в духе «ночной город / трасса» (Unsplash) */
    --bg-stock-neon-city: url("https://images.unsplash.com/photo-1519501025264-65ba15a82390?auto=format&fit=crop&w=1920&q=75");
    --bg-stock-street-night: url("https://images.unsplash.com/photo-1480714378408-67cf0d13bc1b?auto=format&fit=crop&w=1920&q=75");
    --bg-stock-skyline: url("https://images.unsplash.com/photo-1449824913935-59a10b8d2000?auto=format&fit=crop&w=1920&q=75");
    --bg-stock-highway: url("https://images.unsplash.com/photo-1549317661-bd32c8ce0db2?auto=format&fit=crop&w=1920&q=75");
    /* Секция «Новости» на главной (сток LA) */
    --bg-home-news: url("https://images.unsplash.com/photo-1492086517200-9393d4eb53bf?auto=format&fit=crop&w=2048&q=80");
    /* Кастомные курсоры: assets/img/cursor/ (32×32 PNG, с тёмной обводкой) */
    --cursor-default: url("../img/cursor/pointer.png") 3 1;
    --cursor-pointer: url("../img/cursor/hand.png") 7 4;
    --cursor-text: url("../img/cursor/beam.png") 5 9;
    --cursor-help: url("../img/cursor/help.png") 0 0;
    --cursor-not-allowed: url("../img/cursor/notallowed.png") 11 11;
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", system-ui, sans-serif;
    background-color: var(--bg);
    color: #fff;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    cursor: var(--cursor-default), default;
}

::selection {
    background: rgba(243, 243, 211, 0.32);
    color: #fff;
}

::-moz-selection {
    background: rgba(243, 243, 211, 0.32);
    color: #fff;
}

:where(
    p,
    h1,
    h2,
    h3,
    h4,
    h5,
    h6,
    dt,
    dd,
    blockquote,
    figcaption,
    .section-lead,
    .rules-lead,
    .donate-lead,
    .join-step-body,
    .site-modal__body
) {
    cursor: var(--cursor-text), text;
}

/* Прямой url() — надёжнее var() в cursor; рука с обводкой видна и на светлых .btn */
a[href],
button,
input[type="button"],
input[type="submit"],
input[type="reset"],
label,
summary,
[role="button"],
.btn,
.lang-switch__link,
.skip-link:focus,
.nav-toggle,
.donate-pay-pick,
.donate-paymodal__tile,
.donate-paymodal__close,
.donate-paymodal__backdrop,
.donate-card,
.donate-check-row,
.pay-btn,
.site-modal__btn,
.site-modal__close,
.leave-card__dismiss,
.join-address-code,
.site-modal-overlay a,
.site-modal-overlay button {
    cursor: url("../img/cursor/hand.png") 7 4, pointer;
}

:is(a, button, [role="button"], .btn, label) :is(i, svg, span) {
    cursor: inherit;
}

input[type="text"],
input[type="email"],
input[type="number"],
input[type="password"],
input[type="search"],
input[type="url"],
input[type="tel"],
textarea,
[contenteditable="true"] {
    cursor: var(--cursor-text), text;
}

select,
.donate-form-grid .donate-field select.donate-select-native {
    cursor: url("../img/cursor/hand.png") 7 4, pointer;
}

:disabled,
[disabled],
[aria-disabled="true"] {
    cursor: var(--cursor-not-allowed), not-allowed;
}

[title]:is(abbr, dfn) {
    cursor: var(--cursor-help), help;
}

body.page-donate {
    background-color: var(--bg-alt);
}

.layout-shell {
    box-sizing: border-box;
    width: 100%;
    max-width: var(--layout-max);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--layout-gutter);
    padding-right: var(--layout-gutter);
}

.layout-shell--grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--layout-col-gap);
    row-gap: var(--layout-row-gap);
}

.layout-shell--hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
}

.layout-bleed {
    width: 100%;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 1000;
    padding: 12px 20px;
    background: var(--accent);
    color: #000;
    font-weight: 700;
    text-decoration: none;
}

.skip-link:focus {
    left: 16px;
    top: 16px;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.main-bg {
    position: fixed;
    inset: 0;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    z-index: -2;
}

/* Фоны: image_4 — главный экран и правила; image_3 — донат и фон «Как зайти» на главной */
.page-home .main-bg {
    background-image: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.8)),
        url("../../image_4.png");
}

.page-donate .main-bg {
    z-index: -1;
    background-image: linear-gradient(165deg, rgba(0, 0, 0, 0.55) 0%, rgba(6, 6, 10, 0.88) 100%),
        url("../../image_3.png"),
        var(--bg-stock-highway);
    background-size: cover, cover, cover;
    background-position: center, center, center;
}

.page-rules .main-bg {
    background-image: linear-gradient(160deg, rgba(5, 5, 12, 0.78) 0%, rgba(8, 8, 12, 0.9) 45%, rgba(8, 8, 8, 0.96) 100%),
        url("../../image_4.png"),
        var(--bg-stock-skyline);
    background-size: cover, cover, cover;
    background-position: center, center, center;
}

/* Правила: отступ только под фиксированную шапку (без пустого «героя») */
.page-rules main {
    padding-top: var(--site-header-h);
}

.site-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: var(--header-pad);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.85), transparent);
}

.page-donate .site-header {
    position: relative;
    background: transparent;
}

.logo {
    font-family: var(--font-logo);
    font-size: clamp(22px, 3.6vw, 28px);
    font-weight: 400;
    letter-spacing: 0.08em;
    line-height: 1;
    text-transform: uppercase;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.96);
    text-shadow:
        0 0 20px rgba(243, 243, 211, 0.1),
        0 1px 0 rgba(255, 255, 255, 0.06);
    transition: color 0.2s ease, text-shadow 0.2s ease;
}

.logo:hover,
.logo:focus-visible {
    color: var(--accent);
    text-shadow:
        0 0 24px rgba(243, 243, 211, 0.24),
        0 0 40px rgba(243, 243, 211, 0.1);
    outline: none;
}

.logo span {
    color: var(--accent);
    text-shadow: 0 0 16px rgba(243, 243, 211, 0.35);
}

.nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    -webkit-appearance: none;
    appearance: none;
    border-radius: 4px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before {
    transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars {
    background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after {
    transform: translateY(-6px) rotate(-45deg);
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
    display: block;
    width: 20px;
    height: 2px;
    background: #fff;
    position: relative;
    transition: transform 0.2s, background 0.2s;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
    content: "";
    position: absolute;
    left: 0;
}

.nav-toggle-bars::before {
    top: -6px;
}

.nav-toggle-bars::after {
    top: 6px;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.site-nav-inner {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(15px);
    padding: 12px 24px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    list-style: none;
}

.site-nav-inner a {
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    text-transform: uppercase;
    font-weight: 700;
    opacity: 0.65;
    transition: opacity 0.25s, color 0.25s;
}

.site-nav-inner a:hover,
.site-nav-inner a:focus-visible,
.site-nav-inner a[aria-current="page"] {
    opacity: 1;
    color: var(--accent);
    outline: none;
}

.online-tag {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(194, 255, 0, 0.1);
    padding: 5px 12px;
    border-radius: 4px;
    border: 1px solid rgba(194, 255, 0, 0.2);
    color: var(--online);
    font-size: 11px;
    font-weight: 900;
    white-space: nowrap;
}

.online-tag .dot {
    width: 6px;
    height: 6px;
    background: var(--online);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--online);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.lang-switch {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.lang-switch__sep {
    color: rgba(255, 255, 255, 0.2);
    user-select: none;
}

.lang-switch__link {
    color: rgba(255, 255, 255, 0.45);
    text-decoration: none;
    padding: 2px 4px;
    border-radius: 2px;
    transition: color 0.2s, background 0.2s;
}

.lang-switch__link:hover {
    color: var(--accent);
}

.lang-switch__link.is-active {
    color: var(--accent);
    pointer-events: none;
}

.badge-safe {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.03);
    padding: 10px 18px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 12px;
    font-weight: 800;
}

.badge-safe i {
    color: var(--accent);
}

.btn {
    padding: 20px 50px;
    font-weight: 900;
    text-transform: uppercase;
    text-decoration: none;
    transition: transform 0.25s, box-shadow 0.25s;
    border-radius: 2px;
    display: inline-block;
    border: none;
    font-family: inherit;
    font-size: 14px;
}

button,
input[type="button"],
input[type="submit"],
input[type="reset"] {
    -webkit-appearance: none;
    appearance: none;
}

.btn-header {
    padding: 12px 25px;
    font-size: 11px;
    background: #fff;
    color: #000;
}

.btn-primary {
    background: var(--accent);
    color: #000;
    margin-top: 40px;
    align-self: center;
}

.btn-primary:hover,
.btn-header:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(243, 243, 211, 0.2);
}

main {
    flex: 1;
}

.page-donate main {
    position: relative;
    z-index: 1;
}

.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 120px 0 96px;
    background: linear-gradient(to bottom, transparent 60%, var(--bg) 100%);
}

.hero-brand-mark {
    display: block;
    width: min(72px, 18vw);
    height: 4px;
    margin: 0 auto 28px;
    border-radius: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    box-shadow: 0 0 24px rgba(243, 243, 211, 0.22);
    order: -1;
}

.hero-scroll-hint {
    position: absolute;
    left: 50%;
    bottom: 28px;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.4);
    transition: color 0.2s, transform 0.2s;
}

.hero-scroll-hint:hover,
.hero-scroll-hint:focus-visible {
    color: var(--accent);
    outline: none;
}

.hero-scroll-icon {
    display: inline-block;
    font-size: 14px;
    line-height: 1;
    animation: hero-scroll-nudge 2.2s ease-in-out infinite;
}

@keyframes hero-scroll-nudge {
    0%,
    100% {
        transform: translateY(0);
        opacity: 0.65;
    }

    50% {
        transform: translateY(5px);
        opacity: 1;
    }
}

.hero h1 {
    font-family: "Bebas Neue", sans-serif;
    font-size: clamp(48px, 10vw, 130px);
    line-height: 0.9;
    text-transform: uppercase;
    max-width: 20ch;
}

.hero h1 .accent {
    color: var(--accent);
}

.section-head {
    position: relative;
    z-index: 1;
    text-align: center;
    margin-bottom: 48px;
}

.section-head h2 {
    font-family: "Bebas Neue", sans-serif;
    font-size: clamp(40px, 6vw, 72px);
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.section-head .accent {
    color: var(--accent);
}

.home-section {
    position: relative;
    z-index: 1;
    padding: 88px 0 100px;
    background-color: var(--bg);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 48px 64px var(--bg);
    scroll-margin-top: 100px;
    isolation: isolate;
}

/* Главная: блоки «Как зайти», «Новости» — не ниже высоты окна, контент по центру если короче */
.page-home .home-section {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
}

.home-section > .layout-shell {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--layout-col-gap);
    row-gap: var(--layout-row-gap);
    align-content: center;
}

.page-home .home-section > .layout-shell {
    flex: 1;
}

.home-section > .layout-shell > * {
    grid-column: 1 / -1;
}

/* «Как зайти»: фон image_3, компактная вёрстка под один экран */
.page-home .home-section.home-join {
    padding: clamp(28px, 5vh, 48px) 0 clamp(32px, 6vh, 56px);
    scroll-margin-top: 96px;
}

.page-home .home-section.home-join::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: url("../../image_3.png") no-repeat center center / cover;
    opacity: 0.22;
    -webkit-mask-image: linear-gradient(to bottom, transparent, #000 12%, #000 88%, transparent);
    mask-image: linear-gradient(to bottom, transparent, #000 12%, #000 88%, transparent);
}

.page-home .home-join .section-head {
    margin-bottom: clamp(14px, 2.5vh, 24px);
}

.page-home .home-join .section-head h2 {
    font-size: clamp(28px, 5vw, 46px);
}

.page-home .home-join .section-lead {
    margin-top: -8px;
    font-size: 13px;
    line-height: 1.45;
    opacity: 0.66;
    max-width: 42ch;
}

.page-home .join-steps {
    max-width: 980px;
    gap: 10px;
    margin-bottom: 14px;
}

@media (min-width: 768px) {
    .page-home .join-steps {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px 16px;
        align-items: stretch;
    }
}

.page-home .join-step {
    padding: 14px 16px;
    gap: 12px;
}

.page-home .join-step-num {
    font-size: 24px;
    min-width: 2ch;
}

.page-home .join-step-body h3 {
    font-size: 17px;
    margin-bottom: 4px;
}

.page-home .join-step-body p {
    font-size: 12px;
    line-height: 1.4;
}

.page-home .join-address {
    padding: 16px 18px;
    max-width: 520px;
}

.page-home .join-address-label {
    font-size: 17px;
    margin-bottom: 4px;
}

.page-home .join-address-hint {
    margin-bottom: 8px;
    font-size: 11px;
}

.page-home .join-address-code {
    padding: 11px 14px;
    font-size: clamp(12px, 1.9vw, 14px);
}

/* 4-я секция главной — «Новости» */
.page-home .home-section.home-news::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: var(--bg-home-news) center / cover no-repeat;
    opacity: 0.42;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 12%, #000 88%, transparent 100%);
    mask-image: linear-gradient(to bottom, transparent 0%, #000 12%, #000 88%, transparent 100%);
}

.page-home .home-section.home-join > *,
.page-home .home-section.home-news > * {
    position: relative;
    z-index: 1;
}

.section-lead {
    position: relative;
    z-index: 1;
    max-width: 52ch;
    margin: -24px auto 0;
    text-align: center;
    font-size: 15px;
    line-height: 1.6;
    opacity: 0.72;
}

.join-steps {
    position: relative;
    z-index: 1;
    list-style: none;
    max-width: 900px;
    margin: 0 auto 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.join-step {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 24px;
    align-items: start;
    padding: 28px 32px;
    background: rgba(6, 6, 10, 0.72);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-left: 3px solid var(--accent);
}

.join-step-num {
    font-family: "Bebas Neue", sans-serif;
    font-size: 36px;
    line-height: 1;
    color: var(--accent);
    opacity: 0.85;
    min-width: 2.5ch;
}

.join-step-body h3 {
    font-family: "Bebas Neue", sans-serif;
    font-size: 26px;
    margin-bottom: 10px;
    letter-spacing: 0.02em;
}

.join-step-body p {
    opacity: 0.85;
    line-height: 1.6;
    font-size: 15px;
}

.join-step-body a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.join-step-body a:hover {
    opacity: 0.9;
}

.join-address {
    position: relative;
    z-index: 1;
    max-width: 640px;
    margin: 0 auto;
    padding: 28px 32px;
    text-align: center;
    background: rgba(4, 4, 8, 0.78);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.join-address-label {
    font-family: "Bebas Neue", sans-serif;
    font-size: 22px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 8px;
}

.join-address-hint {
    font-size: 12px;
    opacity: 0.5;
    margin-bottom: 16px;
}

.join-address-code {
    display: block;
    font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
    font-size: clamp(15px, 2.5vw, 18px);
    padding: 16px 20px;
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--accent);
    word-break: break-all;
    border-radius: 2px;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.join-address-code:hover {
    background: rgba(243, 243, 211, 0.12);
    border-color: rgba(243, 243, 211, 0.35);
}

.join-address-code:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

.join-address-code.join-address-code--copied {
    color: #c2ff00;
    border-color: rgba(194, 255, 0, 0.35);
}

.news-list {
    position: relative;
    z-index: 1;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.news-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 32px 28px;
    background: rgba(5, 5, 10, 0.75);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 3px solid var(--accent);
    transition: border-color 0.25s, transform 0.25s;
}

.news-card:hover {
    border-color: rgba(255, 255, 255, 0.12);
    transform: translateY(-3px);
}

.news-date {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    opacity: 0.45;
    margin-bottom: 12px;
}

.news-card h3 {
    font-family: "Bebas Neue", sans-serif;
    font-size: 28px;
    margin-bottom: 12px;
    line-height: 1.1;
}

.news-card p {
    flex: 1;
    font-size: 14px;
    line-height: 1.6;
    opacity: 0.82;
    margin-bottom: 20px;
}

.news-link {
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--accent);
    text-decoration: none;
}

.news-link:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
}

@media (max-width: 600px) {
    .join-step {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .join-step-num {
        font-size: 28px;
    }
}

.layout-shell--donate {
    padding-top: 32px;
    padding-bottom: 100px;
}

.donate-wrap {
    width: 100%;
    max-width: 1040px;
    margin: 0 auto;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.donate-page-head {
    text-align: center;
    margin-bottom: 56px;
}

.donate-lead {
    max-width: 56ch;
    margin: 0 auto 28px;
    font-size: 16px;
    line-height: 1.65;
    opacity: 0.88;
    text-align: left;
}

.donate-check-group {
    margin: 8px 0 20px;
}

.donate-check-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.65);
    cursor: url("../img/cursor/hand.png") 7 4, pointer;
}

.donate-check-row input {
    margin-top: 4px;
    flex-shrink: 0;
    accent-color: var(--accent);
}

.donate-check-row a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.donate-check-row--invalid {
    color: #ffb4b4;
}

.donate-field-error--agree {
    display: block;
    margin-top: 8px;
}

.donate-field--full {
    grid-column: 1 / -1;
}

.donate-pay-field-label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 8px;
    opacity: 0.85;
}

.donate-form-grid .donate-field select.donate-select-native {
    width: 100%;
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 14px 40px 14px 16px;
    color: #fff;
    font-family: inherit;
    font-size: 15px;
    outline: none;
    border-radius: 2px;
    cursor: url("../img/cursor/hand.png") 7 4, pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23f3f3d3' d='M2 4l4 4 4-4'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    transition: border-color 0.2s;
}

.donate-form-grid .donate-field select.donate-select-native:focus {
    border-color: var(--accent);
}

.donate-pay-pick {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    box-sizing: border-box;
    text-align: left;
    font: inherit;
    color: #fff;
    cursor: url("../img/cursor/hand.png") 7 4, pointer;
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 14px 16px;
    border-radius: 2px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.donate-pay-pick:hover {
    border-color: rgba(243, 243, 211, 0.35);
}

.donate-pay-pick:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.donate-pay-pick__text {
    font-size: 15px;
    font-weight: 600;
}

.donate-pay-pick__chev {
    opacity: 0.45;
    font-size: 12px;
}

body.donate-paymodal-open {
    overflow: hidden;
}

.donate-paymodal {
    position: fixed;
    inset: 0;
    z-index: 220;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(16px, 4vw, 32px);
}

.donate-paymodal[hidden] {
    display: none !important;
}

.donate-paymodal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.62);
    backdrop-filter: blur(6px);
}

.donate-paymodal__dialog {
    position: relative;
    z-index: 1;
    width: min(720px, 100%);
    max-height: min(90vh, 640px);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background: rgba(8, 8, 12, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    box-shadow: 0 32px 64px rgba(0, 0, 0, 0.55);
}

.donate-paymodal__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 20px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.donate-paymodal__title {
    font-family: "Bebas Neue", sans-serif;
    font-size: clamp(22px, 4vw, 30px);
    font-weight: 400;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin: 0;
}

.donate-paymodal__close {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    color: #fff;
    font-size: 22px;
    line-height: 1;
    cursor: url("../img/cursor/hand.png") 7 4, pointer;
    border-radius: 2px;
    transition: border-color 0.2s, color 0.2s;
}

.donate-paymodal__close:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.donate-paymodal__body {
    padding: 16px 20px 22px;
    overflow-y: auto;
}

.donate-paymodal__section-title {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: rgba(255, 255, 255, 0.4);
    margin: 0 0 12px;
}

.donate-paymodal__section-title + .donate-paymodal__grid {
    margin-bottom: 22px;
}

.donate-paymodal__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.donate-paymodal__grid--dense {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 640px) {
    .donate-paymodal__grid,
    .donate-paymodal__grid--dense {
        grid-template-columns: 1fr;
    }
}

.donate-paymodal__tile {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 14px;
    text-align: left;
    font: inherit;
    color: inherit;
    cursor: url("../img/cursor/hand.png") 7 4, pointer;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    transition: border-color 0.2s, background 0.2s, transform 0.2s;
}

.donate-paymodal__tile:hover {
    border-color: rgba(243, 243, 211, 0.35);
    background: rgba(255, 255, 255, 0.06);
}

.donate-paymodal__tile:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.donate-paymodal__tile--active {
    border-color: var(--accent);
    background: rgba(243, 243, 211, 0.08);
    box-shadow: 0 0 0 1px rgba(243, 243, 211, 0.15);
}

.donate-paymodal__tile-icon {
    flex-shrink: 0;
    width: 1.5em;
    text-align: center;
    color: var(--accent);
    font-size: 18px;
}

.donate-paymodal__tile-text {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    line-height: 1.25;
}

.page-title {
    font-family: "Bebas Neue", sans-serif;
    font-size: clamp(40px, 8vw, 64px);
    text-align: center;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.page-title .accent {
    color: var(--accent);
}

.donate-trust {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px 28px;
    margin: 0 0 28px;
    padding: 0;
}

.donate-trust li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 600;
    opacity: 0.85;
}

.donate-trust i {
    color: var(--accent);
    font-size: 18px;
    width: 1.25em;
    text-align: center;
}

.donate-rate {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: center;
    gap: 8px 12px;
    margin: 0 auto;
    padding: 12px 22px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    font-size: 15px;
}

.donate-rate-label {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    opacity: 0.5;
}

.donate-rate-hint {
    font-size: 12px;
    opacity: 0.55;
    width: 100%;
    text-align: center;
}

.donate-section {
    margin-bottom: 56px;
    scroll-margin-top: 96px;
}

.donate-section-head {
    margin-bottom: 28px;
    text-align: center;
}

.donate-section-head h2 {
    font-family: "Bebas Neue", sans-serif;
    font-size: clamp(32px, 5vw, 48px);
    text-transform: uppercase;
    margin-bottom: 12px;
    letter-spacing: 0.02em;
}

.donate-section-sub {
    max-width: 58ch;
    margin: 0 auto;
    font-size: 14px;
    line-height: 1.6;
    opacity: 0.72;
}

.donate-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    width: 100%;
    list-style: none;
    margin: 0;
    padding: 0;
}

@media (max-width: 820px) {
    .donate-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
}

button.donate-card {
    font: inherit;
    color: inherit;
    width: 100%;
    margin: 0;
    cursor: url("../img/cursor/hand.png") 7 4, pointer;
    text-align: left;
    display: block;
    position: relative;
    background: rgba(5, 5, 10, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 28px 24px 24px;
    backdrop-filter: blur(14px);
    transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.donate-card:hover {
    border-color: rgba(243, 243, 211, 0.45);
    transform: translateY(-3px);
}

.donate-card:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

.donate-card--featured {
    border-color: rgba(243, 243, 211, 0.35);
    box-shadow: 0 0 0 1px rgba(243, 243, 211, 0.08);
}

.donate-card--selected {
    border-color: var(--accent);
    box-shadow: 0 0 0 2px rgba(243, 243, 211, 0.35);
}

.donate-card-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 5px 10px;
    background: var(--accent);
    color: #000;
    border-radius: 2px;
}

.donate-card-icon {
    display: block;
    margin-bottom: 16px;
}

.donate-card-icon i {
    font-size: 36px;
    color: var(--accent);
}

.donate-card-dc {
    display: block;
    font-family: "Bebas Neue", sans-serif;
    font-size: 32px;
    line-height: 1;
    margin-bottom: 6px;
}

.donate-card-price {
    display: block;
    font-size: 18px;
    font-weight: 900;
    color: var(--accent);
    margin-bottom: 16px;
}

.donate-card-perks {
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 13px;
    line-height: 1.5;
    opacity: 0.75;
}

.donate-card-perks li {
    position: relative;
    padding-left: 14px;
    margin-top: 6px;
}

.donate-card-perks li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 5px;
    height: 5px;
    background: var(--accent);
    opacity: 0.6;
    border-radius: 1px;
}

.donate-form-shell {
    background: rgba(4, 4, 10, 0.82);
    backdrop-filter: blur(16px);
    padding: 36px 32px 40px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 4px;
}

.donate-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px 24px;
    margin-bottom: 24px;
}

@media (max-width: 640px) {
    .donate-form-grid {
        grid-template-columns: 1fr;
    }
}

.donate-form-grid .donate-field label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 8px;
    opacity: 0.85;
}

.donate-req {
    color: #ff6b6b;
    font-weight: 900;
}

.donate-form-grid .donate-field input {
    width: 100%;
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 14px 16px;
    color: #fff;
    font-family: inherit;
    font-size: 15px;
    outline: none;
    border-radius: 2px;
    transition: border-color 0.2s;
}

.donate-form-grid .donate-field input:focus {
    border-color: var(--accent);
}

.donate-form-grid .donate-field input.donate-input--invalid {
    border-color: rgba(255, 107, 107, 0.8);
}

.donate-field-hint {
    display: block;
    font-size: 12px;
    margin-top: 6px;
    opacity: 0.48;
    line-height: 1.4;
}

.donate-field-error {
    display: block;
    min-height: 1.25em;
    font-size: 12px;
    color: #ff8a8a;
    margin-top: 6px;
    font-weight: 600;
}

.donate-field--amount,
.donate-field--wide {
    grid-column: 1 / -1;
}

.donate-form-flash {
    padding: 14px 18px;
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.55;
    border-radius: 2px;
    border: 1px solid transparent;
}

.donate-form-flash--ok {
    background: rgba(194, 255, 0, 0.08);
    border-color: rgba(194, 255, 0, 0.25);
    color: #dfffb8;
}

.donate-form-flash--err {
    background: rgba(255, 80, 80, 0.1);
    border-color: rgba(255, 120, 120, 0.3);
    color: #ffc9c9;
}

.donate-form-actions {
    margin-bottom: 20px;
}

.pay-btn {
    background: var(--accent);
    color: #000;
    border: none;
    padding: 18px 32px;
    font-weight: 900;
    text-transform: uppercase;
    cursor: url("../img/cursor/hand.png") 7 4, pointer;
    font-family: inherit;
    font-size: 13px;
    letter-spacing: 0.04em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    max-width: 100%;
    border-radius: 2px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.pay-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(243, 243, 211, 0.18);
}

.pay-btn--primary i {
    font-size: 12px;
    opacity: 0.85;
}

.form-note {
    font-size: 11px;
    line-height: 1.55;
    color: #666;
    margin: 0;
    text-align: center;
    max-width: 56ch;
    margin-left: auto;
    margin-right: auto;
}

.form-note a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.donate-section--muted {
    padding: 28px 24px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 4px;
    margin-bottom: 40px;
}

.donate-h3 {
    font-family: "Bebas Neue", sans-serif;
    font-size: 26px;
    text-transform: uppercase;
    margin: 0 0 10px;
    letter-spacing: 0.04em;
}

.donate-methods-lead {
    font-size: 13px;
    opacity: 0.65;
    margin: 0 0 18px;
    line-height: 1.5;
}

.donate-methods {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 14px 24px;
}

.donate-methods li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    opacity: 0.88;
}

.donate-methods i {
    color: var(--accent);
    width: 1.2em;
}

.donate-section--faq .donate-h3 {
    margin-bottom: 16px;
}

.donate-faq {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.donate-faq-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 2px;
}

.donate-faq-item summary {
    padding: 16px 20px;
    font-weight: 700;
    font-size: 15px;
    cursor: url("../img/cursor/hand.png") 7 4, pointer;
    list-style: none;
}

.donate-faq-item summary::-webkit-details-marker {
    display: none;
}

.donate-faq-item summary::after {
    content: "+";
    float: right;
    font-weight: 400;
    opacity: 0.5;
}

.donate-faq-item[open] summary::after {
    content: "−";
}

.donate-faq-item p {
    margin: 0;
    padding: 0 20px 18px;
    font-size: 14px;
    line-height: 1.6;
    opacity: 0.78;
}

.donate-inline-code {
    font-family: ui-monospace, Consolas, monospace;
    font-size: 0.9em;
    padding: 2px 6px;
    background: rgba(0, 0, 0, 0.35);
    border-radius: 2px;
}

.page-donate .header-actions {
    flex-wrap: wrap;
    justify-content: flex-end;
}

@media (max-width: 900px) {
    .page-donate .header-actions .btn-header {
        width: 100%;
        text-align: center;
    }
}

.layout-shell--rules {
    padding-top: 28px;
    padding-bottom: 96px;
}

.rules-page {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: clamp(20px, 3vh, 32px);
}

.rules-screen {
    box-sizing: border-box;
    min-height: calc(100vh - var(--site-header-h));
    min-height: calc(100dvh - var(--site-header-h));
    padding: clamp(24px, 4vw, 40px) clamp(20px, 4vw, 40px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: rgba(4, 4, 10, 0.78);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.rules-screen--hero h1 {
    font-family: "Bebas Neue", sans-serif;
    font-size: clamp(40px, 6vw, 64px);
    margin-bottom: 8px;
    text-transform: uppercase;
}

.rules-lead {
    opacity: 0.75;
    margin-bottom: 0;
    line-height: 1.6;
}

.rules-screen:not(.rules-screen--hero) h2 {
    font-family: "Bebas Neue", sans-serif;
    font-size: 28px;
    margin-bottom: 16px;
    color: var(--accent);
}

.rules-screen ul {
    padding-left: 1.25rem;
    line-height: 1.65;
    opacity: 0.9;
}

.rules-screen li + li {
    margin-top: 8px;
}

/* —— Модальные окна (дисклеймер, внешняя ссылка), тосты —— */
body.site-modal-open {
    overflow: hidden;
}

.site-modal-layer {
    position: fixed;
    inset: 0;
    z-index: 240;
    pointer-events: none;
}

.site-modal-overlay {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(16px, 4vw, 32px);
    background: rgba(0, 0, 0, 0.62);
    backdrop-filter: blur(6px);
    pointer-events: auto;
}

.site-modal-overlay[hidden] {
    display: none !important;
}

.site-modal {
    width: 100%;
    max-width: 440px;
    background: rgba(4, 4, 8, 0.94);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.65);
    color: rgba(255, 255, 255, 0.9);
    text-align: left;
}

.site-modal__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 22px 24px 0;
}

.site-modal__title {
    font-family: "Bebas Neue", sans-serif;
    font-size: clamp(22px, 4.5vw, 30px);
    font-weight: 400;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    line-height: 1.1;
    margin: 0;
    color: #fff;
}

.site-modal__close {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    margin: -8px -8px 0 0;
    border: none;
    background: transparent;
    color: rgba(255, 255, 255, 0.55);
    font-size: 28px;
    line-height: 1;
    cursor: url("../img/cursor/hand.png") 7 4, pointer;
    border-radius: 4px;
    transition: color 0.2s, background 0.2s;
}

.site-modal__close:hover,
.site-modal__close:focus-visible {
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
    outline: none;
}

.site-modal__body {
    padding: 16px 24px 8px;
    font-size: 14px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.82);
}

.site-modal__body p {
    margin: 0 0 12px;
}

.site-modal__foot {
    padding: 16px 24px 22px;
    display: flex;
    gap: 10px;
}

.site-modal__btn {
    font-family: inherit;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 14px 18px;
    border-radius: 2px;
    cursor: url("../img/cursor/hand.png") 7 4, pointer;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.04);
    color: #fff;
    transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.site-modal__btn:hover,
.site-modal__btn:focus-visible {
    border-color: rgba(255, 255, 255, 0.45);
    background: rgba(255, 255, 255, 0.08);
    outline: none;
}

.site-modal__btn--block {
    width: 100%;
    justify-content: center;
}

/* Внешняя ссылка — тот же язык, что у блока «Адрес подключения» */
.leave-card {
    position: relative;
    width: 100%;
    max-width: 440px;
    padding: 36px 32px 32px;
    text-align: center;
    background: rgba(4, 4, 8, 0.92);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.65);
}

.leave-card__dismiss {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: transparent;
    color: rgba(255, 255, 255, 0.45);
    font-size: 26px;
    line-height: 1;
    cursor: url("../img/cursor/hand.png") 7 4, pointer;
    border-radius: 2px;
    transition: color 0.2s, background 0.2s;
}

.leave-card__dismiss:hover,
.leave-card__dismiss:focus-visible {
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
    outline: none;
}

.leave-card__eyebrow {
    margin: 0 0 12px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.38);
}

.leave-card__title {
    margin: 0 0 16px;
    font-family: "Bebas Neue", sans-serif;
    font-size: clamp(36px, 9vw, 52px);
    line-height: 0.92;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #fff;
}

.leave-card__lead {
    margin: 0 0 22px;
    font-size: 14px;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.55);
    max-width: 34ch;
    margin-left: auto;
    margin-right: auto;
}

.leave-card__target {
    margin-bottom: 28px;
}

.leave-card__url {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 16px 18px;
    margin: 0;
    font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
    font-size: clamp(13px, 2.4vw, 16px);
    line-height: 1.45;
    text-align: left;
    color: var(--accent);
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 2px;
    word-break: break-all;
}

.leave-card__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.leave-card__btn {
    margin-top: 0 !important;
    padding: 14px 28px;
    font-size: 11px;
}

.leave-card__btn--go {
    min-width: 140px;
}

.leave-card__btn--quiet {
    background: transparent;
    color: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.leave-card__btn--quiet:hover,
.leave-card__btn--quiet:focus-visible {
    border-color: rgba(255, 255, 255, 0.28);
    color: #fff;
    outline: none;
}

.leave-card .btn-primary:hover,
.leave-card .btn-primary:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(243, 243, 211, 0.2);
}

.site-toasts {
    position: fixed;
    right: 16px;
    bottom: 20px;
    z-index: 230;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: min(360px, calc(100vw - 32px));
    pointer-events: none;
}

.site-toast {
    pointer-events: auto;
    margin: 0;
    padding: 14px 18px;
    font-size: 13px;
    line-height: 1.45;
    font-weight: 600;
    color: #0a0a0a;
    background: var(--accent);
    border-radius: 6px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
    animation: site-toast-in 0.28s ease-out;
}

.site-toast--out {
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

@keyframes site-toast-in {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.site-footer {
    padding: 48px 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    margin-top: auto;
    background-color: var(--bg);
    position: relative;
    z-index: 2;
    box-shadow: 0 -32px 48px -12px rgba(0, 0, 0, 0.85);
}

.site-footer nav {
    margin-bottom: 20px;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px 24px;
    list-style: none;
}

.footer-nav a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
}

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

.site-footer p {
    font-size: 12px;
    opacity: 0.45;
}

.footer-extra {
    margin: 0 0 16px;
}

.footer-discord {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-discord:hover,
.footer-discord:focus-visible {
    color: #8ea8ff;
    outline: none;
}

.footer-discord i {
    font-size: 18px;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .hero-scroll-icon {
        animation: none;
    }

    .site-toast {
        animation: none;
    }
}

@media (max-width: 900px) {
    .nav-toggle {
        display: flex;
    }

    .site-nav {
        width: 100%;
        order: 3;
        flex-direction: column;
        align-items: stretch;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: max-height 0.35s ease, opacity 0.25s ease;
    }

    .site-header.nav-open .site-nav {
        max-height: 320px;
        opacity: 1;
    }

    .site-nav-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .page-donate .site-header {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        background: rgba(8, 8, 8, 0.95);
        padding: 16px 5%;
    }

    .page-donate main {
        padding-top: 72px;
    }
}
