@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Inter', sans-serif;
        }

        body {
            background-color: #F6EFE7;
            background-image: 
                radial-gradient(circle at top left, #E1F2ED 0%, transparent 40%),
                radial-gradient(circle at top right, #FBEFE2 0%, transparent 40%);
            min-height: 100vh;
            display: flex;
            justify-content: center;
            align-items: flex-start; /* Mobile friendly start */
            padding: 20px;
        }

        .container {
            width: 100%;
            max-width: 920px;
            position: relative;
            margin-top: 20px;
        }

        /* --- HEADER SECTION --- */
        .header-panel {
            background-color: #232A2B;
            border-radius: 24px;
            padding: 60px 48px 80px 48px; /* Extra bottom padding for nav overlap */
            margin-bottom: -40px; /* Pulls the grid up */
            color: #ffffff;
            box-shadow: 0 20px 40px rgba(0,0,0,0.08);
        }

        .header-overline {
            font-size: 10px;
            font-weight: 700;
            letter-spacing: 1.5px;
            text-transform: uppercase;
            color: #A0AAB2;
            margin-bottom: 16px;
            display: block;
        }

        .header-panel h1 {
            font-size: 40px;
            font-weight: 700;
            line-height: 1.1;
            letter-spacing: -1px;
            margin-bottom: 16px;
            max-width: 650px;
        }

        .header-panel p {
            font-size: 14px;
            color: #A0AAB2;
            font-weight: 400;
            line-height: 1.5;
        }

        /* --- FLOATING NAVIGATION --- */
        .floating-nav {
            position: sticky; /* Sticky is better for mobile scrolling */
            top: 20px;
            width: 100%;
            height: 64px;
            background: rgba(248, 246, 240, 0.7);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0 24px;
            z-index: 100;
            border-radius: 32px;
            margin-bottom: 20px;
            border: 1px solid rgba(255,255,255,0.3);
        }

        .nav-logo {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .nav-logo-icon {
            width: 32px;
            height: 32px;
            background: #11816A;
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-weight: 700;
            font-size: 14px;
        }

        .nav-logo-text {
            font-weight: 700;
            font-size: 14px;
            color: #111;
        }

        .nav-links {
            display: flex;
            gap: 4px;
        }

        .nav-links a {
            text-decoration: none;
            color: #6B7280;
            font-size: 13px;
            font-weight: 500;
            padding: 8px 14px;
            border-radius: 20px;
        }

        .nav-links a.active {
            background: #DCEBE5;
            color: #157159;
            font-weight: 600;
        }

        /* --- CARDS SECTION --- */
        .cards-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 20px;
            position: relative;
            z-index: 1;
        }

        .card {
            background-color: #F8F6F0;
            border-radius: 24px;
            padding: 32px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.03);
        }

        .card-overline {
            font-size: 10px;
            font-weight: 700;
            letter-spacing: 1.5px;
            text-transform: uppercase;
            color: #2D7D68;
            margin-bottom: 12px;
            display: block;
        }

        .card h2 {
            font-size: 24px;
            font-weight: 700;
            color: #1A1D1F;
            margin-bottom: 24px;
        }

        /* --- LIST ITEMS --- */
        .list-container {
            display: flex;
            flex-direction: column;
            gap: 12px;
        }

        .list-item, .badge-item {
            background: #ffffff;
            border-radius: 16px;
            padding: 16px;
            box-shadow: 0 4px 12px rgba(0,0,0,0.02);
            display: flex;
            align-items: center;
            gap: 16px;
        }

        .avatar {
            width: 44px;
            height: 44px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 700;
            font-size: 14px;
            flex-shrink: 0;
        }

        .avatar.gold { background: #FFD700; color: #000; }
        .avatar.ha { background: #232A2B; color: #fff; }
        .avatar.sn { background: #F97316; color: #fff; }

        .item-details { flex-grow: 1; }

        .item-header {
            display: flex;
            justify-content: space-between;
            margin-bottom: 4px;
        }

        .name { font-size: 14px; font-weight: 700; color: #111; }
        .score { font-size: 14px; font-weight: 700; color: #111; }

        .item-meta {
            display: flex;
            justify-content: space-between;
        }

        .item-meta span { font-size: 12px; color: #8C9598; }

        /* Badge Specifics */
        .badge-item {
            flex-direction: column;
            align-items: flex-start;
            padding: 20px 16px;
        }

        .badge-name { font-size: 14px; font-weight: 700; color: #111; margin-bottom: 4px; }
        .badge-desc { font-size: 12px; color: #8C9598; margin-bottom: 16px; }

        .progress-bar {
            height: 6px;
            background: #F1F0EC;
            border-radius: 3px;
            width: 100%;
            overflow: hidden;
        }

        .progress-fill {
            height: 100%;
            background: linear-gradient(90deg, #D97706 0%, #059669 100%);
        }

        /* --- RESPONSIVE QUERIES --- */
        @media (max-width: 768px) {
            .header-panel {
                padding: 40px 24px 60px 24px;
            }
            .header-panel h1 {
                font-size: 28px;
            }
            .cards-grid {
                grid-template-columns: 1fr;
            }
            .nav-links a {
                padding: 8px 10px;
                font-size: 12px;
            }
            .nav-logo-text {
                display: none; /* Hide text on small mobiles to save space */
            }
        }