/* Variables */
:root {
    --primary: #d4af37;
    --primary-light: #ffd700;
    --accent: #d4af37;
    --accent-pink: #ff006e;
    --bg-dark: #0a0a15;
    --bg-secondary: #0f0f25;
    --bg-tertiary: #1a0f30;
    --text-primary: #f5f7fb;
    --text-secondary: #a8b3cf;
    --gold: #ffd700;
    --silver: #c0c0c0;
    --bronze: #cd7f32;
    --border: rgba(212, 175, 55, 0.15);
    --border-light: rgba(212, 175, 55, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #0c0c14;
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Vignette sutil en los bordes */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, transparent 40%, rgba(0,0,0,0.45) 100%);
    z-index: -2;
    pointer-events: none;
}

body::after { display: none; }



/* Scrollbar pixel art */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #0d0820;
    border-left: 2px solid #1a0f40;
}

::-webkit-scrollbar-thumb {
    background: #c8961e;
    border: 2px solid #7a5800;
    border-radius: 0;
    box-shadow: inset 1px 1px 0 #f5d060, inset -1px -1px 0 #7a5800;
}

::-webkit-scrollbar-thumb:hover {
    background: #f5d060;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header */
.header {
    background: rgba(10, 7, 28, 0.92);
    border-bottom: 3px solid #3a2a6e;
    box-shadow: 0 3px 0 0 #1a0f40;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--primary);
}

.logo-text h1 {
    font-size: 1.3rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 2px;
}

.logo-text span {
    font-size: 0.7rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    flex: 1;
    justify-content: center;
}

.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s;
    padding-bottom: 0.25rem;
    border-bottom: 2px solid transparent;
}

.nav-links a:hover {
    color: var(--accent);
    border-bottom-color: var(--accent);
}

