        /* ══════════════════════════════════════════
           TOKENS — del artesano, ampliados
        ══════════════════════════════════════════ */
        :root {
            --forge-black:   #0a0a0a;
            --iron-grey:     #2a2a2a;
            --steel-blue:    #3d5a80;
            --bronze-glow:   #c67b3e;
            --copper-accent: #b87333;
            --gold-highlight:#d4af37;
            --smoke-white:   #e8e8e8;
            --ash-grey:      #8d8d8d;
            /* arena-specific */
            --blood-deep:    #1a0505;
            --cosmos-blue:   #0d1b3e;
            --void:          #06060e;
        }

        /* ══════════════════════════════════════════
           RESET & BASE
        ══════════════════════════════════════════ */
        *, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }

        html { scroll-behavior: smooth; }

        body {
            font-family: 'Cormorant Garamond', serif;
            color: var(--smoke-white);
            line-height: 1.8;
            overflow-x: hidden;
            position: relative;
            cursor: crosshair;
        }

        /* ambient radial glows */
        body::before {
            content: '';
            position: fixed; inset: 0;
           
            pointer-events: none;
            z-index: 0;
        }

        /* grid texture */
        body::after {
            content: '';
            position: fixed; inset: 0;
            
            pointer-events: none;
            z-index: 1;
            opacity: 0.3;
        }

        /* ══════════════════════════════════════════
           PARTICLE STARS
        ══════════════════════════════════════════ */
        .starfield {
            position: fixed; inset: 0;
            pointer-events: none;
            z-index: 2;
        }
        .star-dot {
            position: absolute;
            border-radius: 50%;
            background: white;
            animation: starPulse var(--sd, 3s) var(--sy, 0s) infinite ease-in-out;
        }
        @keyframes starPulse {
            0%,100% { opacity: 0.08; transform: scale(1); }
            50%      { opacity: 0.7;  transform: scale(1.5); }
        }

        /* ══════════════════════════════════════════
           LAYOUT WRAPPER
        ══════════════════════════════════════════ */
        .container {
            max-width: 960px;
            margin: 0 auto;
            padding: 0 auto;
            position: relative;
            z-index: 3;
        }

        /* ══════════════════════════════════════════
           DECORATIVE LINE (del artesano)
        ══════════════════════════════════════════ */
        .decorative-line {
            width: 220px;
            height: 2px;
            background: linear-gradient(90deg, transparent, var(--bronze-glow), transparent);
            margin: 36px auto;
            position: relative;
            opacity: 0;
            animation: expandLine 1.2s ease-out forwards;
        }
        .decorative-line::before,
        .decorative-line::after {
            content: '◆';
            position: absolute;
            top: 50%; transform: translateY(-50%);
            color: var(--bronze-glow);
            font-size: 0.65rem;
        }
        .decorative-line::before { left: -20px; }
        .decorative-line::after  { right: -20px; }

        .decorative-line.wide {
            width: 320px;
        }
        .decorative-line.gold {
            background: linear-gradient(90deg, transparent, var(--gold-highlight), transparent);
        }
        .decorative-line.gold::before,
        .decorative-line.gold::after { color: var(--gold-highlight); }

        /* ══════════════════════════════════════════
           HERO SECTION
        ══════════════════════════════════════════ */
        .hero {
            text-align: center;
            position: relative;
        }

        /* VS clash flash on load */
        .hero::before {
            content: '';
            position: absolute;
            inset: -40px;
            background: radial-gradient(ellipse at 50% 50%, rgba(212,175,55,0.06) 0%, transparent 70%);
            animation: heroGlow 4s ease-in-out infinite;
            pointer-events: none;
        }
        @keyframes heroGlow {
            0%,100% { opacity: 0.5; }
            50%      { opacity: 1; }
        }

        .hero-eyebrow {
            font-family: 'Cinzel', serif;
            font-size: 0.75rem;
            letter-spacing: 8px;
            color: var(--bronze-glow);
            text-transform: uppercase;
            opacity: 0;
            animation: fadeIn 1s ease-out 0.2s forwards;
        }

        .hero-title {
            font-family: 'Cinzel', serif;
            font-size: clamp(2.8rem, 7vw, 5.5rem);
            font-weight: 900;
            line-height: 1.05;
            color: var(--gold-highlight);
            letter-spacing: 3px;
            text-shadow:
                0 0 20px rgba(212,175,55,0.55),
                0 0 50px rgba(212,175,55,0.25),
                3px 3px 0px rgba(0,0,0,0.9);
            opacity: 0;
            animation: glowIn 1.6s ease-out 0.5s forwards;
        }

        .hero-title span {
            display: flex;
            font-size: 0.45em;
            letter-spacing: 14px;
            color: var(--smoke-white);
            font-weight: 400;
            text-shadow: none;
            margin-top: 6px;
            opacity: 0.75;
        }

        .hero-subtitle {
            font-family: 'Cormorant Garamond', serif;
            font-size: 1.15rem;
            font-style: italic;
            color: var(--ash-grey);
            width: 100%;
            max-width: none;
            margin: 0;
            padding: 0;
            opacity: 0;
            animation: fadeIn 1s ease-out 1.2s forwards;
        }

        /* ══════════════════════════════════════════
           VS DIVIDER
        ══════════════════════════════════════════ */
        .vs-divider {
            display: flex;
            align-items: center;
            gap: 0;
            margin: 50px 0;
            opacity: 0;
            animation: fadeIn 1s ease-out 1.4s forwards;
        }
        .vs-line {
            flex: 1;
            height: 1px;
            background: linear-gradient(90deg, transparent, rgba(212,175,55,0.4));
        }
        .vs-line.right {
            background: linear-gradient(90deg, rgba(212,175,55,0.4), transparent);
        }
        .vs-badge {
            font-family: 'Cinzel', serif;
            font-size: 2rem;
            font-weight: 900;
            color: var(--gold-highlight);
            padding: 0 28px;
            text-shadow:
                0 0 15px rgba(212,175,55,0.8),
                0 0 35px rgba(212,175,55,0.4);
            letter-spacing: 6px;
            animation: vsPulse 2.5s ease-in-out infinite;
        }
        @keyframes vsPulse {
            0%,100% { text-shadow: 0 0 15px rgba(212,175,55,0.8), 0 0 35px rgba(212,175,55,0.4); }
            50%      { text-shadow: 0 0 30px rgba(212,175,55,1),   0 0 70px rgba(212,175,55,0.6); }
        }

        /* ══════════════════════════════════════════
           FIGHTERS PANEL
        ══════════════════════════════════════════ */
        .fighters-grid {
            display: grid;
            grid-template-columns: 1fr auto 1fr;
            gap: 0;
            align-items: start;
            margin: 10px 0 60px;
        }

        .fighter-card {
            position: relative;
            padding: 32px 28px;
            opacity: 0;
            animation: fighterReveal 0.9s ease-out forwards;
        }
        .fighter-card.left  { animation-delay: 1.5s; text-align: left; }
        .fighter-card.right { animation-delay: 1.7s; text-align: right; }

        /* card ink border */
        .fighter-card::before {
            content: '';
            position: absolute; inset: 0;
            border: 1px solid rgba(212,175,55,0.15);
            pointer-events: none;
        }
        .fighter-card.left::before  { border-right: none; }
        .fighter-card.right::before { border-left: none; }

        /* corner accent */
        .fighter-card.left::after {
            content: '';
            position: absolute;
            top: 0; left: 0;
            width: 40px; height: 2px;
            background: var(--gold-highlight);
        }
        .fighter-card.right::after {
            content: '';
            position: absolute;
            top: 0; right: 0;
            width: 40px; height: 2px;
            background: var(--gold-highlight);
        }

        @keyframes fighterReveal {
            from { opacity: 0; transform: translateX(var(--fx, -20px)); }
            to   { opacity: 1; transform: translateX(0); }
        }
        .fighter-card.left  { --fx: -30px; }
        .fighter-card.right { --fx:  30px; }

        .fighter-rank {
            font-family: 'Cinzel', serif;
            font-size: 0.65rem;
            letter-spacing: 5px;
            color: var(--bronze-glow);
            text-transform: uppercase;
            margin-bottom: 8px;
        }
        .fighter-name {
            font-family: 'Cinzel', serif;
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--smoke-white);
            letter-spacing: 2px;
            margin-bottom: 6px;
        }
        .fighter-constellation {
            font-family: 'Cormorant Garamond', serif;
            font-size: 0.95rem;
            font-style: italic;
            color: var(--ash-grey);
            margin-bottom: 18px;
        }

        .stat-bar {
            margin-bottom: 10px;
        }
        .stat-label {
            font-family: 'Cinzel', serif;
            font-size: 0.6rem;
            letter-spacing: 3px;
            color: var(--ash-grey);
            text-transform: uppercase;
            margin-bottom: 4px;
        }
        .stat-track {
            width: 100%;
            height: 4px;
            background: rgba(255,255,255,0.07);
            border-radius: 2px;
            overflow: hidden;
        }
        .stat-fill {
            height: 100%;
            background: linear-gradient(90deg, var(--bronze-glow), var(--gold-highlight));
            border-radius: 2px;
            width: 0;
            transition: width 1.6s cubic-bezier(0.22,1,0.36,1);
        }
        .fighter-card.right .stat-track { direction: rtl; }

        .fighter-cosmos {
            display: inline-block;
            margin-top: 16px;
            font-family: 'Cinzel', serif;
            font-size: 0.7rem;
            letter-spacing: 4px;
            color: var(--gold-highlight);
            border: 1px solid rgba(212,175,55,0.3);
            padding: 4px 14px;
            text-transform: uppercase;
        }

        /* center pillar */
        .vs-pillar {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding: 32px 20px;
            gap: 10px;
        }
        .vs-pillar-line {
            width: 1px;
            flex: 1;
            min-height: 40px;
            background: linear-gradient(180deg, transparent, rgba(212,175,55,0.3), transparent);
        }
        .vs-pillar-badge {
            font-family: 'Cinzel', serif;
            font-size: 1.4rem;
            font-weight: 900;
            color: var(--gold-highlight);
            text-shadow: 0 0 18px rgba(212,175,55,0.7);
            letter-spacing: 2px;
        }

        /* ══════════════════════════════════════════
           SECTION HEADINGS
        ══════════════════════════════════════════ */
        .section-heading {
            font-family: 'Cinzel', serif;
            font-size: 0.8rem;
            letter-spacing: 7px;
            color: var(--bronze-glow);
            text-transform: uppercase;
            text-align: center;
            margin-bottom: 10px;
            opacity: 0;
            animation: fadeIn 1s ease-out forwards;
        }

        .section-title {
            font-family: 'Cinzel', serif;
            font-size: clamp(1.6rem, 3.5vw, 2.4rem);
            font-weight: 700;
            color: var(--gold-highlight);
            text-align: center;
            letter-spacing: 2px;
            text-shadow:
                0 0 20px rgba(212,175,55,0.4),
                2px 2px 4px rgba(0,0,0,0.8);
            opacity: 0;
            animation: glowIn 1.2s ease-out forwards;
        }

        /* ══════════════════════════════════════════
           RULES SECTION
        ══════════════════════════════════════════ */
        .rules-section {
            margin: 70px 0;
        }

        .rules-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
            gap: 2px;
            margin-top: 40px;
        }

        .rule-card {
            position: relative;
            padding: 32px 28px;
            background: rgba(255,255,255,0.02);
            border: 1px solid rgba(212,175,55,0.12);
            opacity: 0;
            transform: translateY(20px);
            animation: fadeInUp 0.8s ease-out forwards;
            transition: background 0.3s, border-color 0.3s;
        }
        .rule-card:hover {
            background: rgba(212,175,55,0.04);
            border-color: rgba(212,175,55,0.3);
        }

        /* top accent bar */
        .rule-card::before {
            content: '';
            position: absolute;
            top: 0; left: 0; right: 0;
            height: 2px;
            background: linear-gradient(90deg, var(--bronze-glow), transparent);
            transform: scaleX(0);
            transform-origin: left;
            transition: transform 0.4s ease;
        }
        .rule-card:hover::before { transform: scaleX(1); }

        .rule-number {
            font-family: 'Cinzel', serif;
            font-size: 2.5rem;
            font-weight: 900;
            color: rgba(212,175,55,0.12);
            line-height: 1;
            margin-bottom: 12px;
            letter-spacing: -1px;
        }
        .rule-title {
            font-family: 'Cinzel', serif;
            font-size: 0.85rem;
            letter-spacing: 3px;
            color: var(--smoke-white);
            text-transform: uppercase;
            margin-bottom: 10px;
        }
        .rule-desc {
            font-family: 'Cormorant Garamond', serif;
            font-size: 1rem;
            color: var(--ash-grey);
            line-height: 1.7;
        }

        /* ══════════════════════════════════════════
           REWARDS SECTION
        ══════════════════════════════════════════ */
        .rewards-section {
            margin: 70px 0;
        }

        .rewards-row {
            display: flex;
            gap: 2px;
            margin-top: 40px;
            flex-wrap: wrap;
        }

        .reward-item {
            flex: 1;
            min-width: 150px;
            padding: 28px 20px;
            text-align: center;
            border: 1px solid rgba(212,175,55,0.12);
            background: rgba(255,255,255,0.015);
            position: relative;
            opacity: 0;
            animation: fadeInUp 0.8s ease-out forwards;
            transition: transform 0.3s, background 0.3s;
        }
        .reward-item:hover {
            transform: translateY(-4px);
            background: rgba(212,175,55,0.05);
        }

        .reward-icon {
            font-size: 2rem;
            margin-bottom: 12px;
            display: block;
            filter: drop-shadow(0 0 8px rgba(212,175,55,0.4));
        }
        .reward-name {
            font-family: 'Cinzel', serif;
            font-size: 0.7rem;
            letter-spacing: 4px;
            color: var(--gold-highlight);
            text-transform: uppercase;
            margin-bottom: 6px;
        }
        .reward-desc {
            font-family: 'Cormorant Garamond', serif;
            font-size: 0.9rem;
            color: var(--ash-grey);
            font-style: italic;
        }

        /* ══════════════════════════════════════════
           RANKINGS SECTION
        ══════════════════════════════════════════ */
        .rankings-section {
            margin: 70px 0;
        }

        .ranking-table {
            margin-top: 40px;
            width: 100%;
            border-collapse: collapse;
        }
        .ranking-table thead tr {
            border-bottom: 2px solid rgba(212,175,55,0.3);
        }
        .ranking-table th {
            font-family: 'Cinzel', serif;
            font-size: 0.6rem;
            letter-spacing: 4px;
            color: var(--bronze-glow);
            text-transform: uppercase;
            padding: 10px 16px;
            text-align: left;
            font-weight: 400;
        }
        .ranking-table tbody tr {
            border-bottom: 1px solid rgba(255,255,255,0.04);
            transition: background 0.2s;
            opacity: 0;
            animation: fadeInUp 0.6s ease-out forwards;
        }
        .ranking-table tbody tr:hover {
            background: rgba(212,175,55,0.04);
        }
        .ranking-table td {
            font-family: 'Cormorant Garamond', serif;
            font-size: 1.05rem;
            color: var(--smoke-white);
            padding: 14px 16px;
        }
        .rank-pos {
            font-family: 'Cinzel', serif;
            font-size: 0.75rem;
            color: var(--ash-grey);
            font-weight: 600;
        }
        .rank-pos.gold   { color: var(--gold-highlight); text-shadow: 0 0 8px rgba(212,175,55,0.5); }
        .rank-pos.silver { color: #b0bec5; }
        .rank-pos.bronze { color: var(--bronze-glow); }

        .rank-name {
            font-family: 'Cinzel', serif;
            font-size: 0.9rem;
            letter-spacing: 1px;
        }
        .rank-wins {
            font-family: 'Cinzel', serif;
            font-size: 0.8rem;
            color: var(--gold-highlight);
        }
        .rank-cosmos {
            font-style: italic;
            color: var(--ash-grey);
            font-size: 0.95rem;
        }
        .rank-badge {
            display: inline-block;
            font-family: 'Cinzel', serif;
            font-size: 0.55rem;
            letter-spacing: 2px;
            padding: 3px 8px;
            border: 1px solid;
            text-transform: uppercase;
        }
        .rank-badge.saint   { border-color: var(--gold-highlight); color: var(--gold-highlight); }
        .rank-badge.silver  { border-color: #b0bec5; color: #b0bec5; }
        .rank-badge.bronze  { border-color: var(--bronze-glow); color: var(--bronze-glow); }

        /* ══════════════════════════════════════════
           CTA
        ══════════════════════════════════════════ */
        .cta-section {
            text-align: center;
            margin: 80px 0 40px;
            opacity: 0;
            animation: fadeIn 1s ease-out forwards;
        }

        .cta-text {
            font-family: 'Cormorant Garamond', serif;
            font-size: 1.25rem;
            font-style: italic;
            color: var(--ash-grey);
            max-width: 500px;
            margin: 0 auto 36px;
            line-height: 1.8;
        }

        .cta-buttons {
            display: flex;
            gap: 16px;
            justify-content: center;
            flex-wrap: wrap;
        }

        .btn {
            font-family: 'Cinzel', serif;
            font-size: 0.7rem;
            letter-spacing: 5px;
            text-transform: uppercase;
            text-decoration: none;
            padding: 14px 36px;
            position: relative;
            transition: all 0.3s;
            display: inline-block;
        }

        .btn-primary {
            background: transparent;
            color: var(--gold-highlight);
            border: 1px solid var(--gold-highlight);
        }
        .btn-primary::before {
            content: '';
            position: absolute; inset: 0;
            background: var(--gold-highlight);
            transform: scaleX(0);
            transform-origin: left;
            transition: transform 0.3s ease;
            z-index: -1;
        }
        .btn-primary:hover {
            color: var(--forge-black);
        }
        .btn-primary:hover::before { transform: scaleX(1); }

        .btn-secondary {
            background: transparent;
            color: var(--ash-grey);
            border: 1px solid rgba(212,175,55,0.2);
        }
        .btn-secondary:hover {
            color: var(--smoke-white);
            border-color: rgba(212,175,55,0.5);
        }

        /* ══════════════════════════════════════════
           LORE QUOTE
        ══════════════════════════════════════════ */
        .lore-quote {
            margin: 60px 0;
            padding: 36px 40px;
            border-left: 3px solid var(--copper-accent);
            background: rgba(198,123,62,0.04);
            position: relative;
            opacity: 0;
            animation: fadeInUp 0.8s ease-out forwards;
        }
        .lore-quote::before {
            content: '"';
            position: absolute;
            top: -20px; left: 30px;
            font-family: 'Cormorant Garamond', serif;
            font-size: 6rem;
            color: var(--bronze-glow);
            opacity: 0.15;
            line-height: 1;
        }
        .lore-quote p {
            font-family: 'Cormorant Garamond', serif;
            font-size: 1.2rem;
            font-style: italic;
            color: var(--bronze-glow);
            line-height: 1.8;
        }
        .lore-quote cite {
            display: block;
            margin-top: 14px;
            font-family: 'Cinzel', serif;
            font-size: 0.65rem;
            letter-spacing: 4px;
            color: var(--ash-grey);
            text-transform: uppercase;
            font-style: normal;
        }

        /* ══════════════════════════════════════════
           FOOTER
        ══════════════════════════════════════════ */
        .page-footer {
            margin-top: 80px;
            text-align: center;
            padding-bottom: 60px;
        }
        .page-footer .cosmos-symbol {
            font-size: 2.5rem;
            color: var(--gold-highlight);
            opacity: 0.4;
            display: block;
            margin: 0 auto 10px;
        }
        .page-footer p {
            font-family: 'Cinzel', serif;
            font-size: 0.6rem;
            letter-spacing: 5px;
            color: var(--ash-grey);
            text-transform: uppercase;
            opacity: 0.5;
        }

        /* ══════════════════════════════════════════
           KEYFRAMES (del artesano + nuevos)
        ══════════════════════════════════════════ */
        @keyframes fadeIn {
            from { opacity: 0; }
            to   { opacity: 1; }
        }
        @keyframes fadeInUp {
            from { opacity: 0; transform: translateY(20px); }
            to   { opacity: 1; transform: translateY(0); }
        }
        @keyframes glowIn {
            from {
                opacity: 0;
                text-shadow: 0 0 0 rgba(212,175,55,0);
            }
            to {
                opacity: 1;
                text-shadow:
                    0 0 20px rgba(212,175,55,0.5),
                    0 0 40px rgba(212,175,55,0.3),
                    2px 2px 4px rgba(0,0,0,0.8);
            }
        }
        @keyframes expandLine {
            from { opacity: 0; width: 0; }
            to   { opacity: 1; width: 220px; }
        }
        @keyframes expandLineWide {
            from { opacity: 0; width: 0; }
            to   { opacity: 1; width: 320px; }
        }

        /* ══════════════════════════════════════════
           SCROLL REVEAL UTILITY
        ══════════════════════════════════════════ */
        .reveal {
            opacity: 0;
            transform: translateY(24px);
            transition: opacity 0.8s ease, transform 0.8s ease;
        }
        .reveal.visible {
            opacity: 1;
            transform: translateY(0);
        }

        /* stagger delays for cards */
        .rule-card:nth-child(1) { animation-delay: 0.1s; }
        .rule-card:nth-child(2) { animation-delay: 0.25s; }
        .rule-card:nth-child(3) { animation-delay: 0.4s; }
        .rule-card:nth-child(4) { animation-delay: 0.55s; }

        .reward-item:nth-child(1) { animation-delay: 0.1s; }
        .reward-item:nth-child(2) { animation-delay: 0.2s; }
        .reward-item:nth-child(3) { animation-delay: 0.3s; }
        .reward-item:nth-child(4) { animation-delay: 0.4s; }
        .reward-item:nth-child(5) { animation-delay: 0.5s; }

        .ranking-table tbody tr:nth-child(1) { animation-delay: 0.1s; }
        .ranking-table tbody tr:nth-child(2) { animation-delay: 0.2s; }
        .ranking-table tbody tr:nth-child(3) { animation-delay: 0.3s; }
        .ranking-table tbody tr:nth-child(4) { animation-delay: 0.4s; }
        .ranking-table tbody tr:nth-child(5) { animation-delay: 0.5s; }

        /* ══════════════════════════════════════════
           RESPONSIVE
        ══════════════════════════════════════════ */
        @media (max-width: 700px) {
            .container { padding: 60px 22px 12px; }
            .fighters-grid { grid-template-columns: 1fr; gap: 2px; }
            .vs-pillar { flex-direction: row; padding: 16px 0; }
            .vs-pillar-line { min-height: unset; min-width: 40px; height: 1px;
                background: linear-gradient(90deg, transparent, rgba(212,175,55,0.3), transparent); }
            .fighter-card.right { text-align: left; }
            .fighter-card.right::after { right: unset; left: 0; }
            .fighter-card.right .stat-track { direction: ltr; }
            .hero-title { font-size: 2.4rem; }
            .rewards-row { flex-direction: column; }
            .ranking-table { font-size: 0.85rem; }
            .ranking-table th,
            .ranking-table td { padding: 10px 10px; }
        }


        /* ── Impact words ── */
.impact-words {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.iw {
    display: inline-block;
    opacity: 0;
    transform: scale(2.4) translateX(calc(var(--i) * 60px - 60px));
    filter: blur(6px);
    animation: wordImpact 0.55s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    animation-delay: calc(0.9s + var(--i) * 0.18s);
    text-shadow:
        0 0 20px rgba(212,175,55,0.9),
        0 0 40px rgba(212,175,55,0.5);
}

.iw-sep {
    opacity: 0;
    color: var(--bronze-glow);
    animation: fadeIn 0.4s ease-out forwards;
    animation-delay: calc(1.4s);
}

@keyframes wordImpact {
    0% {
        opacity: 0;
        transform: scale(2.4) translateX(calc(var(--i) * 60px - 60px));
        filter: blur(8px);
    }
    /* primer impacto */
    40% {
        opacity: 1;
        transform: scale(1.08);
        filter: blur(0px);
    }
    48% { transform: scale(0.93); }

    /* segundo impacto */
    58% { transform: scale(1.12); }
    66% { transform: scale(0.96); }

    /* tercer impacto */
    76% { transform: scale(1.06); }
    84% { transform: scale(0.98); }

    /* reposo */
    100% {
        opacity: 1;
        transform: scale(1);
        filter: blur(0px);
    }
}
/* NAVBAR COSMOS */
.cosmos-nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 8px;
    flex-wrap: wrap;
}

.cosmos-nav > a {
    display: flex;
    color: var(--smoke-white);
    text-decoration: none;
}

.cosmos-nav > a .menu-item {
    width: 100%;
}

/* ITEM */
.menu-item {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;

    border-radius: 6px;
    cursor: pointer;
    color: var(--text-dim);
    font-family: 'Cinzel', serif;
    font-size: 14px;
    padding: 10px;

    transition: all 0.25s ease;

    text-align: center;
    border: 1px solid rgba(212, 175, 55, 0.12);
    background: rgba(255, 255, 255, 0.015);
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
    transition: transform 0.3s, background 0.3s;
    min-height: 48px;
}

/* ICONO */
.menu-item .icon {
    font-size: 24px;
}

/* TEXTO OCULTO */
.menu-item .label {
    opacity: 0;
    max-width: 0;
    overflow: hidden;
    white-space: nowrap;
    transition: all 0.25s ease;
}

/* HOVER */
.menu-item:hover {
    color: var(--gold-light);
    background: rgba(212,175,55,.08);
    box-shadow: 0 0 10px rgba(212,175,55,.25);
}

.menu-item:hover .label {
    opacity: 1;
    max-width: 120px;
}

/* ACTIVO */
.menu-item.active {
    color: var(--gold-light);
    background: rgba(212,175,55,.15);
}

/* LINEA DORADA */
.menu-item::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0%;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--gold), transparent);
    transition: 0.3s;
    transform: translateX(-50%);
}

