 * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Poppins', sans-serif;
        }

        body {
            background: #0a0e27;
            color: #fff;
            min-height: 100vh;
        }

        /* HEADER */
        header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 1.5rem 3rem;
            background: rgba(10, 14, 39, 0.8);
            backdrop-filter: blur(20px);
            border-bottom: 2px solid rgba(59, 130, 246, 0.3);
            box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
        }

        .logo {
            font-size: 2rem;
            font-weight: 800;
            background: linear-gradient(135deg, #3b82f6, #ef4444, #a855f7);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        nav {
            display: flex;
            gap: 0.8rem;
        }

        nav a {
            color: rgba(255, 255, 255, 0.85);
            padding: 0.7rem 1.5rem;
            text-decoration: none;
            font-weight: 600;
            border-radius: 12px;
            transition: all 0.3s;
        }

        nav a:hover {
            color: #fff;
            background: rgba(59, 130, 246, 0.2);
            box-shadow: 0 0 20px rgba(59, 130, 246, 0.4);
        }

        nav a.active {
            color: #fff;
            background: linear-gradient(135deg, rgba(59, 130, 246, 0.3), rgba(168, 85, 247, 0.3));
            box-shadow: 0 0 25px rgba(59, 130, 246, 0.5);
        }

        /* CONTAINER */
        .ranking-page {
            max-width: 1400px;
            margin: 0 auto;
            padding: 3rem 2rem;
        }

        /* TÍTULO */
        .page-title {
            margin-bottom: 3rem;
            font-size: 2.5rem;
            color: #fff;
            font-weight: 800;
            display: flex;
            align-items: center;
            gap: 1rem;
        }

        .page-title::before {
            content: '';
            width: 5px;
            height: 50px;
            background: linear-gradient(180deg, #3b82f6, #ef4444);
            border-radius: 10px;
            box-shadow: 0 0 15px rgba(59, 130, 246, 0.8);
        }

        /* ESTADÍSTICAS */
        .stats-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 2rem;
            margin-bottom: 3rem;
        }

        .stat-card {
            background: linear-gradient(135deg, rgba(10, 14, 39, 0.9), rgba(30, 58, 138, 0.3));
            backdrop-filter: blur(10px);
            border-radius: 20px;
            padding: 2rem;
            text-align: center;
            border: 2px solid rgba(59, 130, 246, 0.3);
            transition: all 0.3s;
        }

        .stat-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 15px 40px rgba(59, 130, 246, 0.5);
            border-color: rgba(59, 130, 246, 0.6);
        }

        .stat-icon {
            font-size: 3.5rem;
            margin-bottom: 1rem;
            filter: drop-shadow(0 0 15px rgba(59, 130, 246, 0.6));
        }

        .stat-valor {
            font-size: 3.5rem;
            font-weight: 900;
            background: linear-gradient(135deg, #22d3ee, #a855f7);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            margin-bottom: 0.5rem;
        }

        .stat-etiqueta {
            font-size: 1rem;
            color: rgba(255, 255, 255, 0.8);
            font-weight: 600;
        }

        /* RANKING */
        .ranking-container {
            background: linear-gradient(135deg, rgba(10, 14, 39, 0.9), rgba(30, 58, 138, 0.3));
            backdrop-filter: blur(10px);
            border-radius: 25px;
            padding: 2.5rem;
            border: 2px solid rgba(59, 130, 246, 0.3);
        }

        .ranking-header-top {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 2rem;
            padding-bottom: 1.5rem;
            border-bottom: 2px solid rgba(59, 130, 246, 0.3);
        }

        .ranking-title {
            font-size: 2rem;
            font-weight: 900;
            color: #fff;
            display: flex;
            align-items: center;
            gap: 0.8rem;
        }

        .ranking-info {
            color: rgba(255, 255, 255, 0.7);
            font-weight: 600;
        }

        /* PODIO */
        .podio-container {
            display: flex;
            justify-content: center;
            align-items: flex-end;
            gap: 2rem;
            margin-bottom: 3rem;
        }

        .podio-lugar {
            text-align: center;
            padding: 2rem 1.5rem;
            background: rgba(10, 14, 39, 0.9);
            border-radius: 20px;
            backdrop-filter: blur(10px);
            transition: all 0.4s;
            border: 3px solid;
        }

        .podio-lugar:hover {
            transform: translateY(-10px) scale(1.05);
        }

        .primero {
            order: 2;
            padding: 2.5rem 2rem;
            background: linear-gradient(135deg, rgba(251, 191, 36, 0.2), rgba(245, 158, 11, 0.2));
            border-color: #fbbf24;
            box-shadow: 0 15px 50px rgba(251, 191, 36, 0.5);
        }

        .segundo {
            order: 1;
            background: linear-gradient(135deg, rgba(148, 163, 184, 0.2), rgba(100, 116, 139, 0.2));
            border-color: #94a3b8;
            box-shadow: 0 15px 50px rgba(148, 163, 184, 0.4);
        }

        .tercero {
            order: 3;
            background: linear-gradient(135deg, rgba(251, 146, 60, 0.2), rgba(249, 115, 22, 0.2));
            border-color: #fb923c;
            box-shadow: 0 15px 50px rgba(251, 146, 60, 0.4);
        }

        .podio-avatar {
            width: 80px;
            height: 80px;
            border-radius: 50%;
            margin: 0 auto 1rem;
            overflow: hidden;
            border: 4px solid rgba(59, 130, 246, 0.5);
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
            background: #1e293b;
        }

        .primero .podio-avatar {
            width: 100px;
            height: 100px;
            border-color: #fbbf24;
        }

        .podio-avatar img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .podio-medalla {
            font-size: 4rem;
            margin-bottom: 1rem;
            filter: drop-shadow(0 0 20px rgba(251, 191, 36, 0.6));
        }

        .podio-nombre {
            font-size: 1.3rem;
            font-weight: 800;
            color: #fff;
            margin-bottom: 0.8rem;
        }

        .podio-puntos {
            font-size: 1.8rem;
            color: #22d3ee;
            font-weight: 900;
            text-shadow: 0 0 20px rgba(34, 211, 238, 0.6);
        }

        /* LISTA */
        .ranking-list {
            display: grid;
            gap: 1rem;
        }

        .ranking-item {
            background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(168, 85, 247, 0.1));
            border-radius: 15px;
            padding: 1.2rem 1.5rem;
            display: flex;
            align-items: center;
            gap: 1.5rem;
            transition: all 0.3s;
            border: 2px solid rgba(59, 130, 246, 0.2);
        }

        .ranking-item:hover {
            background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(168, 85, 247, 0.2));
            transform: translateX(10px);
            box-shadow: 0 8px 30px rgba(59, 130, 246, 0.4);
            border-color: rgba(59, 130, 246, 0.5);
        }

        .ranking-posicion {
            font-size: 1.8rem;
            font-weight: 900;
            color: #22d3ee;
            min-width: 50px;
            text-align: center;
        }

        .ranking-avatar {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            border: 3px solid #3b82f6;
            overflow: hidden;
            background: #1e293b;
        }

        .ranking-avatar img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .ranking-nombre {
            flex: 1;
            font-size: 1.2rem;
            font-weight: 700;
            color: #fff;
        }

        .ranking-puntos {
            font-size: 1.4rem;
            font-weight: 900;
            color: #22d3ee;
            min-width: 120px;
            text-align: right;
        }

        /* TU RANKING */
        .tu-ranking-section {
            margin-top: 2rem;
            padding-top: 2rem;
            border-top: 2px solid rgba(59, 130, 246, 0.3);
        }

        .tu-ranking-label {
            text-align: center;
            color: #22d3ee;
            font-weight: 800;
            font-size: 1.2rem;
            margin-bottom: 1rem;
            text-transform: uppercase;
            letter-spacing: 2px;
        }

        .tu-ranking {
            background: linear-gradient(135deg, rgba(251, 191, 36, 0.2), rgba(245, 158, 11, 0.2));
            border-color: #fbbf24;
            box-shadow: 0 10px 40px rgba(251, 191, 36, 0.4);
        }

        .tu-ranking:hover {
            transform: scale(1.02);
        }

        .tu-ranking .ranking-avatar {
            border-color: #fbbf24;
        }

        .tu-ranking .ranking-posicion,
        .tu-ranking .ranking-nombre,
        .tu-ranking .ranking-puntos {
            color: #fbbf24;
        }

        /* RESPONSIVE */
        @media (max-width: 1024px) {
            .stats-grid {
                grid-template-columns: 1fr;
            }

            .podio-container {
                flex-direction: column;
                align-items: center;
            }

            .podio-lugar {
                width: 100%;
                max-width: 300px;
            }

            .primero,
            .segundo,
            .tercero {
                order: 0;
            }
        }

        @media (max-width: 768px) {
            header {
                padding: 1rem 1.5rem;
                flex-direction: column;
                gap: 1rem;
            }

            .logo {
                font-size: 1.5rem;
            }

            nav {
                width: 100%;
                justify-content: center;
                flex-wrap: wrap;
            }

            .ranking-page {
                padding: 2rem 1rem;
            }

            .page-title {
                font-size: 2rem;
            }

            .stat-card {
                padding: 1.5rem;
            }

            .stat-icon {
                font-size: 2.5rem;
            }

            .stat-valor {
                font-size: 2.5rem;
            }

            .ranking-item {
                padding: 1rem;
            }

            .ranking-posicion {
                font-size: 1.3rem;
                min-width: 40px;
            }

            .ranking-avatar {
                width: 50px;
                height: 50px;
            }

            .ranking-nombre {
                font-size: 1rem;
            }

            .ranking-puntos {
                font-size: 1.1rem;
            }
        }