:root {
  --bg: #050608;
  --bg-2: #090b11;
  --panel: rgba(12, 13, 18, 0.92);
  --panel-2: rgba(19, 21, 29, 0.95);
  --line: rgba(255,255,255,0.08);
  --line-strong: rgba(244,196,0,0.32);
  --text: #f5f7fb;
  --muted: #a8b0bf;
  --gold: #f4c400;
  --gold-2: #ffe36a;
  --danger: #ff7676;
  --ok: #57d28a;
  --shadow: 0 18px 42px rgba(0,0,0,.34);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, Arial, sans-serif;
  background:
    radial-gradient(circle at 50% 0%, rgba(244,196,0,.07), transparent 30%),
    linear-gradient(180deg, var(--bg), #0b0d14 42%, #080a0f);
  color: var(--text);
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 44px 44px;
  opacity: .25;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
video { width: 100%; display: block; background: #000; }
.container { width: min(1200px, calc(100% - 28px)); margin: 0 auto; position: relative; z-index: 1; }
.upper { text-transform: uppercase; letter-spacing: .02em; }
.public-header, .admin-header {
  position: sticky; top: 0; z-index: 20;
  backdrop-filter: blur(16px);
  background: rgba(5, 6, 10, 0.82);
  border-bottom: 1px solid var(--line);
}
.brand-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 0; }
.brand-title { font-size: clamp(1.2rem, 2vw, 1.85rem); font-weight: 900; letter-spacing: .03em; }
.brand-title span { color: var(--gold); }
.nav-links { display: flex; gap: 8px; flex-wrap: wrap; }
.nav-link {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #d4dae6;
  background: rgba(255,255,255,0.02);
  font-size: .95rem;
}
.nav-link.active, .nav-link:hover {
  color: #111;
  background: linear-gradient(180deg, var(--gold-2), var(--gold));
  border-color: rgba(244,196,0,.9);
}
.hero {
  padding: 22px 0 18px;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 18px;
}
.kz-hero-tight { padding-top: 18px; }
.hero-card, .panel, .card {
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.015));
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
}
.hero-cover {
  min-height: 300px;
  border-radius: 24px;
  overflow: hidden;
  position: relative;
}
.hero-cover img { width: 100%; height: 100%; object-fit: cover; }
.hero-copy { padding: 24px; display: grid; align-content: center; gap: 12px; }
.spotlight-card {
  background:
    linear-gradient(160deg, rgba(244,196,0,.08), rgba(244,196,0,0) 36%),
    linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.015));
}
.kicker { color: var(--gold); text-transform: uppercase; letter-spacing: .16em; font-size: .76rem; font-weight: 800; }
.page-title { font-size: clamp(1.8rem, 5vw, 3.25rem); margin: 0; line-height: 1.02; font-weight: 900; }
.page-subtitle { color: var(--muted); line-height: 1.55; margin: 0; }
.search-row { display: flex; gap: 10px; margin-top: 4px; }
.input, .button, .textarea, select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #171922;
  color: var(--text);
}
.textarea { min-height: 110px; resize: vertical; }
.button {
  width: auto;
  cursor: pointer;
  background: linear-gradient(180deg, var(--gold-2), var(--gold));
  color: #111;
  font-weight: 900;
  border-color: rgba(244,196,0,.75);
  box-shadow: 0 10px 24px rgba(244,196,0,.14);
}
.button.secondary { background: #171922; color: var(--text); box-shadow: none; }
.button.danger { background: #2a1616; color: #ffd8d8; border-color: rgba(255,118,118,.35); }
.button-pill { border-radius: 999px; }
.grid { display: grid; gap: 18px; }
.cards-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.public-event-grid { align-items: stretch; }
.card { overflow: hidden; }
.card-media { aspect-ratio: 4 / 3; background: #0b0d12; overflow: hidden; border-radius: 24px 24px 0 0; position: relative; }
.card-media img, .card-media video { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 16px; display: grid; gap: 8px; }
.card-title { font-size: 1.02rem; font-weight: 900; line-height: 1.2; margin: 0; }
.card-meta { color: var(--muted); font-size: .92rem; margin: 0; }
.card-date, .price-line { color: var(--gold); font-weight: 900; font-size: .9rem; }
.event-poster-card { border-radius: 20px; }
.event-poster-card .card-media::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 44%;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.74));
}
.media-glow {
  position: absolute;
  inset: auto 12% 0 12%;
  height: 32px;
  border-radius: 50%;
  filter: blur(20px);
  background: rgba(244,196,0,.2);
}
.section-title { font-size: 1.3rem; font-weight: 900; margin: 0 0 10px; }
.section-subtitle { color: var(--muted); margin: -2px 0 10px; }
.layout-sidebar { display: grid; grid-template-columns: 1fr 360px; gap: 18px; }
.asset-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.asset-card { border-radius: 20px; overflow: hidden; border: 1px solid var(--line); background: rgba(255,255,255,0.02); }
.asset-footer { padding: 12px; display: grid; gap: 10px; }
.side-summary, .checkout-side, .checkout-form { padding: 18px; }
.price { color: var(--gold); font-weight: 900; }
.grand-total { font-size: clamp(1.6rem, 5vw, 2.4rem); margin: 14px 0 18px; }
.stack { display: grid; gap: 16px; }
.notice {
  padding: 14px;
  border-radius: 16px;
  background: rgba(244,196,0,.08);
  border: 1px solid rgba(244,196,0,.2);
  color: #fff8d0;
}
.empty { padding: 24px; border-radius: 18px; border: 1px dashed rgba(255,255,255,.14); color: var(--muted); }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 12px 10px; border-bottom: 1px solid var(--line); vertical-align: top; text-align: left; }
th { color: var(--muted); font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; }
.badge { display: inline-flex; padding: 6px 10px; border-radius: 999px; font-size: .82rem; font-weight: 800; }
.badge.gold { background: rgba(244,196,0,.12); color: #ffe786; }
.badge.ok { background: rgba(87,210,138,.12); color: #9ff1bf; }
.badge.gray { background: rgba(255,255,255,.06); color: #d8dde7; }
.badge.red { background: rgba(255,118,118,.12); color: #ffd3d3; }
.admin-shell { padding: 24px 0 48px; }
.kpi-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 18px; }
.kpi { padding: 16px; border-radius: 18px; border: 1px solid var(--line); background: rgba(255,255,255,.02); }
.kpi-label { color: var(--muted); font-size: .88rem; }
.kpi-value { font-size: 1.8rem; font-weight: 900; margin-top: 8px; }
.footer-spacer { height: 30px; }
.inline-form { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.small { font-size: .88rem; color: var(--muted); }
.compact-list { gap: 10px; }
.cart-line-card { padding: 14px; display: grid; grid-template-columns: 92px 1fr auto; gap: 14px; align-items: center; }
.segment-row { display: flex; flex-wrap: wrap; gap: 8px; }
.segment-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(244,196,0,.08);
}
.segment-pill span {
  display: inline-grid;
  place-items: center;
  min-width: 24px;
  height: 24px;
  padding: 0 7px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  color: #fff;
  font-size: .78rem;
}
.entry-hero {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 18px;
  min-height: min(78vh, 760px);
}
.entry-panel {
  min-height: 100%;
  border-radius: 28px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.entry-copy {
  padding: 26px;
  display: grid;
  align-content: center;
  gap: 16px;
  background:
    radial-gradient(circle at 18% 18%, rgba(244,196,0,.12), transparent 24%),
    linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.01));
}
.entry-title { max-width: 11ch; }
.entry-actions { display: grid; gap: 10px; max-width: 460px; }
.entry-note { color: var(--muted); font-size: .92rem; }
.entry-visual {
  position: relative;
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.01));
  padding: 18px;
}
.visual-stripe {
  position: absolute;
  inset: 0 36% 0 36%;
  background: linear-gradient(180deg, rgba(244,196,0,.9), rgba(244,196,0,.72));
}
.visual-card {
  position: relative;
  z-index: 2;
  width: min(86%, 420px);
  margin: 0 auto 18px;
  padding: 20px;
  border-radius: 24px;
  background: rgba(9,10,14,.95);
  border: 1px solid rgba(255,255,255,.08);
  text-align: center;
}
.visual-chip { color: var(--gold); font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.visual-heading { font-size: clamp(1.5rem, 4vw, 2.5rem); font-weight: 900; line-height: 1.02; margin-top: 8px; }
.visual-sub { margin-top: 10px; color: var(--muted); line-height: 1.5; }
.visual-cover {
  position: relative;
  z-index: 2;
  margin: 0 auto;
  width: min(86%, 520px);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 24px 52px rgba(0,0,0,.35);
}
.visual-cover img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.visual-placeholder {
  aspect-ratio: 4/5;
  display: grid;
  place-content: center;
  text-align: center;
  padding: 22px;
  background: rgba(11,12,16,.95);
}
.admin-filters {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(6, minmax(120px, 1fr));
  width: min(100%, 980px);
}
@media (max-width: 1080px) {
  .hero, .entry-hero, .layout-sidebar, .cards-4, .cards-3, .kpi-grid { grid-template-columns: 1fr 1fr; }
  .asset-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-filters { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .container { width: min(100%, calc(100% - 18px)); }
  .hero, .entry-hero, .layout-sidebar, .cards-4, .cards-3, .cards-2, .kpi-grid, .asset-grid { grid-template-columns: 1fr; }
  .brand-row { align-items: flex-start; flex-direction: column; }
  .nav-links { width: 100%; }
  .nav-link { flex: 1 1 auto; text-align: center; }
  .search-row { flex-direction: column; }
  .entry-copy, .hero-copy, .panel, .card-body { padding: 18px; }
  .visual-stripe { inset: 0 28% 0 28%; }
  .visual-card, .visual-cover { width: 100%; }
  .cart-line-card { grid-template-columns: 76px 1fr; }
  .cart-line-card > :last-child { grid-column: 1 / -1; justify-items: stretch; }
  .admin-filters { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .page-title { font-size: clamp(1.55rem, 10vw, 2.5rem); }
  .nav-link { font-size: .88rem; padding: 10px 12px; }
  .button, .input, .textarea, select { padding: 12px; }
  .admin-filters { grid-template-columns: 1fr; }
}


/* R5.2 polish KZ */
.brand-lockup { display:flex; align-items:center; gap:12px; text-decoration:none; min-width: 0; }
.brand-lockup-admin .brand-sub strong { color: var(--gold); }
.brand-logo { display:block; height: 42px; width:auto; object-fit: contain; }
.brand-logo--invert { filter: invert(1) brightness(1.55); }
.brand-sub { color:#d5d9e3; font-size:.86rem; letter-spacing:.08em; text-transform: uppercase; white-space: nowrap; }
.entry-copy-wow { position: relative; overflow: hidden; }
.entry-copy-wow::after {
  content:""; position:absolute; inset:auto -20% -35% auto; width:320px; height:320px; border-radius:50%;
  background: radial-gradient(circle, rgba(244,196,0,.18), transparent 62%); pointer-events:none;
}
.entry-logo { width:min(100%, 560px); height:auto; display:block; margin-bottom: 8px; filter: drop-shadow(0 10px 30px rgba(0,0,0,.35)); }
.entry-visual-wow::before {
  content:""; position:absolute; inset:0;
  background:
    linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,0)),
    repeating-linear-gradient(90deg, rgba(255,255,255,.03) 0 1px, transparent 1px 34px),
    repeating-linear-gradient(0deg, rgba(255,255,255,.02) 0 1px, transparent 1px 34px);
  opacity:.28; pointer-events:none;
}
.group-hero { display:grid; grid-template-columns: 1.1fr .9fr; gap: 16px; align-items: start; }
.group-folder-top {
  display:grid; gap:8px; align-content:start; padding:18px; border-radius:22px;
  border:1px solid rgba(244,196,0,.22);
  background: linear-gradient(180deg, rgba(244,196,0,.1), rgba(244,196,0,.04));
  box-shadow: var(--shadow);
}
.folder-hero-button { width:100%; justify-content:center; font-size:1rem; padding:14px 18px; }
.notice.compact { padding: 12px 14px; }
.kz-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.asset-card { transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.asset-card:hover { transform: translateY(-2px); border-color: rgba(244,196,0,.32); box-shadow: 0 18px 36px rgba(0,0,0,.22); }
.card-media video, .card-media img { background: #05060a; }
.public-header::before, .admin-header::before {
  content:""; position:absolute; inset:0;
  background: linear-gradient(90deg, rgba(244,196,0,.08), transparent 35%, transparent 65%, rgba(244,196,0,.05));
  pointer-events:none;
}
@media (max-width: 900px) {
  .group-hero { grid-template-columns: 1fr; }
  .group-folder-top { order: -1; }
}
@media (max-width: 760px) {
  .brand-lockup { width: 100%; }
  .brand-logo { height: 34px; }
  .brand-sub { display:none; }
  .entry-logo { width:min(100%, 340px); }
  .folder-hero-button { font-size: .95rem; }
  .kz-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .kz-gallery { grid-template-columns: 1fr; }
  .group-folder-top { position: sticky; top: 74px; z-index: 12; }
  .folder-hero-button { padding: 13px 16px; }
}

/* R5.3 wow / producción */
:root {
  --title-font: 'Oswald', Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
}
body { font-family: Inter, system-ui, Arial, sans-serif; }
main { position: relative; z-index: 1; }
.page-title, .display-title, .card-title, .section-title, .account-title, .entry-stage-title {
  font-family: var(--title-font);
  letter-spacing: .01em;
}
.display-title {
  text-shadow: 0 4px 18px rgba(0,0,0,.32), 0 1px 0 rgba(255,255,255,.08);
}
.public-header, .admin-header, .entry-topbar {
  border-bottom-color: rgba(244,196,0,.12);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}
.public-header::after, .admin-header::after, .entry-topbar::after {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(244,196,0,.45), transparent);
}
.entry-topbar {
  position: sticky;
  top: 0;
  z-index: 25;
  backdrop-filter: blur(14px);
  background: rgba(5, 6, 10, .42);
}
.entry-topbar-inner {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding: 14px 0;
}
.entry-topbar-actions { display:flex; gap:8px; align-items:center; }
.entry-mode .footer-spacer,
.account-mode .footer-spacer { display:none; }
.entry-stage,
.account-stage {
  position: relative;
  min-height: calc(100vh - 73px);
  overflow: hidden;
}
.entry-stage {
  background:
    radial-gradient(circle at 50% 18%, rgba(244,196,0,.16), transparent 26%),
    radial-gradient(circle at 50% 64%, rgba(244,196,0,.08), transparent 22%),
    linear-gradient(180deg, rgba(5,6,8,.92), rgba(5,6,8,.97));
}
.entry-stage::before,
.account-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px),
    radial-gradient(circle at 50% 50%, rgba(244,196,0,.09), transparent 30%);
  background-size: 42px 42px, 42px 42px, auto;
  opacity: .35;
  pointer-events: none;
}
.entry-particles,
.entry-noise {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.entry-noise {
  opacity: .05;
  mix-blend-mode: screen;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,.18) 0 1px, transparent 1px),
    radial-gradient(circle at 80% 40%, rgba(255,255,255,.14) 0 1px, transparent 1px),
    radial-gradient(circle at 50% 80%, rgba(255,255,255,.12) 0 1px, transparent 1px);
  background-size: 36px 36px, 52px 52px, 44px 44px;
}
.entry-stage-inner,
.account-stage-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 680px) minmax(0, 380px);
  gap: 26px;
  align-items: center;
  min-height: inherit;
  padding: 42px 0 46px;
}
.entry-main-card,
.account-card {
  position: relative;
  isolation: isolate;
  padding: clamp(22px, 4vw, 40px);
  border-radius: 34px;
  border: 1px solid rgba(255,255,255,.08);
  background:
    radial-gradient(circle at 50% 0%, rgba(244,196,0,.09), transparent 28%),
    linear-gradient(180deg, rgba(8,10,15,.92), rgba(4,6,10,.95));
  box-shadow: 0 28px 80px rgba(0,0,0,.44), inset 0 0 0 1px rgba(255,255,255,.02);
  overflow: hidden;
}
.entry-main-card::before,
.account-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255,255,255,.03), transparent 18%),
    repeating-linear-gradient(90deg, rgba(255,255,255,.02) 0 1px, transparent 1px 34px),
    repeating-linear-gradient(0deg, rgba(255,255,255,.015) 0 1px, transparent 1px 34px);
  opacity: .4;
  pointer-events: none;
}
.entry-card-glow {
  position: absolute;
  inset: -20% auto auto 50%;
  transform: translateX(-50%);
  width: 82%;
  height: 160px;
  background: radial-gradient(circle, rgba(244,196,0,.26), transparent 68%);
  filter: blur(16px);
  z-index: -1;
}
.entry-logo-wrap { position: relative; z-index: 1; }
.entry-logo-large { width: min(100%, 620px); margin-inline: auto; }
.entry-eyebrow {
  margin-top: 8px;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: .72rem;
  font-weight: 900;
  text-align: center;
}
.entry-stage-title,
.account-title {
  margin: 10px 0 0;
  text-align: center;
  font-size: clamp(2.2rem, 7vw, 4.8rem);
  line-height: .95;
  text-transform: uppercase;
}
.account-title { font-size: clamp(2rem, 5vw, 3.4rem); }
.account-meta {
  margin-top: 8px;
  text-align: center;
  color: rgba(255,255,255,.76);
  font-size: 1rem;
}
.entry-choice-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
  width: min(100%, 520px);
  margin: 28px auto 0;
}
.entry-choice-grid.compact { width: min(100%, 440px); }
.entry-choice,
.entry-choice-grid .button,
.entry-choice-grid button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 58px;
  padding: 14px 20px;
  border-radius: 999px;
  border: 1px solid rgba(244,196,0,.34);
  background: rgba(255,255,255,.03);
  color: var(--text);
  font-size: 1rem;
  font-weight: 900;
  text-transform: none;
  letter-spacing: .01em;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.02);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
}
.entry-choice:hover,
.entry-choice-grid .button:hover,
.entry-choice-grid button:hover {
  transform: translateY(-1px);
  border-color: rgba(244,196,0,.62);
  box-shadow: 0 18px 34px rgba(0,0,0,.32), 0 0 0 1px rgba(244,196,0,.14) inset;
}
.entry-choice--gold {
  color: #111;
  background: linear-gradient(180deg, #ffe36a, #f4c400);
  border-color: rgba(255,225,106,.8);
}
.entry-choice--ghost {
  background: rgba(9, 11, 18, .76);
}
.entry-floating-poster {
  position: relative;
  display: block;
}
.entry-floating-frame {
  position: relative;
  width: min(100%, 380px);
  margin-left: auto;
  border-radius: 34px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 28px 80px rgba(0,0,0,.45);
  transform: perspective(1100px) rotateY(-9deg) rotateX(2deg);
}
.entry-floating-frame img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: saturate(1.04) contrast(1.06);
}
.entry-floating-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,.14), transparent 20%, transparent 78%, rgba(0,0,0,.22));
  pointer-events: none;
}
.entry-floating-ring {
  position: absolute;
  inset: auto 12% -16px 12%;
  height: 42px;
  border-radius: 50%;
  filter: blur(18px);
  background: rgba(244,196,0,.26);
}
.account-stage {
  background:
    radial-gradient(circle at 50% 8%, rgba(244,196,0,.12), transparent 22%),
    linear-gradient(180deg, rgba(5,6,8,.96), rgba(7,8,12,.98));
}
.account-stage-inner {
  grid-template-columns: 1fr;
  justify-items: center;
}
.account-card { width: min(100%, 620px); }
.account-logo { width: min(100%, 520px); margin-inline: auto; }
.account-form {
  display: grid;
  gap: 14px;
  width: min(100%, 420px);
  margin: 24px auto 0;
}
.input-minimal {
  min-height: 56px;
  border-radius: 18px;
  background: rgba(15, 18, 26, .9);
  border-color: rgba(255,255,255,.08);
}
.social-mini { margin-top: 16px; }
.hero-wow .hero-card,
.event-poster-card,
.asset-card {
  backdrop-filter: blur(8px);
}
.hero-cover-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 32%, rgba(255,255,255,.13) 44%, transparent 56%);
  transform: translateX(-130%);
  animation: heroSweep 4.8s ease-in-out infinite;
  pointer-events: none;
}
@keyframes heroSweep {
  0%, 18% { transform: translateX(-130%); }
  48%, 100% { transform: translateX(130%); }
}
.hero-search-card {
  justify-content: center;
  min-height: 100%;
}
.hero-search-card .search-row { margin-top: 8px; }
.section-headline { display:grid; gap: 8px; }
.group-card-body { gap: 12px; }
.group-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}
.group-count-pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.04);
  color: #dce1ec;
  font-size: .82rem;
  font-weight: 700;
}
.group-hero-clean { grid-template-columns: 1fr; gap: 8px; }
.folder-banner {
  position: sticky;
  top: 82px;
  z-index: 15;
  display: block;
  padding: 12px;
  border-radius: 22px;
  border: 1px solid rgba(244,196,0,.24);
  background: linear-gradient(180deg, rgba(18,18,20,.95), rgba(9,10,14,.94));
  box-shadow: 0 18px 36px rgba(0,0,0,.28);
}
.folder-banner-button {
  width: 100%;
  justify-content: center;
  min-height: 56px;
  font-size: clamp(.98rem, 2.2vw, 1.08rem);
}
.asset-card {
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.01));
}
.asset-footer {
  gap: 12px;
  padding: 14px;
}
.asset-footer .button { min-height: 46px; }
.segment-row-large .segment-pill {
  padding: 12px 16px;
  font-weight: 800;
}
@media (max-width: 1080px) {
  .entry-stage-inner { grid-template-columns: 1fr; }
  .entry-floating-poster { display: none; }
}
@media (max-width: 760px) {
  .entry-topbar-inner { align-items: center; }
  .entry-topbar-actions { width: auto; }
  .entry-stage,
  .account-stage { min-height: calc(100vh - 67px); }
  .entry-stage-inner,
  .account-stage-inner { padding: 18px 0 24px; }
  .entry-main-card,
  .account-card { border-radius: 24px; }
  .entry-stage-title { font-size: clamp(1.7rem, 12vw, 3rem); }
  .entry-choice,
  .entry-choice-grid .button,
  .entry-choice-grid button { min-height: 52px; font-size: .96rem; }
  .folder-banner { top: 70px; padding: 10px; }
}
@media (max-width: 520px) {
  .entry-topbar .brand-sub { display: none; }
  .entry-topbar-actions .nav-link { padding: 9px 12px; font-size: .86rem; }
  .entry-stage::before,
  .account-stage::before { background-size: 28px 28px, 28px 28px, auto; }
  .entry-main-card,
  .account-card { padding: 18px 16px; }
  .entry-choice-grid { gap: 10px; margin-top: 22px; }
  .page-title.display-title { font-size: clamp(1.7rem, 11vw, 2.7rem); }
  .hero-search-card .search-row { gap: 8px; }
  .search-row .button { width: 100%; }
}