.menu-item:hover::after {
    width: 70%;
}

/* TIEMPOS DRAWER */
.tiempos-modal {
    position: fixed;
    inset: 0;
    z-index: 2200;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.tiempos-modal[data-open="true"] {
    visibility: visible;
    opacity: 1;
    pointer-events: none;
}

.tiempos-modal-overlay {
    display: none;
}

.tiempos-modal-container {
    position: fixed;
    inset: 0;
    pointer-events: none;
}

.tiempos-panel {
    position: fixed;
    top: 12px;
    left: auto;
    right: 24px;
    width: min(420px, calc(100vw - 16px));
    max-width: calc(100vw - 16px);
    box-sizing: border-box;
    height: auto;
    min-height: 0;
    max-height: calc(100vh - 24px);
    display: flex;
    flex-direction: column;
    background: #12141b;
    border: 1px solid #c67b3e;
    border-radius: 4px;
    overflow: hidden;
    box-shadow:
        0 0 40px rgba(198, 123, 62, 0.25),
        0 0 80px rgba(198, 123, 62, 0.08),
        0 20px 60px rgba(0, 0, 0, 0.8);
    animation: tiemposDrawerIn 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    pointer-events: auto;
}

.tiempos-panel::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.6), transparent);
    pointer-events: none;
}

