/* design.2marsa.cz — výkladní skříň designu (NVIDIA-style)
   Dark, ostré hrany, velká typografie, 2Marsa cyan akcent */

:root {
  --bg: #0a0d12;
  --bg-2: #0e1218;
  --panel: #12171f;
  --panel-2: #161c26;
  --border: #1f2733;
  --border-soft: #18202b;
  --text: #f2f5f8;
  --muted: #aeb8c4;
  --faint: #6b7685;
  --cyan: #00d4d4;
  --blue: #00a8e8;
  --green: #22d36b;
  --grad: linear-gradient(100deg, #00d4d4, #00a8e8);
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
  --maxw: 1280px;
  --r: 4px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }
.mono { font-family: var(--font-mono); }
.accent { color: var(--cyan); }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.kicker {
  font-family: var(--font-mono); font-size: .74rem; letter-spacing: .24em; text-transform: uppercase;
  color: var(--cyan); display: inline-flex; align-items: center; gap: 10px;
}
.kicker::before { content: ''; width: 26px; height: 2px; background: var(--cyan); }

/* ---- Nav ---- */
header.nav { position: sticky; top: 0; z-index: 60; background: rgba(10,13,18,.82); backdrop-filter: blur(14px); border-bottom: 1px solid var(--border-soft); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.brand { display: flex; align-items: center; gap: 11px; font-weight: 800; letter-spacing: -.03em; font-size: 1.15rem; }
.brand .dot { width: 12px; height: 12px; border-radius: 50%; background: var(--grad); box-shadow: 0 0 16px var(--cyan); }
.brand small { color: var(--faint); font-weight: 600; font-family: var(--font-mono); font-size: .72rem; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { color: var(--muted); font-size: .92rem; font-weight: 600; transition: color .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-cta { background: var(--cyan); color: #04161a !important; padding: 10px 20px; border-radius: var(--r); font-weight: 700; transition: filter .2s, transform .15s; }
.nav-cta:hover { filter: brightness(1.1); transform: translateY(-1px); }
.burger { display: none; background: none; border: 0; color: var(--text); font-size: 1.4rem; cursor: pointer; }

/* ---- Buttons ---- */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 15px 30px; border-radius: var(--r); font-weight: 700; font-size: .98rem; border: 1px solid transparent; cursor: pointer; transition: transform .15s, filter .2s, background .2s, border-color .2s; letter-spacing: .01em; }
.btn-primary { background: var(--cyan); color: #04161a; }
.btn-primary:hover { filter: brightness(1.12); transform: translateY(-2px); }
.btn-ghost { border-color: var(--border); color: var(--text); }
.btn-ghost:hover { border-color: var(--cyan); color: var(--cyan); }
.btn-lg { padding: 18px 38px; font-size: 1.05rem; }

/* ---- Sections / type ---- */
section { padding: 110px 0; position: relative; }
h1 { font-size: clamp(2.8rem, 7vw, 5.6rem); line-height: 1.02; letter-spacing: -.04em; font-weight: 800; }
h2 { font-size: clamp(2rem, 4.5vw, 3.4rem); line-height: 1.04; letter-spacing: -.03em; font-weight: 800; }
h3 { font-size: 1.4rem; letter-spacing: -.02em; font-weight: 700; }
.lead { font-size: 1.25rem; color: var(--muted); max-width: 680px; line-height: 1.55; }
.shead { margin-bottom: 60px; }
.shead h2 { margin-top: 16px; max-width: 18ch; }
.shead p { color: var(--muted); margin-top: 16px; font-size: 1.1rem; max-width: 640px; }

/* ---- Hero (full-bleed) ---- */
.hero { min-height: 86vh; display: flex; align-items: center; padding: 80px 0; position: relative; overflow: hidden; border-bottom: 1px solid var(--border-soft); }
.hero-bg { position: absolute; inset: 0; z-index: 0; opacity: .9; }
.hero-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, var(--bg) 18%, rgba(10,13,18,.5) 55%, transparent 100%); }
.hero .wrap { position: relative; z-index: 1; width: 100%; }
.hero h1 { max-width: 16ch; margin: 22px 0 26px; }
.hero .lead { margin-bottom: 38px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-meta { display: flex; gap: 56px; margin-top: 72px; flex-wrap: wrap; }
.hero-meta .n { font-size: 2.6rem; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.hero-meta .l { color: var(--faint); font-size: .82rem; font-family: var(--font-mono); margin-top: 8px; text-transform: uppercase; letter-spacing: .12em; }

/* ---- Featured big tile ---- */
.feat-tile { position: relative; border: 1px solid var(--border); border-radius: var(--r); overflow: hidden; min-height: 460px; display: flex; align-items: flex-end; transition: border-color .3s; }
.feat-tile:hover { border-color: var(--cyan); }
.feat-tile .vis { position: absolute; inset: 0; z-index: 0; transition: transform .6s ease; }
.feat-tile:hover .vis { transform: scale(1.04); }
.feat-tile .vis::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8,10,14,.95) 0%, rgba(8,10,14,.35) 55%, transparent 100%); }
.feat-tile .meta { position: relative; z-index: 1; padding: 46px; max-width: 640px; }
.feat-tile .meta h3 { font-size: 2.2rem; margin: 14px 0 12px; letter-spacing: -.03em; }
.feat-tile .meta p { color: var(--muted); margin-bottom: 22px; }
.arrow-link { display: inline-flex; align-items: center; gap: 9px; color: var(--cyan); font-weight: 700; font-size: .98rem; }
.arrow-link .a { transition: transform .2s; }
.feat-tile:hover .arrow-link .a, .tile:hover .arrow-link .a { transform: translateX(5px); }

/* ---- Showcase grid (NVIDIA style tiles) ---- */
.show-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(360px, 1fr)); gap: 22px; }
.tile { position: relative; border: 1px solid var(--border); border-radius: var(--r); overflow: hidden; background: var(--panel); transition: border-color .3s, transform .3s; display: flex; flex-direction: column; }
.tile:hover { border-color: var(--cyan); transform: translateY(-4px); }
.tile .vis { aspect-ratio: 16/10; overflow: hidden; border-bottom: 1px solid var(--border); position: relative; }
.tile .vis svg, .tile .vis img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease; }
.tile:hover .vis svg, .tile:hover .vis img { transform: scale(1.05); }
.tile .body { padding: 24px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.cat { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--cyan); margin-bottom: 12px; }
.tile h3 { margin-bottom: 8px; }
.tile p { color: var(--muted); font-size: .96rem; flex: 1; }
.tile .arrow-link { margin-top: 18px; }

