:root {
  --bg: #08090b;
  --bg-soft: #0e1014;
  --panel: rgba(17, 19, 24, 0.78);
  --text: #f6f7f9;
  --muted: #9ea4b0;
  --line: rgba(255,255,255,.08);
  --red: #ff3b3f;
  --red-2: #bb151a;
  --gold: #ffaa00;
  --gold-soft: #ffd66b;
  --green: #67e28a;
  --radius: 24px;
  --radius-lg: 32px;
  --shadow: 0 24px 80px rgba(0,0,0,.42);
  --container: min(1200px, calc(100% - 40px));
  color-scheme: dark;
}

:root[data-theme="light"] {
  --bg: #f4f6f9;
  --bg-soft: #ffffff;
  --panel: rgba(255,255,255,.84);
  --text: #171a21;
  --muted: #656d7b;
  --line: rgba(20,24,32,.11);
  --shadow: 0 24px 70px rgba(31,38,52,.13);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body, input, button, textarea, select {
  font-family: 'Inter', ui-sans-serif, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'kern' 1, 'liga' 1;
}
body {
  margin: 0;
  color: var(--text);
  background: linear-gradient(180deg, #07080a 0%, #0a0c10 48%, #08090b 100%);
  text-rendering: optimizeLegibility;
  transition: color .25s ease, background .25s ease;
}
a { color: inherit; text-decoration: none; }
button { cursor: pointer; }
strong, h1, h2, h3 { font-weight: 800; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; color: #fff; }

.copyrights {
  transition: .5s;
}
.copyrights:hover {
  color: white;
  transition: .5s;
}

.page-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  opacity: .24;
  background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 48px 48px;
}
.container { width: var(--container); margin: 0 auto; }
.section { padding: 96px 0; position: relative; }
.section-head { max-width: 760px; margin: 0 auto 38px; text-align: center; }
.section-head h2, .apply-copy h2, .application-copy h2, .donate-head h2 {
  margin: 12px 0 16px;
  font-size: clamp(2rem, 4.5vw, 3.35rem);
  line-height: 1.02;
  letter-spacing: -.045em;
}
.section-head p, .section-copy, .hero-text, .mode-body p, .feature-point p, .donate-point p, .payment-note, .start-card p, .footer p, .application-note p {
  color: var(--muted);
  line-height: 1.72;
}
.eyebrow, .step-label, .dashboard-label {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #c8cdd6;
}

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(8,9,11,.96);
  border-bottom: 1px solid var(--line);
}
.nav-wrap { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.brand-controls { display:flex; align-items:center; gap:12px; flex:0 0 auto; }
.logo { display: inline-flex; gap: .08em; font-size: 1.45rem; font-weight: 900; letter-spacing: -.055em; }
.logo-kind { color: #fff; }
.logo-world { color: var(--red); }
.nav { display: flex; gap: 28px; }
.nav a { color: var(--muted); font-weight: 600; transition: .2s ease; }
.nav a:hover { color: #fff; }
.nav-actions { display: flex; gap: 10px; align-items: center; }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.theme-toggle {
  position:relative;
  width:58px;
  height:32px;
  flex:0 0 58px;
  padding:0;
  border:1px solid var(--line);
  border-radius:999px;
  background:rgba(255,255,255,.055);
  color:var(--muted);
  transition:border-color .2s ease, background .2s ease;
}
.theme-toggle:hover { border-color:rgba(255,255,255,.2); }
.theme-toggle:focus-visible,.language-picker select:focus-visible,.btn:focus-visible { outline:3px solid rgba(255,59,63,.28); outline-offset:2px; }
.theme-icon { position:absolute; top:3px; z-index:2; width:24px; height:24px; display:flex; align-items:center; justify-content:center; font-size:13px; line-height:1; transition:color .2s ease; }
.theme-icon-sun { left:3px; }
.theme-icon-moon { right:3px; font-size:15px; }
.theme-thumb { position:absolute; top:3px; left:3px; width:24px; height:24px; border-radius:50%; background:#fff; box-shadow:0 3px 10px rgba(0,0,0,.3); transition:transform .25s ease, background .25s ease; }
:root[data-theme="dark"] .theme-thumb { transform:translateX(26px); }
:root[data-theme="dark"] .theme-icon-moon { color:#fff; }
:root[data-theme="light"] .theme-icon-sun { color:#b56d00; }
.language-picker { position:relative; display:inline-flex; }
.language-picker::after { content:none; }
.language-picker select {
  width:70px;
  min-height:42px;
  padding:0;
  appearance:none;
  border:1px solid var(--line);
  border-radius:13px;
  background:rgba(255,255,255,.035);
  color:var(--text);
  font:inherit;
  font-size:.82rem;
  font-weight:800;
  letter-spacing:.04em;
  text-align:center;
  text-align-last:center;
  cursor:pointer;
}
.apply-short { display:none; }

.btn {
  min-height: 52px;
  padding: 0 21px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 15px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.035);
  color: #fff;
  font-weight: 700;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); border-color: rgba(255,255,255,.16); }
.btn-small { min-height: 42px; padding: 0 15px; font-size: .93rem; }
.btn-primary { background: linear-gradient(135deg, var(--red), #ff674d); border-color: rgba(255,83,76,.65); box-shadow: 0 16px 36px rgba(255,59,63,.22); }
.btn-ghost { background: rgba(255,255,255,.035); }
.btn-full { width: 100%; }

.glass-card, .stat-card {
  background: linear-gradient(180deg, rgba(29,31,36,.96), rgba(17,18,22,.96));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero { position: relative; min-height: calc(100vh - 82px); overflow: hidden; display: flex; align-items: center; }
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 77% 33%, rgba(255,59,63,.12), transparent 22%),
    linear-gradient(120deg, rgba(255,255,255,.018), transparent 42%);
}
.hero::after {
  content: '';
  position: absolute;
  width: 820px;
  height: 820px;
  right: -260px;
  top: -180px;
  border: 1px solid rgba(255,255,255,.035);
  border-radius: 50%;
  box-shadow: 0 0 0 80px rgba(255,255,255,.01), 0 0 0 160px rgba(255,255,255,.008);
}
.hero-glow { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .18; }
.hero-glow-red { width: 420px; height: 420px; background: var(--red); right: 6%; top: 12%; }
.hero-glow-blue { width: 320px; height: 320px; background: #445cff; left: 3%; bottom: 4%; opacity: .08; }
.hero-content { position: relative; z-index: 2; display: grid; grid-template-columns: 1.15fr .85fr; gap: 52px; align-items: center; padding: 92px 0; }
.hero h1 { margin: 15px 0 20px; font-size: clamp(3rem, 7vw, 5.8rem); line-height: .96; letter-spacing: -.065em; }
.hero-line { display:block; }
.hero-line-slogan { white-space:nowrap; font-size:.62em; letter-spacing:-.055em; }
.hero-slogan-together { display:inline; }
.hero-line-brand { white-space:nowrap; }
.hero-text { max-width: 720px; font-size: 1.08rem; }
.status-pill { display: inline-flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 999px; background: rgba(255,255,255,.055); border: 1px solid var(--line); font-size: .93rem; font-weight: 600; margin-bottom: 16px; }
.status-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 13px rgba(103,226,138,.8); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 30px; }
.hero-stats { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; }
.stat-card { border-radius: 18px; padding: 17px; }
.stat-card strong { display: block; font-size: 1.35rem; margin-bottom: 5px; }
.stat-card span { color: var(--muted); font-size: .9rem; }
.server-console { border-radius: var(--radius-lg); padding: 26px; }
.console-head { display: flex; align-items: center; justify-content: space-between; color: var(--muted); font-size: .86rem; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.console-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; }
.console-dot.red { background: var(--red); }.console-dot.gold { background: var(--gold); }.console-dot.green { background: var(--green); }
.console-logo { font-size: 2.6rem; font-weight: 900; letter-spacing: -.055em; margin: 22px 0; }.console-logo span { color:#fff; }.console-logo b { color:var(--red); }
.console-line { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 14px 0; border-top: 1px solid var(--line); }
.console-line span { color: var(--muted); }.console-line strong { text-align: right; font-size: .94rem; }.online-text { color: #a8f2be; }
.console-ip { margin: 18px 0; padding: 18px; border-radius: 18px; background: rgba(0,0,0,.22); border: 1px solid var(--line); }
.console-ip span { display:block; color:var(--muted); font-size:.75rem; letter-spacing:.14em; }.console-ip strong { display:block; margin-top:7px; font-size:1.35rem; }

.modes-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.mode-card { min-height: 490px; position: relative; overflow: hidden; border-radius: 28px; border: 1px solid var(--line); background: #101218; box-shadow: var(--shadow); }
.mode-card::after { content:''; position:absolute; inset:0; background: linear-gradient(180deg, transparent 20%, rgba(8,9,12,.45) 58%, #0b0d11 100%); }
.mode-scene { position:absolute; inset:0; overflow:hidden; background: radial-gradient(circle at 50% 22%, var(--scene-glow), transparent 42%), linear-gradient(180deg,var(--scene-top),#0b0d11 82%); }
.mode-gtm { --accent:#ff3b3f; --scene-glow:rgba(255,59,63,.3); --scene-top:#171019; }
.mode-prison { --accent:var(--gold); --scene-glow:rgba(255,170,0,.34); --scene-top:#181407; }
.mode-grief { --accent:#b748ff; --scene-glow:rgba(183,72,255,.28); --scene-top:#130f1b; }
.mode-orb { position:absolute; width:200px; height:200px; left:50%; top:16%; transform:translateX(-50%); border-radius:50%; background:var(--accent); filter:blur(62px); opacity:.15; }
.city-block { position:absolute; bottom:105px; width:21%; border:1px solid color-mix(in srgb,var(--accent) 38%, transparent); background:linear-gradient(180deg,color-mix(in srgb,var(--accent) 10%, transparent),rgba(0,0,0,.25)); box-shadow: inset 0 0 30px rgba(0,0,0,.25); }
.city-block::before { content:''; position:absolute; inset:18px 10px; background:repeating-linear-gradient(180deg, color-mix(in srgb,var(--accent) 52%, transparent) 0 3px, transparent 3px 18px); opacity:.38; }
.city-1 { left:8%; height:210px; }.city-2 { left:35%; height:290px; }.city-3 { right:8%; height:240px; }
.road-line { position:absolute; left:-5%; right:-5%; bottom:82px; height:2px; background:var(--accent); transform:rotate(-4deg); box-shadow:0 0 22px var(--accent); }
.crystal { position:absolute; bottom:98px; width:46px; background:linear-gradient(180deg,#fff7cb,var(--gold)); clip-path:polygon(50% 0,100% 32%,78% 100%,22% 100%,0 32%); box-shadow:0 0 35px rgba(255,170,0,.35); }
.crystal-1 { left:14%; height:150px; transform:rotate(-8deg); }.crystal-2 { left:44%; height:225px; width:60px; }.crystal-3 { right:13%; height:170px; transform:rotate(9deg); }
.rune-ring, .shield-ring { position:absolute; width:230px; height:230px; border:1px solid color-mix(in srgb,var(--accent) 52%, transparent); border-radius:50%; left:50%; top:13%; transform:translateX(-50%); box-shadow:0 0 35px color-mix(in srgb,var(--accent) 12%, transparent), inset 0 0 35px color-mix(in srgb,var(--accent) 10%, transparent); }
.rune-ring::before, .shield-ring::before { content:''; position:absolute; inset:28px; border:1px dashed color-mix(in srgb,var(--accent) 42%, transparent); border-radius:50%; }
.fortress { position:absolute; bottom:100px; border:1px solid color-mix(in srgb,var(--accent) 34%, transparent); background:linear-gradient(180deg,color-mix(in srgb,var(--accent) 11%, transparent),#101015); }
.tower-left { left:7%; width:27%; height:190px; }.tower-center { left:34%; width:32%; height:270px; }.tower-right { right:7%; width:27%; height:210px; }
.fortress::before { content:''; position:absolute; top:-22px; left:-1px; right:-1px; height:22px; background:repeating-linear-gradient(90deg,var(--accent) 0 18px,transparent 18px 29px); opacity:.24; }
.mode-body { position:absolute; z-index:2; left:0; right:0; bottom:0; padding:27px; }
.mode-index { position:absolute; right:27px; top:-28px; font-size:4rem; font-weight:900; color:rgba(255,255,255,.055); letter-spacing:-.05em; }
.mode-kicker { color:var(--accent); font-size:.78rem; font-weight:800; letter-spacing:.15em; text-transform:uppercase; }
.mode-body h3 { margin:8px 0 10px; font-size:2rem; letter-spacing:-.045em; }
.mode-tags { display:flex; flex-wrap:wrap; gap:8px; margin-top:18px; }.mode-tags span { padding:7px 10px; border-radius:999px; background:rgba(255,255,255,.05); border:1px solid var(--line); font-size:.82rem; color:#dfe3eb; }

.apply-layout, .application-layout, .donate-layout { display:grid; grid-template-columns:1fr 1fr; gap:28px; align-items:center; }
.feature-points { display:grid; gap:18px; margin-top:26px; }.feature-point { display:grid; grid-template-columns:52px 1fr; gap:15px; }.feature-point > span { width:52px; height:52px; border-radius:16px; display:flex; align-items:center; justify-content:center; background:rgba(255,59,63,.1); border:1px solid rgba(255,59,63,.2); color:var(--red); font-weight:800; }.feature-point strong, .donate-point strong { display:block; margin-bottom:5px; }
.apply-dashboard { padding:30px; border-radius:var(--radius-lg); }.dashboard-label { margin-bottom:22px; }.dashboard-step { display:grid; grid-template-columns:44px 1fr; gap:14px; align-items:center; opacity:.72; }.dashboard-step > span { width:44px; height:44px; display:flex; align-items:center; justify-content:center; border-radius:14px; background:rgba(255,255,255,.05); border:1px solid var(--line); font-weight:800; }.dashboard-step.active { opacity:1; }.dashboard-step.active > span { background:rgba(255,59,63,.1); color:var(--red); border-color:rgba(255,59,63,.25); }.dashboard-step small { display:block; color:var(--muted); margin-top:4px; }.dashboard-line { width:1px; height:30px; background:var(--line); margin:5px 0 5px 22px; }.dashboard-status { margin-top:24px; padding:14px 16px; border-radius:15px; background:rgba(103,226,138,.06); border:1px solid rgba(103,226,138,.14); color:#b7efc7; }.dashboard-status i { display:inline-block; width:8px; height:8px; border-radius:50%; background:var(--green); margin-right:8px; }
.application-copy { align-self:start; padding-top:18px; }.application-note { margin-top:24px; padding:22px; border-radius:20px; }.application-form, .donate-card, .donate-info { padding:28px; border-radius:var(--radius-lg); }

.card-head-row { display:flex; justify-content:space-between; align-items:center; gap:14px; margin-bottom:20px; }.secure-badge { padding:8px 12px; border-radius:999px; background:rgba(103,226,138,.08); border:1px solid rgba(103,226,138,.16); color:#b9efc8; font-size:.85rem; font-weight:700; }
.form-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; align-items:start; }.field { display:block; margin-bottom:17px; }.field-label { display:block; min-height:20px; margin-bottom:9px; font-weight:700; font-size:.92rem; line-height:20px; }.field input, .field textarea, .field select, .input-wrap, .amount-input-wrap { width:100%; border-radius:15px; border:1px solid var(--line); background:rgba(0,0,0,.22); color:#fff; }.field input, .field textarea, .field select { min-height:54px; padding:15px 16px; outline:none; }.field input:focus, .field textarea:focus, .field select:focus, .input-wrap:focus-within, .amount-input-wrap:focus-within { border-color:rgba(255,255,255,.18); box-shadow:0 0 0 3px rgba(255,255,255,.025); }.field textarea { resize:vertical; min-height:135px; }.field select { appearance:none; background-image:linear-gradient(45deg,transparent 50%,#c6cbd5 50%),linear-gradient(135deg,#c6cbd5 50%,transparent 50%); background-position:calc(100% - 22px) 23px,calc(100% - 15px) 23px; background-size:7px 7px; background-repeat:no-repeat; }.input-wrap { display:flex; align-items:center; padding:0 15px; }.input-wrap input { border:0; background:transparent; padding-left:10px; }.input-icon { color:var(--red); font-weight:800; }.amount-input-wrap { display:flex; align-items:center; padding-right:15px; }.amount-input-wrap input { flex:1; border:0; background:transparent; min-width:0; }.currency { color:var(--muted); font-weight:700; }.field-hint { display:block; color:var(--muted); margin-top:7px; font-size:.83rem; }
.contact-field { min-width:0; }
.messenger-picker { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:6px; min-height:54px; padding:5px; border:1px solid var(--line); border-radius:15px; background:rgba(0,0,0,.22); }
.messenger-option { position:relative; min-width:0; cursor:pointer; }
.messenger-option input { position:absolute; width:1px; height:1px; min-height:0; padding:0; opacity:0; pointer-events:none; }
.messenger-option span { display:flex; min-height:42px; align-items:center; justify-content:center; border-radius:10px; color:var(--muted); font-size:.9rem; font-weight:750; transition:background .2s ease,color .2s ease,box-shadow .2s ease; }
.messenger-option input:checked + span { background:rgba(255,59,63,.13); color:var(--text); box-shadow:inset 0 0 0 1px rgba(255,59,63,.28); }
.messenger-option input:focus-visible + span { outline:3px solid rgba(255,59,63,.28); outline-offset:2px; }
:root[data-theme="dark"] .field select option { background:#15181e; color:#f6f7f9; }
:root[data-theme="dark"] .field select option:disabled { color:#9ea4b0; }
.amount-presets { display:flex; flex-wrap:wrap; gap:9px; margin-top:12px; }.preset { min-height:40px; padding:0 13px; border-radius:12px; border:1px solid var(--line); background:rgba(255,255,255,.035); color:#fff; font-weight:700; }.preset.active { background:rgba(255,59,63,.12); border-color:rgba(255,59,63,.3); }.wallet-preview { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:17px 18px; border-radius:18px; background:rgba(255,255,255,.03); border:1px solid var(--line); margin-bottom:17px; }.wallet-preview span,.exchange-note { color:var(--muted); }.wallet-preview strong { font-size:1.8rem; }.consent-row { display:flex; align-items:flex-start; gap:11px; margin:17px 0; color:#dfe3ea; }.consent-row input { width:18px; height:18px; margin-top:2px; accent-color:var(--red); }.form-error,.form-success { min-height:22px; margin-bottom:8px; font-size:.92rem; }.form-error { color:#ff9d9f; }.form-success { color:#a7edbb; }.pay-button { width:100%; justify-content:space-between; }.payment-note { margin:14px 0 0; font-size:.88rem; }
.balance-logo { font-size:2.6rem; font-weight:900; letter-spacing:-.055em; margin:12px 0; }.balance-logo span { color:#fff; }.balance-logo b { color:var(--red); }.donate-points { display:grid; gap:18px; margin-top:25px; }.donate-point { display:grid; grid-template-columns:42px 1fr; gap:13px; }.point-icon { width:42px; height:42px; border-radius:13px; display:flex; align-items:center; justify-content:center; background:rgba(255,255,255,.05); border:1px solid var(--line); color:var(--red); font-weight:800; }

.start-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; }.start-card { padding:25px; border-radius:24px; }.start-card h3 { margin:10px 0 8px; font-size:1.25rem; }.start-card p { margin-bottom:0; }
.footer { padding:26px 0 40px; border-top:1px solid var(--line); }.footer-wrap { display:flex; align-items:center; justify-content:space-between; gap:20px; }.footer-logo { margin-bottom:8px; }.footer-meta { display:grid; gap:8px; color:var(--muted); text-align:right; }.footer-meta [data-i18n="footer.disclaimer"] { max-width:460px; justify-self:end; font-size:.72rem; line-height:1.35; }
.toast { position:fixed; left:50%; bottom:24px; transform:translateX(-50%) translateY(18px); opacity:0; pointer-events:none; padding:13px 17px; border-radius:13px; background:rgba(20,22,28,.96); border:1px solid var(--line); box-shadow:var(--shadow); transition:.22s ease; z-index:100; }.toast.show { opacity:1; transform:translateX(-50%) translateY(0); }.spinner { width:17px; height:17px; border:2px solid rgba(255,255,255,.25); border-top-color:#fff; border-radius:50%; animation:spin 1s linear infinite; }@keyframes spin{to{transform:rotate(360deg)}}

.payment-result-page { min-height:100vh; display:grid; place-items:center; }.payment-result-wrap { width:min(680px,calc(100% - 32px)); }.result-logo { justify-content:center; display:flex; margin-bottom:20px; }.payment-result-card { padding:36px; border-radius:var(--radius-lg); background:linear-gradient(180deg,rgba(255,255,255,.05),rgba(255,255,255,.02)); border:1px solid var(--line); box-shadow:var(--shadow); text-align:center; }.result-icon { width:70px; height:70px; border-radius:50%; background:rgba(103,226,138,.1); color:#baf3ca; display:inline-flex; align-items:center; justify-content:center; font-size:2rem; font-weight:900; }.result-actions { justify-content:center; }.result-demo { margin:18px 0; padding:14px 16px; border-radius:16px; background:rgba(255,255,255,.03); color:var(--muted); }

/* Composite inputs use the wrapper as the only visible background. */
.input-wrap,.amount-input-wrap { height:56px; min-height:56px; overflow:hidden; }
.input-wrap > input,.amount-input-wrap > input {
  flex:1;
  width:auto;
  min-width:0;
  min-height:0;
  height:54px;
  padding-top:0;
  padding-bottom:0;
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
}
.input-wrap > input:focus,.amount-input-wrap > input:focus { box-shadow:none; }
.amount-input-wrap > input { padding-left:16px; }
.currency { flex:0 0 auto; white-space:nowrap; }
.cf-turnstile { width:100%; margin:4px 0 18px; }

:root[data-theme="light"] body { background:linear-gradient(180deg,#fafbfd 0%,#f3f5f8 48%,#eef1f5 100%); }
:root[data-theme="light"] code,
:root[data-theme="light"] .logo-kind,
:root[data-theme="light"] .nav a:hover,
:root[data-theme="light"] .copyrights:hover,
:root[data-theme="light"] .console-logo span,
:root[data-theme="light"] .balance-logo span { color:var(--text); }
:root[data-theme="light"] .page-grid { background-image:linear-gradient(rgba(25,30,40,.045) 1px,transparent 1px),linear-gradient(90deg,rgba(25,30,40,.045) 1px,transparent 1px); }
:root[data-theme="light"] .header { background:rgba(250,251,253,.94); backdrop-filter:blur(16px); }
:root[data-theme="light"] .theme-toggle,
:root[data-theme="light"] .language-picker select,
:root[data-theme="light"] .btn-ghost { background:rgba(17,22,32,.045); }
:root[data-theme="light"] .theme-toggle:hover { border-color:rgba(17,22,32,.24); }
:root[data-theme="light"] .theme-thumb { background:#fff; box-shadow:0 3px 11px rgba(39,46,60,.2); }
:root[data-theme="light"] .btn:not(.btn-primary) { color:var(--text); }
:root[data-theme="light"] .btn:hover { border-color:rgba(17,22,32,.22); }
:root[data-theme="light"] .glass-card,
:root[data-theme="light"] .stat-card { background:linear-gradient(180deg,rgba(255,255,255,.98),rgba(247,249,252,.97)); }
:root[data-theme="light"] .hero::before { background:radial-gradient(circle at 77% 33%,rgba(255,59,63,.1),transparent 22%),linear-gradient(120deg,rgba(16,22,32,.025),transparent 42%); }
:root[data-theme="light"] .hero::after { border-color:rgba(18,24,34,.055); box-shadow:0 0 0 80px rgba(18,24,34,.015),0 0 0 160px rgba(18,24,34,.01); }
:root[data-theme="light"] .status-pill,
:root[data-theme="light"] .dashboard-step > span,
:root[data-theme="light"] .wallet-preview,
:root[data-theme="light"] .point-icon { background:rgba(17,22,32,.04); }
:root[data-theme="light"] .console-ip,
:root[data-theme="light"] .field input,
:root[data-theme="light"] .field textarea,
:root[data-theme="light"] .field select,
:root[data-theme="light"] .input-wrap,
:root[data-theme="light"] .amount-input-wrap { background-color:#fff; color:var(--text); }
:root[data-theme="light"] .messenger-picker { background:#fff; }
:root[data-theme="light"] .field > input:focus,
:root[data-theme="light"] .field > textarea:focus,
:root[data-theme="light"] .field > select:focus,
:root[data-theme="light"] .input-wrap:focus-within,
:root[data-theme="light"] .amount-input-wrap:focus-within {
  border-color:#4a5261;
  box-shadow:0 0 0 3px rgba(35,41,52,.12);
}
:root[data-theme="light"] .eyebrow,
:root[data-theme="light"] .step-label,
:root[data-theme="light"] .dashboard-label { color:#707887; }
:root[data-theme="light"] .online-text,
:root[data-theme="light"] .dashboard-status,
:root[data-theme="light"] .secure-badge { color:#26753e; }
:root[data-theme="light"] .consent-row { color:#303642; }
:root[data-theme="light"] .preset { background:rgba(17,22,32,.04); color:var(--text); }
:root[data-theme="light"] .toast { background:rgba(255,255,255,.97); }
:root[data-theme="light"] .mode-card { background:#fff; color:var(--text); }
:root[data-theme="light"] .mode-card::after { background:linear-gradient(180deg,transparent 14%,rgba(255,255,255,.28) 50%,rgba(255,255,255,.98) 100%); }
:root[data-theme="light"] .mode-scene { background:radial-gradient(circle at 50% 22%,var(--scene-glow),transparent 44%),linear-gradient(180deg,color-mix(in srgb,var(--accent) 9%,#fff),#eef1f5 82%); }
:root[data-theme="light"] .mode-orb { opacity:.1; }
:root[data-theme="light"] .city-block { background:linear-gradient(180deg,color-mix(in srgb,var(--accent) 10%,#fff),rgba(255,255,255,.62)); box-shadow:inset 0 0 30px rgba(42,48,60,.08); }
:root[data-theme="light"] .fortress { background:linear-gradient(180deg,color-mix(in srgb,var(--accent) 10%,#fff),#e4e7ed); }
:root[data-theme="light"] .mode-index { color:rgba(25,29,38,.07); }
:root[data-theme="light"] .mode-card .mode-body p { color:var(--muted); }
:root[data-theme="light"] .mode-card .mode-tags span { background:rgba(24,29,39,.045); color:#343a47; }
:root[data-theme="light"] .mode-prison .mode-kicker { color:#9a6800; }
:root[data-theme="light"] .field select {
  background-color:#fff;
  background-image:linear-gradient(45deg,transparent 50%,#707887 50%),linear-gradient(135deg,#707887 50%,transparent 50%);
  background-position:calc(100% - 22px) 23px,calc(100% - 15px) 23px;
  background-size:7px 7px;
  background-repeat:no-repeat;
}
:root[data-theme="light"] .field select option { background:#fff; color:#171a21; }
:root[data-theme="light"] .field select option:disabled { color:#707887; }

@media (max-width:1080px) {
  .nav { display:none; }
  .hero-content,.modes-grid,.apply-layout,.application-layout,.donate-layout,.start-grid { grid-template-columns:1fr; }
  .hero-stats { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .server-console { width:100%; max-width:620px; }
  .donate-layout { align-items:stretch; }
}
@media (max-width:720px) {
  :root { --container:min(100% - 28px,1200px); }
  .section { padding:74px 0; }
  .nav-wrap { min-height:74px; }
  .nav-actions { gap:7px; }
  .nav-actions .btn-ghost { display:none; }
  .hero { min-height:auto; }
  .hero-content { padding:66px 0 72px; }
  .hero h1 { font-size:clamp(2.55rem,13vw,4rem); }
  .hero-stats,.form-grid { grid-template-columns:1fr; }
  .hero-actions,.card-head-row,.footer-wrap { flex-direction:column; align-items:stretch; }
  .secure-badge { align-self:flex-start; }
  .wallet-preview { flex-direction:column; align-items:flex-start; }
  .apply-dashboard { padding:0; }
  .amount-presets { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); }
  .amount-presets .preset { width:100%; padding:0 8px; }
  .amount-presets .preset:last-child { grid-column:1 / -1; }
  .field input,.field textarea,.field select { font-size:16px; }
  .pay-button { flex-wrap:wrap; }
  .toast { width:calc(100% - 28px); text-align:center; }
  .footer-meta { text-align:left; }
  .footer-meta [data-i18n="footer.disclaimer"] { justify-self:start; }
  .mode-card { min-height:450px; }
  .application-form,.donate-card,.donate-info,.server-console { padding:22px; }
}
@media (max-width:480px) {
  :root { --container:min(100% - 20px,1200px); --radius-lg:24px; }
  .section { padding:58px 0; }
  .nav-wrap { min-height:66px; gap:6px; }
  .brand-controls { gap:7px; }
  .nav-actions { gap:6px; }
  .nav-actions .btn { min-height:38px; padding:0 10px; font-size:.78rem; border-radius:12px; }
  .logo { font-size:1.15rem; }
  .theme-toggle { width:50px; height:30px; flex-basis:50px; }
  .theme-thumb { width:22px; height:22px; }
  :root[data-theme="dark"] .theme-thumb { transform:translateX(20px); }
  .theme-icon { top:3px; width:22px; height:22px; }
  .theme-icon-sun { left:3px; }
  .theme-icon-moon { right:3px; }
  .language-picker select { width:56px; min-height:38px; padding:0; border-radius:12px; font-size:.75rem; }
  .apply-full { display:none; }
  .apply-short { display:inline; }
  .hero-content { padding:52px 0 58px; }
  .hero h1 { font-size:clamp(2.25rem,12vw,3.25rem); }
  .hero-line-slogan { font-size:.78em; line-height:1.02; }
  .hero-slogan-together { display:block; }
  .hero-stats { gap:10px; }
  .stat-card { padding:16px 12px; }
  .application-form,.donate-card,.donate-info,.server-console { padding:18px; }
  .mode-card { min-height:410px; }
  .mode-body { padding:21px; }
  .feature-point { grid-template-columns:44px 1fr; gap:12px; }
  .feature-point > span { width:44px; height:44px; border-radius:13px; }
  .payment-result-card { padding:26px 18px; }
}
@media (prefers-reduced-motion:reduce) {
  *,*::before,*::after { scroll-behavior:auto !important; transition-duration:.01ms !important; animation-duration:.01ms !important; animation-iteration-count:1 !important; }
}
@media (max-width:355px) {
  .cf-turnstile { width:300px; transform:scale(.88); transform-origin:left top; margin-bottom:10px; }
}