@keyframes tiemposDrawerIn {
    from {
        opacity: 0;
        transform: translateX(40px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

.tiempos-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid rgba(212, 175, 55, 0.35);
    background: #0a0a0a;
    color: #d4af37;
    cursor: pointer;
    z-index: 2;
    font-size: 22px;
    line-height: 1;
    transition: all 0.25s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6), 0 0 10px rgba(212, 175, 55, 0.15);
}

.tiempos-modal-close:hover {
    background: #1a1a1a;
    border-color: #d4af37;
    color: #fff;
    transform: scale(1.08) rotate(90deg);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.35), 0 4px 16px rgba(0, 0, 0, 0.6);
}

.tiempos-modal-header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    min-height: 48px;
    padding: 10px 56px 10px 16px;
    text-align: left;
    position: relative;
    border-bottom: 1px solid rgba(198, 123, 62, 0.22);
    background: #171a22;
    cursor: grab;
    user-select: none;
    touch-action: none;
}

.tiempos-modal-header::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 220px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #c67b3e, transparent);
}

.tiempos-modal-header:hover {
    background: #1d212b;
}

.tiempos-drag-grip {
    width: 28px;
    height: 18px;
    flex: 0 0 auto;
    border-radius: 999px;
    background:
        radial-gradient(circle, rgba(212, 175, 55, 0.7) 1.2px, transparent 1.4px) 0 0 / 7px 6px repeat;
    opacity: 0.9;
}

