/* Zeuz Resources — "Storm" theme */

:root {
  --bg: #0e1824;
  --bg-deep: #0b141e;
  --surface: #15222f;
  --surface-2: #1c2d3d;
  --panel: #111d29;
  --border: #27394b;
  --border-soft: #1d2e40;
  --border-strong: #2b415a;
  --text: #e8f1f8;
  --text-2: #b4c6d6;
  --muted: #94a9bc;
  --accent: #19d4ff;
  --accent-ink: #04202c;
  --accent-soft: #0f2a3a;
  --accent-line: #23506a;
  --link: #7fdcff;
  --danger: #ff8a8a;
  --success: #5ee6a8;

  --font-display: 'Saira Condensed', 'Arial Narrow', Inter, sans-serif;
  --font-body: Inter, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, Consolas, monospace;

  --radius: 14px;
  --radius-sm: 8px;
  --container: 1240px;
  --gutter: 24px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.55 var(--font-body);
}
main { flex: 1 0 auto; }
img { max-width: 100%; display: block; }
a { color: var(--link); }
a:hover { color: #c4f1ff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { line-height: 1.1; }
code { font-family: var(--font-mono); font-size: 0.9em; background: var(--bg-deep); border: 1px solid var(--border-soft); padding: 1px 6px; border-radius: 5px; }
pre { font-family: var(--font-mono); font-size: 14px; line-height: 1.65; background: var(--bg-deep); border: 1px solid var(--border-soft); border-radius: 12px; padding: 18px 20px; overflow-x: auto; color: var(--text-2); }
pre code { background: none; border: 0; padding: 0; font-size: inherit; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding-inline: var(--gutter); }
.muted { color: var(--muted); }
.display { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; letter-spacing: 0.01em; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--accent); color: var(--accent-ink); padding: 10px 14px; border-radius: 8px; font-weight: 700; }
.skip-link:focus { left: 8px; }
.row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 18px; border-radius: var(--radius-sm);
  font: 600 15px var(--font-body); text-decoration: none; cursor: pointer;
  border: 1px solid transparent; transition: background .15s, border-color .15s, color .15s, transform .1s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); font-weight: 700; }
