
        @import url('https://fonts.googleapis.com/css2?family=Amiri:ital,wght@0,400;0,700;1,400;1,700&display=swap');
        @import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@400;500;700&display=swap');

        :root {
            --primary: gold;
            --primary-dark: #1e40af;
            --secondary: #10b981;
            --dark: white;
            --light: #f8fafc;
            --gray: #94a3b8;
            --gradient: linear-gradient(135deg, #323232, #2a2926b9);
            --shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
            --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            background: url(/pluto/images/index/IMG_20250429_092836_344-pica_2.png) fixed no-repeat;
            background-position: center;
            background-size: cover;
            color: var(--dark);
            min-height: 100vh;
            font-family: 'Tajawal', sans-serif;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
            margin-top: 40px;
        }

        /* Header Section */
        .section_header {
            background: var(--gradient);
            color: white;
            padding: 120px 0 80px;
            clip-path: ellipse(100% 100% at 50% 0%);
            position: relative;
            overflow: hidden;
            margin-bottom: 40px;
        }

        .section_header::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.1)" d="M0,192L48,197.3C96,203,192,213,288,229.3C384,245,480,267,576,250.7C672,235,768,181,864,181.3C960,181,1056,235,1152,234.7C1248,235,1344,181,1392,154.7L1440,128L1440,0L1392,0C1344,0,1248,0,1152,0C1056,0,960,0,864,0C768,0,672,0,576,0C480,0,384,0,288,0C192,0,96,0,48,0L0,0Z"></path></svg>') no-repeat;
            background-size: cover;
            background-position: bottom;
            opacity: 0.5;
        }

        .header-content {
            position: relative;
            z-index: 1;
            text-align: center;
            max-width: 800px;
            margin: 0 auto;
        }

        .header-content h1 {
            font-size: 3rem;
            margin-bottom: 20px;
            line-height: 1.2;
            animation: fadeInDown 1s ease;
            color: gold;
        }

        .header-content p {
            font-size: 1.2rem;
            opacity: 0.9;
            margin-bottom: 30px;
            animation: fadeIn 1.5s ease;
        }

        /* Battle Arena Section */
        .battle-arena-section {
            padding: 60px 0;
            background-color: rgba(80, 76, 76, 0.453);
            backdrop-filter: blur(10px);
            min-height: 60vh;
        }

        .section-title {
            text-align: center;
            margin-bottom: 50px;
            color: gold;
        }

        .section-title h2 {
            font-size: 2.2rem;
            color: gold;
            margin-bottom: 15px;
            position: relative;
            display: inline-block;
        }

        .section-title h2::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 4px;
            background: linear-gradient(135deg, #2563eb, #10b981);
            border-radius: 2px;
        }

        .section-title p {
            color: white;
            max-width: 600px;
            margin: 0 auto;
        }

        /* Leaderboard Table - Desktop */
        .leaderboard-table {
            background: rgba(38, 38, 38, 0.8);
            backdrop-filter: blur(10px);
            border-radius: 15px;
            overflow: hidden;
            box-shadow: var(--shadow);
            margin-bottom: 40px;
        }

        .table-header {
            background: linear-gradient(135deg, #d4af37, #ffd700);
            color: #000;
            padding: 20px;
            display: grid;
            grid-template-columns: 1fr 2fr 2fr 2fr 2fr;
            gap: 15px;
            font-weight: bold;
            text-align: center;
        }

        .table-row {
            display: grid;
            grid-template-columns: 1fr 2fr 2fr 2fr 2fr;
            gap: 15px;
            padding: 20px;
            border-bottom: 1px solid rgba(255,255,255,0.1);
            align-items: center;
            text-align: center;
            transition: var(--transition);
        }

        .table-row:hover {
            background: rgba(255,255,255,0.1);
        }

        .table-row:last-child {
            border-bottom: none;
        }

        .rank {
            font-size: 1.5rem;
            font-weight: bold;
            color: gold;
        }

        .user-info {
            display: flex;
            align-items: center;
            gap: 15px;
            text-align: right;
        }

        .user-avatar {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            object-fit: cover;
            border: 2px solid gold;
        }

        .default-avatar {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 1.5rem;
            border: 2px solid gold;
        }

        .user-name {
            font-weight: bold;
            color: white;
        }

        .level-info {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 8px;
        }

        .level-img {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            object-fit: cover;
            border: 2px solid #10b981;
        }

        .level-name {
            font-size: 0.9rem;
            color: #10b981;
            font-weight: bold;
        }

        .stats {
            display: flex;
            flex-direction: column;
            gap: 5px;
        }

        .stat-item {
            display: flex;
            justify-content: space-between;
            padding: 5px 0;
        }

        .stat-label {
            color: var(--gray);
        }

        .stat-value {
            color: white;
            font-weight: bold;
        }

        .earnings {
            font-size: 1.3rem;
            font-weight: bold;
            color: gold;
        }

        /* Mobile Cards - for screens below 775px */
        .mobile-leaderboard {
            display: none;
        }

        .affiliate-card {
            background: rgba(38, 38, 38, 0.8);
            backdrop-filter: blur(10px);
            border-radius: 15px;
            padding: 20px;
            margin-bottom: 15px;
            border-right: 4px solid gold;
            box-shadow: var(--shadow);
        }

        .card-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 15px;
            padding-bottom: 15px;
            border-bottom: 1px solid rgba(255,255,255,0.1);
        }

        .card-rank {
            font-size: 1.8rem;
            font-weight: bold;
            color: gold;
            min-width: 50px;
            text-align: center;
        }

        .card-user {
            display: flex;
            align-items: center;
            gap: 12px;
            flex: 1;
        }

        .card-avatar {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            object-fit: cover;
            border: 2px solid gold;
        }

        .card-default-avatar {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 1.2rem;
            border: 2px solid gold;
        }

        .card-user-info {
            flex: 1;
        }

        .card-user-name {
            font-weight: bold;
            color: white;
            font-size: 1.1rem;
            margin-bottom: 5px;
        }

        .card-aff-name {
            color: var(--gray);
            font-size: 0.9rem;
        }

        .card-level {
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .card-level-img {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            object-fit: cover;
            border: 2px solid #10b981;
        }

        .card-level-name {
            color: #10b981;
            font-weight: bold;
            font-size: 0.9rem;
        }

        .card-stats {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 15px;
            margin-bottom: 15px;
        }

        .card-stat {
            background: rgba(255,255,255,0.1);
            padding: 12px;
            border-radius: 10px;
            text-align: center;
        }

        .card-stat-value {
            font-size: 1.3rem;
            font-weight: bold;
            color: gold;
            display: block;
        }

        .card-stat-label {
            font-size: 0.8rem;
            color: var(--gray);
            margin-top: 5px;
        }

        .card-earnings {
            background: linear-gradient(135deg, rgba(212, 175, 55, 0.2), rgba(255, 215, 0, 0.2));
            padding: 15px;
            border-radius: 10px;
            text-align: center;
            border: 1px solid gold;
        }

        .card-earnings-label {
            font-size: 0.9rem;
            color: var(--gray);
            margin-bottom: 5px;
        }

        .card-earnings-value {
            font-size: 1.5rem;
            font-weight: bold;
            color: gold;
        }

        /* Motivational Section */
        .motivational-section {
            background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(255, 215, 0, 0.1));
            border: 2px solid gold;
            border-radius: 20px;
            padding: 40px;
            text-align: center;
            margin-top: 50px;
            backdrop-filter: blur(10px);
        }

        .motivational-icon {
            font-size: 4rem;
            color: gold;
            margin-bottom: 20px;
        }

        .motivational-title {
            font-size: 2rem;
            color: gold;
            margin-bottom: 20px;
            font-weight: bold;
        }

        .motivational-text {
            font-size: 1.2rem;
            color: white;
            margin-bottom: 30px;
            line-height: 1.6;
        }

        .btn-battle {
            display: inline-block;
            background: linear-gradient(135deg, #d4af37, #ffd700);
            color: #000;
            padding: 15px 40px;
            border-radius: 50px;
            text-decoration: none;
            font-weight: bold;
            font-size: 1.2rem;
            transition: var(--transition);
            border: 2px solid gold;
            box-shadow: var(--shadow);
        }

        .btn-battle:hover {
            background: transparent;
            color: gold;
            transform: translateY(-3px);
        }

        .no-data {
            text-align: center;
            padding: 60px 20px;
            color: var(--gray);
            font-size: 1.2rem;
        }

        .no-data i {
            font-size: 3rem;
            margin-bottom: 20px;
            color: var(--gray);
        }

        /* Responsive Design */
        @media (max-width: 775px) {
            .leaderboard-table {
                display: none;
            }
            
            .mobile-leaderboard {
                display: block;
            }
            
            .header-content h1 {
                font-size: 2.2rem;
            }
            
            .section-title h2 {
                font-size: 1.8rem;
            }
            
            .motivational-section {
                padding: 30px 20px;
                margin-top: 30px;
            }
            
            .motivational-title {
                font-size: 1.6rem;
            }
            
            .motivational-text {
                font-size: 1.1rem;
            }
        }

        @media (max-width: 480px) {
            .container {
                padding: 0 15px;
            }
            
            .header-content h1 {
                font-size: 1.8rem;
            }
            
            .section_header {
                padding: 80px 0 50px;
            }
            
            .card-stats {
                grid-template-columns: 1fr;
                gap: 10px;
            }
            
            .card-header {
                flex-direction: column;
                gap: 15px;
                text-align: center;
            }
            
            .card-user {
                justify-content: center;
            }
            
            .motivational-section {
                padding: 25px 15px;
            }
            
            .motivational-title {
                font-size: 1.4rem;
            }
            
            .motivational-text {
                font-size: 1rem;
            }
            
            .btn-battle {
                padding: 12px 30px;
                font-size: 1.1rem;
            }
        }

        @media (max-width: 320px) {
            .container {
                padding: 0 10px;
            }
            
            .affiliate-card {
                padding: 15px;
            }
            
            .card-user {
                flex-direction: column;
                text-align: center;
            }
            
            .card-level {
                justify-content: center;
            }
            
            .motivational-icon {
                font-size: 3rem;
            }
            
            .motivational-title {
                font-size: 1.2rem;
            }
        }

        /* Animations */
        @keyframes fadeInDown {
            from {
                opacity: 0;
                transform: translateY(-30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes fadeIn {
            from {
                opacity: 0;
            }
            to {
                opacity: 1;
            }
        }