.tiempos-drag-text {
    font-family: "Cinzel", serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: rgba(255, 235, 185, 0.92);
    text-shadow: 0 0 12px rgba(212, 175, 55, 0.22);
}

.tiempos-modal-header h2 {
    margin: 0;
    font-family: "Cinzel", serif;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 2.4px;
    text-transform: uppercase;
    color: #d4af37;
    text-shadow:
        0 0 18px rgba(212, 175, 55, 0.45),
        0 0 36px rgba(212, 175, 55, 0.2),
        2px 2px 4px rgba(0, 0, 0, 0.8);
}

.tiempos-modal-user {
    font-family: "Cormorant Garamond", serif;
    font-size: 1.15rem;
    font-weight: 600;
    color: rgba(255, 244, 212, 0.92);
    white-space: nowrap;
    text-shadow:
        0 0 14px rgba(212, 175, 55, 0.12),
        1px 1px 3px rgba(0, 0, 0, 0.7);
}

.tiempos-modal-frame {
    width: 100%;
    height: 240px;
    flex: 0 0 auto;
    border: 0;
    background: transparent;
}

.tiempos-panel.dragging {
    cursor: grabbing;
    box-shadow:
        0 0 50px rgba(212, 175, 55, 0.18),
        0 24px 70px rgba(0, 0, 0, 0.85);
}

