:root {
            --primary-color: #1a5fb4;
            --secondary-color: #e63946;
            --accent-color: #2a9d8f;
            --dark-color: #264653;
            --light-color: #f8f9fa;
            --shadow: 0 4px 12px rgba(0,0,0,0.08);
            --transition: all 0.3s ease;
        }
        body {
            font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
            color: #333;
            background-color: #fefefe;
            line-height: 1.7;
        }
        header, footer {
            background: linear-gradient(135deg, var(--dark-color) 0%, var(--primary-color) 100%);
        }
        .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;
            transition: var(--transition);
            margin: 0 5px;
        }
        .nav-link:hover, .nav-link.active {
            color: white !important;
            transform: translateY(-2px);
        }
        .hero-section {
            background: url('https://images.unsplash.com/photo-1551958219-acbc608c6377?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
            padding: 100px 0;
            color: white;
            text-shadow: 1px 1px 4px rgba(0,0,0,0.7);
            position: relative;
        }
        .hero-section::before {
            content: '';
            position: absolute;
            top:0; left:0; width:100%; height:100%;
            background: rgba(0, 40, 85, 0.75);
        }
        .hero-content {
            position: relative;
            z-index: 2;
        }
        .section-title {
            color: var(--dark-color);
            border-left: 5px solid var(--secondary-color);
            padding-left: 15px;
            margin-bottom: 2rem;
            font-weight: 700;
        }
        .card-hover {
            transition: var(--transition);
            border: none;
            box-shadow: var(--shadow);
            height: 100%;
        }
        .card-hover:hover {
            transform: translateY(-8px);
            box-shadow: 0 12px 20px rgba(0,0,0,0.15);
        }
        .live-badge {
            background-color: var(--secondary-color);
            color: white;
            padding: 4px 12px;
            border-radius: 20px;
            font-size: 0.8rem;
            animation: pulse 2s infinite;
        }
        @keyframes pulse {
            0% { opacity: 1; }
            50% { opacity: 0.7; }
            100% { opacity: 1; }
        }
        .data-table th {
            background-color: var(--primary-color);
            color: white;
        }
        .btn-primary-custom {
            background: linear-gradient(to right, var(--primary-color), var(--accent-color));
            border: none;
            padding: 10px 25px;
            border-radius: 30px;
            color: white;
            font-weight: 600;
            transition: var(--transition);
        }
        .btn-primary-custom:hover {
            transform: scale(1.05);
            box-shadow: 0 6px 15px rgba(26, 95, 180, 0.4);
        }
        .friendlink a.flink {
            display: inline-block;
            background-color: #f1f8ff;
            color: var(--primary-color);
            padding: 8px 18px;
            margin: 5px 10px;
            border-radius: 25px;
            text-decoration: none;
            font-weight: 500;
            border: 1px solid #cce5ff;
            transition: var(--transition);
        }
        .friendlink a.flink:hover {
            background-color: var(--primary-color);
            color: white;
            border-color: var(--primary-color);
            transform: translateY(-3px);
        }
        footer a {
            color: #cbd5e0;
            text-decoration: none;
            transition: color 0.3s;
        }
        footer a:hover {
            color: white;
            text-decoration: underline;
        }
        .analysis-box {
            background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
            border-left: 4px solid var(--accent-color);
            padding: 20px;
            border-radius: 0 10px 10px 0;
            margin: 20px 0;
        }
        .sticky-sidebar {
            position: sticky;
            top: 20px;
        }
        @media (max-width: 768px) {
            .hero-section { padding: 60px 0; }
            .display-4 { font-size: 2.2rem; }
            .section-title { font-size: 1.8rem; }
        }
        .img-fluid-rounded {
            border-radius: 10px;
            box-shadow: var(--shadow);
        }
