* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
            background: #0f1419;
            min-height: 100vh;
            padding: 20px;
            color: #e8eaed;
            position: relative;
            overflow-x: hidden;
        }

        body::before {
            content: '';
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: radial-gradient(circle at 20% 30%, rgba(45, 85, 120, 0.15) 0%, transparent 50%),
                        radial-gradient(circle at 80% 70%, rgba(30, 60, 90, 0.12) 0%, transparent 50%);
            pointer-events: none;
            z-index: 0;
        }

        .container {
            max-width: 1400px;
            margin: 0 auto;
            position: relative;
            z-index: 1;
        }

        header {
            text-align: center;
            margin-bottom: 40px;
            padding: 20px 0;
        }

        h1 {
            font-size: 2.8em;
            color: #ffffff;
            margin-bottom: 10px;
            font-weight: 700;
            letter-spacing: -0.5px;
        }

        .subtitle {
            font-size: 1.05em;
            color: #9ba3af;
            font-weight: 400;
        }

        .main-content {
            display: grid;
            grid-template-columns: 400px 1fr;
            gap: 24px;
            align-items: start;
        }

        .filters-panel {
            background: #1a1f28;
            border-radius: 12px;
            padding: 24px;
            border: 1px solid #2a3441;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
            position: sticky;
            top: 20px;
            max-height: calc(100vh - 40px);
            overflow-y: auto;
        }

        .filters-panel::-webkit-scrollbar {
            width: 8px;
        }

        .filters-panel::-webkit-scrollbar-track {
            background: #1a1f28;
            border-radius: 4px;
        }

        .filters-panel::-webkit-scrollbar-thumb {
            background: #3a4552;
            border-radius: 4px;
        }

        .filters-panel::-webkit-scrollbar-thumb:hover {
            background: #4a5562;
        }

        .filter-section {
            margin-bottom: 28px;
        }

        .filter-title {
            font-size: 0.8em;
            font-weight: 600;
            margin-bottom: 12px;
            color: #9ba3af;
            text-transform: uppercase;
            letter-spacing: 0.8px;
        }

        .gender-selector {
            display: flex;
            gap: 10px;
            margin-bottom: 12px;
        }

        .gender-btn {
            flex: 1;
            padding: 12px;
            border: 1px solid #2a3441;
            background: #1a1f28;
            color: #e8eaed;
            border-radius: 8px;
            cursor: pointer;
            transition: all 0.2s ease;
            font-weight: 600;
            font-size: 0.95em;
        }

        .gender-btn:hover {
            background: #242a35;
            border-color: #3a4552;
        }

        .gender-btn.active {
            background: #3b82f6;
            border-color: #3b82f6;
            color: #ffffff;
        }

        .continent-group {
            margin-bottom: 14px;
            transition: all 0.3s ease;
        }

        .continent-group.hidden {
            display: none;
        }

        .continent-header {
            background: #242a35;
            padding: 12px 16px;
            border-radius: 8px;
            cursor: pointer;
            display: flex;
            justify-content: space-between;
            align-items: center;
            transition: all 0.2s ease;
            margin-bottom: 8px;
            border: 1px solid transparent;
        }

        .continent-header:hover {
            background: #2a3441;
            border-color: #3a4552;
        }

        .continent-name {
            font-weight: 600;
            color: #e8eaed;
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 0.95em;
        }

        .gender-badge {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 20px;
            height: 20px;
            background: rgba(59, 130, 246, 0.15);
            border-radius: 4px;
            font-size: 0.8em;
            color: #60a5fa;
        }

        .toggle-icon {
            transition: transform 0.3s ease;
            color: #9ba3af;
            font-size: 0.85em;
        }

        .continent-header.collapsed .toggle-icon {
            transform: rotate(-90deg);
        }

        .country-list {
            margin-left: 12px;
            display: none;
        }

        .country-list.expanded {
            display: block;
        }

        .country-item {
            margin: 8px 0;
        }

        .checkbox-label {
            display: flex;
            align-items: center;
            gap: 8px;
            cursor: pointer;
            padding: 8px 12px;
            border-radius: 6px;
            transition: all 0.2s ease;
            background: transparent;
            user-select: none;
        }

        .checkbox-label:hover {
            background: #242a35;
        }

        input[type="checkbox"] {
            width: 18px;
            height: 18px;
            cursor: pointer;
            accent-color: #3b82f6;
        }

        .league-list {
            margin-left: 28px;
            margin-top: 6px;
        }

        .league-item {
            font-size: 0.88em;
            color: #b4bcc8;
            padding: 7px 12px;
            margin: 4px 0;
            border-radius: 6px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            transition: all 0.2s ease;
            background: transparent;
        }

        .league-item:hover {
            background: #242a35;
        }

        .ban-btn {
            padding: 4px 10px;
            background: rgba(239, 68, 68, 0.1);
            border: 1px solid rgba(239, 68, 68, 0.3);
            color: #ef4444;
            border-radius: 5px;
            cursor: pointer;
            font-size: 0.75em;
            transition: all 0.2s ease;
            opacity: 0;
            font-weight: 600;
            white-space: nowrap;
        }

        .league-item:hover .ban-btn {
            opacity: 1;
        }

        .ban-btn:hover {
            background: rgba(239, 68, 68, 0.2);
            border-color: #ef4444;
        }

        .league-item.banned {
            opacity: 0.4;
            text-decoration: line-through;
        }

        .league-item.banned .ban-btn {
            background: rgba(34, 197, 94, 0.1);
            border-color: rgba(34, 197, 94, 0.3);
            color: #22c55e;
            opacity: 1;
        }

        .league-item.banned .ban-btn:hover {
            background: rgba(34, 197, 94, 0.2);
            border-color: #22c55e;
        }

        .result-panel {
            background: #1a1f28;
            border-radius: 12px;
            padding: 48px 32px;
            border: 1px solid #2a3441;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            min-height: 500px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
        }

        .generate-btn {
            background: #3b82f6;
            color: #ffffff;
            border: none;
            padding: 16px 48px;
            font-size: 1.1em;
            font-weight: 600;
            border-radius: 8px;
            cursor: pointer;
            transition: all 0.2s ease;
            box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
            margin-bottom: 32px;
        }

        .generate-btn:hover {
            background: #2563eb;
            transform: translateY(-2px);
            box-shadow: 0 6px 16px rgba(59, 130, 246, 0.4);
        }

        .generate-btn:active {
            transform: translateY(0);
        }

        .result-card {
            background: #242a35;
            border: 1px solid #3a4552;
            border-radius: 12px;
            padding: 32px 40px;
            text-align: center;
            animation: fadeInScale 0.4s ease;
            width: 100%;
            max-width: 480px;
        }

        @keyframes fadeInScale {
            from {
                opacity: 0;
                transform: scale(0.95);
            }
            to {
                opacity: 1;
                transform: scale(1);
            }
        }

        .result-label {
            font-size: 0.85em;
            color: #9ba3af;
            margin-bottom: 8px;
            text-transform: uppercase;
            letter-spacing: 1.5px;
            font-weight: 600;
        }

        .result-value {
            font-size: 2.2em;
            font-weight: 700;
            color: #ffffff;
            margin-bottom: 24px;
            line-height: 1.2;
        }

        .stats-bar {
            display: flex;
            justify-content: center;
            gap: 28px;
            margin-top: 20px;
            padding: 20px 12px;
            background: #1a1f28;
            border-radius: 8px;
            border: 1px solid #2a3441;
            flex-wrap: wrap;
        }

        .stat-item {
            text-align: center;
            min-width: 90px;
        }

        .stat-value {
            font-size: 1.3em;
            font-weight: 700;
            color: #60a5fa;
            margin-bottom: 4px;
        }

        .stat-label {
            font-size: 0.8em;
            color: #9ba3af;
            text-transform: uppercase;
            letter-spacing: 0.8px;
        }

        .quick-actions {
            display: flex;
            gap: 10px;
            margin-bottom: 12px;
        }

        .quick-btn {
            flex: 1;
            padding: 9px;
            background: #242a35;
            border: 1px solid #2a3441;
            color: #e8eaed;
            border-radius: 6px;
            cursor: pointer;
            font-size: 0.85em;
            transition: all 0.2s ease;
            font-weight: 500;
        }

        .quick-btn:hover {
            background: #2a3441;
            border-color: #3a4552;
        }

        @media (max-width: 1200px) {
            .main-content {
                grid-template-columns: 350px 1fr;
            }
        }

        @media (max-width: 1024px) {
            .main-content {
                grid-template-columns: 1fr;
            }

            .filters-panel {
                position: relative;
                top: 0;
                max-height: none;
            }

            h1 {
                font-size: 2.2em;
            }
        }

        @media (max-width: 768px) {
            body {
                padding: 15px;
            }

            h1 {
                font-size: 1.8em;
            }

            .subtitle {
                font-size: 0.95em;
            }

            header {
                margin-bottom: 30px;
            }

            .filters-panel, .result-panel {
                padding: 20px;
            }

            .result-card {
                padding: 24px 28px;
            }

            .result-value {
                font-size: 1.8em;
            }

            .stats-bar {
                gap: 15px;
            }

            .generate-btn {
                padding: 14px 36px;
                font-size: 1em;
            }
        }

        @media (max-width: 480px) {
            h1 {
                font-size: 1.5em;
            }

            .gender-selector {
                flex-direction: column;
            }

            .result-value {
                font-size: 1.5em;
            }

            .stat-value {
                font-size: 1.1em;
            }
        }