/* =========================================================
   BEATNOVA · Web 2 (24-11) - sistema de diseño
   Noche de baile: fondo tinta con auroras rosa/violeta/cian,
   tarjetas de cristal, titulos Fredoka, acentos de neon.
   ========================================================= */
:root {
    --ink: #0d0b22;
    --ink-2: #141038;
    --ink-3: #1c1650;
    --card: rgba(255, 255, 255, .055);
    --card-2: rgba(255, 255, 255, .09);
    --line: rgba(255, 255, 255, .1);
    --line-2: rgba(255, 255, 255, .18);
    --text: #f6f4ff;
    --mute: #b8b1de;
    --soft: #8a83b6;
    --pink: #ff4fd8;
    --violet: #8b5cf6;
    --cyan: #22d3ee;
    --yellow: #ffd166;
    --mint: #5eead4;
    --red: #ff5c7a;
    --grad: linear-gradient(120deg, #ff4fd8 0%, #8b5cf6 52%, #22d3ee 100%);
    --grad-warm: linear-gradient(120deg, #ffd166 0%, #ff4fd8 100%);
    --paper: #f7f4ff;
    --paper-2: #ece6ff;
    --paper-ink: #22184f;
    --paper-mute: #6b6396;
    --radius: 18px;
    --radius-sm: 12px;
    --wrap: 1200px;
    --head-h: 70px;
    --shadow: 0 18px 50px rgba(5, 3, 20, .45);
    --glow: 0 0 0 1px rgba(255, 255, 255, .06), 0 14px 40px rgba(139, 92, 246, .28);
    --font: 'Outfit', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --display: 'Fredoka', 'Outfit', system-ui, sans-serif;
    color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background: var(--ink); }
body {
    margin: 0; min-height: 100vh; font-family: var(--font); font-size: 16px; line-height: 1.6;
    color: var(--text); background: transparent; overflow-x: hidden; position: relative; isolation: isolate;
}
body::before {   /* auroras fijas de fondo */
    content: ""; position: fixed; inset: -20vh -20vw; z-index: -1; pointer-events: none;
    background:
        radial-gradient(40vw 40vw at 12% 8%, rgba(255, 79, 216, .20), transparent 60%),
        radial-gradient(45vw 45vw at 88% 18%, rgba(34, 211, 238, .16), transparent 60%),
        radial-gradient(50vw 50vw at 50% 100%, rgba(139, 92, 246, .22), transparent 65%);
}
img, svg, video, canvas { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: rgba(255, 79, 216, .4); }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

.bn-wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.bn-section { padding: clamp(56px, 8vw, 104px) 0; position: relative; }
.bn-section--tight { padding: clamp(40px, 6vw, 72px) 0; }
.bn-paper { background: var(--paper); color: var(--paper-ink); }
.bn-paper .bn-mute { color: var(--paper-mute); }
.bn-mute { color: var(--mute); }
.bn-center { text-align: center; }
.bn-hidden, [hidden] { display: none !important; }

/* ---------- tipografia ---------- */
h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; line-height: 1.12; margin: 0 0 .5em; letter-spacing: .2px; }
h1 { font-size: clamp(2.3rem, 5.6vw, 4.3rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
.bn-eyebrow {
    display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 700; letter-spacing: .16em;
    text-transform: uppercase; color: var(--cyan); margin-bottom: 12px;
}
.bn-paper .bn-eyebrow { color: var(--violet); }
.bn-eyebrow::before { content: ""; width: 22px; height: 3px; border-radius: 3px; background: var(--grad); }
.bn-grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.bn-head { max-width: 720px; margin: 0 auto clamp(28px, 4vw, 48px); text-align: center; }
.bn-head p { color: var(--mute); font-size: 1.08rem; }
.bn-paper .bn-head p { color: var(--paper-mute); }

/* ---------- botones ---------- */
.bn-btn {
    --b: var(--card-2);
    display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 46px; padding: 0 22px;
    border-radius: 999px; border: 1px solid var(--line-2); background: var(--b); color: var(--text);
    font-weight: 700; font-size: .98rem; cursor: pointer; white-space: nowrap;
    transition: transform .18s, box-shadow .2s, background .2s, border-color .2s;
}
.bn-btn:hover { transform: translateY(-2px); border-color: rgba(255, 255, 255, .32); }
.bn-btn:active { transform: translateY(0); }
.bn-btn svg { width: 19px; height: 19px; flex: none; }
.bn-btn--main { background: var(--grad); border-color: transparent; box-shadow: 0 10px 30px rgba(255, 79, 216, .35); }
.bn-btn--main:hover { box-shadow: 0 14px 40px rgba(255, 79, 216, .5); }
.bn-btn--warm { background: var(--grad-warm); border-color: transparent; color: #2a1236; }
.bn-btn--ghost { background: transparent; }
.bn-btn--sm { min-height: 36px; padding: 0 14px; font-size: .88rem; }
.bn-btn--lg { min-height: 56px; padding: 0 30px; font-size: 1.08rem; }
.bn-btn[disabled] { opacity: .5; pointer-events: none; }
.bn-paper .bn-btn:not(.bn-btn--main):not(.bn-btn--warm) { color: var(--paper-ink); border-color: rgba(34, 24, 79, .18); background: #fff; }

/* ---------- cabecera ---------- */
.bn-header {
    position: sticky; top: 0; z-index: 50; height: var(--head-h);
    background: rgba(13, 11, 34, .72); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid transparent; transition: border-color .2s, background .2s;
}
.bn-header.is-scrolled { border-bottom-color: var(--line); background: rgba(13, 11, 34, .9); }
.bn-header__in { height: 100%; display: flex; align-items: center; gap: 18px; }
.bn-logo { display: flex; align-items: center; gap: 10px; flex: none; }
.bn-logo img { height: 40px; width: auto; }
.bn-nav { display: flex; align-items: center; gap: 4px; margin-left: 12px; }
.bn-nav a {
    padding: 8px 14px; border-radius: 999px; color: var(--mute); font-weight: 600; font-size: .95rem;
    transition: color .2s, background .2s;
}
.bn-nav a:hover { color: var(--text); background: var(--card); }
.bn-nav a.is-on { color: var(--text); background: var(--card-2); }
.bn-header__act { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.bn-user { position: relative; }
.bn-user__btn {
    display: flex; align-items: center; gap: 9px; padding: 4px 12px 4px 4px; border-radius: 999px;
    border: 1px solid var(--line-2); background: var(--card); cursor: pointer; font-weight: 700;
}
.bn-avatar {
    width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; flex: none;
    background: var(--grad); color: #fff; font-family: var(--display); font-size: 1rem; text-transform: uppercase;
}
.bn-user__menu {
    position: absolute; right: 0; top: calc(100% + 10px); min-width: 210px; padding: 8px; border-radius: 16px;
    background: #1a1446; border: 1px solid var(--line-2); box-shadow: var(--shadow);
    opacity: 0; transform: translateY(-6px); pointer-events: none; transition: .18s;
}
.bn-user.is-open .bn-user__menu { opacity: 1; transform: none; pointer-events: auto; }
.bn-user__menu a, .bn-user__menu button {
    display: flex; width: 100%; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px;
    border: 0; background: none; text-align: left; cursor: pointer; font-weight: 600; color: var(--text);
}
.bn-user__menu a:hover, .bn-user__menu button:hover { background: var(--card-2); }
.bn-burger { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--card); cursor: pointer; }
.bn-burger span, .bn-burger span::before, .bn-burger span::after {
    display: block; width: 20px; height: 2px; margin: auto; background: var(--text); border-radius: 2px; position: relative; transition: .2s;
}
.bn-burger span::before, .bn-burger span::after { content: ""; position: absolute; left: 0; }
.bn-burger span::before { top: -6px; } .bn-burger span::after { top: 6px; }
.bn-drawer {
    position: fixed; inset: var(--head-h) 0 0; z-index: 49; padding: 18px 16px 30px; overflow-y: auto;
    background: rgba(13, 11, 34, .97); backdrop-filter: blur(10px);
    transform: translateX(100%); transition: transform .25s ease;
}
.bn-drawer.is-open { transform: none; }
.bn-drawer a { display: block; padding: 14px 10px; font-family: var(--display); font-size: 1.35rem; border-bottom: 1px solid var(--line); }
.bn-drawer .bn-btn { width: 100%; margin-top: 16px; }

/* ---------- tarjetas, chips ---------- */
.bn-card {
    background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px;
    transition: transform .2s, border-color .2s, background .2s;
}
.bn-card--hover:hover { transform: translateY(-4px); border-color: var(--line-2); background: var(--card-2); }
.bn-paper .bn-card { background: #fff; border-color: rgba(34, 24, 79, .08); box-shadow: 0 10px 30px rgba(60, 40, 140, .08); }
.bn-chip {
    display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; font-size: .82rem; font-weight: 700;
    background: var(--card-2); border: 1px solid var(--line); color: var(--text); cursor: pointer; white-space: nowrap;
}
.bn-chip.is-on { background: var(--grad); border-color: transparent; }
.bn-paper .bn-chip { background: #fff; color: var(--paper-ink); border-color: rgba(34, 24, 79, .12); }
.bn-paper .bn-chip.is-on { color: #fff; }
.bn-tag { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: .74rem; font-weight: 800; letter-spacing: .04em; }
.bn-tag--live { background: rgba(94, 234, 212, .15); color: var(--mint); }
.bn-tag--gold { background: rgba(255, 209, 102, .16); color: var(--yellow); }
.bn-tag--pink { background: rgba(255, 79, 216, .16); color: var(--pink); }
.bn-grid { display: grid; gap: 20px; }
.bn-grid--2 { grid-template-columns: repeat(2, 1fr); }
.bn-grid--3 { grid-template-columns: repeat(3, 1fr); }
.bn-grid--4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- formularios ---------- */
.bn-field { display: grid; gap: 6px; margin-bottom: 14px; }
.bn-field label { font-weight: 700; font-size: .9rem; color: var(--mute); }
.bn-input, .bn-select, .bn-textarea {
    width: 100%; min-height: 46px; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--line-2);
    background: rgba(0, 0, 0, .25); color: var(--text); transition: border-color .2s, box-shadow .2s;
}
.bn-textarea { min-height: 140px; resize: vertical; line-height: 1.5; }
.bn-input:focus, .bn-select:focus, .bn-textarea:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 4px rgba(139, 92, 246, .22); }
.bn-paper .bn-input, .bn-paper .bn-select { background: #fff; color: var(--paper-ink); border-color: rgba(34, 24, 79, .16); }
.bn-select option { background: #1a1446; color: var(--text); }

/* ---------- portada ---------- */
.bn-hero { position: relative; min-height: min(calc(100vh - var(--head-h)), 860px); min-height: min(calc(100svh - var(--head-h)), 860px); display: grid; align-items: center; overflow: hidden; }
.bn-hero__in { display: grid; grid-template-columns: 1.05fr .95fr; gap: 30px; align-items: center; padding: 40px 0 70px; }
.bn-hero h1 { margin-bottom: 18px; }
.bn-hero__lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--mute); max-width: 560px; margin-bottom: 28px; }
.bn-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 30px; }
.bn-live { display: flex; flex-wrap: wrap; gap: 10px; }
.bn-live__item {
    display: flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 14px;
    background: var(--card); border: 1px solid var(--line);
}
.bn-live__num { font-family: var(--display); font-size: 1.5rem; line-height: 1; }
.bn-live__lab { font-size: .8rem; color: var(--mute); line-height: 1.2; }
.bn-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 0 rgba(94, 234, 212, .6); animation: bnPulse 1.8s infinite; }
@keyframes bnPulse { 70% { box-shadow: 0 0 0 10px rgba(94, 234, 212, 0); } 100% { box-shadow: 0 0 0 0 rgba(94, 234, 212, 0); } }
.bn-stage {
    position: relative; aspect-ratio: 4 / 5; max-height: 74vh; width: 100%; justify-self: center; border-radius: 30px; overflow: hidden;
    background: radial-gradient(70% 60% at 50% 40%, rgba(139, 92, 246, .45), transparent 70%), linear-gradient(180deg, #221a63, #0d0b22);
    border: 1px solid var(--line-2); box-shadow: var(--shadow), 0 0 80px rgba(255, 79, 216, .18);
}
.bn-stage canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; }
.bn-stage__ph { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; color: var(--mute); padding: 20px; }
.bn-stage__ph img { width: 72%; filter: drop-shadow(0 10px 30px rgba(255, 79, 216, .4)); animation: bnFloat 3.2s ease-in-out infinite; }
@keyframes bnFloat { 50% { transform: translateY(-12px); } }
.bn-stage__tag {
    position: absolute; left: 14px; bottom: 14px; z-index: 2; display: flex; gap: 8px; align-items: center; padding: 8px 14px;
    border-radius: 999px; background: rgba(13, 11, 34, .7); border: 1px solid var(--line-2); font-size: .85rem; font-weight: 700;
}
.bn-notes { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: -1; }
.bn-notes span {
    position: absolute; bottom: -60px; font-size: 26px; opacity: .55; animation: bnNote linear infinite;
    filter: drop-shadow(0 0 12px rgba(255, 79, 216, .6));
}
@keyframes bnNote { to { transform: translateY(-120vh) rotate(25deg); opacity: 0; } }
.bn-marquee { overflow: hidden; border-block: 1px solid var(--line); background: rgba(255, 255, 255, .03); }
.bn-marquee__track { display: flex; gap: 44px; width: max-content; padding: 16px 0; animation: bnMarquee 40s linear infinite; }
.bn-marquee__track span { font-family: var(--display); font-size: 1.15rem; color: var(--mute); white-space: nowrap; }
.bn-marquee__track b { color: var(--pink); margin-right: 44px; }
@keyframes bnMarquee { to { transform: translateX(-50%); } }

/* ---------- rasgos / pasos ---------- */
.bn-feature { display: flex; flex-direction: column; gap: 10px; }
.bn-feature__ico {
    width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; font-size: 26px;
    background: linear-gradient(135deg, rgba(255, 79, 216, .25), rgba(34, 211, 238, .2)); border: 1px solid var(--line-2);
}
.bn-paper .bn-feature__ico { background: linear-gradient(135deg, #ffe1f8, #dff8ff); border-color: transparent; }
.bn-steps { counter-reset: paso; }
.bn-step { position: relative; padding-left: 64px; }
.bn-step::before {
    counter-increment: paso; content: counter(paso); position: absolute; left: 0; top: 0; width: 46px; height: 46px; border-radius: 14px;
    display: grid; place-items: center; font-family: var(--display); font-size: 1.3rem; background: var(--grad); color: #fff;
}

/* ---------- modos ---------- */
.bn-mode { display: flex; flex-direction: column; gap: 12px; position: relative; overflow: hidden; }
.bn-mode__top { display: flex; align-items: center; gap: 14px; }
.bn-mode__ico { width: 84px; height: 52px; object-fit: contain; flex: none; filter: drop-shadow(0 4px 12px rgba(0, 0, 0, .35)); }
.bn-mode h3 { margin: 0; }
.bn-mode__lema { font-weight: 700; color: var(--yellow); font-size: .95rem; margin: 0; }
.bn-mode__txt { color: var(--mute); margin: 0; flex: 1; }
.bn-mode__pie { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.bn-video { position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: #000; }
.bn-video iframe, .bn-video img { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }
.bn-video button {
    position: absolute; inset: 0; border: 0; cursor: pointer; background: linear-gradient(0deg, rgba(0, 0, 0, .45), transparent);
    display: grid; place-items: center;
}
.bn-video button span {
    width: 64px; height: 64px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; box-shadow: 0 8px 30px rgba(255, 79, 216, .5);
}
.bn-video button span::before { content: ""; border-left: 20px solid #fff; border-block: 12px solid transparent; margin-left: 5px; }

/* ---------- prendas ---------- */
.bn-tools { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 18px; }
.bn-tools .bn-input { flex: 1 1 260px; }
.bn-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.bn-items { display: grid; grid-template-columns: repeat(auto-fill, minmax(148px, 1fr)); gap: 14px; }
.bn-item { padding: 12px; border-radius: 16px; background: #fff; border: 1px solid rgba(34, 24, 79, .08); text-align: center;
    transition: transform .18s, box-shadow .18s; cursor: pointer; }
.bn-item:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(60, 40, 140, .14); }
.bn-item__img { width: 80px; height: 80px; margin: 4px auto 8px; background-repeat: no-repeat; background-size: 800px 800px;
    border-radius: 12px; background-color: var(--paper-2); }
.bn-item__n { font-weight: 700; font-size: .88rem; line-height: 1.25; color: var(--paper-ink); min-height: 2.5em;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.bn-item__m { font-size: .76rem; color: var(--paper-mute); }
.bn-precio { font-weight: 800; font-size: .82rem; color: var(--violet); }

/* ---------- ranking ---------- */
.bn-tabs { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 26px; }
.bn-podium { display: grid; grid-template-columns: 1fr 1.15fr 1fr; gap: 16px; align-items: end; margin-bottom: 26px; }
.bn-podium__p { text-align: center; padding: 22px 14px 18px; border-radius: 22px; background: var(--card); border: 1px solid var(--line); position: relative; }
.bn-podium__p--1 { padding-top: 34px; background: linear-gradient(180deg, rgba(255, 209, 102, .22), var(--card)); border-color: rgba(255, 209, 102, .45); }
.bn-podium__p--2 { background: linear-gradient(180deg, rgba(200, 210, 255, .16), var(--card)); }
.bn-podium__p--3 { background: linear-gradient(180deg, rgba(255, 160, 110, .18), var(--card)); }
.bn-podium__medal { font-size: 2.1rem; line-height: 1; }
.bn-podium__n { font-family: var(--display); font-size: 1.25rem; margin: 8px 0 2px; word-break: break-word; }
.bn-podium__v { color: var(--mute); font-size: .9rem; }
.bn-table { width: 100%; border-collapse: separate; border-spacing: 0 8px; }
.bn-table td, .bn-table th { padding: 12px 14px; text-align: left; }
.bn-table th { font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--soft); font-weight: 700; }
.bn-table tbody tr { background: var(--card); }
.bn-table tbody td:first-child { border-radius: 12px 0 0 12px; font-family: var(--display); font-size: 1.1rem; width: 64px; }
.bn-table tbody td:last-child { border-radius: 0 12px 12px 0; text-align: right; font-weight: 700; }
.bn-table .bn-num { text-align: right; }

/* ---------- foro ---------- */
.bn-cat { display: flex; gap: 16px; align-items: center; }
.bn-cat__ico { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; font-size: 24px; flex: none; background: var(--card-2); }
.bn-cat__info { flex: 1; min-width: 0; }
.bn-cat__info h3 { margin: 0 0 2px; font-size: 1.15rem; }
.bn-cat__info p { margin: 0; color: var(--mute); font-size: .92rem; }
.bn-cat__stats { text-align: right; font-size: .85rem; color: var(--mute); flex: none; }
.bn-cat__last { font-size: .82rem; color: var(--soft); margin-top: 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bn-topic { display: flex; gap: 14px; align-items: center; padding: 14px 18px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); }
.bn-topic + .bn-topic { margin-top: 10px; }
.bn-topic:hover { border-color: var(--line-2); background: var(--card-2); }
.bn-topic__t { flex: 1; min-width: 0; }
.bn-topic__t b { display: block; font-size: 1.02rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bn-topic__t small { color: var(--mute); }
.bn-topic__n { text-align: center; min-width: 64px; font-size: .8rem; color: var(--mute); }
.bn-topic__n b { display: block; font-family: var(--display); font-size: 1.15rem; color: var(--text); }
.bn-post { display: grid; grid-template-columns: 56px 1fr; gap: 14px; padding: 18px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); }
.bn-post + .bn-post { margin-top: 12px; }
.bn-post--op { border-color: rgba(255, 79, 216, .35); background: linear-gradient(180deg, rgba(255, 79, 216, .08), var(--card)); }
.bn-post .bn-avatar { width: 48px; height: 48px; font-size: 1.3rem; }
.bn-post__meta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; font-size: .85rem; color: var(--mute); margin-bottom: 6px; }
.bn-post__meta b { color: var(--text); font-size: .98rem; }
.bn-post__txt { white-space: pre-wrap; word-break: break-word; }

/* ---------- avisos / vacio ---------- */
.bn-empty { text-align: center; padding: 40px 20px; color: var(--mute); border: 1px dashed var(--line-2); border-radius: var(--radius); }
.bn-paper .bn-empty { color: var(--paper-mute); border-color: rgba(34, 24, 79, .2); }
.bn-toast {
    position: fixed; left: 50%; bottom: 24px; z-index: 100; transform: translate(-50%, 140%); padding: 14px 22px; border-radius: 14px;
    background: #1f1857; border: 1px solid var(--line-2); box-shadow: var(--shadow); font-weight: 600; transition: transform .25s; max-width: calc(100% - 32px);
}
.bn-toast.is-on { transform: translate(-50%, 0); }
.bn-toast--mal { border-color: rgba(255, 92, 122, .6); }
.bn-skel { border-radius: 12px; background: linear-gradient(90deg, var(--card), var(--card-2), var(--card)); background-size: 200% 100%; animation: bnSkel 1.2s infinite; }
@keyframes bnSkel { to { background-position: -200% 0; } }
.bn-modal { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 16px; background: rgba(5, 3, 20, .7); backdrop-filter: blur(6px); }
.bn-modal__box { width: min(100%, 560px); max-height: calc(100vh - 32px); overflow-y: auto; padding: 26px; border-radius: 22px; background: #181242; border: 1px solid var(--line-2); box-shadow: var(--shadow); }

/* ---------- pie ---------- */
.bn-footer { border-top: 1px solid var(--line); padding: 56px 0 30px; background: rgba(8, 6, 24, .6); margin-top: 40px; }
.bn-footer__grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 30px; }
.bn-footer h4 { font-size: 1rem; margin-bottom: 12px; }
.bn-footer a { display: block; color: var(--mute); padding: 4px 0; }
.bn-footer a:hover { color: var(--text); }
.bn-footer__bottom { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; color: var(--soft); font-size: .86rem; }
.bn-social { display: flex; gap: 10px; margin-top: 14px; }
.bn-social a { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--card-2); padding: 0; }
.bn-social svg { width: 20px; height: 20px; fill: currentColor; }

/* ---------- aparicion ---------- */
.bn-reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.bn-reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .bn-reveal { opacity: 1; transform: none; }
}

/* ---------- moviles ---------- */
@media (max-width: 980px) {
    .bn-nav, .bn-header__act .bn-hide-m { display: none; }
    .bn-burger { display: grid; }
    .bn-hero__in { grid-template-columns: 1fr; text-align: center; padding-top: 24px; }
    .bn-hero__lead { margin-inline: auto; }
    .bn-hero__cta, .bn-live { justify-content: center; }
    .bn-stage { max-width: 420px; aspect-ratio: 4 / 4.4; }
    .bn-grid--3, .bn-grid--4 { grid-template-columns: repeat(2, 1fr); }
    .bn-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
    .bn-grid--2, .bn-grid--3, .bn-grid--4 { grid-template-columns: 1fr; }
    .bn-podium { grid-template-columns: 1fr; }
    .bn-podium__p--1 { order: -1; }
    .bn-footer__grid { grid-template-columns: 1fr; }
    .bn-cat { flex-wrap: wrap; }
    .bn-cat__stats { text-align: left; }
    .bn-topic__n { display: none; }
    .bn-table td, .bn-table th { padding: 10px 8px; }
    .bn-items { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); }
}
