/* =====================================================================
   GATES OF HELL – pokoli, modern, üveges sötét téma
   ===================================================================== */
@font-face { font-family: 'Mephisto'; src: url('../../fonts/MEPHISTO.woff') format('woff'), url('../../fonts/MEPHISTO.TTF') format('truetype'); font-display: swap; }

:root {
  --bg: #070304; --bg2: #12070a;
  --panel: rgba(30, 10, 12, .58); --panel-2: rgba(48, 15, 14, .72); --panel-solid: #170809;
  --line: rgba(255, 110, 60, .14); --line-2: rgba(255, 140, 80, .3);
  --text: #f5ebe6; --muted: #bba59d; --faint: #806a63;
  --fire: #ff4b1f; --ember: #ff8a3d; --gold: #ffc56b; --blood: #b3121f; --ok: #5ee08f; --err: #ff5d6c; --info: #7cc4ff;
  --grad: linear-gradient(135deg, #ff2a1a 0%, #ff6a1f 45%, #ffb347 100%);
  --grad-dark: linear-gradient(135deg, #5c0a0a, #2a0606);
  --r: 18px; --r-sm: 12px;
  --shadow: 0 18px 50px -18px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 200, 160, .06);
  --glow: 0 0 0 1px rgba(255, 110, 60, .25), 0 10px 40px -10px rgba(255, 70, 20, .45);
  --blur: blur(16px) saturate(140%);
  --head: 'Cinzel', Georgia, serif; --body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100vh; background: var(--bg); color: var(--text); font: 15.5px/1.65 var(--body); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--ember); text-decoration: none; transition: color .2s; }
a:hover { color: var(--gold); }
h1, h2, h3, h4 { font-family: var(--head); line-height: 1.15; margin: 0 0 .55em; letter-spacing: .02em; }
h1 { font-size: clamp(1.9rem, 4vw, 2.9rem); font-weight: 900; }
h2 { font-size: clamp(1.45rem, 2.6vw, 2rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
code { background: rgba(255, 255, 255, .06); border: 1px solid var(--line); padding: .05em .4em; border-radius: 6px; font-size: .9em; }
hr { border: 0; border-top: 1px solid var(--line); margin: 1.4rem 0; }
::selection { background: rgba(255, 90, 30, .45); color: #fff; }
.muted { color: var(--muted); } .faint { color: var(--faint); } .small { font-size: .86rem; } .gold { color: var(--gold) !important; }
.center { text-align: center; } .right { text-align: right; } .nowrap { white-space: nowrap; }
.mt { margin-top: 1rem; } .mt-lg { margin-top: 2rem; } .mb { margin-bottom: 1rem; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--ember); outline-offset: 2px; }

/* ---------- háttér ---------- */
.bg-layer { position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(1200px 600px at 50% 115%, rgba(255, 60, 10, .32), transparent 60%),
    radial-gradient(700px 500px at 0% 100%, rgba(170, 10, 10, .28), transparent 60%),
    radial-gradient(700px 500px at 100% 0%, rgba(120, 10, 25, .3), transparent 60%),
    radial-gradient(900px 400px at 50% -10%, rgba(255, 120, 40, .08), transparent 70%),
    linear-gradient(180deg, #0b0405 0%, #070304 60%, #0e0405 100%); }
.bg-layer::after { content: ''; position: absolute; inset: 0; opacity: .5;
  background-image: radial-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px); background-size: 3px 3px; mix-blend-mode: overlay; }
#embers { position: fixed; inset: 0; z-index: -1; pointer-events: none; width: 100%; height: 100%; }

.wrap { width: min(1240px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 32px); margin-inline: auto; }
.narrow-sm { width: min(470px, 100% - 32px); margin-inline: auto; }
.section { padding: clamp(2rem, 5vw, 4rem) 0; }

/* ---------- üveg panel ---------- */
.glass { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur); box-shadow: var(--shadow); }
.pad { padding: 1.1rem 1.25rem; } .pad-lg { padding: clamp(1.2rem, 3vw, 2rem); } .pad-xl { padding: clamp(1.6rem, 4vw, 3rem); }
.ember-top { position: relative; overflow: hidden; }
.ember-top::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--fire), var(--gold), var(--fire), transparent); opacity: .85; }

/* ---------- gombok ---------- */
.btn { --b: var(--line-2); display: inline-flex; align-items: center; justify-content: center; gap: .55rem; padding: .72rem 1.3rem; border-radius: 999px; border: 1px solid var(--b);
  font: 600 .92rem/1 var(--body); letter-spacing: .02em; color: var(--text); background: rgba(255, 255, 255, .04); cursor: pointer; transition: transform .15s, box-shadow .25s, background .25s, border-color .25s, color .2s; white-space: nowrap; text-decoration: none; }