/* R5.4 entry + mobile cleanup */
.nav-links {
  overflow-x: auto;
  scrollbar-width: none;
  flex-wrap: nowrap;
  -ms-overflow-style: none;
}
.nav-links::-webkit-scrollbar { display: none; }
.nav-link { white-space: nowrap; flex: 0 0 auto; }
.nav-link--compact { padding: 9px 14px; }

.entry-topbar-inner--minimal { justify-content: space-between; }
.entry-stage--single { min-height: calc(100vh - 73px); }
.entry-stage-inner--single {
  grid-template-columns: 1fr;
  justify-items: center;
  padding: clamp(14px, 4vw, 28px) 0 clamp(20px, 5vw, 34px);
}
.entry-main-card--hero {
  width: min(100%, 760px);
  min-height: min(78vh, 760px);
  display: grid;
  align-content: center;
  gap: 8px;
  padding: clamp(22px, 5vw, 42px);
}
.entry-logo-wrap--hero { margin-bottom: 4px; }
.entry-stage-title--hero {
  max-width: 8ch;
  margin-inline: auto;
}
.entry-scanlines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .12;
  background: repeating-linear-gradient(180deg, rgba(255,255,255,.06) 0 1px, transparent 1px 4px);
  mix-blend-mode: soft-light;
}
.entry-gold-beam {
  position: absolute;
  inset: 8% auto auto 50%;
  transform: translateX(-50%);
  width: min(74vw, 520px);
  height: min(74vw, 520px);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(244,196,0,.14), transparent 58%);
  filter: blur(14px);
  pointer-events: none;
}
.entry-main-card--hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(118deg, transparent 18%, rgba(255,255,255,.08) 34%, transparent 46%);
  transform: translateX(-130%);
  animation: entrySweep 6s ease-in-out infinite;
  pointer-events: none;
}
@keyframes entrySweep {
  0%, 18% { transform: translateX(-130%); }
  48%, 100% { transform: translateX(130%); }
}
.entry-corner {
  position: absolute;
  width: 22px;
  height: 22px;
  border-color: rgba(244,196,0,.52);
  border-style: solid;
  opacity: .9;
  pointer-events: none;
}
.entry-corner--tl { top: 14px; left: 14px; border-width: 2px 0 0 2px; }
.entry-corner--tr { top: 14px; right: 14px; border-width: 2px 2px 0 0; }
.entry-corner--bl { bottom: 14px; left: 14px; border-width: 0 0 2px 2px; }
.entry-corner--br { bottom: 14px; right: 14px; border-width: 0 2px 2px 0; }
.entry-choice-grid--iconic { gap: 14px; width: min(100%, 560px); }
.entry-choice--iconic {
  position: relative;
  justify-content: flex-start;
  gap: 14px;
  padding-inline: 18px;
  text-align: left;
}
.entry-choice-icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  color: currentColor;
  flex: 0 0 auto;
}
.entry-choice--gold .entry-choice-icon {
  background: rgba(17,17,17,.12);
}
.entry-choice-icon svg { width: 22px; height: 22px; display: block; }
.entry-choice-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}
.entry-choice-copy strong {
  font-family: var(--title-font);
  font-size: 1.02rem;
  letter-spacing: .01em;
}
.entry-choice-copy small {
  color: rgba(255,255,255,.68);
  font-size: .8rem;
  font-weight: 700;
}
.entry-choice--gold .entry-choice-copy small { color: rgba(17,17,17,.72); }
.entry-choice-arrow {
  margin-left: auto;
  font-size: 1.2rem;
  font-weight: 900;
  opacity: .86;
}

