/* ============================================================
   inicio.css — Estilos del Landing / Index público
   OSADIA RPG · Sesión 15
   Cargado solo en index.php (landing + auth)
   ============================================================ */

/* ── RESET + VARIABLES ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --gold:          #c8a45a;
    --gold-bright:   #f0d080;
    --gold-dim:      #7a6030;
    --ember:         #c84c00;
    --bg-deep:       #060300;
    --bg-dark:       #0d0700;
    --bg-panel:      #1a0e00;
    --bg-card:       #221200;
    --border:        rgba(200,164,90,0.2);
    --border-bright: rgba(200,164,90,0.5);
    --text:          #f0e8d0;
    --text-muted:    #a09070;
    --text-dim:      #604030;
    --radius:        12px;
    --radius-lg:     20px;
    --font-title:    'Cinzel', serif;
    --font-deco:     'Cinzel Decorative', serif;
    --font-body:     'Lato', sans-serif;
    --nav-h:         64px;
}

html { scroll-behavior: smooth; }
html, body {
    min-height: 100%;
    background: var(--bg-deep);
    color: var(--text);
    font-family: var(--font-body);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
img { display: block; }

/* ── BANNER DE EVENTO ──────────────────────────────────────── */
.event-banner {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 8px 16px;
    text-align: center;
    font-family: var(--font-title);
    font-size: 0.72rem;
    letter-spacing: 1px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    animation: bannerSlide 0.4s ease both;
}
@keyframes bannerSlide {
    from { transform: translateY(-100%); }
    to   { transform: translateY(0); }
}

