:root {
            --primary-color: #1a3c6e;
            --secondary-color: #d32f2f;
            --accent-color: #ffc107;
            --dark-color: #212529;
            --light-color: #f8f9fa;
            --gray-color: #6c757d;
        }
        body {
            font-family: 'Helvetica Neue', 'Microsoft YaHei', Arial, sans-serif;
            color: var(--dark-color);
            line-height: 1.7;
            overflow-x: hidden;
        }
        h1, h2, h3, h4, h5, h6 {
            font-weight: 700;
            margin-bottom: 1rem;
        }
        .navbar-brand {
            font-weight: 800;
            font-size: 1.8rem;
            background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }
        .nav-link {
            font-weight: 500;
            transition: all 0.3s ease;
        }
        .nav-link:hover {
            color: var(--secondary-color) !important;
            transform: translateY(-2px);
        }
        .hero-section {
            background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1508098682722-e99c43a406b2?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80') no-repeat center center/cover;
            color: white;
            padding: 8rem 0;
            position: relative;
        }
        .hero-section h1 {
            font-size: 3.5rem;
            text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
        }
        @media (max-width: 768px) {
            .hero-section h1 {
                font-size: 2.5rem;
            }
        }
        .section-title {
            position: relative;
            padding-bottom: 15px;
            margin-bottom: 3rem;
            text-align: center;
        }
        .section-title:after {
            content: '';
            position: absolute;
            width: 80px;
            height: 4px;
            background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            border-radius: 2px;
        }
        .card {
            border: none;
            border-radius: 12px;
            overflow: hidden;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            height: 100%;
            box-shadow: 0 5px 15px rgba(0,0,0,0.05);
        }
        .card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 30px rgba(0,0,0,0.1);
        }
        .card-img-top {
            height: 220px;
            object-fit: cover;
        }
        .bg-light-custom {
            background-color: #f8fafc;
        }
        .badge-custom {
            background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
            color: white;
            padding: 0.5em 1em;
            border-radius: 20px;
            font-weight: 600;
        }
        .flink {
            display: inline-block;
            padding: 10px 20px;
            margin: 5px;
            background: var(--light-color);
            border-radius: 8px;
            color: var(--dark-color);
            text-decoration: none;
            transition: all 0.3s ease;
            border: 1px solid #dee2e6;
            font-weight: 500;
        }
        .flink:hover {
            background: var(--primary-color);
            color: white;
            transform: scale(1.05);
            text-decoration: none;
        }
        .friendlink {
            background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
            padding: 4rem 0;
            border-top: 1px solid #dee2e6;
            border-bottom: 1px solid #dee2e6;
        }
        .live-score {
            background: linear-gradient(90deg, #1a3c6e 0%, #2c5282 100%);
            color: white;
            padding: 1.5rem;
            border-radius: 12px;
            margin-bottom: 2rem;
        }
        .live-score h3 i {
            animation: pulse 1.5s infinite;
        }
        @keyframes pulse {
            0% { opacity: 1; }
            50% { opacity: 0.5; }
            100% { opacity: 1; }
        }
        .stats-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 1.5rem;
        }
        .stat-card {
            background: white;
            padding: 1.5rem;
            border-radius: 10px;
            text-align: center;
            box-shadow: 0 5px 15px rgba(0,0,0,0.05);
            border-top: 4px solid var(--primary-color);
        }
        .stat-number {
            font-size: 2.5rem;
            font-weight: 800;
            color: var(--primary-color);
            line-height: 1;
        }
        .analysis-chart {
            width: 100%;
            height: 300px;
            background: linear-gradient(90deg, #f8f9fa 50%, #e9ecef 50%);
            border-radius: 10px;
            margin: 2rem 0;
            position: relative;
            overflow: hidden;
        }
        .chart-bar {
            position: absolute;
            bottom: 0;
            width: 40px;
            background: linear-gradient(to top, var(--primary-color), #2c5282);
            border-radius: 4px 4px 0 0;
        }
        .chart-bar.uruguay {
            left: 30%;
            transform: translateX(-50%);
            height: 70%;
        }
        .chart-bar.spain {
            left: 70%;
            transform: translateX(-50%);
            height: 65%;
        }
        .chart-label {
            position: absolute;
            bottom: -30px;
            left: 50%;
            transform: translateX(-50%);
            font-weight: 600;
            color: var(--dark-color);
        }
        .form-control:focus {
            border-color: var(--primary-color);
            box-shadow: 0 0 0 0.25rem rgba(26, 60, 110, 0.25);
        }
        .btn-primary {
            background: linear-gradient(90deg, var(--primary-color), #2c5282);
            border: none;
            padding: 0.8rem 2rem;
            font-weight: 600;
            transition: all 0.3s ease;
        }
        .btn-primary:hover {
            background: linear-gradient(90deg, #2c5282, var(--primary-color));
            transform: translateY(-3px);
            box-shadow: 0 7px 14px rgba(0,0,0,0.1);
        }
        footer {
            background: var(--dark-color);
            color: white;
            padding: 4rem 0 2rem;
        }
        footer a {
            color: #adb5bd;
            text-decoration: none;
            transition: color 0.3s ease;
        }
        footer a:hover {
            color: white;
            text-decoration: underline;
        }
        .copyright {
            border-top: 1px solid #495057;
            padding-top: 1.5rem;
            margin-top: 3rem;
            text-align: center;
            color: #adb5bd;
            font-size: 0.9rem;
        }