.btn:hover { color: #fff; border-color: var(--ember); background: rgba(255, 110, 50, .1); }
.btn:active { transform: translateY(1px) scale(.98); }
.btn-fire { border-color: transparent; background: var(--grad); color: #1a0503; text-shadow: 0 1px 0 rgba(255, 220, 180, .35); box-shadow: 0 10px 30px -10px rgba(255, 80, 20, .85), inset 0 1px 0 rgba(255, 240, 200, .5); }
.btn-fire:hover { color: #1a0503; background: var(--grad); box-shadow: 0 14px 40px -10px rgba(255, 90, 20, 1), 0 0 0 4px rgba(255, 120, 40, .18), inset 0 1px 0 rgba(255, 240, 200, .6); transform: translateY(-1px); }
.btn-ghost { background: rgba(0, 0, 0, .25); }
.btn-danger { border-color: rgba(255, 80, 100, .45); color: #ffc3cb; background: rgba(255, 40, 70, .08); }
.btn-danger:hover { background: rgba(255, 40, 70, .18); border-color: var(--err); color: #fff; }
.btn-sm { padding: .5rem .9rem; font-size: .84rem; } .btn-lg { padding: .95rem 1.7rem; font-size: 1rem; } .btn-block { width: 100%; }
.btn[disabled], .btn.disabled { opacity: .45; pointer-events: none; }
.btn-icon { width: 38px; height: 38px; padding: 0; border-radius: 12px; }

/* ---------- űrlapok ---------- */
label { display: flex; flex-direction: column; gap: .4rem; font-size: .88rem; font-weight: 600; color: #e8d6cf; }
input, select, textarea { width: 100%; font: inherit; font-size: 15px; color: var(--text); background: rgba(0, 0, 0, .38); border: 1px solid rgba(255, 140, 90, .2); border-radius: var(--r-sm); padding: .72rem .9rem; outline: none; transition: border-color .2s, box-shadow .2s, background .2s; }
input:focus, select:focus, textarea:focus { border-color: var(--ember); box-shadow: 0 0 0 4px rgba(255, 110, 40, .15); background: rgba(0, 0, 0, .5); }
input::placeholder, textarea::placeholder { color: #7f6b64; }
select option { background: #1a0a0b; }
textarea { resize: vertical; min-height: 110px; }
input[type=checkbox], input[type=radio] { width: 18px; height: 18px; accent-color: var(--fire); padding: 0; flex: none; }
input[type=file] { padding: .55rem; }
label.check { flex-direction: row; align-items: center; gap: .6rem; font-weight: 500; cursor: pointer; }
.field-err { color: var(--err); font-size: .82rem; font-weight: 500; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.form-grid .full { grid-column: 1 / -1; }
.stack { display: flex; flex-direction: column; gap: 1rem; }
.row { display: flex; gap: .75rem; align-items: center; flex-wrap: wrap; }
.row-between { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.inline-form { display: flex; gap: .5rem; }
.inline-form input { flex: 1; min-width: 0; }
.otp { text-align: center; font-size: 1.6rem !important; letter-spacing: .35em; font-weight: 700; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }

/* ---------- navigáció ---------- */
.topnav { position: sticky; top: 0; z-index: 60; padding: 10px 0; transition: background .3s, padding .3s, box-shadow .3s; }
.topnav.scrolled { background: rgba(8, 3, 4, .82); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur); box-shadow: 0 10px 30px -15px #000, 0 1px 0 var(--line); padding: 6px 0; }
.nav-inner { display: flex; align-items: center; gap: 1.2rem; }
.brand { display: inline-flex; align-items: center; gap: .6rem; color: #fff; text-decoration: none; flex: 0 1 auto; min-width: 0; }
.brand:hover { color: #fff; }
.brand-sigil { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-size: 1.15rem; color: #2a0703; background: var(--grad); box-shadow: 0 0 24px rgba(255, 80, 20, .55), inset 0 1px 0 rgba(255, 240, 200, .6); animation: pulse 3.5s ease-in-out infinite; }
.brand-text { font-family: 'Mephisto', var(--head); font-size: 1.45rem; letter-spacing: .06em; text-shadow: 0 0 18px rgba(255, 70, 20, .55); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand-text b { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 400; }
@keyframes pulse { 50% { box-shadow: 0 0 36px rgba(255, 100, 30, .85), inset 0 1px 0 rgba(255, 240, 200, .6); } }
.mainnav { display: flex; gap: .15rem; margin-right: auto; }
.mainnav a { display: inline-flex; align-items: center; gap: .45rem; padding: .55rem .8rem; border-radius: 12px; color: #d9c6bf; font-weight: 600; font-size: .9rem; white-space: nowrap; }
.mainnav a i { font-size: .82rem; opacity: .65; transition: opacity .2s, color .2s; }
.mainnav a:hover { color: #fff; background: rgba(255, 120, 60, .08); }
.mainnav a:hover i { opacity: 1; color: var(--ember); }
.mainnav a.on { color: #fff; background: linear-gradient(135deg, rgba(255, 60, 20, .22), rgba(255, 150, 60, .08)); box-shadow: inset 0 0 0 1px rgba(255, 120, 60, .3); }
.mainnav a.on i { opacity: 1; color: var(--gold); }
.mainnav .nav-mobile { display: none; }
.nav-right { display: flex; align-items: center; gap: .55rem; flex: none; }
.lang-switch { display: flex; padding: 3px; border-radius: 999px; background: rgba(0, 0, 0, .35); border: 1px solid var(--line); }
.lang-switch a { padding: .3rem .6rem; border-radius: 999px; font-size: .74rem; font-weight: 700; color: var(--muted); letter-spacing: .06em; }
.lang-switch a.on { background: var(--grad); color: #2a0703; }
.usermenu { position: relative; }
.user-btn { display: flex; align-items: center; gap: .5rem; padding: 4px 10px 4px 4px; border-radius: 999px; background: rgba(0, 0, 0, .35); border: 1px solid var(--line-2); color: var(--text); font: 600 .88rem var(--body); cursor: pointer; }
.user-btn:hover { border-color: var(--ember); }
.user-btn .av { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; border: 1px solid var(--ember); }
.user-btn .small { font-size: .65rem; opacity: .7; }
.dropdown { position: absolute; right: 0; top: calc(100% + 10px); min-width: 220px; padding: .45rem; display: none; flex-direction: column; background: rgba(22, 8, 9, .95); z-index: 70; }
.usermenu.open .dropdown { display: flex; animation: drop .18s ease-out; }
@keyframes drop { from { opacity: 0; transform: translateY(-6px); } }
.dropdown a, .dropdown button { display: flex; align-items: center; gap: .7rem; padding: .62rem .8rem; border-radius: 10px; color: #e6d4cd; background: none; border: 0; font: 500 .9rem var(--body); text-align: left; cursor: pointer; width: 100%; }
.dropdown a i, .dropdown button i { width: 18px; color: var(--ember); }
.dropdown a:hover, .dropdown button:hover { background: rgba(255, 110, 50, .12); color: #fff; }
.dropdown form { margin: 0; border-top: 1px solid var(--line); margin-top: .3rem; padding-top: .3rem; }
.burger { display: none; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(0, 0, 0, .35); cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.burger span { width: 18px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .25s, opacity .25s; }
.burger[aria-expanded=true] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded=true] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded=true] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 1180px) { .mainnav a span { display: none; } .mainnav a { padding: .6rem .7rem; } .mainnav a i { font-size: 1rem; opacity: .85; } }
@media (max-width: 920px) {
  .burger { display: flex; }
  .mainnav { position: fixed; inset: 64px 12px auto 12px; flex-direction: column; padding: .6rem; border-radius: var(--r); background: rgba(16, 6, 7, .96); border: 1px solid var(--line-2); box-shadow: var(--shadow); display: none; z-index: 65; }
  .mainnav.open { display: flex; animation: drop .2s ease-out; }
  .mainnav a span { display: inline; } .mainnav a { padding: .8rem 1rem; font-size: 1rem; }
  .nav-auth span { display: none; } .nav-auth { padding: .55rem .7rem; }
  .uname { display: none; }
  .nav-right { margin-left: auto; }
  .mainnav .nav-mobile { display: inline-flex; border-top: 1px solid var(--line); border-radius: 0; margin-top: .2rem; }
  .mainnav .nav-mobile + .nav-mobile { border-top: 0; margin-top: 0; }
  .nav-inner { gap: .7rem; }
}
@media (max-width: 480px) { .nav-auth.btn-ghost { display: none; } }
@media (max-width: 420px) { .nav-right { gap: .35rem; } .nav-auth { padding: .5rem .6rem; } .brand { gap: .45rem; } .brand-text { font-size: 1rem; } .brand-sigil { width: 34px; height: 34px; } .lang-switch a { padding: .25rem .45rem; } }
.staff-banner { text-align: center; padding: .5rem 1rem; background: rgba(255, 180, 60, .12); border-block: 1px solid rgba(255, 180, 60, .3); color: var(--gold); font-size: .88rem; }

/* ---------- toast ---------- */
.toasts { position: fixed; top: 84px; right: 16px; z-index: 90; display: flex; flex-direction: column; gap: .6rem; max-width: min(420px, calc(100% - 32px)); }
.toast { display: flex; gap: .7rem; align-items: flex-start; padding: .85rem 1.1rem; border-radius: 14px; background: rgba(22, 8, 9, .95); border: 1px solid var(--line-2); box-shadow: var(--shadow); animation: toastIn .35s cubic-bezier(.2, .9, .3, 1.2); font-size: .92rem; }
.toast i { margin-top: .2rem; }
.toast-success { border-color: rgba(94, 224, 143, .45); } .toast-success i { color: var(--ok); }
.toast-error { border-color: rgba(255, 93, 108, .5); } .toast-error i { color: var(--err); }
.toast-info i { color: var(--info); }
.toast.hide { opacity: 0; transform: translateX(20px); transition: .4s; }
@keyframes toastIn { from { opacity: 0; transform: translateY(-10px) scale(.96); } }

/* ---------- hero ---------- */
.hero { position: relative; min-height: min(86vh, 820px); display: grid; align-items: center; margin-top: -66px; padding-top: 66px; overflow: hidden; isolation: isolate; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: .55; filter: saturate(1.2) contrast(1.05); }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(800px 420px at 30% 55%, rgba(0, 0, 0, .15), rgba(0, 0, 0, .75)),
  linear-gradient(180deg, rgba(7, 3, 4, .55) 0%, rgba(7, 3, 4, .2) 40%, var(--bg) 98%); }
.hero-inner { display: grid; grid-template-columns: 1.25fr .75fr; gap: 2.5rem; align-items: center; padding: 3rem 0 4rem; }
.eyebrow { display: inline-flex; align-items: center; gap: .5rem; padding: .4rem .9rem; border-radius: 999px; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); background: rgba(255, 120, 40, .1); border: 1px solid rgba(255, 150, 70, .35); }
.hero h1 { font-size: clamp(2.4rem, 6.2vw, 4.6rem); line-height: 1.02; margin: 1rem 0; text-transform: uppercase;
  background: linear-gradient(180deg, #fff6e6 10%, #ffc46b 45%, #ff5a1f 90%); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 6px 28px rgba(255, 60, 10, .45)); }
.hero p.lead { font-size: 1.12rem; color: #e2cfc8; max-width: 620px; }
.hero-cta { display: flex; gap: .8rem; flex-wrap: wrap; margin: 1.8rem 0 0; }
.status-card { padding: 1.4rem; }
.status-head { display: flex; align-items: center; gap: .8rem; margin-bottom: 1.1rem; }
.status-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--faint); flex: none; }
.status-dot.up { background: var(--ok); box-shadow: 0 0 0 0 rgba(94, 224, 143, .7); animation: ping 1.8s infinite; }
.status-dot.down { background: var(--err); }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(94, 224, 143, 0); } 100% { box-shadow: 0 0 0 0 rgba(94, 224, 143, 0); } }
.status-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
.stat { padding: .9rem 1rem; border-radius: 14px; background: rgba(0, 0, 0, .3); border: 1px solid var(--line); }
.stat b { display: block; font: 700 1.5rem var(--head); color: #fff; }
.stat span { font-size: .78rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.nation-bar { display: flex; height: 10px; border-radius: 99px; overflow: hidden; margin-top: .9rem; background: rgba(255, 255, 255, .06); }
.nation-bar span { height: 100%; }
.n-valo { background: linear-gradient(90deg, #c1121f, #ff5a3d); } .n-deri { background: linear-gradient(90deg, #1d4ed8, #60a5fa); } .n-gor { background: linear-gradient(90deg, #8a5a2b, #d1a066); }
.legend { display: flex; gap: 1rem; flex-wrap: wrap; font-size: .78rem; color: var(--muted); margin-top: .5rem; }
.legend i { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: .35rem; }
@media (max-width: 900px) { .hero-inner { grid-template-columns: 1fr; } .hero { min-height: auto; } }

/* ---------- szekció fejlécek ---------- */
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 1.6rem; flex-wrap: wrap; }
.sec-head h2 { margin: 0; display: flex; align-items: center; gap: .7rem; }
.sec-head h2::before { content: ''; width: 34px; height: 2px; background: var(--grad); border-radius: 2px; box-shadow: 0 0 12px var(--fire); }
.title-fire { background: linear-gradient(180deg, #fff2df, #ffb35c 55%, #ff5a1f); -webkit-background-clip: text; background-clip: text; color: transparent; }
.page-head { padding: 2.2rem 0 1.4rem; }
.page-head h1 { margin: 0 0 .3rem; }
.crumbs { font-size: .84rem; color: var(--faint); margin-bottom: .6rem; }
.crumbs a { color: var(--muted); } .crumbs a:hover { color: var(--gold); }
.link-arrow { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; }
.link-arrow i { transition: transform .2s; } .link-arrow:hover i { transform: translateX(4px); }

/* ---------- hírek ---------- */
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1.3rem; }
.news-card { display: flex; flex-direction: column; overflow: hidden; transition: transform .3s, box-shadow .3s, border-color .3s; }
.news-card:hover { transform: translateY(-5px); border-color: rgba(255, 120, 60, .4); box-shadow: var(--glow); }
.news-cover { aspect-ratio: 16 / 9; overflow: hidden; position: relative; background: var(--grad-dark); }
.news-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.news-card:hover .news-cover img { transform: scale(1.06); }
.news-cover.noimg { display: grid; place-items: center; font-size: 2.8rem; color: rgba(255, 140, 70, .35); }
.pin { position: absolute; top: 10px; left: 10px; padding: .25rem .6rem; border-radius: 99px; background: var(--grad); color: #2a0703; font-size: .72rem; font-weight: 800; }
.news-body { padding: 1.2rem 1.3rem 1.3rem; display: flex; flex-direction: column; flex: 1; }
.news-body h3 { font-size: 1.22rem; margin-bottom: .5rem; }
.news-body h3 a { color: #fff; } .news-body h3 a:hover { color: var(--gold); }
.news-body p { color: #cdb9b2; font-size: .94rem; flex: 1; }
.meta { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; font-size: .82rem; color: var(--muted); }
.meta img { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; }
.badge { display: inline-flex; align-items: center; gap: .3rem; padding: .18rem .55rem; border-radius: 99px; font-size: .7rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.badge-admin { background: linear-gradient(135deg, #ffd36b, #ff9a2e); color: #2a1200; }
.badge-mod { background: linear-gradient(135deg, #6db8ff, #2563eb); color: #fff; }
.badge-member { background: rgba(255, 255, 255, .08); color: var(--muted); border: 1px solid var(--line); }
.badge-ok { background: rgba(94, 224, 143, .15); color: var(--ok); border: 1px solid rgba(94, 224, 143, .35); }
.badge-err { background: rgba(255, 93, 108, .14); color: #ff9aa5; border: 1px solid rgba(255, 93, 108, .35); }
.badge-warn { background: rgba(255, 197, 107, .14); color: var(--gold); border: 1px solid rgba(255, 197, 107, .35); }
.article { font-size: 1.02rem; color: #e6d5ce; }
.article img { border-radius: 14px; margin: 1rem 0; }
.article h3 { margin-top: 1.4em; color: #fff; }
.article ul { padding-left: 1.2rem; }
.article-cover { border-radius: var(--r); overflow: hidden; margin-bottom: 1.4rem; border: 1px solid var(--line); }

/* ---------- kártyák / rács ---------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.3rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 680px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }
.feature { padding: 1.5rem; display: flex; gap: 1rem; align-items: flex-start; }
.feature .fi { width: 48px; height: 48px; flex: none; border-radius: 14px; display: grid; place-items: center; font-size: 1.25rem; color: var(--gold); background: radial-gradient(circle at 30% 20%, rgba(255, 150, 60, .35), rgba(120, 10, 10, .35)); border: 1px solid rgba(255, 140, 70, .35); box-shadow: 0 0 22px -6px rgba(255, 80, 20, .7); }
.feature h3 { margin: .1rem 0 .35rem; } .feature p { margin: 0; color: var(--muted); font-size: .92rem; }
.empty { text-align: center; padding: 3rem 1.5rem; }
.empty > i { font-size: 2.6rem; color: rgba(255, 120, 60, .5); margin-bottom: .8rem; }
.empty p { color: var(--muted); margin: 0; }
.cta-band { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; padding: clamp(1.5rem, 4vw, 2.6rem); border-radius: 26px;
  background: linear-gradient(120deg, rgba(150, 15, 10, .55), rgba(60, 8, 8, .6) 55%, rgba(255, 120, 40, .18)); border: 1px solid rgba(255, 130, 60, .35); box-shadow: var(--glow); }
.cta-band h2 { margin: 0 0 .3rem; }

/* ---------- táblázat ---------- */
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.table th { text-align: left; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); font-weight: 700; padding: .85rem 1rem; border-bottom: 1px solid var(--line-2); white-space: nowrap; }
.table td { padding: .8rem 1rem; border-bottom: 1px solid rgba(255, 110, 60, .07); vertical-align: middle; }
.table tbody tr { transition: background .15s; }
.table tbody tr:hover { background: rgba(255, 100, 40, .05); }
.table a { color: var(--text); } .table a:hover { color: var(--gold); }
.table .actions { text-align: right; white-space: nowrap; }
@media (max-width: 680px) {
  .table.cards thead { display: none; }
  .table.cards, .table.cards tbody, .table.cards tr, .table.cards td { display: block; width: 100%; }
  .table.cards tr { border: 1px solid var(--line); border-radius: 14px; margin-bottom: .7rem; padding: .3rem 0; background: rgba(0, 0, 0, .2); }
  .table.cards td { display: flex; justify-content: space-between; gap: 1rem; border: 0; padding: .45rem .9rem; text-align: right; }
  .table.cards td::before { content: attr(data-label); color: var(--faint); font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; text-align: left; }
  .table.cards td.actions { justify-content: flex-end; }
}

/* ---------- fülek, lapozó ---------- */
.tabs { display: flex; gap: .35rem; flex-wrap: wrap; margin-bottom: 1.3rem; }
.tabs a, .tabs button { display: inline-flex; align-items: center; gap: .5rem; padding: .6rem 1rem; border-radius: 12px; border: 1px solid var(--line); background: rgba(0, 0, 0, .3); color: var(--muted); font: 600 .9rem var(--body); cursor: pointer; white-space: nowrap; }
.tabs a:hover, .tabs button:hover { color: #fff; border-color: var(--line-2); }
.tabs a.on, .tabs button.on { color: #fff; border-color: rgba(255, 120, 60, .5); background: linear-gradient(135deg, rgba(255, 60, 20, .22), rgba(255, 150, 60, .08)); }
.tabs a.on i, .tabs button.on i { color: var(--gold); }
@media (max-width: 640px) { .tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; } .tabs::-webkit-scrollbar { display: none; } }
.pager { display: flex; justify-content: center; gap: .4rem; margin-top: 2rem; flex-wrap: wrap; }
.pager a { min-width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--line); background: rgba(0, 0, 0, .3); color: var(--text); font-weight: 600; }
.pager a.on, .pager a:hover { background: var(--grad); color: #2a0703; border-color: transparent; }

/* ---------- belépés / regisztráció ---------- */
.auth-wrap { min-height: calc(100vh - 220px); display: grid; place-items: center; padding: 2.5rem 0; }
.auth-card { width: min(460px, 100% - 32px); }
.auth-card h1 { font-size: 1.9rem; text-align: center; }
.auth-card .sub { text-align: center; color: var(--muted); margin-top: -.3rem; }
.auth-icon { width: 64px; height: 64px; margin: 0 auto 1rem; border-radius: 20px; display: grid; place-items: center; font-size: 1.6rem; color: #2a0703; background: var(--grad); box-shadow: 0 0 40px rgba(255, 80, 20, .6); }
.alert { display: flex; gap: .7rem; padding: .85rem 1rem; border-radius: 12px; font-size: .92rem; border: 1px solid; }
.alert-error { background: rgba(255, 50, 70, .1); border-color: rgba(255, 93, 108, .4); color: #ffc7cd; }
.alert-info { background: rgba(124, 196, 255, .08); border-color: rgba(124, 196, 255, .3); color: #cfe7ff; }
.alert-warn { background: rgba(255, 197, 107, .08); border-color: rgba(255, 197, 107, .35); color: #ffe3b3; }
.alert-ok { background: rgba(94, 224, 143, .08); border-color: rgba(94, 224, 143, .35); color: #c9f5da; }
.pw-meter { height: 5px; border-radius: 99px; background: rgba(255, 255, 255, .07); overflow: hidden; }
.pw-meter span { display: block; height: 100%; width: 0; background: var(--grad); transition: width .3s; }
.divider { display: flex; align-items: center; gap: .8rem; color: var(--faint); font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; }
.divider::before, .divider::after { content: ''; flex: 1; height: 1px; background: var(--line); }

/* ---------- fiók ---------- */
.account-grid { display: grid; grid-template-columns: 280px 1fr; gap: 1.4rem; align-items: start; }
.profile-card { text-align: center; padding: 1.8rem 1.2rem; position: sticky; top: 90px; }
.profile-card .big-av { width: 120px; height: 120px; margin: 0 auto 1rem; border-radius: 50%; object-fit: cover; border: 3px solid transparent; background: var(--grad) border-box; box-shadow: 0 0 40px -6px rgba(255, 80, 20, .7); }
.side-links { display: flex; flex-direction: column; gap: .2rem; margin-top: 1.2rem; text-align: left; }
.side-links a { display: flex; align-items: center; gap: .7rem; padding: .65rem .8rem; border-radius: 12px; color: var(--muted); font-weight: 600; font-size: .92rem; }
.side-links a i { width: 18px; color: var(--ember); }
.side-links a:hover { background: rgba(255, 110, 50, .08); color: #fff; }
.side-links a.on { background: linear-gradient(135deg, rgba(255, 60, 20, .22), rgba(255, 150, 60, .06)); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 120, 60, .3); }
.char-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: .9rem; }
.char-card { display: flex; gap: .9rem; align-items: center; padding: .9rem; border-radius: 14px; background: rgba(0, 0, 0, .28); border: 1px solid var(--line); color: var(--text); transition: border-color .2s, transform .2s; }
.char-card:hover { border-color: var(--ember); transform: translateY(-2px); color: var(--text); }
.char-card img { width: 52px; height: 52px; border-radius: 12px; object-fit: cover; background: #000; border: 1px solid var(--line-2); }
.char-card b { display: block; color: #fff; }
.char-card small { color: var(--muted); }
.cash-box { display: flex; align-items: center; gap: 1rem; padding: 1.1rem 1.3rem; border-radius: 16px; background: linear-gradient(135deg, rgba(255, 150, 50, .14), rgba(120, 10, 10, .25)); border: 1px solid rgba(255, 170, 80, .35); }
.cash-box i { font-size: 1.8rem; color: var(--gold); filter: drop-shadow(0 0 10px rgba(255, 180, 60, .6)); }
.cash-box b { font: 800 1.6rem var(--head); color: #fff; display: block; line-height: 1; }
.qr-box { background: #fff; padding: 10px; border-radius: 14px; width: fit-content; line-height: 0; }
.qr-box svg { width: 200px; height: 200px; }
.recovery { display: grid; grid-template-columns: repeat(2, 1fr); gap: .5rem; }
.recovery code { text-align: center; font-size: 1rem; padding: .55rem; letter-spacing: .1em; }
.twofa-grid { display: grid; grid-template-columns: auto 1fr; gap: 1.5rem; align-items: start; }
@media (max-width: 900px) { .account-grid { grid-template-columns: 1fr; } .profile-card { position: static; } }
@media (max-width: 640px) { .twofa-grid { grid-template-columns: 1fr; justify-items: center; } }

/* ---------- közösségi fal ---------- */
.wall-layout { display: grid; grid-template-columns: 1fr 300px; gap: 1.4rem; align-items: start; }
.composer textarea { min-height: 90px; }
.bb-tools { display: flex; gap: .35rem; flex-wrap: wrap; }
.bb-tools button { width: 34px; height: 34px; border-radius: 10px; border: 1px solid var(--line); background: rgba(0, 0, 0, .3); color: var(--muted); cursor: pointer; }
.bb-tools button:hover { color: #fff; border-color: var(--ember); }
.bb-tools img { width: 22px; height: 22px; display: inline-block; }
.post { display: grid; grid-template-columns: 54px 1fr; gap: 1rem; padding: 1.1rem 1.2rem; animation: postIn .4s ease-out; }
@keyframes postIn { from { opacity: 0; transform: translateY(8px); } }
.post .av { width: 54px; height: 54px; border-radius: 16px; object-fit: cover; border: 1px solid var(--line-2); }
.post-head { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; margin-bottom: .35rem; }
.post-head b { color: #fff; }
.post-body { color: #e3d2cb; word-break: break-word; }
.post-body img.bb-img { max-height: 380px; border-radius: 12px; margin: .5rem 0; }
.post-body img.smiley { display: inline-block; height: 24px; width: auto; vertical-align: middle; }
.post-body blockquote { margin: .5rem 0; padding: .6rem .9rem; border-left: 3px solid var(--ember); background: rgba(255, 255, 255, .03); border-radius: 0 10px 10px 0; color: var(--muted); }
.post-body pre { background: rgba(0, 0, 0, .45); padding: .7rem; border-radius: 10px; overflow-x: auto; }
.post-actions { display: flex; gap: .4rem; margin-top: .6rem; }
.like-btn { display: inline-flex; align-items: center; gap: .4rem; padding: .35rem .8rem; border-radius: 99px; border: 1px solid var(--line); background: rgba(0, 0, 0, .3); color: var(--muted); font: 600 .82rem var(--body); cursor: pointer; transition: .2s; }
.like-btn:hover { color: #fff; border-color: var(--ember); }
.like-btn.on { color: #2a0703; background: var(--grad); border-color: transparent; }
.like-btn.pop { animation: pop .35s; }
@keyframes pop { 50% { transform: scale(1.18); } }
.del-btn { margin-left: auto; color: var(--faint); background: none; border: 0; cursor: pointer; padding: .35rem .6rem; border-radius: 8px; }
.del-btn:hover { color: var(--err); background: rgba(255, 60, 80, .08); }
.posts { display: flex; flex-direction: column; gap: .9rem; }
@media (max-width: 900px) { .wall-layout { grid-template-columns: 1fr; } }

/* ---------- letöltések ---------- */
.dl-card { display: grid; grid-template-columns: auto 1fr auto; gap: 1.2rem; align-items: center; padding: 1.4rem; }
.dl-icon { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; font-size: 1.6rem; color: #2a0703; background: var(--grad); box-shadow: 0 0 30px -6px rgba(255, 80, 20, .8); }
.dl-meta { display: flex; gap: 1rem; flex-wrap: wrap; color: var(--muted); font-size: .85rem; }
.req-list { list-style: none; margin: 0; padding: 0; }
.req-list li { display: flex; justify-content: space-between; gap: 1rem; padding: .6rem 0; border-bottom: 1px dashed var(--line); font-size: .92rem; }
.req-list li span:first-child { color: var(--muted); } .req-list li span:last-child { text-align: right; color: #fff; }
@media (max-width: 640px) { .dl-card { grid-template-columns: 1fr; text-align: center; } .dl-icon { margin: 0 auto; } .dl-meta { justify-content: center; } }

/* ---------- lexikon ---------- */
.lex-search { position: relative; }
.lex-search input { padding-left: 2.8rem; font-size: 1.05rem; height: 54px; border-radius: 16px; }
.lex-search > i { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: var(--ember); }
.suggest { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 30; padding: .4rem; display: none; max-height: 360px; overflow-y: auto; background: rgba(20, 7, 8, .97); }
.suggest.open { display: block; }
.suggest a { display: flex; align-items: center; gap: .7rem; padding: .5rem .6rem; border-radius: 10px; color: var(--text); }
.suggest a:hover, .suggest a.act { background: rgba(255, 110, 50, .14); }
.suggest img { width: 34px; height: 34px; border-radius: 8px; object-fit: cover; }
.char-hero { display: grid; grid-template-columns: auto 1fr auto; gap: 1.4rem; align-items: center; padding: 1.6rem; }
.char-hero .portrait { width: 110px; height: 110px; border-radius: 22px; object-fit: cover; border: 2px solid transparent; background: var(--grad) border-box; box-shadow: 0 0 40px -8px rgba(255, 80, 20, .8); }
.char-hero h1 { margin: 0 0 .4rem; font-size: clamp(1.6rem, 4vw, 2.4rem); }
.lvl-ring { width: 96px; height: 96px; border-radius: 50%; display: grid; place-items: center; text-align: center; background: conic-gradient(var(--fire) calc(var(--p) * 1%), rgba(255, 255, 255, .06) 0); position: relative; }
.lvl-ring::before { content: ''; position: absolute; inset: 7px; border-radius: 50%; background: var(--panel-solid); }
.lvl-ring div { position: relative; line-height: 1.1; } .lvl-ring b { font: 900 1.7rem var(--head); color: #fff; display: block; } .lvl-ring small { font-size: .65rem; color: var(--muted); letter-spacing: .12em; }
.chips { display: flex; gap: .45rem; flex-wrap: wrap; }
.chip { display: inline-flex; align-items: center; gap: .4rem; padding: .3rem .7rem; border-radius: 99px; font-size: .8rem; font-weight: 600; background: rgba(0, 0, 0, .35); border: 1px solid var(--line); color: #e5d3cc; }
.chip img { width: 18px; height: 18px; }
.chip.valo { border-color: rgba(255, 80, 60, .5); color: #ffb0a3; } .chip.deri { border-color: rgba(96, 165, 250, .5); color: #bcd7ff; } .chip.gor { border-color: rgba(209, 160, 102, .5); color: #f1d3ab; }
.equip-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 1.3rem; align-items: start; }
.slot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); gap: .6rem; }
.slot { position: relative; aspect-ratio: 1; border-radius: 14px; background: radial-gradient(circle at 30% 25%, rgba(255, 120, 60, .12), rgba(0, 0, 0, .55)); border: 1px solid var(--line-2); display: grid; place-items: center; cursor: pointer; transition: transform .15s, box-shadow .2s, border-color .2s; outline: none; }
.slot:hover, .slot:focus, .slot.act { transform: translateY(-2px); border-color: var(--gold); box-shadow: 0 0 22px -4px rgba(255, 150, 50, .7); }
.slot img { width: 78%; height: 78%; object-fit: contain; border-radius: 8px; image-rendering: auto; }
.slot.empty-slot { cursor: default; opacity: .45; } .slot.empty-slot:hover { transform: none; box-shadow: none; border-color: var(--line-2); }
.slot.empty-slot i { color: var(--faint); }
.slot .up { position: absolute; right: 4px; bottom: 3px; font: 800 .7rem var(--body); color: var(--gold); text-shadow: 0 1px 2px #000, 0 0 6px rgba(255, 120, 40, .8); }
.slot-label { font-size: .68rem; color: var(--faint); text-align: center; margin-top: .25rem; }
.item-tip { padding: 1.2rem; min-height: 220px; }
.item-tip .it-head { display: flex; gap: .9rem; align-items: center; margin-bottom: .8rem; }
.item-tip .it-head img { width: 54px; height: 54px; border-radius: 12px; border: 1px solid var(--line-2); }
.item-tip h3 { margin: 0; color: #ffb8a3; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: .35rem 1rem; font-size: .9rem; }
.kv dt { color: var(--muted); } .kv dd { margin: 0; text-align: right; color: #fff; }
.bonus { color: #8ff0b0; } .bonus-name { color: var(--gold); }
.eff-1, .eff-3, .eff-6 { color: #7cc4ff; } .eff-2, .eff-9 { color: #ff7a5a; } .eff-4 { color: #cfd5e0; } .eff-5, .eff-7 { color: #8ff0b0; } .eff-8 { color: #ff9ad5; } .eff-gold { color: var(--gold); }
.rank-table td.rank { width: 64px; font: 800 1.1rem var(--head); color: var(--muted); }
.rank-1 td.rank { color: #ffd36b; } .rank-2 td.rank { color: #d9e1ea; } .rank-3 td.rank { color: #e0a36b; }
.rank-1 { background: linear-gradient(90deg, rgba(255, 200, 80, .1), transparent 60%); }
.medal { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; font-size: .85rem; }
.rank-1 .medal { background: radial-gradient(circle at 30% 30%, #fff1b8, #f2b52b); color: #4a2a00; box-shadow: 0 0 16px rgba(255, 200, 80, .7); }
.rank-2 .medal { background: radial-gradient(circle at 30% 30%, #ffffff, #a9b6c4); color: #2b3540; }
.rank-3 .medal { background: radial-gradient(circle at 30% 30%, #ffd2a8, #b8733a); color: #3d1d00; }
.ch-cell { display: flex; align-items: center; gap: .7rem; }
.ch-cell img { width: 36px; height: 36px; border-radius: 10px; object-fit: cover; }
.item-results { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: .8rem; }
.item-row { display: flex; align-items: center; gap: .8rem; padding: .7rem .8rem; border-radius: 14px; background: rgba(0, 0, 0, .28); border: 1px solid var(--line); }
.item-row img { width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line-2); }
.item-row b { display: block; color: #fff; font-size: .92rem; }
@media (max-width: 900px) { .equip-layout { grid-template-columns: 1fr; } .char-hero { grid-template-columns: auto 1fr; } .char-hero .lvl-ring { grid-column: 1 / -1; justify-self: start; } }
@media (max-width: 520px) { .char-hero { grid-template-columns: 1fr; text-align: center; } .char-hero .portrait { margin: 0 auto; } .char-hero .chips { justify-content: center; } .char-hero .lvl-ring { justify-self: center; } }

/* ---------- webshop ---------- */
.shop-layout > * { min-width: 0; }
.shop-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 1.4rem; align-items: start; }
.shop-side { position: sticky; top: 90px; display: flex; flex-direction: column; gap: 1rem; }
.cat-list { display: flex; flex-direction: column; gap: .2rem; padding: .6rem; }
.cat-list a { display: flex; align-items: center; gap: .7rem; padding: .62rem .8rem; border-radius: 12px; color: var(--muted); font-weight: 600; font-size: .92rem; }
.cat-list a i { width: 18px; color: var(--ember); }
.cat-list a:hover { color: #fff; background: rgba(255, 110, 50, .08); }
.cat-list a.on { color: #fff; background: linear-gradient(135deg, rgba(255, 60, 20, .22), rgba(255, 150, 60, .06)); box-shadow: inset 0 0 0 1px rgba(255, 120, 60, .3); }
.cat-list .cnt { margin-left: auto; font-size: .74rem; color: var(--faint); }
.shop-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1.1rem; }
.shop-card { display: flex; flex-direction: column; overflow: hidden; transition: transform .3s, box-shadow .3s, border-color .3s; }
.shop-card:hover { transform: translateY(-5px); border-color: rgba(255, 150, 70, .45); box-shadow: var(--glow); }
.shop-img { position: relative; aspect-ratio: 1.25; display: grid; place-items: center; background: radial-gradient(circle at 50% 40%, rgba(255, 110, 40, .25), rgba(0, 0, 0, .55) 70%); border-bottom: 1px solid var(--line); }
.shop-img img { width: 58%; height: 58%; object-fit: contain; filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .7)); transition: transform .4s; }
.shop-img img.cover { width: 100%; height: 100%; object-fit: cover; filter: none; }
.shop-card:hover .shop-img img { transform: scale(1.08) rotate(-2deg); }
.shop-img .cnt-badge { position: absolute; right: 10px; bottom: 10px; padding: .15rem .55rem; border-radius: 99px; background: rgba(0, 0, 0, .65); border: 1px solid var(--line-2); font-size: .78rem; font-weight: 700; }
.ribbon { position: absolute; left: 10px; top: 10px; padding: .25rem .6rem; border-radius: 99px; font-size: .72rem; font-weight: 800; background: var(--grad); color: #2a0703; }
.shop-body { padding: 1rem 1.1rem 1.1rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.shop-body h3 { font-size: 1.02rem; margin: 0; color: #fff; }
.shop-body p { font-size: .86rem; color: var(--muted); margin: 0; flex: 1; }
.price { display: flex; align-items: baseline; gap: .5rem; }
.price b { font: 800 1.35rem var(--head); color: var(--gold); text-shadow: 0 0 14px rgba(255, 170, 60, .45); }
.price s { color: var(--faint); font-size: .85rem; }
.price small { color: var(--muted); font-size: .78rem; }
.modal { position: fixed; inset: 0; z-index: 100; display: none; place-items: center; padding: 16px; background: rgba(0, 0, 0, .7); backdrop-filter: blur(6px); }
.modal.open { display: grid; animation: drop .2s ease-out; }
.modal-card { width: min(480px, 100%); max-height: calc(100vh - 32px); overflow-y: auto; background: rgba(22, 8, 9, .97); }
.modal-head { display: flex; gap: 1rem; align-items: center; margin-bottom: 1rem; }
.modal-head img { width: 64px; height: 64px; border-radius: 14px; border: 1px solid var(--line-2); object-fit: contain; background: rgba(0, 0, 0, .4); }
.total-line { display: flex; justify-content: space-between; align-items: center; padding: .8rem 0; border-top: 1px solid var(--line); font-weight: 600; }
.total-line b { font: 800 1.4rem var(--head); color: var(--gold); }
@media (max-width: 900px) { .shop-layout { grid-template-columns: minmax(0, 1fr); } .shop-side { position: static; } .cat-list { flex-direction: row; overflow-x: auto; } .cat-list a { white-space: nowrap; } .cat-list .cnt { display: none; } }
@media (max-width: 520px) { .shop-grid { grid-template-columns: 1fr 1fr; gap: .7rem; } .shop-body { padding: .8rem; } .shop-body p { display: none; } .price b { font-size: 1.1rem; } }

/* ---------- lábléc ---------- */
.footer { position: relative; margin-top: 4rem; padding: 3.5rem 0 1.5rem; border-top: 1px solid var(--line); background: linear-gradient(180deg, rgba(10, 3, 4, .6), rgba(0, 0, 0, .85)); overflow: hidden; }
.footer-glow { position: absolute; left: 50%; top: -120px; width: min(900px, 100%); height: 240px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(255, 70, 20, .25), transparent); pointer-events: none; }
.footer-grid { position: relative; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 2rem; }
.footer-grid > div { display: flex; flex-direction: column; gap: .45rem; }
.footer h4 { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: .5rem; }
.footer a { color: #ccb7b0; font-size: .92rem; } .footer a:hover { color: var(--gold); }
.footer p { color: var(--muted); font-size: .9rem; }
.socials { display: flex; gap: .5rem; }
.socials a { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .04); border: 1px solid var(--line-2); font-size: 1.05rem; color: #eee; transition: .25s; }
.socials a:hover { background: var(--grad); color: #2a0703; transform: translateY(-3px); box-shadow: 0 10px 24px -8px rgba(255, 80, 20, .9); }
.copyright { position: relative; margin-top: 2.5rem; padding-top: 1.2rem; border-top: 1px solid var(--line); color: var(--faint); font-size: .84rem; text-align: center; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .f-about, .f-news { grid-column: 1 / -1; } }

/* ---------- reveal animáció ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  #embers { display: none; }
}