.btn-primary:hover { background: #6ae4ff; color: var(--accent-ink); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border-strong); }
.btn-ghost:hover { border-color: var(--accent); color: var(--text); }
.btn-soft { background: #1f3b52; color: var(--text); }
.btn-soft:hover { background: #28506f; color: var(--text); }
.btn-lg { min-height: 54px; padding: 0 28px; font-size: 17px; border-radius: 10px; }
.btn-sm { min-height: 40px; padding: 0 14px; font-size: 14px; }
.btn-block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; }
.icon-btn {
  width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--radius-sm); border: 1px solid var(--border-strong); background: transparent; color: var(--text); cursor: pointer;
}
.link-btn { background: none; border: 0; padding: 4px 0; color: var(--muted); font: 500 13px var(--font-body); text-decoration: underline; cursor: pointer; }
.link-btn:hover { color: var(--text); }
body.cart-busy .cart-panel { cursor: progress; }
body.cart-busy .cart-panel .btn, body.cart-busy [data-add] { opacity: .6; pointer-events: none; }

/* ---------- header ---------- */
.demo-bar { background: #3a2a05; color: #ffd98a; text-align: center; font-size: 14px; padding: 8px 16px; }
.demo-bar a { color: #ffe7b3; }
.site-header { background: var(--bg-deep); border-bottom: 1px solid #22344a; position: sticky; top: 0; z-index: 40; }
.nav { display: flex; align-items: center; gap: 24px; min-height: 72px; flex-wrap: wrap; padding-block: 10px; }
.brand img { width: 200px; height: auto; }
.nav-links { display: flex; gap: 4px; flex: 1; flex-wrap: wrap; }
.nav-links a { color: var(--text-2); text-decoration: none; font-weight: 500; font-size: 15px; padding: 12px 14px; border-radius: 8px; }
.nav-links a:hover { color: var(--text); background: var(--surface); }
.nav-links a[aria-current="page"] { color: var(--text); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
#account { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--text-2); }
#account strong { color: var(--text); }
.nav-toggle { display: none; margin-left: auto; }

@media (max-width: 900px) {
  .nav { gap: 12px; }
  .brand img { width: 170px; }
  .nav-toggle { display: inline-flex; }
  .nav-links { display: none; order: 3; flex-basis: 100%; flex-direction: column; padding-bottom: 8px; }
  body.nav-open .nav-links { display: flex; }
  .nav-actions { order: 4; flex-basis: 100%; justify-content: space-between; padding-bottom: 8px; }
  body:not(.nav-open) .nav-actions #account { display: none; }
  body:not(.nav-open) .nav-actions { order: 2; flex-basis: auto; padding: 0; }
}

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--border-soft); background: var(--bg-deep); margin-top: auto; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between; padding-block: 32px; color: var(--muted); font-size: 14px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-links a { color: var(--text-2); }

/* ---------- home ---------- */
.hero { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; padding-block: 88px 72px; }
.hero-copy { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.hero h1 { margin: 0; font-size: clamp(52px, 8vw, 88px); line-height: .92; }
.hero h1 .accent { color: var(--accent); }
.hero p { margin: 0; font-size: 19px; color: var(--text-2); max-width: 520px; }
.hero-media {
  flex: 1 1 480px; min-width: 0; aspect-ratio: 16 / 10; border-radius: 16px; border: 1px solid var(--border);
  background: radial-gradient(120% 120% at 70% 20%, #1e3a52 0%, var(--surface) 55%); display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media .bolt { width: 34%; filter: drop-shadow(0 0 40px rgba(25, 212, 255, .35)); }
.pill { align-self: flex-start; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--link); border: 1px solid var(--accent-line); background: var(--accent-soft); padding: 6px 12px; border-radius: 999px; }

.strip { border-block: 1px solid var(--border-soft); background: var(--bg-deep); }
.strip-inner { display: flex; flex-wrap: wrap; gap: 12px 40px; align-items: center; justify-content: center; padding-block: 22px; color: var(--muted); font-size: 15px; }
.strip-inner strong { color: var(--text); font-weight: 600; }
.strip-inner .fw { font-family: var(--font-display); font-weight: 700; font-size: 22px; letter-spacing: .04em; text-transform: uppercase; }

.section { padding-block: 80px; }
.section-head { display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-end; justify-content: space-between; margin-bottom: 32px; }
.section-head h2, .page-title { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: clamp(36px, 5vw, 48px); text-transform: uppercase; line-height: 1; }

.features { background: var(--bg-deep); border-top: 1px solid var(--border-soft); }
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 32px; }
.feature { display: flex; flex-direction: column; gap: 12px; }
.feature h3 { margin: 0; font-size: 19px; }
.feature p { margin: 0; color: var(--text-2); font-size: 15px; }
.feature-icon { width: 44px; height: 44px; border-radius: 10px; background: var(--accent-soft); display: flex; align-items: center; justify-content: center; color: var(--accent); }

.cta { border-radius: 18px; border: 1px solid var(--accent-line); background: var(--accent-soft); padding: 48px; display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.cta h2 { margin: 0 0 8px; font-family: var(--font-display); font-weight: 800; font-size: clamp(32px, 4vw, 44px); text-transform: uppercase; line-height: 1; }
.cta p { margin: 0; color: var(--text-2); }
@media (max-width: 600px) { .cta { padding: 28px; } }

/* ---------- filters + cards ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--border-strong); background: transparent; color: var(--text-2); font: 600 14px var(--font-body); cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; }
.chip:hover { color: var(--text); border-color: var(--muted); }
.chip[aria-pressed="true"], .chip[aria-current="true"] { border-color: var(--accent); background: var(--accent-soft); color: var(--link); }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 20px; }
.card { border: 1px solid var(--border); background: var(--surface); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: border-color .15s, transform .15s; position: relative; }
.card:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.card-media { aspect-ratio: 16 / 10; background: var(--surface-2); position: relative; display: flex; align-items: center; justify-content: center; }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-media .bolt { width: 22%; opacity: .5; }
.tag { position: absolute; top: 12px; left: 12px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; background: var(--bg-deep); color: var(--link); padding: 5px 9px; border-radius: 6px; }
.card-body { padding: 18px; display: flex; flex-direction: column; gap: 10px; flex-grow: 1; }
.card h3 { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 26px; text-transform: uppercase; line-height: 1; }
.card h3 a { color: inherit; text-decoration: none; }
.card h3 a::after { content: ''; position: absolute; inset: 0; } /* whole card clickable */
.card p { margin: 0; font-size: 14px; color: #a8bccd; flex-grow: 1; }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 6px; }
.card-foot .price { font-weight: 700; font-size: 18px; }
.card-foot .btn { position: relative; z-index: 1; }
.price s { color: var(--muted); font-weight: 500; font-size: .85em; margin-right: 6px; }

.state { border: 1px dashed var(--border-strong); border-radius: var(--radius); padding: 48px 24px; text-align: center; color: var(--text-2); display: flex; flex-direction: column; align-items: center; gap: 14px; }
.state h3 { margin: 0; font-size: 20px; color: var(--text); }
.state p { margin: 0; max-width: 460px; }
.skeleton { background: linear-gradient(90deg, var(--surface) 0%, var(--surface-2) 50%, var(--surface) 100%); background-size: 200% 100%; animation: shimmer 1.4s infinite; border-radius: var(--radius); min-height: 340px; border: 1px solid var(--border); }
@keyframes shimmer { to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { .skeleton { animation: none; } .card:hover { transform: none; } html { scroll-behavior: auto; } }

/* ---------- product page ---------- */
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--muted); padding-top: 32px; }
.crumbs a { color: var(--muted); }
.crumbs [aria-current] { color: var(--text); }
.product { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; padding-block: 28px 40px; }
.product-media { flex: 1 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.product-media .main { aspect-ratio: 16 / 9; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); overflow: hidden; display: flex; align-items: center; justify-content: center; }
.product-media .main img, .product-media .main iframe { width: 100%; height: 100%; object-fit: cover; border: 0; }
.product-media .main .bolt { width: 18%; opacity: .5; }
.buy { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 20px; border: 1px solid var(--border); background: var(--surface); border-radius: var(--radius); padding: 28px; position: sticky; top: 96px; }
.buy h1 { margin: 0; font-size: clamp(40px, 5vw, 56px); line-height: .95; }
.buy .badges { display: flex; flex-wrap: wrap; gap: 8px; }
.badge { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; background: var(--accent-soft); color: var(--link); padding: 5px 9px; border-radius: 6px; }
.badge.mono { font-family: var(--font-mono); text-transform: none; letter-spacing: 0; font-weight: 500; background: var(--bg-deep); color: var(--text-2); }
.fw-list { display: flex; flex-wrap: wrap; gap: 8px; }
.fw-list span { font-size: 13px; font-weight: 600; border: 1px solid var(--border-strong); padding: 6px 10px; border-radius: 6px; }
.buy .price-big { font-size: 32px; font-weight: 700; }
.buy .fine { margin: 0; font-size: 13px; color: var(--muted); }
.buy .summary { margin: 0; color: var(--text-2); }
@media (max-width: 960px) { .buy { position: static; } }

.description { max-width: 820px; padding-bottom: 80px; color: #c8d6e2; font-size: 16px; }
.description h2, .description h3 { font-family: var(--font-display); text-transform: uppercase; font-weight: 800; color: var(--text); font-size: 30px; margin: 36px 0 12px; }
.description ul { padding-left: 22px; display: grid; gap: 8px; }
.description img { border-radius: 12px; border: 1px solid var(--border); margin-block: 16px; }
.description iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: 12px; }

/* ---------- cart drawer ---------- */
body.cart-open { overflow: hidden; }
.cart { position: fixed; inset: 0; z-index: 60; }
.cart-backdrop { position: absolute; inset: 0; background: rgba(4, 10, 16, .62); opacity: 0; transition: opacity .2s; }
.cart-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(420px, 100%); background: var(--panel); border-left: 1px solid var(--border); display: flex; flex-direction: column; transform: translateX(100%); transition: transform .2s ease-out; }
.cart.open .cart-backdrop { opacity: 1; }
.cart.open .cart-panel { transform: none; }
.cart-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 24px; border-bottom: 1px solid #22344a; }
.cart-head h2 { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: 30px; text-transform: uppercase; }
.cart-body { padding: 20px 24px; display: flex; flex-direction: column; gap: 16px; flex: 1; overflow-y: auto; }
.cart-items { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.cart-item { display: flex; gap: 14px; align-items: center; }
.cart-thumb { width: 84px; height: 56px; border-radius: 8px; background: var(--surface-2); flex-shrink: 0; overflow: hidden; }
.cart-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-info { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.cart-info span { font-size: 13px; }
.cart-price { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.cart-chip { font-size: 14px; color: var(--text-2); display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.cart-codes summary { cursor: pointer; color: var(--text-2); font-weight: 600; font-size: 14px; min-height: 32px; display: flex; align-items: center; }
.code-form { display: flex; flex-direction: column; gap: 6px; margin-top: 12px; font-size: 14px; font-weight: 600; }
.code-form .row { flex-wrap: nowrap; gap: 8px; }
input[type="text"], input:not([type]), input[type="search"] {
  flex: 1; min-width: 0; min-height: 44px; padding: 0 12px; border-radius: 8px; border: 1px solid var(--border-strong); background: var(--bg-deep); color: var(--text); font: 400 15px var(--font-body);
}
input::placeholder { color: #7f97ac; }
.cart-empty { text-align: center; padding: 48px 0; display: flex; flex-direction: column; align-items: center; gap: 12px; color: var(--text-2); }
.cart-foot { padding: 20px 24px; border-top: 1px solid #22344a; display: flex; flex-direction: column; gap: 12px; }
.sum-row { display: flex; justify-content: space-between; font-size: 15px; color: var(--text-2); }
.sum-row.total { font-size: 18px; color: var(--text); }
.cart-foot .fine { margin: 0; font-size: 12px; color: var(--muted); text-align: center; }

/* ---------- dialog + toast ---------- */
.thanks { max-width: 460px; width: calc(100% - 32px); border: 1px solid var(--accent-line); background: var(--panel); color: var(--text); border-radius: 16px; padding: 32px; }
.thanks::backdrop { background: rgba(4, 10, 16, .7); }
.thanks h2 { margin: 0 0 8px; font-family: var(--font-display); font-weight: 800; font-size: 34px; text-transform: uppercase; }
.thanks p { color: var(--text-2); margin: 0 0 20px; }
.thanks form { margin-top: 16px; text-align: center; }
#toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; z-index: 80; max-width: calc(100% - 32px); background: var(--surface-2); color: var(--text); border: 1px solid var(--border-strong); padding: 12px 18px; border-radius: 10px; font-size: 15px; box-shadow: 0 10px 30px rgba(0, 0, 0, .35); transition: opacity .2s, transform .2s; }
#toast.show { opacity: 1; transform: translate(-50%, 0); }
#toast[data-kind="error"] { border-color: #7a3b3b; }
#toast[data-kind="success"] { border-color: #2f6b52; }

/* ---------- docs ---------- */
.docs { display: flex; flex-wrap: wrap; gap: 48px; padding-block: 48px 96px; align-items: flex-start; }
.docs-nav { flex: 1 1 220px; max-width: 260px; position: sticky; top: 96px; display: flex; flex-direction: column; gap: 4px; }
.docs-nav h2 { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 16px 0 6px; font-weight: 600; }
.docs-nav a { color: var(--text-2); text-decoration: none; padding: 8px 12px; border-radius: 8px; font-size: 15px; }
.docs-nav a:hover { background: var(--surface); color: var(--text); }
.docs-nav a[aria-current="page"] { background: var(--accent-soft); color: var(--link); }
.doc { flex: 999 1 560px; min-width: 0; max-width: 860px; color: #c8d6e2; }
.doc h1 { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: clamp(40px, 5vw, 56px); margin: 0 0 12px; color: var(--text); line-height: .95; }
.doc .lede { font-size: 19px; color: var(--text-2); margin: 0 0 32px; }
.doc h2 { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: 32px; margin: 48px 0 12px; color: var(--text); scroll-margin-top: 96px; }
.doc h3 { font-size: 19px; margin: 28px 0 8px; color: var(--text); scroll-margin-top: 96px; }
.doc ul, .doc ol { padding-left: 22px; display: grid; gap: 6px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: 12px; margin-block: 16px; }
.doc table { border-collapse: collapse; width: 100%; font-size: 15px; }
.doc th, .doc td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--border-soft); vertical-align: top; }
.doc th { background: var(--bg-deep); color: var(--text); font-weight: 600; }
.doc tr:last-child td { border-bottom: 0; }
.callout { border: 1px solid var(--accent-line); background: var(--accent-soft); border-radius: 12px; padding: 16px 18px; color: var(--text-2); margin-block: 20px; }
.callout strong { color: var(--text); }
@media (max-width: 860px) { .docs-nav { position: static; max-width: none; } }

/* ---------- legal ---------- */
.prose { max-width: 820px; padding-block: 48px 96px; color: #c8d6e2; }
.prose h1 { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: clamp(40px, 5vw, 56px); margin: 0 0 8px; color: var(--text); }
.prose h2 { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: 30px; margin: 44px 0 12px; color: var(--text); scroll-margin-top: 96px; }
.prose ul { padding-left: 22px; display: grid; gap: 6px; }
.grid > .state { grid-column: 1 / -1; }

/* bolt placeholders size by height so they never overflow their box */
.hero-media .bolt, .card-media .bolt, .product-media .main .bolt { width: auto; }
.hero-media .bolt { height: 62%; }
.card-media .bolt { height: 50%; }
.product-media .main .bolt { height: 55%; }
.cart-thumb { display: flex; align-items: center; justify-content: center; }
.cart-thumb .bolt { width: auto; height: 60%; opacity: .5; }

/* mobile header: logo, cart and menu on one row */
@media (max-width: 900px) {
  .nav-toggle { order: 2; margin-left: 0; }
  body:not(.nav-open) .nav-actions { order: 1; margin-left: auto; }
}
@media (max-width: 480px) {
  .brand img { width: 140px; }
  .nav-actions .btn-primary { padding: 0 12px; }
  .cart-word { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}

/* weapon list on docs pages */
.weapon-grid { list-style: none; padding: 0; margin: 16px 0; display: grid !important; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px !important; }
.weapon-grid li { border: 1px solid var(--border); background: var(--surface); border-radius: 12px; padding: 16px 12px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; }
.weapon-grid img { width: 80px; height: 80px; object-fit: contain; margin-bottom: 4px; }
.weapon-grid strong { color: var(--text); font-size: 15px; }
.weapon-grid code { font-size: 10.5px; white-space: nowrap; padding: 1px 5px; }
.weapon-grid span { font-size: 13px; color: var(--muted); }

/* product image: expand button + lightbox */
.product-media .main { position: relative; }
.product-media .main img:not(.bolt) { cursor: zoom-in; }
.zoom-btn {
  position: absolute; top: 12px; right: 12px; width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 10px; border: 1px solid rgba(255, 255, 255, .18);
  background: rgba(11, 20, 30, .72); color: var(--text); cursor: pointer;
  backdrop-filter: blur(4px); transition: background .15s, border-color .15s;
}
.zoom-btn:hover { background: rgba(11, 20, 30, .9); border-color: var(--accent); }
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; overflow: hidden; }
.lightbox[open] { display: flex; align-items: center; justify-content: center; }
.lightbox::backdrop { background: rgba(4, 10, 16, .9); }
.lightbox img { max-width: min(1600px, calc(100vw - 32px)); max-height: calc(100vh - 96px); width: auto; height: auto; object-fit: contain; border-radius: 12px; box-shadow: 0 20px 60px rgba(0, 0, 0, .5); cursor: zoom-out; }
.lightbox-close { position: fixed; top: 16px; right: 16px; background: rgba(11, 20, 30, .8); }
body:has(.lightbox[open]) { overflow: hidden; }