/* ---- Filters ---- */
.filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 40px; }
.filter { background: transparent; border: 1px solid var(--border); color: var(--muted); padding: 9px 18px; border-radius: var(--r); font-size: .85rem; font-family: var(--font-mono); cursor: pointer; transition: all .2s; }
.filter:hover { color: var(--text); border-color: var(--faint); }
.filter.active { background: var(--cyan); border-color: var(--cyan); color: #04161a; }

/* ---- Strip / stats band ---- */
.strip { border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft); background: var(--bg-2); }
.strip-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px,1fr)); gap: 1px; background: var(--border-soft); }
.strip-grid .cell { background: var(--bg-2); padding: 44px 32px; }
.strip-grid .n { font-size: 2.4rem; font-weight: 800; letter-spacing: -.03em; }
.strip-grid .l { color: var(--muted); margin-top: 8px; font-size: .95rem; }

/* ---- Services ---- */
.svc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px,1fr)); gap: 1px; background: var(--border-soft); border: 1px solid var(--border-soft); border-radius: var(--r); overflow: hidden; }
.svc { background: var(--panel); padding: 38px 32px; transition: background .25s; }
.svc:hover { background: var(--panel-2); }
.svc .ic { width: 50px; height: 50px; border-radius: var(--r); display: grid; place-items: center; background: rgba(0,212,212,.1); border: 1px solid rgba(0,212,212,.3); color: var(--cyan); font-size: 1.3rem; margin-bottom: 22px; }
.svc h3 { margin-bottom: 10px; }
.svc p { color: var(--muted); font-size: .96rem; }

