/* =====================================================
   REVENGED – karbón, chróm a elektrická modrá z loga
   ===================================================== */
:root {
  --bg: #070a0f;
  --bg-2: #0b1017;
  --panel: rgba(16, 24, 34, .72);
  --panel-solid: #101822;
  --edge: rgba(98, 214, 255, .16);
  --edge-hot: rgba(98, 214, 255, .55);
  --text: #d9e3ec;
  --muted: #8797a8;
  --steel: #c8d2dc;
  --blue: #2fa8ff;
  --cyan: #62d6ff;
  --deep: #0b4ea0;
  --rust: #e2672e;
  --online: #3ba55d; --idle: #f0b232; --dnd: #ed4245;
  --display: 'Orbitron', 'Eurostile', 'Arial Black', sans-serif;
  --body: 'Exo 2', system-ui, sans-serif;
  --glow: 0 0 24px rgba(47, 168, 255, .35);
  --r: 10px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; color: var(--text); font: 400 1.0625rem/1.6 var(--body);
  background:
    radial-gradient(1200px 600px at 50% -10%, rgba(47, 168, 255, .12), transparent 60%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, .018) 0 2px, transparent 2px 6px),
    var(--bg);
  background-attachment: fixed;
}
img { max-width: 100%; height: auto; }
a { color: var(--cyan); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: #fff; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--blue); color: #fff; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 1.25rem; }
.narrow { max-width: 780px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 1rem; top: 1rem; z-index: 50; background: var(--blue); color: #fff; padding: .5rem 1rem; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }

h1, h2, h3 { font-family: var(--display); font-weight: 800; line-height: 1.15; margin: 0 0 .5em; letter-spacing: .02em; color: #eef4f9; }
h1 { text-transform: uppercase; }
h2 { font-size: clamp(1.5rem, 3.2vw, 2.2rem); text-transform: uppercase; }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; max-width: 68ch; }
.lead { font-size: 1.2rem; line-height: 1.5; color: #c3cfda; }
code { font-size: .9em; padding: .1em .35em; background: rgba(98, 214, 255, .08); border: 1px solid var(--edge); border-radius: 4px; }

/* ---------- Hlavička ---------- */
.site-head { position: sticky; top: 0; z-index: 30; background: rgba(7, 10, 15, .55); border-bottom: 1px solid var(--edge);
             backdrop-filter: blur(12px) saturate(1.3); -webkit-backdrop-filter: blur(12px) saturate(1.3); transition: background-color .3s, box-shadow .3s; }
.site-head.scrolled { background: rgba(7, 10, 15, .85); box-shadow: 0 10px 30px -15px rgba(0, 0, 0, .9); }
.head-row { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem 1.75rem; min-height: 70px; padding-top: .4rem; padding-bottom: .4rem; transition: min-height .3s; }
.site-head.scrolled .head-row { min-height: 56px; }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; }
.brand img { filter: drop-shadow(0 0 8px rgba(47, 168, 255, .5)); transition: transform .3s; }
.brand:hover img { transform: rotate(-6deg) scale(1.08); }
.brand span { font: 900 1.2rem var(--display); letter-spacing: .08em; text-transform: uppercase; color: var(--steel); }
.nav ul { display: flex; flex-wrap: wrap; gap: .15rem; margin: 0; padding: 0; list-style: none; }
.nav a { position: relative; display: block; padding: .45rem .8rem; font: 600 1rem/1.3 var(--body); color: var(--muted); text-decoration: none; letter-spacing: .03em; transition: color .2s; }
.nav a::after { content: ''; position: absolute; left: .8rem; right: .8rem; bottom: .15rem; height: 2px; background: var(--cyan);
                box-shadow: 0 0 10px var(--cyan); transform: scaleX(0); transition: transform .25s; }
.nav a:hover { color: #fff; }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: #fff; }
.head-dc { margin-left: auto; }
.head-online { display: inline-flex; align-items: center; gap: .3rem; margin-left: .35rem; padding-left: .55rem; border-left: 1px solid rgba(255, 255, 255, .3); font-variant-numeric: tabular-nums; }
@supports (animation-timeline: scroll()) {
  .site-head::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: linear-gradient(90deg, var(--deep), var(--cyan));
    box-shadow: 0 0 12px var(--cyan); transform-origin: left; transform: scaleX(0); animation: read-progress linear both; animation-timeline: scroll(root); }
  @keyframes read-progress { to { transform: scaleX(1); } }
}

/* ---------- Tlačidlá ---------- */
.btn { position: relative; display: inline-flex; align-items: center; gap: .55rem; overflow: hidden; isolation: isolate; cursor: pointer;
       padding: .7rem 1.3rem; font: 700 .95rem/1.2 var(--display); letter-spacing: .06em; text-transform: uppercase; text-decoration: none;
       color: #fff; background: linear-gradient(180deg, #2a9bf0, #0d5fc0); border: 1px solid rgba(140, 220, 255, .6); border-radius: 8px;
       box-shadow: 0 0 0 1px rgba(0, 0, 0, .4), 0 8px 24px -8px rgba(47, 168, 255, .6), inset 0 1px 0 rgba(255, 255, 255, .35);
       transition: transform .15s, box-shadow .25s, filter .25s; }
.btn::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .45) 50%, transparent 70%);
               transform: translateX(-120%); transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.btn:hover { color: #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, .4), 0 10px 34px -6px rgba(98, 214, 255, .9), inset 0 1px 0 rgba(255, 255, 255, .4); filter: brightness(1.08); }
.btn:hover::before { transform: translateX(120%); }
.btn:active { transform: translateY(1px) scale(.98); }
.btn-small { padding: .5rem .9rem; font-size: .8rem; }
.btn-lg { padding: .95rem 1.6rem; font-size: 1rem; }
.btn-discord { background: linear-gradient(180deg, #6f7bff, #4752c4); border-color: rgba(180, 190, 255, .6); box-shadow: 0 0 0 1px rgba(0, 0, 0, .4), 0 8px 24px -8px rgba(88, 101, 242, .7), inset 0 1px 0 rgba(255, 255, 255, .35); }
.btn-discord:hover { box-shadow: 0 0 0 1px rgba(0, 0, 0, .4), 0 10px 34px -6px rgba(120, 132, 255, .95), inset 0 1px 0 rgba(255, 255, 255, .4); }
.btn-ghost { background: rgba(98, 214, 255, .06); border-color: var(--edge-hot); box-shadow: inset 0 0 20px rgba(47, 168, 255, .12); }
.btn-ghost:hover { background: rgba(98, 214, 255, .14); }
.dc-icon { flex: none; }

.dot { display: inline-block; width: .55rem; height: .55rem; border-radius: 50%; background: var(--muted); flex: none; }
.dot-online { background: var(--online); box-shadow: 0 0 8px var(--online); }

/* ---------- Úvod ---------- */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--edge); text-align: center;
        background: radial-gradient(700px 420px at 50% 42%, rgba(47, 168, 255, .16), transparent 70%); }
.circuit { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.circuit .trace { fill: none; stroke: rgba(47, 168, 255, .22); stroke-width: 1.4; }
.circuit .node { fill: var(--bg); stroke: rgba(98, 214, 255, .55); stroke-width: 1.5; }
.circuit .node-sm { fill: rgba(98, 214, 255, .5); stroke: none; }
.circuit .pulse { fill: none; stroke: var(--cyan); stroke-width: 2.2; stroke-linecap: round; stroke-dasharray: 0 1100; filter: drop-shadow(0 0 4px var(--cyan)); }
.spot { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s;
        background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(98, 214, 255, .13), transparent 65%); }
.hero:hover .spot { opacity: 1; }
.hero-inner { position: relative; display: flex; flex-direction: column; align-items: center; padding-top: clamp(2.5rem, 7vw, 5rem); padding-bottom: clamp(3rem, 8vw, 5.5rem); }
.emblem-wrap { perspective: 900px; margin-bottom: .5rem; }
.emblem { display: block; width: clamp(200px, 34vw, 400px); transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .4s cubic-bezier(.2, .7, .2, 1);
          filter: drop-shadow(0 0 30px rgba(47, 168, 255, .45)) drop-shadow(0 20px 40px rgba(0, 0, 0, .6)); }
.wordmark { margin: 0 0 .35em; font: 900 clamp(2.6rem, 9vw, 6.5rem)/1 var(--display); letter-spacing: .06em; text-transform: uppercase;
            background: linear-gradient(180deg, #f6fafd 0%, #b8c6d4 42%, #5c6f84 52%, #9fb2c4 72%, #e2ebf3 100%);
            -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-stroke: 1px rgba(98, 214, 255, .55);
            filter: drop-shadow(0 0 16px rgba(47, 168, 255, .45)); }
.wordmark span { display: inline-block; }
.wordmark .scramble { -webkit-text-stroke-color: var(--cyan); }
.hero-lead { max-width: 40ch; margin-left: auto; margin-right: auto; font-size: clamp(1.1rem, 2vw, 1.3rem); color: #c3cfda; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .85rem; margin-top: 1rem; }

/* ---------- Štatistiky ---------- */
.stats { border-bottom: 1px solid var(--edge); background: linear-gradient(180deg, rgba(16, 24, 34, .9), rgba(11, 16, 23, .9)); }
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { display: flex; flex-direction: column; align-items: center; gap: .2rem; padding: 1.6rem .75rem; text-align: center; }
.stat + .stat { border-left: 1px solid var(--edge); }
.stat-num { font: 800 clamp(1.6rem, 3.6vw, 2.5rem)/1 var(--display); color: #fff; text-shadow: 0 0 18px rgba(47, 168, 255, .6); font-variant-numeric: tabular-nums; }
.stat-countdown { font-size: clamp(1.15rem, 2.4vw, 1.7rem); line-height: 1.35; }
.stat-label { display: inline-flex; align-items: center; gap: .4rem; color: var(--muted); font-size: .95rem; }
@media (max-width: 720px) {
  .stats-row { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--edge); }
}

/* ---------- Sekcie a panely ---------- */
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .25rem 2rem; margin-bottom: 1.5rem; }
.section-head h2 { margin: 0; }
.section-head p { margin: 0; }
.page-head { position: relative; overflow: hidden; padding: clamp(3rem, 8vw, 5.5rem) 0 2rem; border-bottom: 1px solid var(--edge);
             background: radial-gradient(600px 260px at 50% 0, rgba(47, 168, 255, .14), transparent 70%); }
.page-head .circuit { opacity: .55; }
.page-head .wrap { position: relative; }
.page-head h1 { font-size: clamp(2.2rem, 6vw, 3.6rem); text-shadow: 0 0 24px rgba(47, 168, 255, .5); }

.panel { position: relative; padding: 1.4rem 1.5rem; background: var(--panel); border: 1px solid var(--edge); border-radius: var(--r);
         box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04), 0 20px 40px -24px rgba(0, 0, 0, .9); }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.panel-head h3 { margin: 0; font-size: 1rem; text-transform: uppercase; }
.pill { display: inline-flex; align-items: center; gap: .4rem; padding: .15rem .65rem; font: 700 .9rem var(--display); color: #fff;
        background: rgba(98, 214, 255, .08); border: 1px solid var(--edge); border-radius: 999px; font-variant-numeric: tabular-nums; }

.two-col { display: grid; gap: 3rem; }
@media (min-width: 900px) { .two-col { grid-template-columns: 7fr 5fr; } }
.split { display: grid; gap: 2rem 3.5rem; }
@media (min-width: 880px) { .split { grid-template-columns: 5fr 7fr; } }
.feature { display: grid; gap: 1.5rem 3rem; }
@media (min-width: 880px) { .feature { grid-template-columns: 7fr 5fr; align-items: start; } }
.feature h2 { margin-top: .6rem; }
.section + .section { border-top: 1px solid rgba(98, 214, 255, .07); }

.facts { margin: 0; }
.facts div { display: flex; justify-content: space-between; gap: 1rem; padding: .65rem 0; border-bottom: 1px solid var(--edge); }
.facts div:last-child { border-bottom: 0; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; text-align: right; font-weight: 600; }
.facts + .facts { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--edge-hot); }
.link-more { font-weight: 600; text-decoration: none; }
.link-more::after { content: ''; display: inline-block; width: .45em; height: .45em; margin-left: .45em; border-top: 2px solid; border-right: 2px solid; transform: rotate(45deg) translateY(-1px); transition: transform .2s; }
.link-more:hover::after { transform: rotate(45deg) translate(2px, -3px); }