/* ═══════════════════════════════════════════════════════════
   HERO ARENA
═══════════════════════════════════════════════════════════ */
.hero-arena {
    position: relative;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.hero-arena.with-banner { padding-top: 36px; }

/* ── Fondo multicapa ── */
.arena-bg {
    position: absolute; inset: 0;
    z-index: 0; pointer-events: none;
}
.arena-bg-sky {
    position: absolute; inset: 0;
    background: radial-gradient(ellipse 120% 60% at 50% -10%, #3a1800 0%, #1a0800 30%, #060300 70%);
}
.arena-moon {
    position: absolute;
    top: 6%; left: 50%;
    transform: translateX(-50%);
    width: 180px; height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle at 40% 35%, #fff8e0 0%, #f0d090 30%, #c89040 70%, #7a5010 100%);
    box-shadow:
        0 0 0 3px rgba(200,164,90,0.3),
        0 0 40px 20px rgba(200,140,30,0.25),
        0 0 120px 60px rgba(200,100,0,0.12),
        0 0 200px 100px rgba(200,80,0,0.06);
    animation: moonFloat 8s ease-in-out infinite;
}
@keyframes moonFloat {
    0%,100% { transform: translateX(-50%) translateY(0); }
    50%      { transform: translateX(-50%) translateY(-8px); }
}
.arena-city {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 160px;
    background: linear-gradient(to top, #0a0500 0%, transparent 100%);
    z-index: 2;
}
.arena-city::before {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 130px;
    background: #0d0700;
    clip-path: polygon(
        0% 100%, 0% 55%,
        2% 55%, 2% 38%, 4% 38%, 4% 28%, 5% 18%, 6% 28%, 6% 38%, 8% 38%, 8% 55%,
        10% 55%, 10% 48%, 12% 48%, 12% 35%, 13% 22%, 14% 35%, 14% 48%, 16% 48%,
        18% 55%, 18% 62%,
        22% 62%, 22% 40%, 24% 40%, 24% 26%, 25% 14%, 26% 26%, 26% 40%, 28% 40%, 28% 62%,
        32% 62%, 32% 50%, 34% 50%, 34% 40%, 35% 30%, 36% 40%, 36% 50%, 38% 50%,
        40% 62%, 42% 62%, 42% 48%, 44% 48%, 44% 35%, 45% 24%, 46% 35%, 46% 48%, 48% 48%,
        50% 68%, 52% 68%, 52% 48%, 54% 48%, 54% 35%, 55% 24%, 56% 35%, 56% 48%, 58% 48%,
        60% 62%, 62% 50%, 64% 50%, 64% 40%, 65% 28%, 66% 40%, 66% 50%, 68% 62%,
        70% 62%, 72% 40%, 74% 40%, 74% 26%, 75% 14%, 76% 26%, 76% 40%, 78% 40%, 78% 62%,
        80% 62%, 82% 55%, 84% 48%, 86% 48%, 86% 35%, 87% 22%, 88% 35%, 88% 48%, 90% 55%,
        92% 55%, 92% 38%, 94% 38%, 94% 28%, 95% 18%, 96% 28%, 96% 38%, 98% 55%,
        100% 55%, 100% 100%
    );
}
.arena-city-glow {
    position: absolute;
    bottom: 90px; left: 0; right: 0; height: 80px;
    background: linear-gradient(to top, rgba(200,80,0,0.1) 0%, transparent 100%);
    pointer-events: none;
}
.arena-fog {
    position: absolute;
    bottom: 0; left: 0; right: 0; height: 120px;
    background: linear-gradient(to top, rgba(6,3,0,0.98) 0%, rgba(6,3,0,0.7) 50%, transparent 100%);
    z-index: 3;
}
.arena-particles {
    position: absolute; inset: 0;
    overflow: hidden; pointer-events: none; z-index: 1;
}
.a-particle {
    position: absolute; bottom: -10px;
    border-radius: 50%; opacity: 0;
    animation: partRise linear infinite;
}
@keyframes partRise {
    0%   { transform: translateY(0) translateX(0) scale(1); opacity: 0; }
    8%   { opacity: 0.9; }
    85%  { opacity: 0.2; }
    100% { transform: translateY(-90vh) translateX(var(--drift,30px)) scale(0); opacity: 0; }
}

/* ── Stage principal ── */
.arena-stage {
    position: relative; z-index: 10;
    flex: 1;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: end;
    min-height: 100dvh;
    max-width: 1200px;
    margin: 0 auto; width: 100%;
    padding: 0 16px;
}

/* ── Personajes ── */
.arena-char {
    position: relative;
    display: flex; flex-direction: column;
    align-items: center; justify-content: flex-end;
    z-index: 10;
}
.arena-char-img {
    width: clamp(180px, 28vw, 340px);
    height: auto; max-height: 75dvh;
    object-fit: contain; object-position: bottom center;
    filter: drop-shadow(0 0 30px rgba(200,100,0,0.35)) drop-shadow(0 20px 40px rgba(0,0,0,0.9));
    position: relative; z-index: 2;
}
.arena-char--izq .arena-char-img {
    animation: charEnterLeft 1.2s cubic-bezier(.16,1,.3,1) both;
    animation-delay: 0.3s;
    transform-origin: bottom center;
}
.arena-char--der .arena-char-img {
    animation: charEnterRight 1.2s cubic-bezier(.16,1,.3,1) both;
    animation-delay: 0.5s;
    transform-origin: bottom center;
    transform: scaleX(-1);
    filter: drop-shadow(0 0 30px rgba(200,80,150,0.3)) drop-shadow(0 20px 40px rgba(0,0,0,0.9));
}
@keyframes charEnterLeft {
    from { opacity: 0; transform: translateX(-80px) scale(0.85); }
    to   { opacity: 1; transform: translateX(0) scale(1); }
}
@keyframes charEnterRight {
    from { opacity: 0; transform: scaleX(-1) translateX(-80px) scale(0.85); }
    to   { opacity: 1; transform: scaleX(-1) translateX(0) scale(1); }
}
.arena-char::after {
    content: '';
    position: absolute; bottom: 0;
    width: 80%; height: 40px; border-radius: 50%;
    background: radial-gradient(ellipse, rgba(200,100,0,0.3) 0%, transparent 70%);
    filter: blur(8px); z-index: 1;
}
.arena-char--der::after {
    background: radial-gradient(ellipse, rgba(200,80,150,0.25) 0%, transparent 70%);
}
.char-atuendo-badge {
    position: absolute; top: 10px;
    background: linear-gradient(135deg, rgba(200,164,90,0.2), rgba(200,164,90,0.05));
    border: 1px solid var(--border-bright);
    border-radius: 20px; padding: 4px 10px;
    font-family: var(--font-title); font-size: 0.58rem;
    color: var(--gold); letter-spacing: 1px; text-transform: uppercase;
    backdrop-filter: blur(4px);
    display: flex; align-items: center; gap: 5px;
    z-index: 20;
    animation: badgePop 0.5s cubic-bezier(.16,1,.3,1) both;
    animation-delay: 1.4s; opacity: 0;
}
@keyframes badgePop {
    from { opacity: 0; transform: scale(0.7) translateY(10px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}
.char-atuendo-badge i { font-size: 0.6rem; color: var(--gold-bright); }

/* Ocultar VS cuando no hay simetría de personajes */
.hero-arena.one-char .arena-vs,
.hero-arena.one-char .arena-vs-sparks,
.hero-arena.no-chars  .arena-vs,
.hero-arena.no-chars  .arena-vs-sparks { display: none; }

/* ── Stage con 1 o 0 personajes ── */
/* Solo personaje derecho: columna izquierda colapsada */
.arena-stage.solo-der {
    grid-template-columns: 0 auto 1fr;
}
/* Solo personaje izquierdo: columna derecha colapsada */
.arena-stage.solo-izq {
    grid-template-columns: 1fr auto 0;
}
/* Sin personajes: centro ocupa todo */
.arena-stage.sin-chars {
    grid-template-columns: 1fr;
}
.arena-stage.sin-chars .arena-center {
    width: clamp(260px, 50vw, 480px);
}
/* El centro siempre se recentra visualmente */
.arena-stage.solo-der .arena-center,
.arena-stage.solo-izq .arena-center {
    width: clamp(200px, 34vw, 400px);
}
/* Ocultar el espacio fantasma del VS cuando no hay simetría */
.arena-stage.solo-der ~ .arena-vs,
.arena-stage.solo-izq ~ .arena-vs,
.arena-stage.sin-chars ~ .arena-vs {
    display: none;
}

/* ── Centro del stage ── */
.arena-center {
    display: flex; flex-direction: column;
    align-items: center; justify-content: flex-end;
    padding-bottom: clamp(140px, 22vh, 220px);
    z-index: 20; gap: 0;
    width: clamp(200px, 30vw, 380px);
}
.arena-emblem {
    width: 70px; height: 70px; border-radius: 50%;
    border: 2px solid rgba(200,164,90,0.6);
    background: radial-gradient(circle at 35% 30%, #3a2200, #1a0e00 60%, #0d0700);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.8rem; color: var(--gold);
    box-shadow:
        0 0 0 8px rgba(200,164,90,0.06),
        0 0 60px rgba(200,164,90,0.3),
        0 0 120px rgba(200,100,0,0.15),
        inset 0 2px 8px rgba(200,164,90,0.2);
    margin-bottom: 16px; flex-shrink: 0;
    animation: emblemReveal 1s cubic-bezier(.16,1,.3,1) both;
    animation-delay: 0.8s;
}
@keyframes emblemReveal {
    from { opacity: 0; transform: scale(0.5) rotate(-20deg); }
    to   { opacity: 1; transform: scale(1) rotate(0); }
}

/* VS / espada cruzada */
.arena-vs {
    font-family: var(--font-deco);
    font-size: clamp(1.8rem, 5vw, 3rem);
    color: var(--gold-bright);
    text-shadow:
        0 0 20px rgba(200,164,90,0.8),
        0 0 60px rgba(200,100,0,0.5),
        0 2px 4px rgba(0,0,0,0.9);
    position: absolute; left: 50%;
    transform: translateX(-50%);
    bottom: clamp(100px, 18vh, 180px);
    z-index: 30;
    animation: vsFlash 0.6s cubic-bezier(.16,1,.3,1) both;
    animation-delay: 1s; white-space: nowrap;
}
@keyframes vsFlash {
    from { opacity: 0; transform: translateX(-50%) scale(2.5); filter: blur(10px); }
    to   { opacity: 1; transform: translateX(-50%) scale(1); filter: blur(0); }
}
.arena-vs-sparks {
    position: absolute; left: 50%; transform: translateX(-50%);
    bottom: clamp(100px, 18vh, 180px);
    z-index: 29; pointer-events: none;
    width: 200px; height: 80px;
}
.spark {
    position: absolute; width: 3px; height: 3px;
    border-radius: 50%; background: var(--gold-bright);
    animation: sparkFly linear infinite; opacity: 0;
}
@keyframes sparkFly {
    0%   { opacity: 0; transform: translate(0,0) scale(1); }
    20%  { opacity: 1; }
    100% { opacity: 0; transform: translate(var(--sx,40px),var(--sy,-60px)) scale(0); }
}

/* Textos del centro */
.arena-pre {
    font-size: 0.6rem; font-family: var(--font-title);
    letter-spacing: 5px; color: var(--text-muted);
    text-transform: uppercase; margin-bottom: 6px;
    display: flex; align-items: center; gap: 8px;
    animation: fadeUp 0.8s cubic-bezier(.16,1,.3,1) both;
    animation-delay: 1s; white-space: nowrap; text-align: center;
}
.arena-pre::before, .arena-pre::after {
    content: ''; width: 20px; height: 1px;
    background: var(--gold-dim); flex-shrink: 0;
}
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}
.arena-title {
    font-family: var(--font-deco);
    font-size: clamp(2rem, 6vw, 4rem);
    font-weight: 900; line-height: 0.95;
    text-align: center; margin-bottom: 4px;
    animation: fadeUp 0.8s cubic-bezier(.16,1,.3,1) both;
    animation-delay: 1.1s;
}
.arena-title .t1 {
    display: block; color: var(--gold);
    text-shadow: 0 0 40px rgba(200,164,90,0.6), 0 2px 4px rgba(0,0,0,0.9);
    letter-spacing: 4px;
}
.arena-title .t2 {
    display: block; color: var(--gold-bright);
    text-shadow: 0 0 30px rgba(240,208,128,0.7), 0 0 80px rgba(200,164,90,0.3);
    font-size: 0.6em; letter-spacing: 10px;
}
.arena-tagline {
    font-size: clamp(0.68rem, 1.5vw, 0.85rem);
    color: var(--text-muted); font-style: italic;
    letter-spacing: 0.5px; margin-bottom: 20px;
    text-align: center; line-height: 1.5;
    max-width: 280px;
    animation: fadeUp 0.8s cubic-bezier(.16,1,.3,1) both;
    animation-delay: 1.25s;
}
.arena-pillars {
    display: flex; gap: 0;
    border: 1px solid var(--border); border-radius: var(--radius);
    overflow: hidden; background: rgba(6,3,0,0.7);
    backdrop-filter: blur(6px); margin-bottom: 16px; width: 100%;
    animation: fadeUp 0.8s cubic-bezier(.16,1,.3,1) both;
    animation-delay: 1.4s;
}
.arena-pillar {
    flex: 1; padding: 10px 4px;
    display: flex; flex-direction: column;
    align-items: center; gap: 4px;
    border-right: 1px solid var(--border);
}
.arena-pillar:last-child { border-right: none; }
.arena-pillar i { font-size: 1rem; color: var(--gold); }
.arena-pillar span {
    font-size: 0.55rem; font-family: var(--font-title);
    text-transform: uppercase; letter-spacing: 0.8px;
    color: var(--text-muted); text-align: center;
}

/* CTAs */
.arena-cta {
    display: flex; flex-direction: column; gap: 8px; width: 100%;
    animation: fadeUp 0.8s cubic-bezier(.16,1,.3,1) both;
    animation-delay: 1.55s;
}
.btn-primary {
    position: relative; overflow: hidden;
    padding: 15px 20px; border: none; border-radius: var(--radius);
    background: linear-gradient(135deg, #d4b060 0%, #a07828 60%, #7a5818 100%);
    color: #1a0e00; font-family: var(--font-title);
    font-size: 0.85rem; font-weight: 700;
    letter-spacing: 2px; text-transform: uppercase;
    display: flex; align-items: center; justify-content: center; gap: 8px;
    text-decoration: none;
    box-shadow: 0 4px 24px rgba(200,164,90,0.45), 0 1px 0 rgba(255,255,255,0.15) inset;
    transition: transform 0.2s, box-shadow 0.2s;
    -webkit-tap-highlight-color: transparent;
}
.btn-primary::before {
    content: ''; position: absolute; top: 0; left: -100%;
    width: 60%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transform: skewX(-20deg); transition: left 0.6s;
}
.btn-primary:hover::before, .btn-primary:active::before { left: 160%; }
.btn-primary:active { transform: scale(0.97); box-shadow: 0 2px 12px rgba(200,164,90,0.3); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(200,164,90,0.5); }

.btn-secondary {
    padding: 13px 20px;
    border: 1px solid rgba(200,164,90,0.35); border-radius: var(--radius);
    background: rgba(13,7,0,0.6); color: var(--gold);
    font-family: var(--font-title); font-size: 0.8rem; font-weight: 600;
    letter-spacing: 1.5px; text-transform: uppercase;
    display: flex; align-items: center; justify-content: center; gap: 8px;
    text-decoration: none; backdrop-filter: blur(4px);
    transition: all 0.2s; -webkit-tap-highlight-color: transparent;
}
.btn-secondary:hover { background: rgba(200,164,90,0.1); border-color: rgba(200,164,90,0.6); }
.btn-secondary:active { transform: scale(0.97); }

/* Scroll hint */
.scroll-hint {
    position: absolute; bottom: 24px; left: 50%;
    transform: translateX(-50%); z-index: 20;
    display: flex; flex-direction: column; align-items: center; gap: 6px;
    animation: fadeUp 0.8s ease both; animation-delay: 2s; opacity: 0.5;
}
.scroll-hint span {
    font-size: 0.58rem; font-family: var(--font-title);
    letter-spacing: 3px; text-transform: uppercase; color: var(--text-dim);
}
.scroll-hint i {
    font-size: 0.75rem; color: var(--gold-dim);
    animation: scrollBounce 1.5s ease-in-out infinite;
}
@keyframes scrollBounce {
    0%,100% { transform: translateY(0); }
    50%      { transform: translateY(6px); }
}

/* ── Novedades ── */
.hero-news {
    position: relative; z-index: 20;
    padding: 0 16px 12px;
    max-width: 600px; margin: 0 auto; width: 100%;
}
.news-title-bar {
    display: flex; align-items: center; gap: 8px;
    font-family: var(--font-title); font-size: 0.62rem;
    color: var(--gold-dim); text-transform: uppercase; letter-spacing: 2px;
    margin-bottom: 8px;
}
.news-title-bar::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.news-card {
    display: flex; align-items: center; gap: 10px;
    padding: 9px 12px; background: rgba(13,7,0,0.85);
    border: 1px solid var(--border); border-radius: 10px; margin-bottom: 5px;
    cursor: pointer; backdrop-filter: blur(6px);
    transition: border-color 0.2s, background 0.2s;
    -webkit-tap-highlight-color: transparent;
}
.news-card:active, .news-card:hover {
    border-color: rgba(200,164,90,0.45); background: rgba(26,14,0,0.95);
}
.news-card-icon {
    width: 28px; height: 28px; background: rgba(200,164,90,0.1);
    border: 1px solid var(--border); border-radius: 7px;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.72rem; color: var(--gold); flex-shrink: 0;
}
.news-card-body { flex: 1; min-width: 0; }
.news-card-head {
    font-size: 0.78rem; font-weight: 700; color: var(--text);
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.news-card-date { font-size: 0.65rem; color: var(--text-muted); margin-top: 1px; }
.news-card-arrow { color: var(--gold-dim); font-size: 0.62rem; flex-shrink: 0; }

/* Status bar */
.hero-status {
    position: relative; z-index: 20;
    text-align: center; padding: 8px 16px 20px;
    font-size: 0.65rem; color: var(--text-dim); letter-spacing: 0.5px;
    display: flex; align-items: center; justify-content: center; gap: 8px;
}
.status-dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: #3a8a2b; box-shadow: 0 0 6px #3a8a2b;
    animation: dotBlink 2s ease-in-out infinite; flex-shrink: 0;
}
@keyframes dotBlink { 0%,100%{opacity:1} 50%{opacity:0.3} }

/* ═══════════════════════════════════════════════════════════
   SECCIONES DEL BODY (landing)
═══════════════════════════════════════════════════════════ */
.landing-sections { position: relative; background: var(--bg-deep); z-index: 5; }
.section-divider {
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, var(--border-bright) 30%, rgba(200,164,90,0.8) 50%, var(--border-bright) 70%, transparent 100%);
    position: relative;
}
.section-divider::after {
    content: ''; position: absolute; top: -20px; left: 0; right: 0; height: 20px;
    background: linear-gradient(to top, var(--bg-deep), transparent);
}
.sec-tag {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 5px 14px; background: rgba(200,164,90,0.08);
    border: 1px solid var(--border); border-radius: 99px;
    font-family: var(--font-title); font-size: 0.62rem;
    color: var(--gold-dim); letter-spacing: 2px; text-transform: uppercase;
    margin-bottom: 14px;
}
.sec-tag i { color: var(--gold); font-size: 0.6rem; }
.sec-title {
    font-family: var(--font-deco);
    font-size: clamp(1.5rem, 4vw, 2.8rem);
    color: var(--gold); text-shadow: 0 0 30px rgba(200,164,90,0.4);
    margin-bottom: 10px; line-height: 1.1;
}
.sec-sub {
    font-size: clamp(0.82rem, 2vw, 1rem);
    color: var(--text-muted); line-height: 1.7; max-width: 520px;
}

/* ── Sección CARDS de clases ── */
.sec-clases {
    padding: clamp(60px,8vh,100px) 24px;
    max-width: 1100px; margin: 0 auto;
}
.sec-clases-header { text-align: center; margin-bottom: clamp(32px,5vh,56px); }
.clases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}
.clase-card {
    position: relative;
    background: linear-gradient(160deg, rgba(34,18,0,0.9) 0%, rgba(13,7,0,0.95) 100%);
    border: 1px solid var(--border); border-radius: var(--radius-lg);
    overflow: hidden; display: flex; flex-direction: column;
    transition: transform 0.3s cubic-bezier(.16,1,.3,1), border-color 0.3s, box-shadow 0.3s;
}
.clase-card:hover {
    transform: translateY(-6px); border-color: var(--border-bright);
    box-shadow: 0 16px 60px rgba(200,164,90,0.15), 0 4px 16px rgba(0,0,0,0.6);
}
.clase-card-img-wrap {
    position: relative; height: clamp(200px, 35vw, 320px); overflow: hidden;
    background: radial-gradient(ellipse at 50% 100%, rgba(200,100,0,0.12) 0%, transparent 70%);
    display: flex; align-items: flex-end; justify-content: center;
}
.clase-card-img {
    width: auto; height: 100%; max-height: 100%;
    object-fit: contain; object-position: bottom center;
    filter: drop-shadow(0 0 20px rgba(200,100,0,0.3));
    transition: transform 0.4s cubic-bezier(.16,1,.3,1);
}
.clase-card:hover .clase-card-img { transform: scale(1.04) translateY(-4px); }
.clase-card-img-wrap::after {
    content: ''; position: absolute; bottom: 0;
    width: 70%; height: 30px; border-radius: 50%;
    background: radial-gradient(ellipse, var(--clase-color, rgba(200,100,0,0.4)) 0%, transparent 70%);
    filter: blur(6px);
}
.clase-atuendo-chip {
    position: absolute; top: 10px; right: 10px;
    background: rgba(0,0,0,0.7); border: 1px solid var(--border);
    border-radius: 99px; padding: 3px 8px;
    font-family: var(--font-title); font-size: 0.55rem;
    color: var(--gold); letter-spacing: 1px; text-transform: uppercase;
    backdrop-filter: blur(4px); display: flex; align-items: center; gap: 4px;
}
.clase-atuendo-chip i { font-size: 0.5rem; }
.clase-card-sep {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-bright), transparent);
}
.clase-card-info { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 10px; }
.clase-card-nombre {
    font-family: var(--font-title); font-size: 1.1rem; font-weight: 700;
    color: var(--gold); letter-spacing: 2px;
    display: flex; align-items: center; gap: 8px;
}
.clase-card-nombre i { font-size: 0.85rem; }
.clase-card-desc { font-size: 0.8rem; color: var(--text-muted); line-height: 1.6; }
.clase-stats { display: flex; flex-direction: column; gap: 6px; }
.clase-stat { display: flex; align-items: center; gap: 8px; }
.clase-stat-label {
    font-size: 0.65rem; font-family: var(--font-title);
    color: var(--text-dim); width: 60px; flex-shrink: 0; letter-spacing: 0.5px;
}
.clase-stat-bar { flex: 1; height: 4px; background: rgba(200,164,90,0.08); border-radius: 99px; overflow: hidden; }
.clase-stat-fill {
    height: 100%; border-radius: 99px;
    background: linear-gradient(90deg, var(--gold-dim), var(--gold));
    transition: width 1.2s cubic-bezier(.16,1,.3,1); width: 0%;
}

/* ── Sección FEATURE (img + texto) ── */
.sec-feature {
    padding: clamp(60px,8vh,100px) 24px;
    max-width: 1100px; margin: 0 auto;
}
.sec-feature-inner { display: grid; gap: clamp(32px,5vw,64px); align-items: center; }
.sec-feature-inner.img-izq,
.sec-feature-inner.img-der { grid-template-columns: 1fr 1fr; }
.sec-feature-media {
    position: relative;
    display: flex; align-items: flex-end; justify-content: center;
}
.sec-feature-char {
    width: 100%; max-width: 300px;
    height: clamp(260px, 40vw, 460px);
    object-fit: contain; object-position: bottom center;
    filter: drop-shadow(0 0 30px rgba(200,100,0,0.3)) drop-shadow(0 20px 40px rgba(0,0,0,0.8));
    animation: floatChar 5s ease-in-out infinite;
}
@keyframes floatChar {
    0%,100% { transform: translateY(0); }
    50%      { transform: translateY(-12px); }
}
.sec-feature-media::before {
    content: ''; position: absolute; bottom: -20px;
    width: 60%; height: 60px; border-radius: 50%;
    background: radial-gradient(ellipse, rgba(200,100,0,0.25) 0%, transparent 70%);
    filter: blur(10px);
}
.sec-feature-media::after {
    content: ''; position: absolute; top: 10%; left: 50%;
    transform: translateX(-50%);
    width: 180px; height: 180px;
    background: radial-gradient(circle, rgba(200,164,90,0.08) 0%, transparent 70%);
    border-radius: 50%; pointer-events: none;
}
.sec-feature-content { display: flex; flex-direction: column; gap: 20px; }
.feature-items { display: flex; flex-direction: column; gap: 12px; }
.feature-item {
    display: flex; gap: 14px; align-items: flex-start;
    padding: 14px 16px; background: rgba(26,14,0,0.5);
    border: 1px solid var(--border); border-radius: var(--radius);
    transition: border-color 0.2s, background 0.2s;
}
.feature-item:hover { border-color: rgba(200,164,90,0.4); background: rgba(34,18,0,0.7); }
.feature-item-icon {
    width: 38px; height: 38px; flex-shrink: 0;
    background: rgba(200,164,90,0.1); border: 1px solid var(--border);
    border-radius: 10px; display: flex; align-items: center; justify-content: center;
    font-size: 1rem; color: var(--gold);
}
.feature-item-body { flex: 1; }
.feature-item-titulo {
    font-family: var(--font-title); font-size: 0.85rem; font-weight: 700;
    color: var(--gold); letter-spacing: 1px; margin-bottom: 3px;
}
.feature-item-desc { font-size: 0.78rem; color: var(--text-muted); line-height: 1.5; }

/* ── Sección PLATAFORMAS ── */
.sec-plataformas {
    padding: clamp(60px,8vh,100px) 24px;
    text-align: center; position: relative; overflow: hidden;
}
.sec-plataformas::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(ellipse 60% 50% at 50% 50%, rgba(200,164,90,0.04) 0%, transparent 70%);
    pointer-events: none;
}
.sec-plataformas-header { margin-bottom: clamp(32px,5vh,56px); }
.plataformas-grid {
    display: flex; flex-wrap: wrap; gap: 16px;
    justify-content: center; max-width: 800px; margin: 0 auto;
}
.plataforma-btn {
    display: flex; align-items: center; gap: 14px;
    padding: 14px 24px; background: rgba(13,7,0,0.8);
    border: 1px solid var(--border); border-radius: var(--radius-lg);
    transition: all 0.25s cubic-bezier(.16,1,.3,1);
    text-decoration: none; color: var(--text); min-width: 190px;
    backdrop-filter: blur(4px); position: relative; overflow: hidden;
}
.plataforma-btn::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(200,164,90,0.06) 0%, transparent 60%);
    opacity: 0; transition: opacity 0.25s;
}
.plataforma-btn:hover {
    border-color: var(--border-bright); transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(200,164,90,0.15), 0 4px 12px rgba(0,0,0,0.5);
}
.plataforma-btn:hover::before { opacity: 1; }
.plataforma-btn.coming { opacity: 0.55; pointer-events: none; }
.plataforma-icon { font-size: 1.8rem; flex-shrink: 0; }
.plataforma-btn.play .plataforma-icon  { color: #a4c639; }
.plataforma-btn.apple .plataforma-icon { color: #e0e0e0; }
.plataforma-btn.web .plataforma-icon   { color: var(--gold); }
.plataforma-texts { text-align: left; }
.plataforma-sub {
    font-size: 0.62rem; color: var(--text-muted); line-height: 1;
    font-family: var(--font-title); letter-spacing: 0.5px; margin-bottom: 2px;
}
.plataforma-nombre {
    font-family: var(--font-title); font-size: 1rem; font-weight: 700;
    color: var(--text); letter-spacing: 0.5px;
}
.plataforma-badge-soon {
    position: absolute; top: 8px; right: 10px;
    background: rgba(200,164,90,0.15); border: 1px solid var(--border);
    border-radius: 99px; padding: 2px 7px;
    font-size: 0.55rem; font-family: var(--font-title);
    color: var(--gold-dim); letter-spacing: 1px; text-transform: uppercase;
}
.pwa-hint {
    margin-top: 20px;
    display: flex; align-items: center; justify-content: center; gap: 8px;
    font-size: 0.72rem; color: var(--text-dim);
    font-family: var(--font-title); letter-spacing: 0.5px;
}
.pwa-hint i { color: var(--gold-dim); }

/* ── Footer ── */
.landing-footer {
    background: var(--bg-dark); border-top: 1px solid var(--border);
    padding: 32px 24px 40px; text-align: center; position: relative; overflow: hidden;
}
.landing-footer::before {
    content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
    width: 300px; height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-bright), transparent);
}
.footer-brand { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 10px; }
.footer-brand i { font-size: 1.2rem; color: var(--gold); }
.footer-brand-name { font-family: var(--font-deco); font-size: 1.1rem; color: var(--gold); letter-spacing: 3px; }
.footer-tagline { font-size: 0.78rem; color: var(--text-muted); font-style: italic; margin-bottom: 16px; letter-spacing: 0.5px; }
.footer-links {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
    gap: 4px 16px; margin-bottom: 16px;
}
.footer-links a { font-size: 0.72rem; color: var(--text-dim); font-family: var(--font-title); letter-spacing: 0.5px; transition: color 0.2s; }
.footer-links a:hover { color: var(--gold); }
.footer-sep { color: var(--text-dim); }
.footer-copy { font-size: 0.65rem; color: var(--text-dim); letter-spacing: 0.5px; }