/* ---- Project detail page ---- */
.proj-hero { min-height: 70vh; display: flex; align-items: flex-end; position: relative; overflow: hidden; border-bottom: 1px solid var(--border); padding-bottom: 60px; }
.proj-hero .vis { position: absolute; inset: 0; z-index: 0; }
.proj-hero .vis::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, var(--bg) 6%, rgba(10,13,18,.55) 50%, rgba(10,13,18,.3) 100%); }
.proj-hero .wrap { position: relative; z-index: 1; }
.back-link { color: var(--muted); font-family: var(--font-mono); font-size: .82rem; display: inline-flex; gap: 8px; align-items: center; margin-bottom: 26px; }
.back-link:hover { color: var(--cyan); }
.proj-hero h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); max-width: 16ch; margin-bottom: 18px; }
.proj-hero .lead { font-size: 1.2rem; }
.proj-tags { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 26px; }
.ptag { font-family: var(--font-mono); font-size: .74rem; color: var(--cyan); border: 1px solid rgba(0,212,212,.35); padding: 6px 12px; border-radius: var(--r); }
.proj-overview { display: grid; grid-template-columns: 1.4fr 1fr; gap: 64px; }
.proj-overview .body p { color: var(--muted); font-size: 1.08rem; margin-bottom: 20px; }
.proj-overview .body h3 { margin: 32px 0 12px; }
.meta-card { background: var(--panel); border: 1px solid var(--border); border-radius: var(--r); padding: 32px; height: fit-content; }
.meta-card .row { padding: 16px 0; border-bottom: 1px solid var(--border-soft); }
.meta-card .row:last-child { border-bottom: 0; }
.meta-card .l { font-family: var(--font-mono); font-size: .74rem; text-transform: uppercase; letter-spacing: .12em; color: var(--faint); margin-bottom: 6px; }
.meta-card .v { font-size: 1.02rem; font-weight: 600; }
.proj-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px,1fr)); gap: 1px; background: var(--border-soft); border: 1px solid var(--border-soft); border-radius: var(--r); overflow: hidden; }
.proj-kpis .cell { background: var(--bg-2); padding: 40px 30px; }
.proj-kpis .n { font-size: 2.8rem; font-weight: 800; letter-spacing: -.03em; }
.proj-kpis .l { color: var(--muted); margin-top: 8px; }
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px,1fr)); gap: 18px; }
.gallery .shot { border: 1px solid var(--border); border-radius: var(--r); overflow: hidden; aspect-ratio: 4/3; }
.gallery .shot.wide { grid-column: span 2; aspect-ratio: 16/7; }
.gallery .shot svg, .gallery .shot img { width: 100%; height: 100%; object-fit: cover; }
.proj-nav { display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid var(--border-soft); padding-top: 40px; flex-wrap: wrap; }

/* ---- CTA band ---- */
.cta-band { text-align: center; border: 1px solid var(--border); border-radius: var(--r); padding: 86px 32px; background: radial-gradient(700px 320px at 50% 0%, rgba(0,212,212,.12), var(--panel)); }
.cta-band h2 { margin-bottom: 16px; }
.cta-band p { color: var(--muted); margin: 0 auto 32px; max-width: 520px; font-size: 1.1rem; }

/* ---- Contact ---- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.field { margin-bottom: 20px; }
.field label { display: block; font-size: .8rem; color: var(--muted); margin-bottom: 8px; font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .1em; }
.field input, .field textarea { width: 100%; background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--r); padding: 14px 16px; color: var(--text); font-family: var(--font-sans); font-size: .98rem; transition: border-color .2s; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--cyan); }
.contact-info .row { display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--border-soft); }
.contact-info .ic { color: var(--cyan); font-size: 1.2rem; }
.contact-info .l { font-size: .76rem; color: var(--faint); font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .1em; }
.contact-info .v { font-size: 1.05rem; }

/* ---- Footer ---- */
footer { border-top: 1px solid var(--border-soft); padding: 64px 0 48px; }
.foot-inner { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.foot-col { max-width: 280px; }
.foot-col h4 { font-size: .76rem; font-family: var(--font-mono); color: var(--faint); text-transform: uppercase; letter-spacing: .14em; margin-bottom: 16px; }
.foot-col a { display: block; color: var(--muted); font-size: .94rem; padding: 5px 0; transition: color .2s; }
.foot-col a:hover { color: var(--cyan); }
.foot-bottom { margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--border-soft); color: var(--faint); font-size: .84rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }

/* ---- reveal ---- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.hidden { display: none !important; }

@media (max-width: 920px) {
  .nav-links { position: fixed; inset: 70px 0 auto 0; flex-direction: column; background: var(--bg-2); border-bottom: 1px solid var(--border); padding: 22px 32px; gap: 18px; transform: translateY(-130%); transition: transform .3s; }
  .nav-links.open { transform: none; }
  .burger { display: block; }
  .proj-overview, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .gallery .shot.wide { grid-column: span 1; aspect-ratio: 4/3; }
  section { padding: 72px 0; }
  .hero { min-height: auto; }
  .feat-tile .meta { padding: 30px; }
}

/* ============================================================
   PATIČKA — portováno z původního helix (2marsa.cz)
   ============================================================ */
:root {
  --electric: #00a8e8;
  --ai-cyan: #00d4d4;
  --muted-soft: #8b9ab1;
  --white: #ffffff;
  --border-dark: rgba(255,255,255,.08);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

footer.footer { background: #050d17; color: var(--muted-soft); padding: 80px 0 32px; border-top: 1px solid var(--border-dark); margin-top: 0; }
footer.footer .wrap { max-width: var(--maxw); }

.footer-sitemap { margin: 0 0 32px; padding: 28px 0 8px; position: relative; }
.footer-sitemap-header { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 22px; padding-bottom: 14px; border-bottom: 1px solid rgba(255,255,255,.06); }
.footer-sitemap-eyebrow { font-family: var(--font-mono); font-size: 10.5px; color: var(--electric); letter-spacing: .18em; text-transform: uppercase; font-weight: 600; }
.footer-sitemap-title { font-family: var(--font-mono); font-size: 12.5px; color: var(--muted); letter-spacing: .04em; }
.footer-sitemap-title strong { color: var(--white); }

.sitemap-grid { display: grid; grid-template-columns: 1.1fr 1.4fr 1fr; gap: 22px; align-items: stretch; }
@media (max-width: 1024px) { .sitemap-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 720px) { .sitemap-grid { grid-template-columns: 1fr; } }

.sitemap-branch { background: rgba(255,255,255,.018); border: 1px solid rgba(255,255,255,.06); border-radius: 12px; padding: 16px 18px 18px; position: relative; transition: border-color 280ms ease, background 280ms ease; }
.sitemap-branch:hover { border-color: rgba(0,168,232,.22); background: rgba(0,168,232,.02); }
.sitemap-branch-head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; padding-bottom: 10px; border-bottom: 1px dashed rgba(255,255,255,.08); }
.sitemap-branch-icon { width: 26px; height: 26px; border-radius: 6px; display: grid; place-items: center; color: var(--electric); background: rgba(0,168,232,.10); border: 1px solid rgba(0,168,232,.25); flex-shrink: 0; }
.sitemap-branch-icon svg { width: 14px; height: 14px; }
.sitemap-branch-title { font-family: var(--font-mono); font-size: 11.5px; color: var(--white); letter-spacing: .06em; text-transform: uppercase; font-weight: 700; }
.sitemap-branch-meta { margin-left: auto; font-family: var(--font-mono); font-size: 10px; color: var(--muted); letter-spacing: .04em; background: rgba(255,255,255,.04); padding: 3px 8px; border-radius: 4px; }
.sitemap-tree { list-style: none; padding: 0; margin: 0; font-family: var(--font-mono); font-size: 12px; color: var(--muted-soft); }
.sitemap-tree li { display: grid; grid-template-columns: 16px 1fr auto; align-items: center; column-gap: 6px; padding: 4px 0; line-height: 1.4; }
.sitemap-tree li::before { content: '├'; color: rgba(255,255,255,.25); grid-column: 1; text-align: center; font-size: 13px; }
.sitemap-tree li:last-child::before { content: '└'; }
.sitemap-tree a { color: var(--muted-soft); text-decoration: none; transition: color 180ms ease; border-bottom: 1px dotted transparent; grid-column: 2; }
.sitemap-tree a:hover { color: var(--electric); border-color: rgba(0,168,232,.4); }
.sitemap-tree .anchor-tag, .sitemap-tree .page-tag, .sitemap-tree .ext-tag { grid-column: 3; font-size: 9.5px; letter-spacing: .06em; color: var(--muted); padding: 2px 7px; border-radius: 3px; border: 1px solid rgba(255,255,255,.08); text-transform: uppercase; background: rgba(255,255,255,.02); }
.sitemap-tree .anchor-tag { color: rgba(0,212,212,.7); border-color: rgba(0,212,212,.18); }
.sitemap-tree .page-tag { color: rgba(0,168,232,.85); border-color: rgba(0,168,232,.22); }
.sitemap-tree .ext-tag { color: rgba(245,158,11,.85); border-color: rgba(245,158,11,.22); }

.sitemap-hub { background: linear-gradient(135deg, rgba(0,168,232,.04), rgba(0,212,212,.025)); border: 1px solid rgba(0,168,232,.20); text-align: center; padding: 22px 18px 20px; border-radius: 12px; position: relative; overflow: hidden; }
.sitemap-hub::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at center, rgba(0,168,232,.08), transparent 60%); }
.sitemap-hub-mark { width: 88px; height: 88px; border-radius: 18px; margin: 0 auto 14px; background: radial-gradient(circle at 30% 20%, #fff 0%, #f8fafc 100%); position: relative; display: grid; place-items: center; box-shadow: 0 0 30px -6px rgba(0,168,232,.40), 0 12px 24px -6px rgba(0,0,0,.50), inset 0 1px 0 rgba(255,255,255,.8); overflow: hidden; transition: transform 240ms cubic-bezier(0.34,1.56,0.64,1); }
.sitemap-hub-mark:hover { transform: scale(1.04); }
.sitemap-hub-mark .hubdot { width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, #00d4d4, #00a8e8); box-shadow: 0 0 18px rgba(0,168,232,.5); }
.sitemap-hub-name { font-size: 16px; color: var(--white); font-weight: 700; letter-spacing: -.01em; margin-bottom: 4px; position: relative; }
.sitemap-hub-tagline { font-family: var(--font-mono); font-size: 11px; color: var(--muted); line-height: 1.5; margin-bottom: 14px; position: relative; }
.sitemap-hub-badges { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; position: relative; }
.sitemap-hub-badge { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .06em; color: var(--muted-soft); padding: 4px 9px; border-radius: 12px; border: 1px solid rgba(255,255,255,.08); background: rgba(255,255,255,.02); text-transform: uppercase; }
.sitemap-hub-badge.cyan { color: var(--ai-cyan); border-color: rgba(0,212,212,.30); }
.sitemap-hub-contact { margin-top: 16px; padding-top: 14px; border-top: 1px dashed rgba(255,255,255,.08); display: flex; flex-direction: column; gap: 6px; position: relative; }
.sitemap-hub-contact a { font-family: var(--font-mono); font-size: 12px; color: var(--white); text-decoration: none; transition: color 200ms ease; }
.sitemap-hub-contact a:hover { color: var(--electric); }
.sitemap-hub-contact small { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .10em; text-transform: uppercase; color: var(--muted); }

.footer-bottom { margin-top: 28px; padding: 18px 22px; background: rgba(0,0,0,.28); border: 1px solid rgba(255,255,255,.06); border-radius: 10px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; font-family: var(--font-mono); font-size: 11.5px; color: var(--muted-soft); letter-spacing: .04em; position: relative; overflow: hidden; }
.footer-bottom::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: linear-gradient(180deg, var(--electric), var(--ai-cyan)); opacity: .7; }
.footer-bottom > span:first-child { color: var(--white); font-weight: 500; }
.footer-bottom a, .legal-modal-trigger { color: var(--muted-soft); text-decoration: none; border-bottom: 1px dotted rgba(139,154,177,.35); padding-bottom: 1px; transition: color 200ms ease, border-color 200ms ease; background: transparent; border-top: 0; border-left: 0; border-right: 0; cursor: pointer; font: inherit; }
.footer-bottom a:hover, .legal-modal-trigger:hover { color: var(--electric); border-color: var(--electric); }
@media (max-width: 640px) { .footer-bottom { flex-direction: column; align-items: flex-start; padding: 16px 18px; } }

.footer-credit-ribbon { margin-top: 14px; padding: 10px 18px; border-radius: 8px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.07); color: rgba(255,255,255,.5); font-size: 11.5px; display: flex; align-items: center; gap: 9px; letter-spacing: .02em; }
.footer-credit-ribbon strong { color: rgba(255,255,255,.82); font-weight: 600; }
.footer-credit-mark { color: var(--electric); font-size: 11px; transform: rotate(15deg); }
.footer-credit-sep { opacity: .4; }
.footer-credit-link { color: rgba(255,255,255,.55); text-decoration: none; border-bottom: 1px dotted rgba(255,255,255,.25); padding-bottom: 1px; transition: color .15s, border-color .15s; }
.footer-credit-link:hover { color: var(--electric); border-bottom-color: var(--electric); }
@media (max-width: 720px) { .footer-credit-ribbon { flex-wrap: wrap; gap: 5px; } .footer-credit-sep { display: none; } }

/* legal modal */
.legal-modal { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: 24px; }
.legal-modal.open { display: flex; }
.legal-backdrop { position: absolute; inset: 0; background: rgba(13,27,42,.78); backdrop-filter: blur(8px); }
.legal-card { position: relative; width: 100%; max-width: 680px; max-height: calc(100vh - 48px); background: linear-gradient(180deg, #15273a, #0e1d2c); border: 1px solid rgba(0,168,232,.22); border-radius: 14px; box-shadow: 0 30px 80px -20px rgba(0,0,0,.7); display: flex; flex-direction: column; overflow: hidden; }
.legal-close { position: absolute; top: 16px; right: 16px; width: 30px; height: 30px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.10); border-radius: 6px; color: var(--muted-soft); cursor: pointer; display: grid; place-items: center; font-size: 16px; }
.legal-close:hover { color: var(--white); border-color: var(--electric); }
.legal-tabs { display: flex; padding: 18px 22px 0; border-bottom: 1px solid rgba(255,255,255,.06); background: rgba(0,0,0,.18); }
.legal-tab { background: transparent; border: 0; color: var(--muted); font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; padding: 12px 16px; cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; font-weight: 600; }
.legal-tab:hover { color: var(--white); }
.legal-tab.is-active { color: var(--electric); border-bottom-color: var(--electric); }
.legal-content { padding: 24px 28px 28px; overflow-y: auto; color: var(--muted-soft); font-size: 14px; line-height: 1.65; }
.legal-content h3 { color: var(--white); font-size: 19px; font-weight: 700; margin-bottom: 6px; }
.legal-content .legal-eyebrow { display: block; font-family: var(--font-mono); font-size: 10.5px; color: var(--electric); letter-spacing: .14em; text-transform: uppercase; margin-bottom: 8px; font-weight: 600; }
.legal-pane { display: none; }
.legal-pane.is-active { display: block; }

.game-promo { display:flex; align-items:center; gap:14px; justify-content:center; margin:20px auto 0; max-width:540px; padding:14px 22px; border:1px solid rgba(255,107,44,.42); border-radius:14px; background:rgba(255,107,44,.07); text-decoration:none; transition:transform .2s, background .2s; }
.game-promo:hover { transform: translateY(-2px); background: rgba(255,107,44,.14); }
.game-promo img { height:56px; width:auto; border-radius:8px; flex:0 0 auto; }
.game-promo strong { display:block; color:#fff; font-size:17px; letter-spacing:.02em; }
.game-promo .gsub { color:#ff8a4d; font-size:14px; }
