/* ------------------------------------------------------------------ tokens */
:root {
  --bg: #0a0c11;
  --bg-2: #10131a;
  --panel: rgba(20, 24, 33, .82);
  --panel-solid: #151922;
  --line: #262b37;
  --line-2: #343a48;
  --text: #ece5d3;
  --muted: #9ba1ad;
  --gold: #d9a84e;
  --gold-2: #f5d690;
  --gold-3: #8a5a1c;
  --red: #c0353c;
  --green: #52c27a;
  --shinsoo: #e0484e;
  --chunjo: #e8bf3a;
  --jinno: #4b8fe8;
  --radius: 14px;
  --shadow: 0 18px 50px rgba(0, 0, 0, .45);
  --font-title: "Cinzel", Georgia, serif;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(192, 53, 60, .10), transparent 60%),
    radial-gradient(900px 500px at 0% 20%, rgba(217, 168, 78, .07), transparent 60%),
    var(--bg);
  color: var(--text);
  font: 15px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
h1, h2, h3 { font-family: var(--font-title); font-weight: 700; letter-spacing: .02em; line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(26px, 4vw, 38px); }
h2 { font-size: 22px; }
h3 { font-size: 17px; }
p { margin: 0 0 1em; }
code { background: #0d1016; border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; font-size: .9em; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.main { flex: 1; padding-block: 36px 64px; }

/* ------------------------------------------------------------------ botones */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 22px; border-radius: 10px; border: 1px solid transparent;
  font: 600 14px/1 var(--font); letter-spacing: .02em; cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-gold {
  color: #1b1307;
  background: linear-gradient(180deg, var(--gold-2), var(--gold) 55%, #b9832f);
  box-shadow: 0 6px 24px rgba(217, 168, 78, .28), inset 0 1px 0 rgba(255, 255, 255, .5);
}
.btn-gold:hover { box-shadow: 0 10px 34px rgba(217, 168, 78, .42), inset 0 1px 0 rgba(255, 255, 255, .5); }
.btn-ghost { color: var(--text); border-color: var(--line-2); background: rgba(255, 255, 255, .03); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-2); }
.btn-danger { color: #fff; background: #8f2329; border-color: #b8323a; }
.btn-sm { padding: 8px 14px; font-size: 13px; }
.btn-lg { padding: 15px 30px; font-size: 15px; }
.btn-block { width: 100%; }
.link { color: var(--gold); font-weight: 600; font-size: 14px; }
.link:hover { color: var(--gold-2); }

/* ------------------------------------------------------------------ cabecera */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 12, 17, .82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.topbar-in { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; font: 900 22px/1 var(--font-title); letter-spacing: .08em; }
.brand span { background: linear-gradient(180deg, var(--gold-2), var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand-sm { font-size: 17px; margin-bottom: 8px; }
.menu { display: flex; align-items: center; gap: 4px; }
.menu > a:not(.btn) { padding: 8px 14px; border-radius: 8px; color: var(--muted); font-weight: 500; transition: color .15s, background .15s; }
.menu > a:not(.btn):hover { color: var(--text); background: rgba(255, 255, 255, .04); }
.menu > a.on { color: var(--gold-2); }
.menu .btn { margin-left: 10px; }
.menu-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.menu-toggle span { display: block; width: 22px; height: 2px; margin: 5px 0; background: var(--text); border-radius: 2px; }

.statusbar { border-bottom: 1px solid var(--line); background: var(--bg-2); font-size: 13px; color: var(--muted); }
.statusbar-in { display: flex; gap: 26px; height: 38px; align-items: center; }
.statusbar b { color: var(--text); }
.srv { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.srv.up { color: var(--green); }
.srv.down { color: var(--red); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 3px color-mix(in srgb, currentColor 25%, transparent); }
.srv.up .dot { animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 6px color-mix(in srgb, currentColor 0%, transparent); } }

/* ------------------------------------------------------------------ hero */
.hero { position: relative; overflow: hidden; padding: 96px 0 150px; text-align: center; isolation: isolate; }
.hero-sky {
  position: absolute; inset: 0; z-index: -3;
  background:
    radial-gradient(700px 380px at 50% 32%, rgba(217, 168, 78, .22), transparent 70%),
    radial-gradient(900px 500px at 50% 120%, rgba(192, 53, 60, .35), transparent 70%),
    linear-gradient(180deg, #0c0f16 0%, #1a1418 55%, #241417 100%);
}
.hero-mountains { position: absolute; left: 0; bottom: 0; width: 100%; height: 230px; z-index: -1; }
.hero-mountains .m1 { fill: #1a1519; }
.hero-mountains .m2 { fill: #120f13; }
.hero-mountains .m3 { fill: var(--bg); }
.hero-embers { position: absolute; inset: 0; z-index: -2; pointer-events: none; }
.hero-embers i {
  position: absolute; bottom: -10px; width: 4px; height: 4px; border-radius: 50%;
  background: var(--gold-2); box-shadow: 0 0 10px 2px rgba(245, 160, 80, .8);
  animation: rise 9s linear infinite; opacity: 0;
}
.hero-embers i:nth-child(1)  { left: 8%;  animation-delay: 0s; }
.hero-embers i:nth-child(2)  { left: 18%; animation-delay: 3.2s; animation-duration: 11s; }
.hero-embers i:nth-child(3)  { left: 29%; animation-delay: 6s; }
.hero-embers i:nth-child(4)  { left: 41%; animation-delay: 1.4s; animation-duration: 12s; }
.hero-embers i:nth-child(5)  { left: 52%; animation-delay: 4.6s; }
.hero-embers i:nth-child(6)  { left: 63%; animation-delay: 2.2s; animation-duration: 10s; }
.hero-embers i:nth-child(7)  { left: 72%; animation-delay: 7s; }
.hero-embers i:nth-child(8)  { left: 81%; animation-delay: .8s; animation-duration: 13s; }
.hero-embers i:nth-child(9)  { left: 90%; animation-delay: 5.4s; }
.hero-embers i:nth-child(10) { left: 96%; animation-delay: 8s; animation-duration: 10s; }
@keyframes rise {
  0% { transform: translate(0, 0) scale(1); opacity: 0; }
  10% { opacity: .9; }
  100% { transform: translate(40px, -520px) scale(.3); opacity: 0; }
}
.hero-in { position: relative; }
.hero-emblem { filter: drop-shadow(0 8px 30px rgba(217, 168, 78, .45)); animation: float 6s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-8px); } }
.eyebrow { text-transform: uppercase; letter-spacing: .32em; font-size: 12px; color: var(--gold); margin: 18px 0 6px; font-weight: 600; }
.hero-title {
  font: 900 clamp(64px, 12vw, 128px)/1 var(--font-title); letter-spacing: .12em; margin: 0 0 14px;
  background: linear-gradient(180deg, #fff3cf 0%, var(--gold-2) 35%, var(--gold) 65%, var(--gold-3) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 6px 24px rgba(0, 0, 0, .6));
}
.hero-sub { max-width: 620px; margin: 0 auto 30px; color: #d5ccb8; font-size: 17px; }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.stats {
  position: relative; z-index: 2; margin-top: -78px;
  display: grid; grid-template-columns: repeat(5, 1fr);
  background: var(--panel); backdrop-filter: blur(10px);
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
}
.stat { padding: 20px 22px; display: flex; flex-direction: column; gap: 4px; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat-label { font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.stat-value { font: 700 26px/1.2 var(--font-title); }
.stat-value.srv { font: 600 18px/1.6 var(--font); }

/* ------------------------------------------------------------------ paneles */
.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
}
.panel-head, .section-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 16px; }
.panel-head h3, .section-head h2 { margin: 0; }
.empty { color: var(--muted); text-align: center; padding: 36px 16px; margin: 0; }
.page-head { margin-bottom: 26px; }
.page-head p { margin: 0; }
.page-head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.actions form { margin: 0; }

/* ------------------------------------------------------------------ inicio */
.home .main { padding-top: 48px; }
.home-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; align-items: start; }
.sidebar { display: grid; gap: 20px; }

.news-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.news-card {
  display: flex; flex-direction: column; gap: 8px;
  padding: 20px; border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, .025), transparent), var(--panel-solid);
  border: 1px solid var(--line); transition: border-color .2s, transform .2s;
}
.news-card:hover { border-color: var(--gold); transform: translateY(-2px); }
.news-card h3 { margin: 4px 0 0; }
.news-card p { color: var(--muted); margin: 0; flex: 1; font-size: 14px; }
.news-card time { font-size: 12px; color: var(--muted); }
.news-card-big {
  grid-column: 1 / -1; padding: 30px;
  background:
    radial-gradient(500px 220px at 100% 0%, rgba(217, 168, 78, .14), transparent 70%),
    linear-gradient(180deg, rgba(255, 255, 255, .03), transparent), var(--panel-solid);
}
.news-card-big h3 { font-size: 24px; }
.news-card-big p { font-size: 15px; }

.tag {
  align-self: flex-start; display: inline-block;
  padding: 3px 10px; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  background: rgba(217, 168, 78, .14); color: var(--gold-2); border: 1px solid rgba(217, 168, 78, .3);
}
.tag-evento { background: rgba(82, 194, 122, .12); color: #8de0ab; border-color: rgba(82, 194, 122, .3); }
.tag-actualizacion { background: rgba(75, 143, 232, .13); color: #9cc2f5; border-color: rgba(75, 143, 232, .32); }
.tag-mantenimiento { background: rgba(192, 53, 60, .14); color: #f19aa0; border-color: rgba(192, 53, 60, .35); }

.features { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px; }
.feature { padding: 22px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--bg-2); }
.feature h3 { margin: 12px 0 6px; font-size: 16px; }
.feature p { margin: 0; color: var(--muted); font-size: 14px; }
.f-ico {
  display: block; width: 42px; height: 42px; border-radius: 12px;
  background-color: rgba(217, 168, 78, .12); border: 1px solid rgba(217, 168, 78, .3);
  background-repeat: no-repeat; background-position: center; background-size: 22px;
}
.f-shield { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f5d690' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E"); }
.f-dice { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f5d690' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 5 5 19'/%3E%3Ccircle cx='6.5' cy='6.5' r='2.5'/%3E%3Ccircle cx='17.5' cy='17.5' r='2.5'/%3E%3C/svg%3E"); }
.f-gift { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f5d690' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='8' width='18' height='4' rx='1'/%3E%3Cpath d='M12 8v13M19 12v7a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2v-7M7.5 8a2.5 2.5 0 0 1 0-5C10 3 12 8 12 8s2-5 4.5-5a2.5 2.5 0 0 1 0 5'/%3E%3C/svg%3E"); }
.f-eye { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f5d690' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12s3.5-7 10-7 10 7 10 7-3.5 7-10 7S2 12 2 12z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E"); }

.mini-rank { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.mini-rank li { display: flex; align-items: center; gap: 12px; padding: 9px 8px; border-radius: 10px; }
.mini-rank li:hover { background: rgba(255, 255, 255, .03); }
.who { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.who b { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.who small { color: var(--muted); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lv { font: 700 14px var(--font-title); color: var(--gold-2); white-space: nowrap; }

.pos {
  display: inline-grid; place-items: center; width: 28px; height: 28px; flex: none;
  border-radius: 8px; font: 700 13px var(--font); color: var(--muted);
  background: #1b2029; border: 1px solid var(--line);
}
.pos-1 { color: #2a1c05; background: linear-gradient(180deg, #ffe7a3, #d9a84e); border-color: #f5d690; }
.pos-2 { color: #1e2228; background: linear-gradient(180deg, #f0f3f7, #aab3bf); border-color: #dde3ea; }
.pos-3 { color: #2a1508; background: linear-gradient(180deg, #f2b98a, #b06a38); border-color: #e4a676; }

.cls {
  display: inline-grid; place-items: center; width: 22px; height: 22px; flex: none; margin-right: 8px; vertical-align: -6px;
  border-radius: 6px; font: 700 11px var(--font); color: #fff; transform: rotate(45deg) scale(.82);
}
.cls::before { transform: rotate(-45deg); }
.mini-rank .cls { margin-right: 0; }
.cls-guerrero { background: #b8473a; } .cls-guerrero::before { content: "G"; }
.cls-ninja { background: #3f8f5a; } .cls-ninja::before { content: "N"; }
.cls-sura { background: #6a4bb0; } .cls-sura::before { content: "S"; }
.cls-chaman { background: #2f7fb8; } .cls-chaman::before { content: "C"; }

.emp { display: inline-flex; align-items: center; gap: 7px; }
.emp-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--muted); display: inline-block; }
.emp-shinsoo .emp-dot { background: var(--shinsoo); }
.emp-chunjo .emp-dot { background: var(--chunjo); }
.emp-jinno .emp-dot { background: var(--jinno); }

.panel-cta {
  text-align: center;
  background: radial-gradient(300px 160px at 50% 0%, rgba(217, 168, 78, .16), transparent 70%), var(--panel);
}
.panel-cta p { color: var(--muted); font-size: 14px; }

/* ------------------------------------------------------------------ rankings */
.filters { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-bottom: 18px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; padding: 7px 14px; border-radius: 999px;
  border: 1px solid var(--line-2); background: var(--bg-2); color: var(--muted); font-size: 13px; font-weight: 500;
}
.chip .cls { width: 18px; height: 18px; font-size: 10px; margin-right: 8px; vertical-align: 0; }
.chip .emp-dot { margin-right: 7px; }
.chip:hover { color: var(--text); border-color: var(--gold-3); }
.chip.on { color: #1b1307; background: var(--gold); border-color: var(--gold); }

.table-panel { padding: 6px; }
.table-scroll { overflow-x: auto; }
table.rank { width: 100%; border-collapse: collapse; font-size: 14px; }
.rank th {
  text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted);
  font-weight: 600; padding: 14px 16px; border-bottom: 1px solid var(--line); white-space: nowrap;
}
.rank td { padding: 12px 16px; border-bottom: 1px solid rgba(38, 43, 55, .6); white-space: nowrap; }
.rank tbody tr:last-child td { border-bottom: 0; }
.rank tbody tr:hover td { background: rgba(255, 255, 255, .025); }
.rank tr.podium td { background: rgba(217, 168, 78, .04); }
.rank .name { font-weight: 600; }
.rank .r { text-align: right; }
.pager { display: flex; justify-content: center; align-items: center; gap: 22px; margin-top: 22px; color: var(--muted); font-size: 14px; }
.pager a { color: var(--gold); font-weight: 600; }

/* ------------------------------------------------------------------ noticias */
.news-list { display: grid; gap: 14px; }
.news-row {
  display: grid; grid-template-columns: 76px 1fr; gap: 22px; align-items: start;
  padding: 22px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--panel);
  transition: border-color .2s;
}
.news-row:hover { border-color: var(--gold); }
.news-row h3 { margin: 8px 0 6px; font-size: 19px; }
.news-row p { margin: 0; }
.news-date {
  display: grid; place-items: center; padding: 12px 0; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--line);
  color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .1em;
}
.news-date b { font: 700 26px/1 var(--font-title); color: var(--gold-2); }
.article { max-width: 820px; margin: 0 auto; padding: 36px; }
.article .tag { margin: 20px 0 10px; }
.article-body { margin-top: 24px; font-size: 16px; line-height: 1.75; color: #ddd5c3; }

/* ------------------------------------------------------------------ formularios */
.auth-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; align-items: start; }
.auth-card { padding: 34px; }
.auth-narrow { max-width: 440px; margin: 0 auto; }
.form { display: grid; gap: 18px; margin-top: 22px; }
.field { display: grid; gap: 7px; align-content: start; }
.field > span { font-weight: 600; font-size: 14px; }
.field small { color: var(--muted); font-size: 12.5px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field-row .field-grow { grid-column: span 1; }
input:not([type=checkbox]), select, textarea {
  width: 100%; padding: 12px 14px; border-radius: 10px;
  border: 1px solid var(--line-2); background: #0c0f15; color: var(--text);
  font: 15px var(--font); transition: border-color .15s, box-shadow .15s;
}
textarea { resize: vertical; line-height: 1.6; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(217, 168, 78, .18); }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--muted); cursor: pointer; }
.check input { margin-top: 3px; accent-color: var(--gold); width: 17px; height: 17px; flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.steps { display: grid; gap: 14px; margin-bottom: 18px; }
.step { display: flex; gap: 16px; padding: 18px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--bg-2); }
.step > span {
  display: grid; place-items: center; width: 36px; height: 36px; flex: none; border-radius: 50%;
  font: 700 16px var(--font-title); color: #1b1307; background: linear-gradient(180deg, var(--gold-2), var(--gold));
}
.step h3 { margin: 4px 0 4px; font-size: 16px; }
.step p { margin: 0; font-size: 14px; }

.flashes { display: grid; gap: 10px; margin-bottom: 22px; }
.flash { padding: 13px 16px; border-radius: 10px; border: 1px solid; font-size: 14px; }
.flash-error { background: rgba(192, 53, 60, .12); border-color: rgba(192, 53, 60, .45); color: #f6b5b9; }
.flash-ok { background: rgba(82, 194, 122, .1); border-color: rgba(82, 194, 122, .4); color: #a6e8bf; }

.done-card { max-width: 620px; margin: 30px auto; text-align: center; padding: 46px 34px; }
.done-card img { margin-bottom: 14px; filter: drop-shadow(0 8px 24px rgba(217, 168, 78, .4)); }
.error-code { font: 900 72px/1 var(--font-title); color: var(--gold); margin-bottom: 10px; }

/* ------------------------------------------------------------------ descarga */
.download-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.download-card {
  grid-column: 1 / -1; display: flex; align-items: center; gap: 24px; padding: 30px;
  background: radial-gradient(500px 200px at 0% 50%, rgba(217, 168, 78, .14), transparent 70%), var(--panel);
}
.download-card > div:nth-child(2) { flex: 1; }
.download-card h2 { margin: 0 0 4px; font-size: 24px; }
.download-card p { margin: 0; }
.download-icon {
  width: 72px; height: 72px; border-radius: 18px; flex: none;
  background: linear-gradient(180deg, var(--gold-2), var(--gold)) center/100% no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4'/%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3Cpath d='M12 15V3'/%3E%3C/svg%3E") center/70% no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4'/%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3Cpath d='M12 15V3'/%3E%3C/svg%3E") center/70% no-repeat;
}
.howto, .faq { margin: 0; padding-left: 20px; display: grid; gap: 12px; color: #d5ccb8; }
.faq { list-style: none; padding: 0; }
.faq b, .howto b { color: var(--text); }

/* ------------------------------------------------------------------ pie */
.footer { border-top: 1px solid var(--line); background: var(--bg-2); padding: 36px 0; }
.footer-in { display: grid; grid-template-columns: 1.3fr 1fr; gap: 10px 30px; }
.footer-in > p { grid-column: 1 / -1; margin: 18px 0 0; padding-top: 18px; border-top: 1px solid var(--line); }
.footer-in p { margin: 0; font-size: 14px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: flex-end; align-content: center; color: var(--muted); font-size: 14px; }
.footer-links a:hover { color: var(--gold-2); }

/* ------------------------------------------------------------------ responsive */
@media (max-width: 1000px) {
  .home-grid, .auth-layout { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(3, 1fr); }
  .stat:nth-child(4) { border-left: 0; }
  .stat:nth-child(n+4) { border-top: 1px solid var(--line); }
}
@media (max-width: 760px) {
  .menu-toggle { display: block; }
  .menu {
    position: absolute; top: 66px; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch;
    padding: 12px 16px 18px; background: rgba(10, 12, 17, .97); border-bottom: 1px solid var(--line);
  }
  .menu.open { display: flex; }
  .menu .btn { margin: 8px 0 0; }
  .hide-sm { display: none; }
  .hero { padding: 64px 0 130px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat + .stat { border-left: 0; }
  .stat:nth-child(n+2) { border-top: 1px solid var(--line); }
  .stat:nth-child(even) { border-left: 1px solid var(--line); }
  .stat:first-child { grid-column: 1 / -1; }
  .news-grid, .features, .field-row, .download-grid, .footer-in { grid-template-columns: 1fr; }
  .download-card { flex-direction: column; text-align: center; }
  .footer-links { justify-content: flex-start; }
  .news-row { grid-template-columns: 1fr; gap: 12px; }
  .news-date { display: none; }
  .article, .auth-card { padding: 24px; }
  .rank th, .rank td { padding: 10px 10px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