/* ── Modal noticia ── */
.modal-bg {
    position: fixed; inset: 0; background: rgba(0,0,0,0.88);
    z-index: 500; display: none;
    align-items: flex-end; justify-content: center;
    padding-bottom: env(safe-area-inset-bottom, 0);
}
.modal-bg.show { display: flex; }
.modal-sheet {
    width: 100%; max-width: 500px; background: var(--bg-panel);
    border: 1px solid var(--border); border-bottom: none;
    border-radius: 20px 20px 0 0; max-height: 75dvh;
    display: flex; flex-direction: column; position: relative;
    animation: sheetUp 0.3s cubic-bezier(.16,1,.3,1) both;
}
@keyframes sheetUp { from{transform:translateY(100%)} to{transform:translateY(0)} }
.modal-handle { width: 40px; height: 4px; background: var(--border); border-radius: 99px; margin: 10px auto 0; cursor: pointer; }
.modal-hdr { padding: 14px 16px 12px; border-bottom: 1px solid var(--border); }
.modal-badge { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 99px; font-size: 0.68rem; font-weight: 700; background: rgba(200,164,90,0.1); color: var(--gold); border: 1px solid rgba(200,164,90,0.25); margin-bottom: 8px; }
.modal-news-title { font-family: var(--font-title); font-size: 1rem; color: var(--gold); line-height: 1.3; margin-bottom: 5px; }
.modal-meta { font-size: 0.68rem; color: var(--text-muted); display:flex; align-items:center; gap:5px; }
.modal-body { padding: 16px; overflow-y: auto; flex: 1; }
.modal-text { font-size: 0.85rem; color: var(--text); line-height: 1.8; white-space: pre-wrap; }
.modal-empty { font-size: 0.82rem; color: var(--text-muted); font-style: italic; text-align: center; padding: 20px 0; }
.modal-close-btn {
    position: absolute; top: 14px; right: 14px;
    width: 28px; height: 28px; background: rgba(200,164,90,0.1);
    border: 1px solid var(--border); border-radius: 50%;
    color: var(--text-muted); font-size: 0.75rem;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: all 0.2s;
}
.modal-close-btn:hover { background: rgba(200,164,90,0.2); color: var(--gold); }