.tiempos-panel.dragging .tiempos-modal-header {
    cursor: grabbing;
    background: #212632;
}

body.tiempos-modal-open {
    overflow: auto;
}

@media (max-width: 768px) {
    .tiempos-modal-container {
        inset: 0;
    }

    .tiempos-panel {
        top: 6px;
        bottom: auto;
        left: 6px !important;
        right: 6px !important;
        width: auto;
        height: auto;
        min-height: 0;
        max-width: none;
        max-height: calc(100dvh - 12px);
        border-radius: 10px;
    }

    .tiempos-modal-frame {
        height: auto;
        min-height: 0;
        flex: 0 0 auto;
    }

    .tiempos-modal-header {
        min-height: 44px;
        padding: 8px 48px 8px 12px;
        flex-wrap: wrap;
    }

    .tiempos-modal-header h2 {
        font-size: 0.95rem;
        letter-spacing: 1.5px;
    }

    .tiempos-modal-user {
        font-size: 1rem;
    }
}

.presentation-shortcuts {
    margin: 18px 0 58px;
}

.events-section {
    margin: 72px 0;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 18px;
    margin-top: 40px;
}

.event-card {
    position: relative;
    padding: 28px 24px;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.015)),
        radial-gradient(circle at top right, rgba(212,175,55,0.12), transparent 45%);
    border: 1px solid rgba(212, 175, 55, 0.16);
    box-shadow:
        0 18px 36px rgba(0, 0, 0, 0.28),
        inset 0 1px 0 rgba(255,255,255,0.04);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease-out forwards;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.event-card:hover {
    transform: translateY(-4px);
    border-color: rgba(212, 175, 55, 0.34);
    box-shadow:
        0 24px 44px rgba(0, 0, 0, 0.34),
        0 0 20px rgba(212, 175, 55, 0.08);
}