.events-hero--compact {
  position: relative;
  margin: 18px 0 18px;
  padding: clamp(18px, 3vw, 28px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 120px;
  gap: 16px;
  align-items: center;
  border-radius: 28px;
  border: 1px solid rgba(244,196,0,.14);
  background:
    linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.01)),
    radial-gradient(circle at 20% 20%, rgba(244,196,0,.09), transparent 28%);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.events-hero--compact::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,.02) 0 1px, transparent 1px 36px),
    repeating-linear-gradient(0deg, rgba(255,255,255,.015) 0 1px, transparent 1px 36px);
  opacity: .24;
  pointer-events: none;
}
.events-hero-copy { position: relative; z-index: 1; display: grid; gap: 10px; }
.events-hero-accent {
  position: relative;
  z-index: 1;
  height: 100%;
  display: grid;
  place-items: center;
}
.events-hero-accent span {
  position: absolute;
  display: block;
  width: 84px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(244,196,0,.92), transparent);
  box-shadow: 0 0 18px rgba(244,196,0,.24);
}
.events-hero-accent span:nth-child(1) { transform: rotate(18deg) translateY(-14px); }
.events-hero-accent span:nth-child(2) { transform: rotate(-22deg); }
.events-hero-accent span:nth-child(3) { transform: rotate(20deg) translateY(14px); }
.search-row--hero { max-width: 720px; }
.search-row--hero .input-search { min-height: 54px; }
.public-event-grid--tight { gap: 16px; }
.public-event-grid--tight .card-media { aspect-ratio: 4 / 4.6; }