.btn-connect {
    background: linear-gradient(180deg, #ffd700, #c8961e);
    color: #0a0a15;
    border: 2px solid #c8961e;
    padding: 0.75rem 1.5rem;
    border-radius: 0;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.1s, box-shadow 0.1s;
    box-shadow: 3px 3px 0 0 #7a5800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-connect:hover {
    transform: translate(1px, 1px);
    box-shadow: 1px 1px 0 0 #7a5800;
}

/* Hero */
/* .hero base moved to pixel art block below */

.hero-content h2 {
    font-size: 4rem;
    font-weight: 900;
    background: linear-gradient(135deg, #ffd700, #d4af37, #ffd700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -1px;
}

/* Hero logo + heading layout */
.hero-heading {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-logo {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    border: 6px solid rgba(212, 175, 55, 0.3);
    box-shadow: 0 12px 30px rgba(212, 175, 55, 0.2);
    transition: transform 0.45s cubic-bezier(0.2, 0.9, 0.2, 1), box-shadow 0.3s;
    animation: heroLogoFloat 4s ease-in-out infinite;
}

.hero-logo:hover {
    transform: scale(1.06) rotate(1.5deg);
    box-shadow: 0 20px 50px rgba(212, 175, 55, 0.35);
}

@keyframes heroLogoFloat {
    0% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-8px) rotate(2deg); }
    100% { transform: translateY(0) rotate(0deg); }
}

/* Make heading align nicely when logo present */
.hero-heading h2 {
    margin: 0;
    text-align: center;
}

@media (max-width: 768px) {
    .hero-logo {
        width: 96px;
        height: 96px;
        border-width: 4px;
    }
    .hero-content h2 {
        font-size: 2.2rem;
    }
    .hero {
        padding: 3rem 1rem;
    }
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 2.5rem;
    font-weight: 400;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 0.9rem 1.8rem;
    border-radius: 0;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: transform 0.1s, box-shadow 0.1s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(180deg, #ffd700, #c8961e);
    color: #0a0a15;
    box-shadow: 3px 3px 0 0 #7a5800, -1px -1px 0 0 #3a2800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 700;
    border: 2px solid #c8961e;
}

.btn-primary:hover {
    transform: translate(1px, 1px);
    box-shadow: 1px 1px 0 0 #7a5800;
    background: linear-gradient(180deg, #f5e642, #ffd700);
}

.btn-secondary {
    background: rgba(10, 7, 28, 0.85);
    color: #ffd700;
    border: 3px solid #c8961e;
    box-shadow: 3px 3px 0 0 #7a5800, -1px -1px 0 0 #3a2800;
    font-weight: 700;
}

.btn-secondary:hover {
    transform: translate(1px, 1px);
    box-shadow: 1px 1px 0 0 #7a5800;
    color: #f5e642;
}

/* Stats */
.stats {
    padding: 4rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.stat-card {
    background: rgba(12, 8, 30, 0.88);
    border: 3px solid #3a2a6e;
    box-shadow: 4px 4px 0 0 #1a0f40, -2px -2px 0 0 #0d0820;
    padding: 2rem;
    border-radius: 0;
    transition: transform 0.15s, box-shadow 0.15s;
    text-align: center;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 4px 8px 0 0 #1a0f40, -2px -2px 0 0 #0d0820,
                0 0 20px rgba(212, 175, 55, 0.15);
    border-color: #c8961e;
}

.stat-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, white, var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Section Title */
.section-title {
    font-size: 3rem;
    font-weight: 900;
    background: linear-gradient(135deg, white, var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
    margin-bottom: 2rem;
}

/* Notice / Tip Box */
.notice {
    padding: 2rem 0;
}

.notice-box {
    background: #ffffff;
    color: #0a0e27;
    padding: 1.25rem 1.5rem;
    border-radius: 14px;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 12px 40px rgba(10,14,39,0.06);
    border: 1px solid rgba(10,14,39,0.06);
}

.notice-emote {
    flex: 0 0 auto;
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.notice-gif {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 12px;
    border: 2px solid rgba(10,14,39,0.04);
    box-shadow: 0 8px 24px rgba(10,14,39,0.06);
}

/* Inline KEK SVG styles and animation */
.notice-kek {
    width: 72px;
    height: 72px;
    display: block;
}
.notice-kek .kek-eyes { transform-origin: center; }
.notice-kek .kek-smile { transform-origin: center; }
.notice-kek { animation: kekBounce 3.6s ease-in-out infinite; }

@keyframes kekBounce {
    0% { transform: translateY(0) rotate(0deg); }
    40% { transform: translateY(-6px) rotate(1deg); }
    60% { transform: translateY(-4px) rotate(-1deg); }
    100% { transform: translateY(0) rotate(0deg); }
}

.notice-content {
    flex: 1 1 auto;
}

.notice-text {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: #071020;
}

.notice-subtext {
    margin: 0;
    color: #000000;
    font-size: 0.95rem;
}

.notice-protip {
    margin: 0.35rem 0 0.6rem 0;
    font-size: 0.98rem;
    color: #0b2a3a;
    font-weight: 700;
}

.protip-icon {
    display: inline-flex;
    width: 34px;
    height: 34px;
    margin-right: 0.6rem;
    vertical-align: middle;
}
.protip-icon img, .protip-icon svg { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 6px; }
.protip-img { width: 100%; height: 100%; display: block; }

.notice-subtext {
    margin: 0;
    color: #334155;
    font-size: 0.95rem;
}

@media (max-width: 760px) {
    .notice-box {
        flex-direction: row;
        gap: 0.75rem;
        padding: 1rem;
    }
    .notice-text {
        font-size: 1rem;
    }
    .notice-emote {
        width: 56px;
        height: 56px;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

/* Ranking */
/* ===========================================================
   RANKING — PIXEL ART THEME
   Escena nocturna 16-bit: castillo, montañas, antorchas.
   Bordes y UI estilo 8-bit arcade. Tipografía sin cambios.
   =========================================================== */

/* --- Fondo pixel art — SOLO en la sección ranking --- */
.ranking {
    position: relative;
    overflow: hidden;
    padding: 4rem 0;
    background-color: #0d0d1a;
}

/* Capa 1: escena pixel art SVG */
.ranking::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    image-rendering: pixelated;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 200'%3E%3Crect width='320' height='200' fill='%230d0d1a'/%3E%3C!-- luna --%3E%3Crect x='268' y='12' width='24' height='24' fill='%23f5e642'/%3E%3Crect x='272' y='10' width='16' height='4' fill='%23f5e642'/%3E%3Crect x='272' y='34' width='16' height='4' fill='%23f5e642'/%3E%3Crect x='264' y='16' width='4' height='16' fill='%23f5e642'/%3E%3Crect x='288' y='16' width='4' height='16' fill='%23f5e642'/%3E%3Crect x='276' y='12' width='12' height='24' fill='%230d0d1a' opacity='0.55'/%3E%3C!-- estrellas --%3E%3Crect x='10' y='8' width='2' height='2' fill='%23fff' opacity='0.9'/%3E%3Crect x='40' y='18' width='2' height='2' fill='%23ffc' opacity='0.7'/%3E%3Crect x='70' y='6' width='2' height='2' fill='%23fff' opacity='0.8'/%3E%3Crect x='100' y='14' width='2' height='2' fill='%23cdf' opacity='0.7'/%3E%3Crect x='130' y='4' width='2' height='2' fill='%23fff' opacity='0.9'/%3E%3Crect x='160' y='20' width='2' height='2' fill='%23ffc' opacity='0.6'/%3E%3Crect x='195' y='10' width='2' height='2' fill='%23fff' opacity='0.8'/%3E%3Crect x='225' y='5' width='2' height='2' fill='%23cdf' opacity='0.7'/%3E%3Crect x='55' y='30' width='2' height='2' fill='%23fff' opacity='0.5'/%3E%3Crect x='150' y='32' width='2' height='2' fill='%23ffc' opacity='0.5'/%3E%3Crect x='230' y='28' width='2' height='2' fill='%23fff' opacity='0.6'/%3E%3Crect x='18' y='40' width='2' height='2' fill='%23cdf' opacity='0.4'/%3E%3Crect x='88' y='38' width='2' height='2' fill='%23fff' opacity='0.5'/%3E%3Crect x='185' y='36' width='2' height='2' fill='%23ffc' opacity='0.5'/%3E%3C!-- montañas lejanas --%3E%3Crect x='0' y='90' width='8' height='110' fill='%231a1a3e'/%3E%3Crect x='8' y='80' width='8' height='120' fill='%231a1a3e'/%3E%3Crect x='16' y='70' width='8' height='130' fill='%231a1a3e'/%3E%3Crect x='24' y='80' width='8' height='120' fill='%231a1a3e'/%3E%3Crect x='32' y='88' width='8' height='112' fill='%231a1a3e'/%3E%3Crect x='40' y='75' width='8' height='125' fill='%231a1a3e'/%3E%3Crect x='48' y='60' width='8' height='140' fill='%231a1a3e'/%3E%3Crect x='56' y='50' width='8' height='150' fill='%231a1a3e'/%3E%3Crect x='64' y='60' width='8' height='140' fill='%231a1a3e'/%3E%3Crect x='72' y='72' width='8' height='128' fill='%231a1a3e'/%3E%3Crect x='80' y='85' width='8' height='115' fill='%231a1a3e'/%3E%3Crect x='88' y='78' width='8' height='122' fill='%231a1a3e'/%3E%3Crect x='96' y='65' width='8' height='135' fill='%231a1a3e'/%3E%3Crect x='104' y='55' width='8' height='145' fill='%231a1a3e'/%3E%3Crect x='112' y='65' width='8' height='135' fill='%231a1a3e'/%3E%3Crect x='120' y='78' width='8' height='122' fill='%231a1a3e'/%3E%3Crect x='128' y='88' width='8' height='112' fill='%231a1a3e'/%3E%3Crect x='136' y='70' width='8' height='130' fill='%231a1a3e'/%3E%3Crect x='144' y='58' width='8' height='142' fill='%231a1a3e'/%3E%3Crect x='152' y='68' width='8' height='132' fill='%231a1a3e'/%3E%3Crect x='160' y='80' width='8' height='120' fill='%231a1a3e'/%3E%3Crect x='168' y='72' width='8' height='128' fill='%231a1a3e'/%3E%3Crect x='176' y='62' width='8' height='138' fill='%231a1a3e'/%3E%3Crect x='184' y='52' width='8' height='148' fill='%231a1a3e'/%3E%3Crect x='192' y='62' width='8' height='138' fill='%231a1a3e'/%3E%3Crect x='200' y='74' width='8' height='126' fill='%231a1a3e'/%3E%3Crect x='208' y='84' width='8' height='116' fill='%231a1a3e'/%3E%3Crect x='216' y='76' width='8' height='124' fill='%231a1a3e'/%3E%3Crect x='224' y='66' width='8' height='134' fill='%231a1a3e'/%3E%3Crect x='232' y='56' width='8' height='144' fill='%231a1a3e'/%3E%3Crect x='240' y='66' width='8' height='134' fill='%231a1a3e'/%3E%3Crect x='248' y='78' width='8' height='122' fill='%231a1a3e'/%3E%3Crect x='256' y='88' width='8' height='112' fill='%231a1a3e'/%3E%3Crect x='264' y='80' width='8' height='120' fill='%231a1a3e'/%3E%3Crect x='272' y='70' width='8' height='130' fill='%231a1a3e'/%3E%3Crect x='280' y='82' width='8' height='118' fill='%231a1a3e'/%3E%3Crect x='288' y='90' width='8' height='110' fill='%231a1a3e'/%3E%3Crect x='296' y='82' width='8' height='118' fill='%231a1a3e'/%3E%3Crect x='304' y='74' width='8' height='126' fill='%231a1a3e'/%3E%3Crect x='312' y='84' width='8' height='116' fill='%231a1a3e'/%3E%3C!-- montañas medias violeta --%3E%3Crect x='0' y='120' width='8' height='80' fill='%23221644'/%3E%3Crect x='8' y='108' width='8' height='92' fill='%23221644'/%3E%3Crect x='16' y='116' width='8' height='84' fill='%23221644'/%3E%3Crect x='24' y='100' width='8' height='100' fill='%23221644'/%3E%3Crect x='32' y='112' width='8' height='88' fill='%23221644'/%3E%3Crect x='40' y='122' width='8' height='78' fill='%23221644'/%3E%3Crect x='48' y='110' width='8' height='90' fill='%23221644'/%3E%3Crect x='56' y='98' width='8' height='102' fill='%23221644'/%3E%3Crect x='64' y='108' width='8' height='92' fill='%23221644'/%3E%3Crect x='72' y='118' width='8' height='82' fill='%23221644'/%3E%3Crect x='80' y='106' width='8' height='94' fill='%23221644'/%3E%3Crect x='88' y='94' width='8' height='106' fill='%23221644'/%3E%3Crect x='96' y='104' width='8' height='96' fill='%23221644'/%3E%3Crect x='104' y='114' width='8' height='86' fill='%23221644'/%3E%3Crect x='112' y='102' width='8' height='98' fill='%23221644'/%3E%3Crect x='120' y='92' width='8' height='108' fill='%23221644'/%3E%3Crect x='128' y='102' width='8' height='98' fill='%23221644'/%3E%3Crect x='136' y='114' width='8' height='86' fill='%23221644'/%3E%3Crect x='144' y='104' width='8' height='96' fill='%23221644'/%3E%3Crect x='152' y='116' width='8' height='84' fill='%23221644'/%3E%3Crect x='160' y='108' width='8' height='92' fill='%23221644'/%3E%3Crect x='168' y='96' width='8' height='104' fill='%23221644'/%3E%3Crect x='176' y='106' width='8' height='94' fill='%23221644'/%3E%3Crect x='184' y='118' width='8' height='82' fill='%23221644'/%3E%3Crect x='192' y='108' width='8' height='92' fill='%23221644'/%3E%3Crect x='200' y='98' width='8' height='102' fill='%23221644'/%3E%3Crect x='208' y='108' width='8' height='92' fill='%23221644'/%3E%3Crect x='216' y='120' width='8' height='80' fill='%23221644'/%3E%3Crect x='224' y='110' width='8' height='90' fill='%23221644'/%3E%3Crect x='232' y='100' width='8' height='100' fill='%23221644'/%3E%3Crect x='240' y='112' width='8' height='88' fill='%23221644'/%3E%3Crect x='248' y='122' width='8' height='78' fill='%23221644'/%3E%3Crect x='256' y='112' width='8' height='88' fill='%23221644'/%3E%3Crect x='264' y='102' width='8' height='98' fill='%23221644'/%3E%3Crect x='272' y='114' width='8' height='86' fill='%23221644'/%3E%3Crect x='280' y='124' width='8' height='76' fill='%23221644'/%3E%3Crect x='288' y='114' width='8' height='86' fill='%23221644'/%3E%3Crect x='296' y='104' width='8' height='96' fill='%23221644'/%3E%3Crect x='304' y='116' width='8' height='84' fill='%23221644'/%3E%3Crect x='312' y='126' width='8' height='74' fill='%23221644'/%3E%3C!-- suelo --%3E%3Crect x='0' y='155' width='320' height='45' fill='%23140d28'/%3E%3Crect x='0' y='155' width='320' height='8' fill='%231e1040'/%3E%3Crect x='0' y='163' width='16' height='8' fill='%23180e34' opacity='0.7'/%3E%3Crect x='32' y='163' width='16' height='8' fill='%23180e34' opacity='0.7'/%3E%3Crect x='64' y='163' width='16' height='8' fill='%23180e34' opacity='0.7'/%3E%3Crect x='96' y='163' width='16' height='8' fill='%23180e34' opacity='0.7'/%3E%3Crect x='128' y='163' width='16' height='8' fill='%23180e34' opacity='0.7'/%3E%3Crect x='160' y='163' width='16' height='8' fill='%23180e34' opacity='0.7'/%3E%3Crect x='192' y='163' width='16' height='8' fill='%23180e34' opacity='0.7'/%3E%3Crect x='224' y='163' width='16' height='8' fill='%23180e34' opacity='0.7'/%3E%3Crect x='256' y='163' width='16' height='8' fill='%23180e34' opacity='0.7'/%3E%3Crect x='288' y='163' width='16' height='8' fill='%23180e34' opacity='0.7'/%3E%3C!-- castillo --%3E%3Crect x='12' y='108' width='16' height='48' fill='%232a1a50'/%3E%3Crect x='10' y='102' width='4' height='8' fill='%232a1a50'/%3E%3Crect x='18' y='100' width='4' height='10' fill='%232a1a50'/%3E%3Crect x='22' y='102' width='4' height='8' fill='%232a1a50'/%3E%3Crect x='14' y='120' width='4' height='8' fill='%230d0d1a'/%3E%3Crect x='28' y='118' width='30' height='38' fill='%23231548'/%3E%3Crect x='30' y='112' width='4' height='8' fill='%23231548'/%3E%3Crect x='38' y='110' width='4' height='10' fill='%23231548'/%3E%3Crect x='46' y='112' width='4' height='8' fill='%23231548'/%3E%3Crect x='34' y='124' width='6' height='8' fill='%23f5e642' opacity='0.7'/%3E%3Crect x='46' y='124' width='6' height='8' fill='%23f5e642' opacity='0.4'/%3E%3Crect x='38' y='138' width='8' height='18' fill='%230d0d1a'/%3E%3Crect x='58' y='110' width='16' height='46' fill='%232a1a50'/%3E%3Crect x='56' y='104' width='4' height='8' fill='%232a1a50'/%3E%3Crect x='64' y='102' width='4' height='10' fill='%232a1a50'/%3E%3Crect x='68' y='104' width='4' height='8' fill='%232a1a50'/%3E%3Crect x='62' y='122' width='4' height='8' fill='%230d0d1a'/%3E%3Crect x='39' y='104' width='2' height='10' fill='%23888'/%3E%3Crect x='41' y='104' width='8' height='6' fill='%23e03030'/%3E%3C!-- antorcha izq --%3E%3Crect x='82' y='140' width='4' height='12' fill='%23704214'/%3E%3Crect x='81' y='134' width='6' height='6' fill='%23f5a623'/%3E%3Crect x='82' y='130' width='4' height='4' fill='%23f5e642'/%3E%3Crect x='83' y='128' width='2' height='4' fill='%23fff' opacity='0.6'/%3E%3C!-- arboles --%3E%3Crect x='240' y='138' width='8' height='18' fill='%23312010'/%3E%3Crect x='234' y='118' width='20' height='24' fill='%23143d14'/%3E%3Crect x='238' y='108' width='12' height='14' fill='%231a5218'/%3E%3Crect x='242' y='100' width='4' height='10' fill='%231a5218'/%3E%3Crect x='268' y='140' width='6' height='16' fill='%23312010'/%3E%3Crect x='262' y='122' width='18' height='22' fill='%23143d14'/%3E%3Crect x='266' y='112' width='10' height='14' fill='%231a5218'/%3E%3Crect x='270' y='104' width='4' height='10' fill='%231a5218'/%3E%3C!-- antorcha der --%3E%3Crect x='294' y='140' width='4' height='12' fill='%23704214'/%3E%3Crect x='293' y='134' width='6' height='6' fill='%23f5a623'/%3E%3Crect x='294' y='130' width='4' height='4' fill='%23f5e642'/%3E%3Crect x='295' y='128' width='2' height='4' fill='%23fff' opacity='0.6'/%3E%3C/svg%3E");
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
}

/* Capa 2: overlay para legibilidad */
.ranking::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(
        to bottom,
        rgba(8, 6, 20, 0.60) 0%,
        rgba(10, 8, 24, 0.42) 50%,
        rgba(8, 6, 20, 0.72) 100%
    );
}

.ranking > * {
    position: relative;
    z-index: 1;
}

/* --- PODIUM — estilo arcade --- */
.podium {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 2rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.podium-place {
    /* Borde pixel art: sombra doble offset simula esquinas en bloque */
    background: rgba(14, 10, 32, 0.88);
    border: 3px solid #3a2a6e;
    box-shadow:
        4px 0 0 0 #1a0f40,
        0 4px 0 0 #1a0f40,
        -4px 0 0 0 #0d0820,
        0 -4px 0 0 #0d0820,
        inset 0 0 0 2px rgba(212,175,55,0.08);
    padding: 2rem;
    border-radius: 0;           /* sin redondeo — pixel art es cuadrado */
    text-align: center;
    min-width: 240px;
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
    image-rendering: pixelated;
}

.podium-place:hover {
    transform: translateY(-4px);
    box-shadow:
        4px 4px 0 0 #1a0f40,
        -4px 4px 0 0 #0d0820,
        inset 0 0 0 2px rgba(212,175,55,0.15);
}

.podium-place.first {
    order: 2;
    border-color: #c8961e;
    background: rgba(20, 14, 36, 0.92);
    box-shadow:
        4px 0 0 0 #7a5800,
        0 4px 0 0 #7a5800,
        -4px 0 0 0 #3a2800,
        0 -4px 0 0 #3a2800,
        0 0 28px rgba(255, 215, 0, 0.22),
        inset 0 0 0 2px rgba(255,215,0,0.12);
    transform: scale(1.06);
}

.podium-place.second {
    order: 1;
    border-color: #888;
    box-shadow:
        4px 0 0 0 #555,
        0 4px 0 0 #555,
        -4px 0 0 0 #333,
        0 -4px 0 0 #333,
        inset 0 0 0 2px rgba(192,192,192,0.08);
}

.podium-place.third {
    order: 3;
    border-color: #8b5a2b;
    box-shadow:
        4px 0 0 0 #5a3510,
        0 4px 0 0 #5a3510,
        -4px 0 0 0 #2e1a08,
        0 -4px 0 0 #2e1a08,
        inset 0 0 0 2px rgba(205,127,50,0.10);
}

.rank-badge {
    font-size: 2rem;
    margin-bottom: 1rem;
    display: block;
    /* pixel badge number */
    text-shadow: 3px 3px 0 rgba(0,0,0,0.8);
}

.podium-place .avatar {
    width: 80px;
    height: 80px;
    border-radius: 0;           /* cuadrado pixel art */
    background: linear-gradient(135deg, #1a1040, #2a1858);
    margin: 1rem auto;
    border: 3px solid #3a2a6e;
    image-rendering: pixelated;
}

.podium-place .name {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 0 rgba(0,0,0,0.9);
}

.podium-place .points {
    font-size: 1.8rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
    filter: drop-shadow(2px 2px 0 rgba(0,0,0,0.8));
}

/* --- TABLA RANKING — pixel art --- */
.ranking-table-wrapper {
    background: rgba(10, 7, 24, 0.85);
    border: 3px solid #3a2a6e;
    box-shadow:
        4px 0 0 0 #1a0f40,
        0 4px 0 0 #1a0f40,
        -4px 0 0 0 #0d0820,
        0 -4px 0 0 #0d0820;
    border-radius: 0;
    overflow-y: auto;
    overflow-x: hidden;
    margin-top: 2rem;
    max-height: 600px;
    position: relative;
}

/* Scrollbar pixel art */
.ranking-table-wrapper::-webkit-scrollbar {
    width: 12px;
}

.ranking-table-wrapper::-webkit-scrollbar-track {
    background: #0d0820;
    border-left: 2px solid #1a0f40;
}

.ranking-table-wrapper::-webkit-scrollbar-thumb {
    background: #c8961e;
    border: 2px solid #7a5800;
    border-radius: 0;
    box-shadow: inset 1px 1px 0 #f5d060, inset -1px -1px 0 #7a5800;
}

.ranking-table-wrapper::-webkit-scrollbar-thumb:hover {
    background: #f5d060;
}

.ranking-table {
    width: 100%;
    border-collapse: collapse;
}

.ranking-table thead {
    background: rgba(30, 16, 64, 0.95);
    border-bottom: 3px solid #3a2a6e;
}

.ranking-table th {
    padding: 1.2rem 2rem;
    text-align: left;
    font-weight: 700;
    color: #f5e642;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 2px 2px 0 rgba(0,0,0,0.9);
}

.ranking-table tbody tr {
    border-bottom: 2px solid #1e1040;
    transition: background 0.15s;
}

/* Filas alternas — clásico de tablas arcade */
.ranking-table tbody tr:nth-child(even) {
    background: rgba(26, 16, 56, 0.5);
}

.ranking-table tbody tr:hover {
    background: rgba(200, 150, 30, 0.10);
    outline: 2px solid rgba(200, 150, 30, 0.25);
    outline-offset: -2px;
}

.ranking-table td {
    padding: 1.2rem 2rem;
    font-weight: 500;
}

.rank-number {
    font-weight: 900;
    font-size: 1.2rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(2px 2px 0 rgba(0,0,0,0.8));
}

.user-cell {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user-avatar {
    width: 38px;
    height: 38px;
    border-radius: 0;           /* cuadrado pixel art */
    background: linear-gradient(135deg, #1a1040, #2a1858);
    border: 2px solid #3a2a6e;
    image-rendering: pixelated;
}

.user-name {
    font-weight: 600;
    text-shadow: 1px 1px 0 rgba(0,0,0,0.8);
}

.stat-value {
    font-weight: 700;
    color: var(--primary-light);
    text-shadow: 1px 1px 0 rgba(0,0,0,0.8);
}

/* ========================================
   TIENDA - GRID HORIZONTAL 2-3 COLUMNAS
   ======================================== */

/* Sección Principal de Tienda */
.tienda {
    padding: 4rem 0;
}

/* Header de la Tienda */
.tienda-header {
    margin-bottom: 3rem;
    text-align: center;
    padding: 3rem 2rem;
    background: rgba(15, 15, 25, 0.6);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: 16px;
    backdrop-filter: blur(10px);
}

.tienda-title-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 0.5rem;
}

.tienda-icon {
    width: 48px;
    height: 48px;
    color: #ffd700;
    filter: drop-shadow(0 4px 12px rgba(255, 215, 0, 0.3));
}

.section-title {
    text-align: center;
    font-size: 2.8rem;
    font-weight: 800;
    margin: 0;
    background: linear-gradient(135deg, #ffd700 0%, #d4af37 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #a8b3cf;
    margin: 0.8rem 0 0 0;
}

/* ========================================
   GRID - 2 COLUMNAS EN DESKTOP
   ======================================== */
.shop-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    padding: 0;
}

/* ========================================
   TARJETA HORIZONTAL COMPACTA
   ======================================== */
.card-premium {
    background: rgba(12, 8, 30, 0.90);
    border: 3px solid #3a2a6e;
    box-shadow: 4px 4px 0 0 #1a0f40, -2px -2px 0 0 #0d0820;
    border-radius: 0;
    overflow: hidden;
    transition: transform 0.12s, box-shadow 0.12s;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    position: relative;
    min-height: 200px;
}

.card-premium:hover {
    transform: translate(-2px, -2px);
    border-color: #c8961e;
    box-shadow: 6px 6px 0 0 #7a5800, -2px -2px 0 0 #3a2800;
}

/* CONTENIDO IZQUIERDA - Compacto */
.card-content {
    flex: 1;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    justify-content: space-between;
}

/* Título */
.card-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0;
    line-height: 1.2;
    letter-spacing: -0.3px;
}

/* Descripción compacta */
.card-description {
    font-size: 0.9rem;
    color: #9ca3af;
    margin: 0;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Features compactos */
.card-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.card-features li {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-size: 0.85rem;
    color: #d1d5db;
}

.card-features li svg {
    width: 16px;
    height: 16px;
    min-width: 16px;
    color: #ffd700;
    flex-shrink: 0;
}

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    color: #ffd700;
    font-size: 0.75rem;
    font-weight: 700;
    flex-shrink: 0;
}

.feature-icon.gargoyle {
    color: #ff6b6b;
}

/* Footer con precio y botón */
.card-footer {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-top: auto;
}

.card-price {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.card-price .price-icon {
    width: 18px;
    height: 18px;
    color: #ffd700;
}

.card-price .price-amount {
    font-size: 1.5rem;
    font-weight: 800;
    color: #ffd700;
    line-height: 1;
}

.card-price .price-label {
    font-size: 0.8rem;
    color: #6b7280;
}

/* Botón full width dentro del contenido */
.btn-premium {
    width: 100%;
    padding: 0.85rem 1.5rem;
    background: #ffd700;
    color: #0a0a15;
    border: none;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.25s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 14px rgba(255, 215, 0, 0.25);
}

.btn-premium:hover {
    background: #ffed4e;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
}

.btn-premium:active {
    transform: translateY(0);
}

.btn-premium:disabled,
.btn-premium.disabled {
    background: #2a2a35;
    color: #6b7280;
    cursor: not-allowed;
    box-shadow: none;
}

/* IMAGEN DERECHA - Más pequeña */
.card-image {
    flex-shrink: 0;
    width: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(15, 15, 22, 0.4) 0%, rgba(10, 10, 16, 0.6) 100%);
    padding: 1.5rem;
    position: relative;
    border-left: 1px solid rgba(255, 255, 255, 0.05);
}

.card-image img,
.card-image svg {
    max-width: 130px;
    max-height: 130px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.7));
    transition: transform 0.3s ease;
}

.card-premium:hover .card-image img,
.card-premium:hover .card-image svg {
    transform: scale(1.1);
}

/* Badge de stock */
.card-stock {
    position: absolute;
    top: 0.8rem;
    right: 0.8rem;
    padding: 0.35rem 0.7rem;
    background: rgba(212, 175, 55, 0.2);
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 700;
    color: #ffd700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    backdrop-filter: blur(10px);
}

/* ========================================
   RESPONSIVE
   ======================================== */

/* 3 columnas en pantallas muy grandes */
@media (min-width: 1600px) {
    .shop-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* 2 columnas en desktop normal */
@media (max-width: 1400px) {
    .shop-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 1 columna en tablets */
@media (max-width: 1024px) {
    .shop-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .card-image {
        width: 200px;
    }

    .card-image img,
    .card-image svg {
        max-width: 150px;
        max-height: 150px;
    }
}

/* Mobile - Diseño vertical */
@media (max-width: 768px) {
    .tienda {
        padding: 3rem 0;
    }

    .tienda-header {
        padding: 2rem 1rem;
        margin-bottom: 2rem;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .shop-grid {
        gap: 1.5rem;
    }

    .card-premium {
        flex-direction: column;
        min-height: auto;
    }

    .card-content {
        padding: 1.8rem;
    }

    .card-image {
        width: 100%;
        min-height: 200px;
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.05);
    }

    .card-title {
        font-size: 1.3rem;
    }

    .card-description {
        -webkit-line-clamp: 3;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1.8rem;
    }

    .card-content {
        padding: 1.5rem;
    }

    .card-image {
        min-height: 180px;
        padding: 1.2rem;
    }

    .card-image img,
    .card-image svg {
        max-width: 120px;
        max-height: 120px;
    }
}

/* Optimización */
.card-premium,
.btn-premium,
.card-image img {
    will-change: transform;
    backface-visibility: hidden;
    -webkit-font-smoothing: antialiased;
}


/* Footer */
.footer {
    background: rgba(20, 27, 52, 0.8);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--border);
    margin-top: 5rem;
    padding: 3rem 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-brand h3 {
    font-size: 1.3rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.footer-brand p {
    color: var(--text-secondary);
    line-height: 1.7;
}

.footer-section h4 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--primary-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-section ul {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    list-style: none;
}

.footer-section a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s;
}

.footer-section a:hover {
    color: var(--primary-light);
    transform: translateX(5px);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Loading Spinner */
.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(0, 163, 224, 0.3);
    border-top-color: var(--primary-light);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Responsive */
@media (max-width: 1024px) {
    .navbar {
        padding: 1rem;
    }

    .nav-links {
        display: none;
    }

    .hero-content h2 {
        font-size: 2.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .podium {
        flex-direction: column;
        gap: 1rem;
    }

    .podium-place,
    .podium-place.first {
        order: initial !important;
        transform: none !important;
        min-width: auto;
    }

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

    .ranking-table th,
    .ranking-table td {
        padding: 1rem;
        font-size: 0.85rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .section-title {
        font-size: 2rem;
    }
}


/* ============================================================
   FONDO PIXEL ART — Sección Hero
   Ciudad nocturna: rascacielos neón, personaje sobre montaña
   de monedas de oro, destellos de dinero volando.
   ============================================================ */

.hero {
    position: relative;
    overflow: hidden;
    padding: 5rem 2rem;
    text-align: center;
    min-height: 340px;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    image-rendering: pixelated;
    background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20640%20260'%3E%20%3Crect%20width='640'%20height='260'%20fill='%23080612'/%3E%20%3Crect%20x='10'%20y='8'%20width='2'%20height='2'%20fill='%23fff'%20opacity='0.8'/%3E%20%3Crect%20x='50'%20y='15'%20width='2'%20height='2'%20fill='%23ffc'%20opacity='0.6'/%3E%20%3Crect%20x='90'%20y='6'%20width='2'%20height='2'%20fill='%23fff'%20opacity='0.9'/%3E%20%3Crect%20x='160'%20y='12'%20width='2'%20height='2'%20fill='%23cdf'%20opacity='0.7'/%3E%20%3Crect%20x='230'%20y='5'%20width='2'%20height='2'%20fill='%23fff'%20opacity='0.8'/%3E%20%3Crect%20x='280'%20y='18'%20width='2'%20height='2'%20fill='%23ffc'%20opacity='0.6'/%3E%20%3Crect%20x='340'%20y='8'%20width='2'%20height='2'%20fill='%23fff'%20opacity='0.9'/%3E%20%3Crect%20x='400'%20y='14'%20width='2'%20height='2'%20fill='%23cdf'%20opacity='0.7'/%3E%20%3Crect%20x='470'%20y='4'%20width='2'%20height='2'%20fill='%23fff'%20opacity='0.8'/%3E%20%3Crect%20x='520'%20y='11'%20width='2'%20height='2'%20fill='%23ffc'%20opacity='0.7'/%3E%20%3Crect%20x='580'%20y='7'%20width='2'%20height='2'%20fill='%23fff'%20opacity='0.9'/%3E%20%3Crect%20x='620'%20y='16'%20width='2'%20height='2'%20fill='%23cdf'%20opacity='0.6'/%3E%20%3Crect%20x='120'%20y='22'%20width='2'%20height='2'%20fill='%23fff'%20opacity='0.5'/%3E%20%3Crect%20x='370'%20y='24'%20width='2'%20height='2'%20fill='%23ffc'%20opacity='0.5'/%3E%20%3Crect%20x='560'%20y='20'%20width='2'%20height='2'%20fill='%23fff'%20opacity='0.6'/%3E%20%3Crect%20x='570'%20y='10'%20width='22'%20height='22'%20fill='%23f5e642'/%3E%20%3Crect%20x='574'%20y='8'%20width='14'%20height='4'%20fill='%23f5e642'/%3E%20%3Crect%20x='574'%20y='30'%20width='14'%20height='4'%20fill='%23f5e642'/%3E%20%3Crect%20x='566'%20y='14'%20width='4'%20height='14'%20fill='%23f5e642'/%3E%20%3Crect%20x='588'%20y='14'%20width='4'%20height='14'%20fill='%23f5e642'/%3E%20%3Crect%20x='578'%20y='10'%20width='12'%20height='22'%20fill='%23080612'%20opacity='0.6'/%3E%20%3Crect%20x='0'%20y='140'%20width='28'%20height='120'%20fill='%230a0720'/%3E%20%3Crect%20x='4'%20y='148'%20width='8'%20height='8'%20fill='%23f5e642'%20opacity='0.5'/%3E%20%3Crect%20x='16'%20y='148'%20width='8'%20height='8'%20fill='%233af'%20opacity='0.4'/%3E%20%3Crect%20x='4'%20y='162'%20width='8'%20height='8'%20fill='%233af'%20opacity='0.3'/%3E%20%3Crect%20x='12'%20y='134'%20width='4'%20height='8'%20fill='%230a0720'/%3E%20%3Crect%20x='30'%20y='110'%20width='36'%20height='150'%20fill='%230d0924'/%3E%20%3Crect%20x='34'%20y='118'%20width='10'%20height='10'%20fill='%23f5e642'%20opacity='0.7'/%3E%20%3Crect%20x='50'%20y='118'%20width='10'%20height='10'%20fill='%233af'%20opacity='0.6'/%3E%20%3Crect%20x='34'%20y='134'%20width='10'%20height='10'%20fill='%233af'%20opacity='0.5'/%3E%20%3Crect%20x='50'%20y='134'%20width='10'%20height='10'%20fill='%23f5e642'%20opacity='0.4'/%3E%20%3Crect%20x='34'%20y='150'%20width='10'%20height='10'%20fill='%23f5e642'%20opacity='0.6'/%3E%20%3Crect%20x='50'%20y='150'%20width='10'%20height='10'%20fill='%233af'%20opacity='0.3'/%3E%20%3Crect%20x='46'%20y='100'%20width='4'%20height='12'%20fill='%230d0924'/%3E%20%3Crect%20x='42'%20y='98'%20width='12'%20height='4'%20fill='%23e03030'%20opacity='0.9'/%3E%20%3Crect%20x='32'%20y='106'%20width='32'%20height='6'%20fill='%23ff006e'%20opacity='0.85'/%3E%20%3Crect%20x='34'%20y='104'%20width='28'%20height='4'%20fill='%23ff006e'%20opacity='0.5'/%3E%20%3Crect%20x='68'%20y='70'%20width='50'%20height='190'%20fill='%23100a2a'/%3E%20%3Crect%20x='72'%20y='78'%20width='14'%20height='14'%20fill='%23f5e642'%20opacity='0.8'/%3E%20%3Crect%20x='92'%20y='78'%20width='14'%20height='14'%20fill='%233af'%20opacity='0.7'/%3E%20%3Crect%20x='72'%20y='98'%20width='14'%20height='14'%20fill='%233af'%20opacity='0.6'/%3E%20%3Crect%20x='92'%20y='98'%20width='14'%20height='14'%20fill='%23f5e642'%20opacity='0.5'/%3E%20%3Crect%20x='72'%20y='118'%20width='14'%20height='14'%20fill='%23f5e642'%20opacity='0.7'/%3E%20%3Crect%20x='92'%20y='118'%20width='14'%20height='14'%20fill='%23fff'%20opacity='0.2'/%3E%20%3Crect%20x='72'%20y='138'%20width='14'%20height='14'%20fill='%233af'%20opacity='0.4'/%3E%20%3Crect%20x='92'%20y='138'%20width='14'%20height='14'%20fill='%23f5e642'%20opacity='0.3'/%3E%20%3Crect%20x='70'%20y='60'%20width='46'%20height='12'%20fill='%237b2fff'%20opacity='0.9'/%3E%20%3Crect%20x='74'%20y='57'%20width='38'%20height='6'%20fill='%237b2fff'%20opacity='0.55'/%3E%20%3Crect%20x='90'%20y='50'%20width='4'%20height='22'%20fill='%23100a2a'/%3E%20%3Crect%20x='86'%20y='48'%20width='12'%20height='4'%20fill='%23e03030'%20opacity='0.8'/%3E%20%3Crect%20x='120'%20y='130'%20width='30'%20height='130'%20fill='%230c0822'/%3E%20%3Crect%20x='124'%20y='138'%20width='8'%20height='8'%20fill='%23f5e642'%20opacity='0.6'/%3E%20%3Crect%20x='136'%20y='138'%20width='8'%20height='8'%20fill='%233af'%20opacity='0.5'/%3E%20%3Crect%20x='124'%20y='152'%20width='8'%20height='8'%20fill='%233af'%20opacity='0.4'/%3E%20%3Crect%20x='126'%20y='123'%20width='4'%20height='8'%20fill='%230c0822'/%3E%20%3Crect%20x='490'%20y='130'%20width='30'%20height='130'%20fill='%230c0822'/%3E%20%3Crect%20x='494'%20y='138'%20width='8'%20height='8'%20fill='%233af'%20opacity='0.6'/%3E%20%3Crect%20x='506'%20y='138'%20width='8'%20height='8'%20fill='%23f5e642'%20opacity='0.5'/%3E%20%3Crect%20x='494'%20y='152'%20width='8'%20height='8'%20fill='%23f5e642'%20opacity='0.4'/%3E%20%3Crect%20x='510'%20y='123'%20width='4'%20height='8'%20fill='%230c0822'/%3E%20%3Crect%20x='522'%20y='70'%20width='50'%20height='190'%20fill='%23100a2a'/%3E%20%3Crect%20x='526'%20y='78'%20width='14'%20height='14'%20fill='%233af'%20opacity='0.8'/%3E%20%3Crect%20x='546'%20y='78'%20width='14'%20height='14'%20fill='%23f5e642'%20opacity='0.7'/%3E%20%3Crect%20x='526'%20y='98'%20width='14'%20height='14'%20fill='%23f5e642'%20opacity='0.6'/%3E%20%3Crect%20x='546'%20y='98'%20width='14'%20height='14'%20fill='%233af'%20opacity='0.5'/%3E%20%3Crect%20x='526'%20y='118'%20width='14'%20height='14'%20fill='%233af'%20opacity='0.7'/%3E%20%3Crect%20x='546'%20y='118'%20width='14'%20height='14'%20fill='%23f5e642'%20opacity='0.3'/%3E%20%3Crect%20x='526'%20y='138'%20width='14'%20height='14'%20fill='%23f5e642'%20opacity='0.4'/%3E%20%3Crect%20x='524'%20y='60'%20width='46'%20height='12'%20fill='%23ffd700'%20opacity='0.9'/%3E%20%3Crect%20x='528'%20y='57'%20width='38'%20height='6'%20fill='%23ffd700'%20opacity='0.55'/%3E%20%3Crect%20x='544'%20y='50'%20width='4'%20height='22'%20fill='%23100a2a'/%3E%20%3Crect%20x='540'%20y='48'%20width='12'%20height='4'%20fill='%23e03030'%20opacity='0.8'/%3E%20%3Crect%20x='574'%20y='110'%20width='36'%20height='150'%20fill='%230d0924'/%3E%20%3Crect%20x='578'%20y='118'%20width='10'%20height='10'%20fill='%233af'%20opacity='0.7'/%3E%20%3Crect%20x='594'%20y='118'%20width='10'%20height='10'%20fill='%23f5e642'%20opacity='0.6'/%3E%20%3Crect%20x='578'%20y='134'%20width='10'%20height='10'%20fill='%23f5e642'%20opacity='0.5'/%3E%20%3Crect%20x='594'%20y='134'%20width='10'%20height='10'%20fill='%233af'%20opacity='0.4'/%3E%20%3Crect%20x='578'%20y='150'%20width='10'%20height='10'%20fill='%233af'%20opacity='0.6'/%3E%20%3Crect%20x='590'%20y='100'%20width='4'%20height='12'%20fill='%230d0924'/%3E%20%3Crect%20x='586'%20y='98'%20width='12'%20height='4'%20fill='%23e03030'%20opacity='0.9'/%3E%20%3Crect%20x='576'%20y='106'%20width='32'%20height='6'%20fill='%23ff006e'%20opacity='0.85'/%3E%20%3Crect%20x='612'%20y='140'%20width='28'%20height='120'%20fill='%230a0720'/%3E%20%3Crect%20x='616'%20y='148'%20width='8'%20height='8'%20fill='%23f5e642'%20opacity='0.5'/%3E%20%3Crect%20x='628'%20y='148'%20width='8'%20height='8'%20fill='%233af'%20opacity='0.4'/%3E%20%3Crect%20x='618'%20y='134'%20width='4'%20height='8'%20fill='%230a0720'/%3E%20%3Crect%20x='0'%20y='228'%20width='640'%20height='32'%20fill='%230a0818'/%3E%20%3Crect%20x='0'%20y='228'%20width='640'%20height='5'%20fill='%231a1035'/%3E%20%3Crect%20x='0'%20y='236'%20width='50'%20height='3'%20fill='%231e1040'%20opacity='0.6'/%3E%20%3Crect%20x='64'%20y='236'%20width='50'%20height='3'%20fill='%231e1040'%20opacity='0.6'/%3E%20%3Crect%20x='128'%20y='236'%20width='50'%20height='3'%20fill='%231e1040'%20opacity='0.6'/%3E%20%3Crect%20x='192'%20y='236'%20width='50'%20height='3'%20fill='%231e1040'%20opacity='0.6'/%3E%20%3Crect%20x='256'%20y='236'%20width='50'%20height='3'%20fill='%231e1040'%20opacity='0.6'/%3E%20%3Crect%20x='320'%20y='236'%20width='50'%20height='3'%20fill='%231e1040'%20opacity='0.6'/%3E%20%3Crect%20x='384'%20y='236'%20width='50'%20height='3'%20fill='%231e1040'%20opacity='0.6'/%3E%20%3Crect%20x='448'%20y='236'%20width='50'%20height='3'%20fill='%231e1040'%20opacity='0.6'/%3E%20%3Crect%20x='512'%20y='236'%20width='50'%20height='3'%20fill='%231e1040'%20opacity='0.6'/%3E%20%3Crect%20x='576'%20y='236'%20width='64'%20height='3'%20fill='%231e1040'%20opacity='0.6'/%3E%20%3Crect%20x='200'%20y='206'%20width='240'%20height='22'%20fill='%23b8860b'/%3E%20%3Crect%20x='200'%20y='203'%20width='240'%20height='5'%20fill='%23ffd700'/%3E%20%3Crect%20x='220'%20y='186'%20width='200'%20height='20'%20fill='%23c8961e'/%3E%20%3Crect%20x='220'%20y='183'%20width='200'%20height='5'%20fill='%23f5d060'/%3E%20%3Crect%20x='244'%20y='168'%20width='152'%20height='18'%20fill='%23b8860b'/%3E%20%3Crect%20x='244'%20y='165'%20width='152'%20height='5'%20fill='%23ffd700'/%3E%20%3Crect%20x='268'%20y='152'%20width='104'%20height='16'%20fill='%23c8961e'/%3E%20%3Crect%20x='268'%20y='149'%20width='104'%20height='5'%20fill='%23f5d060'/%3E%20%3Crect%20x='292'%20y='138'%20width='56'%20height='14'%20fill='%23b8860b'/%3E%20%3Crect%20x='292'%20y='135'%20width='56'%20height='5'%20fill='%23f5e642'/%3E%20%3Crect%20x='205'%20y='200'%20width='8'%20height='8'%20fill='%23ffd700'/%3E%20%3Crect%20x='220'%20y='200'%20width='8'%20height='8'%20fill='%23f5e642'/%3E%20%3Crect%20x='415'%20y='200'%20width='8'%20height='8'%20fill='%23ffd700'/%3E%20%3Crect%20x='428'%20y='200'%20width='8'%20height='8'%20fill='%23f5e642'/%3E%20%3Crect%20x='224'%20y='182'%20width='8'%20height='8'%20fill='%23ffd700'/%3E%20%3Crect%20x='408'%20y='182'%20width='8'%20height='8'%20fill='%23ffd700'/%3E%20%3Crect%20x='248'%20y='163'%20width='6'%20height='6'%20fill='%23f5e642'/%3E%20%3Crect%20x='386'%20y='163'%20width='6'%20height='6'%20fill='%23f5e642'/%3E%20%3Crect%20x='308'%20y='106'%20width='24'%20height='8'%20fill='%23ffd700'/%3E%20%3Crect%20x='308'%20y='103'%20width='6'%20height='6'%20fill='%23ffd700'/%3E%20%3Crect%20x='317'%20y='100'%20width='6'%20height='8'%20fill='%23ffd700'/%3E%20%3Crect%20x='326'%20y='103'%20width='6'%20height='6'%20fill='%23ffd700'/%3E%20%3Crect%20x='310'%20y='104'%20width='3'%20height='3'%20fill='%23e03030'/%3E%20%3Crect%20x='318'%20y='102'%20width='3'%20height='3'%20fill='%233af'/%3E%20%3Crect%20x='327'%20y='104'%20width='3'%20height='3'%20fill='%23e03030'/%3E%20%3Crect%20x='306'%20y='112'%20width='28'%20height='22'%20fill='%23f4c88a'/%3E%20%3Crect%20x='304'%20y='110'%20width='30'%20height='6'%20fill='%232a1a00'/%3E%20%3Crect%20x='302'%20y='112'%20width='6'%20height='10'%20fill='%232a1a00'/%3E%20%3Crect%20x='311'%20y='118'%20width='5'%20height='5'%20fill='%231a0a00'/%3E%20%3Crect%20x='324'%20y='118'%20width='5'%20height='5'%20fill='%231a0a00'/%3E%20%3Crect%20x='312'%20y='127'%20width='16'%20height='3'%20fill='%23c0704a'/%3E%20%3Crect%20x='311'%20y='129'%20width='3'%20height='3'%20fill='%23c0704a'/%3E%20%3Crect%20x='326'%20y='129'%20width='3'%20height='3'%20fill='%23c0704a'/%3E%20%3Crect%20x='300'%20y='134'%20width='40'%20height='22'%20fill='%23c8961e'/%3E%20%3Crect%20x='304'%20y='134'%20width='32'%20height='4'%20fill='%23ffd700'/%3E%20%3Crect%20x='316'%20y='136'%20width='8'%20height='18'%20fill='%23e03030'/%3E%20%3Crect%20x='280'%20y='134'%20width='20'%20height='14'%20fill='%23c8961e'/%3E%20%3Crect%20x='340'%20y='134'%20width='20'%20height='14'%20fill='%23c8961e'/%3E%20%3Crect%20x='274'%20y='120'%20width='12'%20height='16'%20fill='%23f4c88a'/%3E%20%3Crect%20x='354'%20y='120'%20width='12'%20height='16'%20fill='%23f4c88a'/%3E%20%3Crect%20x='304'%20y='156'%20width='12'%20height='14'%20fill='%231a1060'/%3E%20%3Crect%20x='324'%20y='156'%20width='12'%20height='14'%20fill='%231a1060'/%3E%20%3Crect%20x='300'%20y='168'%20width='16'%20height='6'%20fill='%231a0800'/%3E%20%3Crect%20x='324'%20y='168'%20width='16'%20height='6'%20fill='%231a0800'/%3E%20%3Crect%20x='258'%20y='130'%20width='4'%20height='8'%20fill='%23ffd700'%20opacity='0.9'/%3E%20%3Crect%20x='254'%20y='132'%20width='12'%20height='3'%20fill='%23ffd700'%20opacity='0.9'/%3E%20%3Crect%20x='254'%20y='136'%20width='12'%20height='3'%20fill='%23ffd700'%20opacity='0.9'/%3E%20%3Crect%20x='378'%20y='127'%20width='4'%20height='8'%20fill='%23ffd700'%20opacity='0.9'/%3E%20%3Crect%20x='374'%20y='129'%20width='12'%20height='3'%20fill='%23ffd700'%20opacity='0.9'/%3E%20%3Crect%20x='374'%20y='133'%20width='12'%20height='3'%20fill='%23ffd700'%20opacity='0.9'/%3E%20%3Crect%20x='240'%20y='148'%20width='8'%20height='8'%20fill='%23ffd700'%20opacity='0.7'/%3E%20%3Crect%20x='395'%20y='145'%20width='8'%20height='8'%20fill='%23f5e642'%20opacity='0.7'/%3E%20%3Crect%20x='228'%20y='160'%20width='10'%20height='6'%20fill='%23ffd700'%20opacity='0.5'/%3E%20%3Crect%20x='404'%20y='158'%20width='10'%20height='6'%20fill='%23ffd700'%20opacity='0.5'/%3E%20%3Crect%20x='68'%20y='238'%20width='6'%20height='18'%20fill='%237b2fff'%20opacity='0.07'/%3E%20%3Crect%20x='566'%20y='238'%20width='6'%20height='18'%20fill='%23ffd700'%20opacity='0.07'/%3E%20%3Crect%20x='30'%20y='238'%20width='6'%20height='14'%20fill='%23ff006e'%20opacity='0.06'/%3E%20%3Crect%20x='604'%20y='238'%20width='6'%20height='14'%20fill='%23ff006e'%20opacity='0.06'/%3E%20%3C/svg%3E");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(
        to bottom,
        rgba(8, 6, 20, 0.58) 0%,
        rgba(8, 6, 20, 0.28) 45%,
        rgba(8, 6, 20, 0.62) 100%
    );
}

.hero > * {
    position: relative;
    z-index: 1;
}


/* ============================================================
   .stream-section, .stats-banner, .stats
   Sin fondo pixel art — solo position relative para z-index
   ============================================================ */

.stream-section,
.stats-banner,
.stats {
    position: relative;
}

/* ============================================================
   ██████╗ ███████╗███████╗██████╗  ██████╗ ███╗   ██╗███████╗
   ██╔══██╗██╔════╝██╔════╝██╔══██╗██╔═══██╗████╗  ██║██╔════╝
   ██████╔╝█████╗  ███████╗██████╔╝██║   ██║██╔██╗ ██║███████╗
   ██╔══██╗██╔══╝  ╚════██║██╔═══╝ ██║   ██║██║╚██╗██║╚════██║
   ██║  ██║███████╗███████║██║     ╚██████╔╝██║ ╚████║███████║
   RESPONSIVE UNIVERSAL — Agregado sobre style.css base
   Breakpoints: xl(1280) lg(1024) md(768) sm(480) xs(380)
   ============================================================ */

/* ── RESET UNIVERSAL ── */
*, *::before, *::after { box-sizing: border-box; }
img, video, iframe, canvas, svg { max-width: 100%; }

/* ============================================================
   HAMBURGER MENU — oculto por defecto en desktop
   ============================================================ */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: 2px solid #3a2a6e;
  min-width: 44px;
  min-height: 44px;
  flex-shrink: 0;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #ffd700;
  transition: transform 0.25s, opacity 0.2s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   BREAKPOINT xl — 1280px
   ============================================================ */
@media (max-width: 1280px) {
  .container { padding: 0 1.5rem; }
  .shop-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-content { gap: 2rem; }
}

/* ============================================================
   BREAKPOINT lg — 1024px
   ============================================================ */
@media (max-width: 1024px) {
  .container { padding: 0 1.25rem; }

  /* NAVBAR — hamburger */
  .navbar {
    padding: 0.85rem 1.25rem;
    flex-wrap: nowrap;
    align-items: center;
    position: relative;
  }
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(10, 7, 28, 0.98);
    border-top: 3px solid #3a2a6e;
    border-bottom: 3px solid #c8961e;
    padding: 0.5rem 1.5rem 1rem;
    gap: 0;
    z-index: 1001;
    box-shadow: 0 8px 24px rgba(0,0,0,0.6);
    justify-content: flex-start;
  }
  .nav-links.open { display: flex; }
  .nav-links li { border-bottom: 1px solid rgba(255,215,0,0.08); }
  .nav-links li:last-child { border-bottom: none; }
  .nav-links a {
    display: block;
    padding: 0.9rem 0;
    font-size: 1rem;
    min-height: 44px;
    display: flex;
    align-items: center;
  }
  .btn-connect { padding: 0.6rem 1rem; font-size: 0.82rem; }

  /* HERO */
  .hero { padding: 3.5rem 1.25rem; }
  .hero-logo { width: 110px; height: 110px; }

  /* STATS */
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }

  /* SHOP */
  .shop-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .card-image { width: 180px; }

  /* RANKING - podium wrap */
  .podium { flex-wrap: wrap; gap: 1rem; }
  .podium-place { flex: 1 1 45%; min-width: 200px; }
  .podium-place.first { flex: 1 1 100%; order: -1 !important; transform: none !important; }
  .podium-place.second { order: 0 !important; }
  .podium-place.third  { order: 0 !important; }

  /* Ocultar columnas menos importantes */
  .ranking-table th:nth-child(4),
  .ranking-table td:nth-child(4) { display: none; } /* watchtime en 1024 */

  /* FOOTER */
  .footer-content { grid-template-columns: 1fr 1fr; gap: 2rem; }

  /* Touch targets */
  .btn, .btn-connect, .btn-premium { min-height: 44px; }
}

/* ============================================================
   BREAKPOINT md — 768px
   ============================================================ */
@media (max-width: 768px) {
  .container { padding: 0 1rem; }

  /* NAVBAR */
  .logo-text h1 { font-size: 1.1rem; }

  /* HERO */
  .hero { padding: 2.5rem 1rem; min-height: auto; }
  .hero-logo { width: 84px; height: 84px; border-width: 4px; animation: none; }
  .hero-content h2 { font-size: clamp(1.6rem, 6vw, 2.5rem); letter-spacing: -0.5px; }
  .hero-content p { font-size: 0.95rem; }
  .hero-actions { flex-direction: column; align-items: stretch; gap: 0.85rem; }
  .btn { width: 100%; justify-content: center; font-size: 0.95rem; }
  .hero-heading { gap: 1rem; }

  /* STATS */
  .stats { padding: 2.5rem 0; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 0.85rem; }
  .stat-card { padding: 1.25rem 0.85rem; }
  .stat-icon { font-size: 1.8rem; margin-bottom: 0.6rem; }
  .stat-number { font-size: 1.9rem; }
  .stat-label { font-size: 0.8rem; letter-spacing: 0.5px; }

  /* SECTION TITLES */
  .section-title { font-size: clamp(1.5rem, 5vw, 2.2rem) !important; }
  .section-subtitle { font-size: 0.95rem; padding: 0 0.5rem; }

  /* NOTICE */
  .notice-box { gap: 0.75rem; padding: 1rem; flex-direction: row; align-items: flex-start; }
  .notice-emote { width: 52px; height: 52px; }
  .notice-kek   { width: 52px; height: 52px; }
  .notice-gif   { width: 52px; height: 52px; }
  .notice-text  { font-size: 0.95rem; }
  .notice-subtext { font-size: 0.85rem; }
  .notice-protip  { font-size: 0.88rem; }

  /* RANKING */
  .ranking { padding: 2.5rem 0; }
  .podium { flex-direction: column; gap: 0.75rem; }
  .podium-place,
  .podium-place.first,
  .podium-place.second,
  .podium-place.third {
    order: initial !important;
    transform: none !important;
    min-width: auto;
    width: 100%;
    flex: none;
  }
  .rank-badge { font-size: 1.6rem; }
  .podium-place .avatar { width: 60px; height: 60px; }
  .podium-place .name   { font-size: 1rem; }
  .podium-place .points { font-size: 1.4rem; }

  .ranking-table-wrapper { max-height: 420px; margin-top: 1.25rem; }
  .ranking-table th,
  .ranking-table td { padding: 0.9rem 1rem; font-size: 0.82rem; }
  .ranking-table th:nth-child(3),
  .ranking-table td:nth-child(3) { display: none; } /* watchtime */
  .user-avatar { width: 28px; height: 28px; }
  .user-cell { gap: 0.6rem; }

  /* TIENDA */
  .tienda { padding: 2.5rem 0; }
  .tienda-header { padding: 1.75rem 1rem; border-radius: 10px; margin-bottom: 1.5rem; }
  .tienda-title-group { gap: 0.85rem; flex-wrap: wrap; }
  .tienda-icon { width: 36px; height: 36px; }
  .shop-grid { gap: 1.25rem; }
  .card-premium { flex-direction: column; min-height: auto; }
  .card-content { padding: 1.5rem; gap: 0.7rem; }
  .card-title { font-size: 1.2rem; }
  .card-description { -webkit-line-clamp: 3; font-size: 0.87rem; }
  .card-image {
    width: 100%; min-height: 160px;
    border-left: none; border-top: 1px solid rgba(255,255,255,0.05);
    padding: 1.25rem;
  }
  .card-image img, .card-image svg { max-width: 110px; max-height: 110px; }
  .card-stock { top: 0.6rem; right: 0.6rem; font-size: 0.65rem; }
  .btn-premium { padding: 0.85rem 1rem; font-size: 0.88rem; }
  .card-price .price-amount { font-size: 1.3rem; }

  /* FOOTER */
  .footer { margin-top: 3rem; padding: 2rem 0; }
  .footer-content { grid-template-columns: 1fr; gap: 1.75rem; }
  .footer-section ul { gap: 0.75rem; }
  .footer-bottom { font-size: 0.82rem; padding-top: 1.25rem; }
}

/* ============================================================
   BREAKPOINT sm — 480px
   ============================================================ */
@media (max-width: 480px) {
  .container { padding: 0 0.75rem; }

  /* NAVBAR */
  .logo-text h1 { font-size: 0.95rem; letter-spacing: 1px; }
  .logo img { width: 38px; height: 38px; }
  .logo-text span { font-size: 0.6rem; }
  .btn-connect { padding: 0.5rem 0.85rem; font-size: 0.75rem; letter-spacing: 0; }

  /* HERO */
  .hero { padding: 2rem 0.75rem; }
  .hero-logo { width: 68px; height: 68px; }
  .hero-heading { gap: 0.75rem; }
  .hero-content h2 { font-size: clamp(1.35rem, 7vw, 2rem); }

  /* STATS */
  .stats-grid { gap: 0.65rem; }
  .stat-card { padding: 1rem 0.7rem; }
  .stat-number { font-size: 1.6rem; }
  .stat-label { font-size: 0.72rem; }
  .stat-icon { font-size: 1.5rem; }

  /* RANKING */
  .ranking-table th,
  .ranking-table td { padding: 0.75rem 0.65rem; font-size: 0.73rem; }
  /* Ocultar racha en sm */
  .ranking-table th:nth-child(5),
  .ranking-table td:nth-child(5) { display: none; }
  .rank-number { font-size: 1rem; }

  /* TIENDA */
  .section-title { font-size: 1.5rem !important; }
  .card-content { padding: 1.2rem; }
  .card-title { font-size: 1.05rem; }
  .card-price .price-amount { font-size: 1.15rem; }
  .card-image { min-height: 140px; padding: 1rem; }
  .card-image img, .card-image svg { max-width: 90px; max-height: 90px; }
  .btn-premium { font-size: 0.82rem; padding: 0.8rem; }

  /* NOTICE */
  .notice-emote { width: 42px; height: 42px; }
  .notice-kek   { width: 42px; height: 42px; }
  .notice-gif   { width: 42px; height: 42px; }
  .notice-text  { font-size: 0.88rem; }
  .notice-subtext { font-size: 0.78rem; }
}

/* ============================================================
   BREAKPOINT xs — 380px
   ============================================================ */
@media (max-width: 380px) {
  .container { padding: 0 0.6rem; }

  .logo-text h1 { font-size: 0.82rem; }
  .logo-text span { display: none; }
  .logo img { width: 32px; height: 32px; }

  .hero { padding: 1.75rem 0.6rem; }
  .hero-logo { width: 54px; height: 54px; }
  .hero-content h2 { font-size: 1.25rem; }

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

  .section-title { font-size: 1.2rem !important; }

  .podium-place { padding: 1.25rem 0.85rem; }
  .podium-place .name { font-size: 0.88rem; }
  .podium-place .points { font-size: 1.1rem; }

  .ranking-table th,
  .ranking-table td { padding: 0.6rem 0.5rem; font-size: 0.68rem; }

  .card-content { padding: 1rem; }
  .card-title { font-size: 0.95rem; }
  .btn-premium { font-size: 0.78rem; padding: 0.7rem; }

  .notice-box { flex-direction: column; }
  .notice-emote, .notice-kek, .notice-gif { width: 36px; height: 36px; }

  .footer-content { gap: 1.25rem; }
  .footer-brand h3 { font-size: 1.1rem; }
}

/* ============================================================
   TOUCH / HOVER ADAPTATIONS
   ============================================================ */
@media (hover: none) {
  /* Eliminar estados hover stuck en touch */
  .stat-card:hover,
  .podium-place:hover,
  .card-premium:hover,
  .ranking-table tbody tr:hover {
    transform: none !important;
    box-shadow: inherit !important;
    background: inherit !important;
    border-color: inherit !important;
    outline: none !important;
  }
  .btn:hover, .btn-connect:hover { transform: none !important; box-shadow: inherit !important; }
  .btn-premium:hover { transform: none !important; }

  /* Feedback táctil con :active en vez de :hover */
  .btn:active,
  .btn-connect:active { transform: translate(1px, 1px) !important; }
  .btn-premium:active { opacity: 0.82 !important; }
  .card-premium:active { transform: translate(-1px, -1px) !important; }
  .stat-card:active { transform: translateY(-2px) !important; }
}

/* ============================================================
   ACCESIBILIDAD
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .hero-logo { animation: none !important; }
  .notice-kek { animation: none !important; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   SCROLLBAR MOBILE — más delgada
   ============================================================ */
@media (max-width: 768px) {
  ::-webkit-scrollbar { width: 6px; }
  .ranking-table-wrapper::-webkit-scrollbar { width: 6px; }
  ::-webkit-scrollbar-thumb { border-width: 1px; }
}

/* ============================= */
/* RESPONSIVE UNIVERSAL SYSTEM   */
/* ============================= */

/* Imágenes y videos adaptables */
img,
video {
    max-width: 100%;
    height: auto;
}

/* Contenedores flexibles */
.container,
.wrapper,
.content {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Grids auto-adaptables */
.grid,
.cards,
.row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

/* Botones adaptables */
button,
.btn,
.btn-premium {
    width: auto;
    max-width: 100%;
}

/* ============================= */
/* TABLET */
/* ============================= */
@media (max-width: 1024px) {

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.6rem;
    }

    .grid,
    .cards,
    .row {
        gap: 16px;
    }

}

/* ============================= */
/* MOBILE */
/* ============================= */
@media (max-width: 768px) {

    body {
        padding: 0 15px;
    }

    h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.4rem;
    }

    .grid,
    .cards,
    .row {
        grid-template-columns: 1fr;
    }

    .btn,
    .btn-premium,
    button {
        width: 100%;
    }

}

/* ============================= */
/* MOBILE PEQUEÑO */
/* ============================= */
@media (max-width: 480px) {

    h1 {
        font-size: 1.5rem;
    }

    h2 {
        font-size: 1.2rem;
    }

    body {
        padding: 0 10px;
    }

}