.event-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(212,175,55,0.65), transparent);
}

.event-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.event-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 10px;
    border: 1px solid rgba(212, 175, 55, 0.24);
    background: rgba(255,255,255,0.03);
    font-family: "Cinzel", serif;
    font-size: 0.58rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--smoke-white);
}

.event-chip.en-curso {
    color: #ebffcf;
    border-color: rgba(182, 217, 104, 0.45);
    background: rgba(136, 177, 72, 0.16);
}

.event-chip.programado {
    color: #ffe7a8;
    border-color: rgba(212, 175, 55, 0.45);
    background: rgba(212, 175, 55, 0.14);
}

.event-chip.finalizado {
    color: #d7d7d7;
    border-color: rgba(180, 180, 180, 0.32);
    background: rgba(255,255,255,0.06);
}

.event-chip.desactivado {
    color: #f5c6c6;
    border-color: rgba(200, 90, 90, 0.4);
    background: rgba(200, 90, 90, 0.12);
}

.event-chip.premium {
    color: var(--gold-highlight);
}

.event-name {
    font-family: "Cinzel", serif;
    font-size: 1.18rem;
    font-weight: 700;
    color: var(--gold-highlight);
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.event-zone,
.event-schedule,
.event-window,
.event-desc {
    margin: 0 0 10px;
    color: var(--ash-grey);
}

.event-zone {
    font-family: "Cinzel", serif;
    font-size: 0.72rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--smoke-white);
}