@media (max-width: 900px) {
  .events-hero--compact { grid-template-columns: 1fr; }
  .events-hero-accent { height: 56px; }
}
@media (max-width: 760px) {
  .brand-row {
    gap: 10px;
    padding: 10px 0;
  }
  .brand-row .brand-lockup { width: auto; }
  .nav-links {
    width: calc(100% + 10px);
    margin-right: -10px;
    padding-bottom: 2px;
  }
  .entry-topbar-inner--minimal {
    padding: 10px 0;
  }
  .entry-main-card--hero {
    min-height: auto;
    width: 100%;
    padding: 20px 16px 18px;
    border-radius: 26px;
  }
  .entry-logo-large {
    width: min(100%, 300px);
  }
  .entry-stage-title--hero {
    font-size: clamp(2rem, 12vw, 3.3rem);
  }
  .entry-choice-grid--iconic {
    gap: 10px;
    margin-top: 18px;
  }
  .entry-choice--iconic {
    min-height: 54px;
    padding-inline: 14px;
    gap: 12px;
  }
  .entry-choice-icon {
    width: 40px;
    height: 40px;
  }
  .entry-choice-copy strong { font-size: .95rem; }
  .entry-choice-copy small { font-size: .74rem; }
  .entry-choice-arrow { font-size: 1rem; }
  .events-hero--compact {
    margin-top: 12px;
    padding: 16px;
    border-radius: 22px;
  }
  .events-hero-copy { gap: 8px; }
  .search-row--hero { gap: 8px; }
  .public-event-grid--tight .card-media { aspect-ratio: 4 / 4.2; }
}
@media (max-width: 520px) {
  .entry-topbar-actions { display: none; }
  .entry-stage--single { min-height: calc(100vh - 58px); }
  .entry-stage-inner--single { padding-top: 12px; padding-bottom: 18px; }
  .entry-main-card--hero { padding: 18px 14px 16px; }
  .entry-corner { width: 18px; height: 18px; }
  .entry-gold-beam {
    width: 90vw;
    height: 90vw;
  }
  .events-hero--compact { gap: 12px; }
  .events-hero-copy .page-title { font-size: clamp(1.9rem, 11vw, 2.8rem); }
}

