:root {
            --primary-dark: #0a2e5c;
            --primary: #1e4a8a;
            --accent: #e63946;
            --light-bg: #f8f9fa;
            --dark-text: #212529;
            --transition: all 0.3s ease;
        }
        body {
            font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
            color: var(--dark-text);
            line-height: 1.7;
        }
        .navbar {
            background-color: rgba(10, 46, 92, 0.95);
            backdrop-filter: blur(10px);
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
            transition: var(--transition);
        }
        .navbar-brand {
            font-weight: 700;
            font-size: 1.5rem;
            color: white !important;
        }
        .nav-link {
            color: rgba(255, 255, 255, 0.9) !important;
            font-weight: 500;
            margin: 0 5px;
            padding: 8px 16px !important;
            border-radius: 4px;
            transition: var(--transition);
        }
        .nav-link:hover, .nav-link.active {
            color: white !important;
            background-color: rgba(255, 255, 255, 0.15);
            transform: translateY(-2px);
        }
        .hero-section {
            background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
            color: white;
            padding: 100px 0;
            position: relative;
            overflow: hidden;
        }
        .hero-section::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMDAgMTAwIj48cGF0aCBkPSJNMCA1MEg1MEwwIDB6TTUwIDEwMEgxMDBWNTAuMDAxSDUwVjEwMHpNNTAgNTBIMTAwVjBINTBWNTAiIGZpbGw9IiNmZmZmZmYiIGZpbGwtb3BhY2l0eT0iMC4wMyIvPjwvc3ZnPg==');
        }
        .hero-title {
            font-size: 3.5rem;
            font-weight: 800;
            margin-bottom: 1.5rem;
            text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
        }
        @media (max-width: 768px) {
            .hero-title {
                font-size: 2.5rem;
            }
        }
        .section-title {
            color: var(--primary-dark);
            font-weight: 700;
            position: relative;
            padding-bottom: 15px;
            margin-bottom: 40px;
        }
        .section-title::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 60px;
            height: 4px;
            background-color: var(--accent);
            border-radius: 2px;
        }
        .text-center .section-title::after {
            left: 50%;
            transform: translateX(-50%);
        }
        .card {
            border: none;
            border-radius: 12px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
            transition: var(--transition);
            height: 100%;
            overflow: hidden;
        }
        .card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
        }
        .card-img-top {
            height: 200px;
            object-fit: cover;
        }
        .card-title {
            color: var(--primary);
            font-weight: 700;
        }
        .btn-primary {
            background-color: var(--accent);
            border-color: var(--accent);
            padding: 10px 28px;
            font-weight: 600;
            border-radius: 8px;
            transition: var(--transition);
        }
        .btn-primary:hover {
            background-color: #c1121f;
            border-color: #c1121f;
            transform: translateY(-3px);
            box-shadow: 0 8px 20px rgba(230, 57, 70, 0.3);
        }
        .live-badge {
            background-color: #dc3545;
            color: white;
            padding: 4px 12px;
            border-radius: 20px;
            font-size: 0.8rem;
            font-weight: 600;
            animation: pulse 2s infinite;
        }
        @keyframes pulse {
            0% { opacity: 1; }
            50% { opacity: 0.7; }
            100% { opacity: 1; }
        }
        .data-table {
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
        }
        .table thead th {
            background-color: var(--primary-dark);
            color: white;
            border: none;
            padding: 15px 20px;
        }
        .table tbody tr {
            transition: var(--transition);
        }
        .table tbody tr:hover {
            background-color: rgba(30, 74, 138, 0.05);
        }
        .flink {
            display: inline-block;
            background-color: white;
            padding: 12px 25px;
            margin: 8px;
            border-radius: 8px;
            color: var(--primary);
            text-decoration: none;
            font-weight: 500;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
            transition: var(--transition);
            border: 1px solid #e9ecef;
        }
        .flink:hover {
            color: var(--accent);
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
            text-decoration: none;
        }
        footer {
            background-color: #1a1a2e;
            color: #adb5bd;
        }
        footer a {
            color: #dee2e6;
            text-decoration: none;
            transition: var(--transition);
        }
        footer a:hover {
            color: white;
            text-decoration: underline;
        }
        .footer-bottom {
            border-top: 1px solid #2d3047;
            padding-top: 20px;
        }
        .analysis-box {
            background: linear-gradient(145deg, #ffffff, #f0f2f5);
            border-left: 5px solid var(--accent);
            padding: 25px;
            border-radius: 0 10px 10px 0;
            margin: 30px 0;
        }
        .prediction-card {
            border: 2px solid var(--primary);
            border-radius: 12px;
            padding: 25px;
            background-color: white;
            position: relative;
        }
        .prediction-card .confidence {
            position: absolute;
            top: -15px;
            right: 20px;
            background-color: var(--accent);
            color: white;
            padding: 5px 15px;
            border-radius: 20px;
            font-weight: 600;
        }
        .sticky-sidebar {
            position: sticky;
            top: 100px;
        }
        .form-control, .form-select {
            border-radius: 8px;
            padding: 12px 18px;
            border: 1px solid #ced4da;
            transition: var(--transition);
        }
        .form-control:focus, .form-select:focus {
            border-color: var(--primary);
            box-shadow: 0 0 0 0.25rem rgba(30, 74, 138, 0.25);
        }