.event-schedule {
    font-style: italic;
    color: var(--bronze-glow);
}

.event-window {
    font-size: 0.95rem;
    color: var(--smoke-white);
}

.event-desc {
    line-height: 1.7;
}

.event-empty {
    margin-top: 28px;
    padding: 28px;
    border: 1px solid rgba(212, 175, 55, 0.16);
    background: rgba(255,255,255,0.02);
    text-align: center;
    color: var(--ash-grey);
}

.event-card:nth-child(1) { animation-delay: 0.1s; }
.event-card:nth-child(2) { animation-delay: 0.2s; }
.event-card:nth-child(3) { animation-delay: 0.3s; }
.event-card:nth-child(4) { animation-delay: 0.4s; }
.event-card:nth-child(5) { animation-delay: 0.5s; }
.event-card:nth-child(6) { animation-delay: 0.6s; }

@media (max-width: 700px) {
    .presentation-shortcuts {
        margin: 8px 0 46px;
    }

    .hero-subtitle {
        padding: 0 10px;
    }

    .hero-title span {
        letter-spacing: 7px;
    }

    .iw-sep {
        display: none;
    }

    .cosmos-nav {
        width: 100%;
        justify-content: stretch !important;
        gap: 8px;
    }

    .cosmos-nav > a,
    .cosmos-nav > .menu-item {
        flex: 1 1 calc(50% - 8px);
    }

    .menu-item {
        width: 100%;
        justify-content: flex-start;
        padding: 12px 14px;
    }

    .menu-item .label,
    .menu-item > span:not(.icon) {
        opacity: 1;
        max-width: none;
        overflow: visible;
        white-space: normal;
    }

    .events-grid {
        grid-template-columns: 1fr;
    }

    .event-card {
        padding: 24px 20px;
    }

    .ranking-table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .ranking-table thead,
    .ranking-table tbody {
        width: max-content;
        min-width: 100%;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .menu-item .icon {
        font-size: 20px;
    }

    .hero-title {
        font-size: clamp(2rem, 9vw, 2.6rem);
        letter-spacing: 1px;
    }

    .decorative-line.wide {
        width: min(220px, 72vw);
    }
}