/* R5.5 mobile-first KZ cleanup */
.nav-links--public {
  gap: 10px;
}
.nav-link--with-icon,
.nav-link--login {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.nav-link-icon {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  font-size: 12px;
  opacity: .9;
}
.nav-count {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: rgba(244,196,0,.16);
  color: var(--gold);
  font-size: .78rem;
  font-weight: 900;
}
.entry-main-card--kz {
  width: min(100%, 620px);
  min-height: min(72vh, 620px);
  align-content: center;
  justify-items: center;
  text-align: center;
  gap: 16px;
}
.entry-kicker {
  color: rgba(244,196,0,.92);
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .28em;
  text-transform: uppercase;
}
.entry-logo-large--tight {
  width: min(100%, 460px);
  margin-inline: auto;
}
.entry-stage-title--compact {
  max-width: 9ch;
  margin: 0;
  font-size: clamp(2.1rem, 7vw, 4.5rem);
  line-height: .92;
}
.entry-choice-grid--kz {
  width: min(100%, 520px);
  margin-top: 6px;
  gap: 12px;
}
.entry-choice--kz {
  justify-content: flex-start;
  min-height: 62px;
  padding: 14px 18px;
  text-align: left;
  gap: 14px;
}
.entry-badge {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  font-family: var(--title-font);
  font-size: 1.15rem;
  line-height: 1;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
  flex: 0 0 auto;
}
.entry-badge--google {
  color: #111;
  background: linear-gradient(180deg, #ffffff, #f2f2f2);
}
.entry-badge--facebook {
  color: #fff;
  background: linear-gradient(180deg, #3b5998, #22407e);
}
.entry-badge--guest {
  color: var(--gold);
  background: rgba(255,255,255,.06);
}
.entry-choice--kz .entry-choice-copy {
  gap: 0;
}
.entry-choice--kz .entry-choice-copy strong {
  font-size: .98rem;
  line-height: 1.15;
  letter-spacing: .01em;
}
.entry-choice--kz .entry-choice-copy small,
.entry-choice--kz .entry-choice-copy br {
  display: none;
}
.entry-choice--kz .entry-choice-arrow {
  margin-left: auto;
}
.events-hero--clean {
  grid-template-columns: 1fr;
  gap: 10px;
}
.events-hero--clean .events-hero-accent {
  height: 18px;
  justify-self: start;
}
.button-pill--strong {
  font-weight: 900;
  box-shadow: 0 14px 24px rgba(244,196,0,.18);
}
.event-poster-card--premium {
  overflow: hidden;
  border-radius: 24px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.event-poster-card--premium:hover {
  transform: translateY(-2px);
  border-color: rgba(244,196,0,.3);
  box-shadow: 0 18px 42px rgba(0,0,0,.28);
}
.card-body--tight {
  gap: 6px;
}
.folder-banner--hero {
  padding: 10px;
  border-radius: 24px;
}
.folder-banner-button--hero {
  min-height: 58px;
  font-size: clamp(1rem, 2.2vw, 1.08rem);
  font-weight: 900;
}
.asset-card--premium {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(0,0,0,.22);
}
.asset-card--premium .card-media {
  aspect-ratio: 4 / 4.35;
  border-radius: 0;
}
.asset-footer--clean {
  padding: 12px 12px 14px;
  gap: 10px;
}
.asset-name {
  font-family: var(--title-font);
  font-size: 1rem;
  letter-spacing: .01em;
  line-height: 1.05;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.inline-form--full {
  width: 100%;
}
.inline-form--full .button {
  width: 100%;
  justify-content: center;
}
.button-pill--card {
  min-height: 48px;
  font-size: .96rem;
  gap: 8px;
}
@media (max-width: 760px) {
  .brand-row {
    align-items: center;
    flex-direction: row;
    gap: 10px;
  }
  .brand-row .brand-lockup {
    width: auto;
    flex: 0 0 auto;
  }
  .nav-links--public {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
    margin-right: 0;
    padding-bottom: 0;
    overflow: visible;
  }
  .nav-link {
    min-width: 0;
    justify-content: center;
    padding: 11px 10px;
    font-size: .87rem;
  }
  .nav-link-icon { display: none; }
  .entry-main-card--kz {
    width: 100%;
    min-height: auto;
    padding: 20px 14px 18px;
    gap: 14px;
  }
  .entry-logo-large--tight {
    width: min(100%, 300px);
  }
  .entry-stage-title--compact {
    font-size: clamp(2rem, 11vw, 3.2rem);
    max-width: 8ch;
  }
  .entry-choice-grid--kz {
    width: 100%;
    gap: 10px;
  }
  .entry-choice--kz {
    min-height: 56px;
    padding: 12px 14px;
  }
  .entry-badge {
    width: 32px;
    height: 32px;
    font-size: 1rem;
  }
  .events-hero--clean {
    margin-top: 10px;
    padding: 14px;
  }
  .events-hero--clean .page-title {
    font-size: clamp(2rem, 11vw, 3rem);
  }
  .search-row--hero .button {
    width: 100%;
  }
  .folder-banner {
    top: 126px;
  }
}
@media (max-width: 520px) {
  .container { width: min(100%, calc(100% - 12px)); }
  .public-header { position: sticky; top: 0; z-index: 20; }
  .brand-row { padding: 10px 0; }
  .brand-logo { height: 38px; }
  .nav-links--public { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .entry-topbar-inner--minimal { padding: 10px 0; }
  .entry-stage--single { min-height: calc(100vh - 64px); }
  .entry-stage-inner--single { padding-top: 10px; padding-bottom: 14px; }
  .entry-main-card--kz {
    border-radius: 22px;
    padding: 18px 12px 16px;
  }
  .entry-kicker { font-size: .66rem; letter-spacing: .22em; }
  .entry-stage-title--compact {
    font-size: clamp(1.85rem, 10.5vw, 2.7rem);
    max-width: 9ch;
  }
  .entry-choice--kz .entry-choice-copy strong { font-size: .9rem; }
  .folder-banner { top: 120px; padding: 8px; }
  .folder-banner-button--hero { min-height: 52px; font-size: .95rem; }
  .asset-card--premium .card-media { aspect-ratio: 4 / 4.1; }
  .asset-name { font-size: .92rem; }
  .button-pill--card { min-height: 46px; font-size: .9rem; }
}