/* ═══════════════════════════════════════════════════════════
   AUTH — LOGIN / REGISTRO
═══════════════════════════════════════════════════════════ */
.auth-wrap {
    min-height: 100dvh; display: flex; flex-direction: column;
    background: var(--bg-dark); position: relative; overflow: hidden;
}
.auth-wrap::before {
    content: ''; position: fixed; top: 0; left: 50%; transform: translateX(-50%);
    width: 400px; height: 300px;
    background: radial-gradient(ellipse at 50% 0%, rgba(200,164,90,0.07) 0%, transparent 70%);
    pointer-events: none;
}
.auth-header { padding: 16px; display: flex; align-items: center; gap: 12px; border-bottom: 1px solid var(--border); flex-shrink: 0; position: relative; z-index: 1; }
.auth-back { width: 36px; height: 36px; background: rgba(200,164,90,0.06); border: 1px solid var(--border); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--text-muted); font-size: 0.85rem; flex-shrink: 0; transition: all 0.2s; }
.auth-back:hover { background: rgba(200,164,90,0.12); color: var(--gold); }
.auth-header-brand { display: flex; align-items: center; gap: 8px; }
.auth-header-brand i { color: var(--gold); font-size: 0.9rem; }
.auth-header-brand span { font-family: var(--font-title); font-size: 1rem; color: var(--gold); letter-spacing: 1px; }
.auth-body { flex: 1; padding: 24px 20px; display: flex; flex-direction: column; gap: 16px; position: relative; z-index: 1; overflow-y: auto; }
.auth-intro { text-align: center; padding: 8px 0 4px; }
.auth-intro-icon { width: 56px; height: 56px; background: radial-gradient(circle at 35% 30%, #2a1800, #1a0e00); border: 1px solid rgba(200,164,90,0.3); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; color: var(--gold); margin: 0 auto 12px; box-shadow: 0 0 20px rgba(200,164,90,0.15); }
.auth-intro h2 { font-family: var(--font-title); font-size: 1.15rem; color: var(--gold); margin-bottom: 4px; letter-spacing: 1px; }
.auth-intro p { font-size: 0.82rem; color: var(--text-muted); }
.auth-tabs { display: flex; background: rgba(10,5,0,0.6); border: 1px solid var(--border); border-radius: var(--radius); padding: 4px; gap: 4px; }
.auth-tab { flex: 1; padding: 9px; text-align: center; border-radius: 8px; font-size: 0.8rem; font-family: var(--font-title); font-weight: 700; letter-spacing: 0.5px; color: var(--text-dim); text-decoration: none; transition: all 0.2s; display: flex; align-items: center; justify-content: center; gap: 6px; }
.auth-tab.active { background: rgba(200,164,90,0.12); color: var(--gold); border: 1px solid rgba(200,164,90,0.25); }
.auth-alert { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; background: rgba(139,0,0,0.15); border: 1px solid rgba(139,0,0,0.4); border-radius: var(--radius); font-size: 0.8rem; color: #ff9090; line-height: 1.5; }
.auth-alert i { flex-shrink: 0; margin-top: 1px; }
.form-group { display: flex; flex-direction: column; gap: 5px; }
.form-label { font-size: 0.72rem; font-family: var(--font-title); color: var(--text-muted); letter-spacing: 0.5px; display: flex; align-items: center; gap: 5px; }
.form-label i { color: var(--gold); font-size: 0.7rem; }
.form-hint { font-size: 0.68rem; color: var(--text-dim); margin-top: -2px; }
.form-input { width: 100%; background: rgba(10,5,0,0.7); border: 1px solid rgba(200,164,90,0.2); border-radius: var(--radius); padding: 12px 14px; color: var(--text); font-family: var(--font-body); font-size: 0.9rem; transition: border-color 0.2s, box-shadow 0.2s; -webkit-appearance: none; }
.form-input:focus { outline: none; border-color: rgba(200,164,90,0.6); box-shadow: 0 0 0 3px rgba(200,164,90,0.08); }
.form-input::placeholder { color: var(--text-dim); }
.pass-wrap { position: relative; }
.toggle-pass { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); background: none; border: none; color: var(--text-dim); font-size: 0.85rem; padding: 4px; cursor: pointer; transition: color 0.2s; }
.toggle-pass:hover { color: var(--gold); }
.strength-bar-wrap { height: 3px; border-radius: 99px; background: rgba(200,164,90,0.1); overflow: hidden; margin-top: 4px; }
.strength-bar { height: 100%; border-radius: 99px; width: 0%; transition: width 0.3s, background 0.3s; }
.strength-label { font-size: 0.68rem; color: var(--text-dim); margin-top: 2px; }
.pass-match { font-size: 0.68rem; margin-top: 2px; }
.checkbox-row { display: flex; align-items: flex-start; gap: 10px; font-size: 0.8rem; color: var(--text-muted); cursor: pointer; }
.checkbox-row input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--gold); flex-shrink: 0; margin-top: 1px; cursor: pointer; }
.checkbox-row a { color: var(--gold); }
.btn-submit { width: 100%; padding: 15px; border: none; border-radius: var(--radius); background: linear-gradient(135deg, #c8a45a, #9a7030); color: #1a0e00; font-family: var(--font-title); font-size: 0.9rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; display: flex; align-items: center; justify-content: center; gap: 8px; transition: all 0.2s; cursor: pointer; box-shadow: 0 4px 16px rgba(200,164,90,0.3); -webkit-tap-highlight-color: transparent; }
.btn-submit:active { transform: scale(0.97); }
.btn-submit:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }
.auth-divider { display: flex; align-items: center; gap: 12px; color: var(--text-dim); font-size: 0.75rem; }
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.forgot-link { text-align: center; font-size: 0.78rem; color: var(--text-muted); display: flex; align-items: center; justify-content: center; gap: 5px; transition: color 0.2s; }
.forgot-link:hover { color: var(--gold); }
.auth-footer { padding: 14px 20px 28px; text-align: center; font-size: 0.78rem; color: var(--text-dim); border-top: 1px solid var(--border); flex-shrink: 0; }
.auth-footer a { color: var(--gold); }
.char-counter { font-size: 0.68rem; color: var(--text-dim); text-align: right; }

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
    .arena-char-img    { width: clamp(130px, 22vw, 200px); }
    .arena-center      { width: clamp(160px, 32vw, 280px); }
    .arena-pillars     { display: none; }
    .sec-feature-inner.img-izq,
    .sec-feature-inner.img-der { grid-template-columns: 1fr; }
    .sec-feature-inner.img-der .sec-feature-media { order: -1; }
    .clases-grid       { grid-template-columns: 1fr; }
    .plataforma-btn    { min-width: 160px; }
}