.tag { display: inline-block; padding: .12rem .55rem; font: 700 .72rem/1.5 var(--display); letter-spacing: .06em; text-transform: uppercase;
       border-radius: 4px; border: 1px solid; vertical-align: middle; white-space: nowrap; }
.tag-blue { color: var(--cyan); border-color: rgba(98, 214, 255, .5); background: rgba(47, 168, 255, .1); }
.tag-rust { color: #ff9a66; border-color: rgba(226, 103, 46, .55); background: rgba(226, 103, 46, .1); }
.tag-muted { color: var(--muted); border-color: rgba(135, 151, 168, .4); }
.tag-vet { color: #e6c873; border-color: rgba(230, 200, 115, .5); background: rgba(230, 200, 115, .08); }

/* ---------- Discord ---------- */
.dc-grid { display: grid; gap: 1.25rem; }
@media (min-width: 860px) { .dc-grid { grid-template-columns: 3fr 2fr; } }
.dc-users { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: .4rem .75rem; margin: 0; padding: 0; list-style: none; }
.dc-users li { display: flex; align-items: center; gap: .7rem; padding: .35rem .45rem; border-radius: 8px; transition: background-color .2s; }
.dc-users li:hover { background: rgba(98, 214, 255, .07); }
.av { position: relative; flex: none; width: 36px; height: 36px; }
.av img, .av-fallback { width: 100%; height: 100%; border-radius: 50%; display: grid; place-items: center; object-fit: cover; }
.av-fallback { background: linear-gradient(135deg, var(--deep), #1c2a3a); color: #fff; font: 700 .9rem var(--display); }
.av-sm { width: 28px; height: 28px; }
.st { position: absolute; right: -2px; bottom: -2px; width: 13px; height: 13px; border-radius: 50%; border: 3px solid var(--panel-solid); background: var(--online); }
.st-idle { background: var(--idle); }
.st-dnd { background: var(--dnd); }
.un { display: flex; flex-direction: column; min-width: 0; font-weight: 600; line-height: 1.25; overflow: hidden; text-overflow: ellipsis; }
.game { font-weight: 400; font-size: .85rem; color: var(--cyan); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vc-list { margin: 0 0 1.25rem; padding: 0; list-style: none; }
.vc-list li { padding: .65rem 0; border-bottom: 1px solid var(--edge); }
.vc-name { display: flex; align-items: center; gap: .45rem; margin-bottom: .45rem; font-weight: 600; color: #fff; }
.vc-name svg { color: var(--online); }
.vc-users { display: flex; flex-wrap: wrap; gap: .3rem; }
.vc-users .av { box-shadow: 0 0 0 2px var(--online); border-radius: 50%; }
.dc-voice .btn { width: 100%; justify-content: center; }

/* ---------- Karty hier ---------- */
.games { display: grid; gap: 1.25rem; }
@media (min-width: 820px) { .games { grid-template-columns: 1.4fr 1fr; grid-template-rows: auto auto; } .game-main { grid-row: span 2; } }
.game-card { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: .4rem; overflow: hidden; padding: 1.75rem;
             color: var(--text); text-decoration: none; border-radius: 14px; border: 1px solid var(--edge);
             background: linear-gradient(160deg, rgba(22, 34, 48, .9), rgba(10, 15, 22, .95));
             transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .35s cubic-bezier(.2, .7, .2, 1), border-color .3s, box-shadow .3s; }
.game-card:hover { color: var(--text); border-color: var(--edge-hot); box-shadow: 0 24px 50px -20px rgba(47, 168, 255, .45); }
.game-card h3 { margin: .4rem 0 .2rem; font-size: clamp(1.4rem, 3vw, 2rem); text-transform: uppercase; }
.game-main { min-height: 340px; justify-content: flex-end;
             background: radial-gradient(500px 300px at 85% 10%, rgba(47, 168, 255, .3), transparent 65%),
                         repeating-linear-gradient(135deg, rgba(98, 214, 255, .045) 0 1px, transparent 1px 10px),
                         linear-gradient(160deg, #13253a, #090e15); }
.game-main h3 { font-size: clamp(2.2rem, 5.5vw, 3.6rem); text-shadow: 0 0 30px rgba(47, 168, 255, .6); }
.acc-rust { background: radial-gradient(400px 200px at 90% 0, rgba(226, 103, 46, .22), transparent 70%), linear-gradient(160deg, #1d1712, #0c0d10); }
.acc-rust:hover { border-color: rgba(226, 103, 46, .6); box-shadow: 0 24px 50px -20px rgba(226, 103, 46, .45); }
.glare { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s;
         background: radial-gradient(380px circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 255, 255, .12), transparent 60%); }
.tilt:hover .glare { opacity: 1; }
.mini-facts { display: flex; flex-wrap: wrap; gap: .5rem 2rem; margin: .5rem 0 0; }
.mini-facts dt { font-size: .8rem; color: var(--muted); }
.mini-facts dd { margin: 0; font-weight: 600; }
.server { display: inline-flex; align-items: center; gap: .45rem; margin-top: .4rem; font-weight: 600; font-size: .95rem; }
.server.is-on .dot { background: var(--online); box-shadow: 0 0 8px var(--online); }
.server.is-off .dot { background: var(--dnd); }

/* ---------- Akcie ---------- */
.events { display: grid; gap: .65rem; margin: 0; padding: 0; list-style: none; }
.events li { display: grid; grid-template-columns: auto 1fr auto; gap: 1.1rem; align-items: center; padding: .9rem 1.1rem;
             background: var(--panel); border: 1px solid var(--edge); border-radius: var(--r); transition: border-color .25s, transform .25s, box-shadow .25s; }
.events li:hover { border-color: var(--edge-hot); transform: translateX(4px); box-shadow: -4px 0 0 var(--cyan), 0 10px 30px -18px rgba(47, 168, 255, .7); }
.ev-date { display: flex; flex-direction: column; align-items: center; min-width: 3.4rem; padding: .35rem .3rem; border-radius: 8px;
           background: linear-gradient(180deg, rgba(47, 168, 255, .22), rgba(11, 78, 160, .15)); border: 1px solid var(--edge-hot); }
.ev-day { font: 800 1.45rem/1 var(--display); color: #fff; }
.ev-month { font-size: .8rem; color: var(--cyan); }
.ev-title { display: block; font-weight: 700; color: #fff; }
.ev-note { display: block; font-size: .93rem; color: var(--muted); }
@media (max-width: 560px) { .events li { grid-template-columns: auto 1fr; } .events li .tag { grid-column: 2; justify-self: start; } }

/* ---------- Novinky ---------- */
.news { display: grid; gap: .9rem; }
.news-item time { font-size: .85rem; color: var(--cyan); }
.news-item h3 { margin: .2rem 0 .4rem; }
.news-item p { margin: 0; color: #b9c6d2; }

/* ---------- Videá ---------- */
.clips { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.clip { margin: 0; }
.clip figcaption { margin-top: .5rem; font-weight: 600; }
.yt { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; overflow: hidden; cursor: pointer; background: #000; border: 1px solid var(--edge); border-radius: var(--r); }
.yt img { width: 100%; height: 100%; object-fit: cover; opacity: .8; transition: transform .4s, opacity .3s; }
.yt:hover img { transform: scale(1.05); opacity: 1; }
.yt-play { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; background: rgba(47, 168, 255, .9); box-shadow: var(--glow); }
.yt-play::after { content: ''; position: absolute; left: 26px; top: 20px; border-left: 18px solid #fff; border-top: 12px solid transparent; border-bottom: 12px solid transparent; }
.yt iframe, .clip iframe { width: 100%; height: 100%; border: 0; }

/* ---------- Výzva ---------- */
.cta { position: relative; overflow: hidden; padding: clamp(3rem, 6vw, 4.5rem) 0; border-top: 1px solid var(--edge-hot);
       background: radial-gradient(600px 240px at 15% 50%, rgba(47, 168, 255, .25), transparent 70%), linear-gradient(90deg, #0b2440, #08111c); }
.cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; }
.cta h2 { margin: 0 0 .3rem; }
.cta p { margin: 0; color: #c3cfda; }

/* ---------- Členovia ---------- */
.roster { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.member { position: relative; display: flex; gap: 1rem; align-items: flex-start; overflow: hidden; padding: 1.2rem; border-radius: 12px; border: 1px solid var(--edge);
          background: linear-gradient(160deg, rgba(22, 34, 48, .9), rgba(10, 15, 22, .95));
          transform: perspective(800px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .35s cubic-bezier(.2, .7, .2, 1), border-color .3s; }
.member:hover { border-color: var(--edge-hot); }
.member-av { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 12px; font: 800 1.3rem var(--display); color: #fff;
             background: linear-gradient(135deg, var(--blue), var(--deep)); box-shadow: var(--glow); }
.member h3 { margin: 0; font-size: 1.15rem; }
.member-role { margin: .1rem 0 .55rem; color: var(--muted); }
.member-meta { display: flex; flex-wrap: wrap; gap: .3rem; margin: 0; }

/* ---------- Nábor ---------- */
.steps { counter-reset: s; margin: 0 0 1.5rem; padding: 0; list-style: none; }
.steps li { counter-increment: s; position: relative; padding: .7rem 0 .7rem 3.2rem; color: #c3cfda; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: .5rem; display: grid; place-items: center; width: 2.2rem; height: 2.2rem;
                    font: 800 .95rem var(--display); color: #fff; border: 1px solid var(--edge-hot); border-radius: 8px; background: rgba(47, 168, 255, .12); }
.steps li:not(:last-child)::after { content: ''; position: absolute; left: 1.1rem; top: 2.8rem; bottom: -.4rem; width: 1px; background: var(--edge-hot); }
.steps strong { color: #fff; }
.form { display: grid; gap: 1.25rem; }
.field { margin: 0; padding: 0; border: 0; min-width: 0; }
.field > label, .field > legend { display: block; margin-bottom: .4rem; padding: 0; font-weight: 600; color: #fff; }
.hint { display: block; font-weight: 400; font-size: .9rem; color: var(--muted); }
.field-short input { max-width: 8rem; }
input[type="text"], input[type="number"], textarea {
  width: 100%; padding: .7rem .85rem; font: inherit; color: #fff; background: rgba(5, 8, 12, .7);
  border: 1px solid var(--edge); border-radius: 8px; transition: border-color .2s, box-shadow .2s;
}
input:focus, textarea:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(98, 214, 255, .2), 0 0 20px rgba(47, 168, 255, .25); }
textarea { min-height: 8rem; resize: vertical; }
.checks { display: flex; flex-wrap: wrap; gap: .5rem; }
.check { position: relative; cursor: pointer; }
.check input { position: absolute; opacity: 0; }
.check span { display: inline-block; padding: .5rem .95rem; border: 1px solid var(--edge); border-radius: 8px; background: rgba(5, 8, 12, .6); transition: all .2s; }
.check input:checked + span { color: #fff; border-color: var(--cyan); background: rgba(47, 168, 255, .2); box-shadow: 0 0 16px rgba(47, 168, 255, .35); }
.check input:focus-visible + span { outline: 2px solid var(--cyan); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { margin-bottom: 1.5rem; padding: 1rem 1.2rem; border-radius: 8px; border: 1px solid; }
.alert-ok { border-color: rgba(59, 165, 93, .6); background: rgba(59, 165, 93, .12); }
.alert-err { border-color: rgba(237, 66, 69, .6); background: rgba(237, 66, 69, .12); }
.alert ul { margin: .4rem 0 0; padding-left: 1.2rem; }

/* ---------- Päta ---------- */
.site-foot { padding: 2.5rem 0 1.5rem; border-top: 1px solid var(--edge); background: rgba(5, 8, 12, .8); }
.foot-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; }
.foot-row p { margin: 0; }
.foot-brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; font: 900 1.1rem var(--display); letter-spacing: .08em; text-transform: uppercase; color: var(--steel); }
.foot-links { display: flex; gap: 1.25rem; }
.foot-links a { color: var(--text); text-decoration: none; }
.foot-links a:hover { color: var(--cyan); }
.foot-small { margin-top: 1.5rem; }

/* Plávajúce tlačidlo Discordu */
.fab { position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 40; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%;
       color: #fff; background: linear-gradient(180deg, #6f7bff, #4752c4); box-shadow: 0 10px 30px -6px rgba(88, 101, 242, .8);
       opacity: 0; transform: translateY(20px) scale(.8); pointer-events: none; transition: opacity .3s, transform .3s cubic-bezier(.2, .9, .3, 1.3); }
.fab .dc-icon { width: 28px; height: 28px; }
.fab.show { opacity: 1; transform: none; pointer-events: auto; }
.fab:hover { color: #fff; transform: scale(1.08); }
.fab-count { position: absolute; top: -4px; right: -4px; min-width: 22px; height: 22px; padding: 0 5px; display: grid; place-items: center;
             font: 700 .72rem var(--body); background: var(--online); border: 2px solid var(--bg); border-radius: 999px; }

/* ---------- Prechody medzi stránkami ---------- */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .2s ease-in both; }
::view-transition-new(root) { animation: vt-in .3s ease-out both; }
@keyframes vt-out { to { opacity: 0; filter: blur(4px); } }
@keyframes vt-in { from { opacity: 0; filter: blur(4px); } }

/* ---------- Animácie (len pri povolenom pohybe) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .circuit .pulse { animation: flow 4.5s linear infinite; animation-delay: var(--d, 0s); stroke-dasharray: 70 1100; stroke-dashoffset: 70; }
  @keyframes flow { to { stroke-dashoffset: -1000; } }
  .circuit .node { animation: node-blink 4.5s ease-in-out infinite; }
  @keyframes node-blink { 50% { stroke: var(--cyan); } }

  .emblem-wrap { animation: float 6s ease-in-out infinite; }
  @keyframes float { 50% { transform: translateY(-10px); } }
  .emblem { animation: glow 4s ease-in-out infinite; }
  @keyframes glow { 50% { filter: drop-shadow(0 0 48px rgba(98, 214, 255, .7)) drop-shadow(0 20px 40px rgba(0, 0, 0, .6)); } }

  .fx .hero-inner > * { animation: rise .9s cubic-bezier(.2, .7, .2, 1) both; }
  .fx .hero-inner > :nth-child(2) { animation-delay: .1s; }
  .fx .hero-inner > :nth-child(3) { animation-delay: .25s; }
  .fx .hero-inner > :nth-child(4) { animation-delay: .4s; }
  @keyframes rise { from { opacity: 0; transform: translateY(24px); } }

  .dot-online { animation: ping 2s ease-out infinite; }
  @keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(59, 165, 93, .7); } 70%, 100% { box-shadow: 0 0 0 7px rgba(59, 165, 93, 0); } }

  .fx .reveal { clip-path: inset(0 100% 0 0); }
  .fx .reveal.in { clip-path: inset(0 0 0 0); transition: clip-path .9s cubic-bezier(.7, 0, .2, 1); }
  .fx .stagger > * { opacity: 0; transform: translateY(18px); }
  .fx .stagger.in > * { opacity: 1; transform: none; transition: opacity .55s calc(var(--i, 0) * 80ms), transform .55s calc(var(--i, 0) * 80ms) cubic-bezier(.2, .7, .2, 1), border-color .25s, box-shadow .25s; }
}

/* ---------- Mobil: kompaktná hlavička ---------- */
@media (max-width: 700px) {
  .head-row { gap: .25rem .75rem; min-height: 0; }
  .nav { order: 3; width: 100%; margin: 0 -1.25rem; padding: 0 1.25rem; overflow-x: auto; scrollbar-width: none; }
  .nav::-webkit-scrollbar { display: none; }
  .nav ul { flex-wrap: nowrap; }
  .nav a { white-space: nowrap; padding: .4rem .6rem; }
  .nav a::after { left: .6rem; right: .6rem; }
  .head-dc .head-label { display: none; }
  .site-head.scrolled .head-row { min-height: 0; }
}