@media (max-width: 480px) {
    .arena-stage {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
        padding-bottom: 20px;
    }
    .arena-char-img  { width: clamp(100px, 38vw, 160px); }
    .arena-center {
        position: absolute; left: 50%; top: 50%;
        transform: translate(-50%, -50%);
        width: 180px; padding-bottom: 0; gap: 4px;
    }
    .arena-emblem    { width: 50px; height: 50px; font-size: 1.2rem; margin-bottom: 8px; }
    .arena-pre       { font-size: 0.5rem; letter-spacing: 3px; }
    .arena-title .t1 { font-size: clamp(1.5rem, 8vw, 2.2rem); }
    .arena-tagline   { font-size: 0.65rem; }
    .arena-cta       { width: 90%; max-width: 300px; margin: 0 auto; }
    .arena-vs        { font-size: 1.8rem; bottom: clamp(80px, 14vh, 140px); }
    .sec-feature-inner.img-izq,
    .sec-feature-inner.img-der { grid-template-columns: 1fr; }
    .sec-feature-inner.img-der .sec-feature-media { order: -1; }
    .plataformas-grid { flex-direction: column; align-items: center; }
    .plataforma-btn  { width: 100%; max-width: 300px; }
}

@media (min-width: 1100px) {
    .arena-char-img { width: clamp(260px, 22vw, 340px); }
    .arena-center   { width: 360px; }
}
/* ══════════════════════════════════════════════
   FIXES MOBILE — personajes y secciones
══════════════════════════════════════════════ */
@media (max-width: 480px) {

    /* Personajes: quedan pegados abajo en los costados,
       el centro flota encima sin tapar las caras */
    .arena-stage {
        position: relative;
        display: flex !important;
        align-items: flex-end;
        justify-content: space-between;
        min-height: 100dvh;
        padding: 0;
    }

    .arena-char {
        width: 42vw;
        flex-shrink: 0;
        align-self: flex-end;
    }

    .arena-char-img {
        width: 100% !important;
        max-height: 65dvh;
        object-position: top center;
    }

    /* Centro — flota en el medio sin posición absoluta */
    .arena-center {
        position: absolute !important;
        left: 50% !important;
        top: 50% !important;
        transform: translate(-50%, -50%) !important;
        width: 52vw !important;
        max-width: 220px;
        padding: 0 !important;
        gap: 6px !important;
        z-index: 20;
        pointer-events: auto;
    }

    /* Logo más chico para no tapar */
    .arena-emblem {
        width: 44px !important;
        height: 44px !important;
        font-size: 1rem !important;
        margin-bottom: 6px !important;
    }

    /* Ocultar secciones de clases y features en móvil */
    .sec-clases,
    .sec-feature,
    .section-divider {
        display: none !important;
    }
}

/* ── Ocultar "Disponible ahora" en móvil ── */
@media (max-width: 480px) {
    .sec-plataformas { display: none !important; }
}
