:root {
            --primary: #0033A0;
            --secondary: #CC0000;
            --accent: #FFCC00;
            --light: #F5F7FA;
            --dark: #1A1A2E;
            --text: #333333;
            --gray: #6c757d;
        }
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        html {
            scroll-behavior: smooth;
        }
        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            line-height: 1.7;
            color: var(--text);
            background-color: var(--light);
            overflow-x: hidden;
        }
        a {
            color: var(--primary);
            text-decoration: none;
            transition: all 0.3s ease;
        }
        a:hover {
            color: var(--secondary);
            text-decoration: underline;
        }
        .container {
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }
        .btn {
            display: inline-block;
            padding: 12px 28px;
            background: linear-gradient(to right, var(--primary), var(--secondary));
            color: white;
            border-radius: 50px;
            font-weight: 600;
            border: none;
            cursor: pointer;
            transition: transform 0.3s, box-shadow 0.3s;
        }
        .btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 10px 20px rgba(0,0,0,0.2);
            text-decoration: none;
            color: white;
        }
        header {
            background-color: white;
            box-shadow: 0 2px 15px rgba(0,0,0,0.08);
            position: sticky;
            top: 0;
            z-index: 1000;
        }
        .header-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 15px 20px;
        }
        .my-logo {
            font-size: 2.2rem;
            font-weight: 900;
            background: linear-gradient(to right, var(--primary), var(--secondary));
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
            letter-spacing: -1px;
        }
        .my-logo:hover {
            text-decoration: none;
        }
        .main-nav {
            display: flex;
            gap: 30px;
        }
        .main-nav a {
            font-weight: 600;
            font-size: 1.05rem;
            position: relative;
        }
        .main-nav a::after {
            content: '';
            position: absolute;
            width: 0;
            height: 3px;
            bottom: -5px;
            left: 0;
            background-color: var(--accent);
            transition: width 0.3s;
        }
        .main-nav a:hover::after {
            width: 100%;
        }
        .hamburger {
            display: none;
            font-size: 1.8rem;
            cursor: pointer;
            color: var(--primary);
        }
        .breadcrumb {
            padding: 15px 20px;
            background-color: #f8f9fa;
            border-bottom: 1px solid #dee2e6;
            font-size: 0.95rem;
        }
        .breadcrumb a {
            color: var(--gray);
        }
        .breadcrumb span {
            color: var(--dark);
            font-weight: 500;
        }
        @media (max-width: 992px) {
            .main-nav {
                position: fixed;
                top: 80px;
                left: -100%;
                width: 280px;
                height: calc(100vh - 80px);
                background-color: white;
                flex-direction: column;
                padding: 30px;
                box-shadow: 5px 0 15px rgba(0,0,0,0.1);
                transition: left 0.4s ease;
                gap: 20px;
                overflow-y: auto;
            }
            .main-nav.active {
                left: 0;
            }
            .hamburger {
                display: block;
            }
        }
        .hero {
            background: linear-gradient(rgba(0, 33, 100, 0.85), rgba(204, 0, 0, 0.8)), url('https://images.unsplash.com/photo-1550745165-9bc0b252726f?ixlib=rb-4.0.3&auto=format&fit=crop&w=1200&q=80');
            background-size: cover;
            background-position: center;
            color: white;
            padding: 100px 20px;
            text-align: center;
            border-bottom: 8px solid var(--accent);
        }
        .hero h1 {
            font-size: 3.5rem;
            margin-bottom: 25px;
            text-shadow: 2px 2px 5px rgba(0,0,0,0.5);
        }
        .hero p {
            font-size: 1.3rem;
            max-width: 800px;
            margin: 0 auto 35px;
            opacity: 0.95;
        }
        main {
            display: grid;
            grid-template-columns: 1fr 300px;
            gap: 40px;
            padding: 40px 20px;
            background-color: white;
        }
        .article-content {
            max-width: 100%;
        }
        .sidebar {
            background-color: #f8f9fa;
            padding: 25px;
            border-radius: 12px;
            align-self: start;
            position: sticky;
            top: 120px;
        }
        .sidebar h3 {
            color: var(--primary);
            border-bottom: 3px solid var(--accent);
            padding-bottom: 10px;
            margin-bottom: 20px;
        }
        @media (max-width: 768px) {
            main {
                grid-template-columns: 1fr;
            }
            .sidebar {
                position: static;
            }
            .hero h1 {
                font-size: 2.5rem;
            }
        }
        h1, h2, h3, h4 {
            color: var(--dark);
            margin-top: 1.8em;
            margin-bottom: 0.8em;
            line-height: 1.3;
        }
        h1 {
            font-size: 2.8rem;
        }
        h2 {
            font-size: 2.2rem;
            color: var(--primary);
            border-left: 5px solid var(--accent);
            padding-left: 15px;
        }
        h3 {
            font-size: 1.8rem;
            color: var(--secondary);
        }
        h4 {
            font-size: 1.4rem;
            color: var(--dark);
        }
        p {
            margin-bottom: 1.5em;
            font-size: 1.1rem;
        }
        .lead {
            font-size: 1.25rem;
            font-weight: 500;
            color: var(--primary);
            background-color: #f0f5ff;
            padding: 20px;
            border-radius: 10px;
            border-left: 4px solid var(--accent);
        }
        .highlight {
            background-color: #fff8e1;
            padding: 2px 5px;
            border-radius: 3px;
            font-weight: 600;
        }
        .content-img {
            width: 100%;
            max-width: 800px;
            height: auto;
            border-radius: 12px;
            margin: 30px auto;
            display: block;
            box-shadow: 0 8px 25px rgba(0,0,0,0.1);
            border: 5px solid white;
            transition: transform 0.5s;
        }
        .content-img:hover {
            transform: scale(1.02);
        }
        .figure-caption {
            text-align: center;
            font-style: italic;
            color: var(--gray);
            margin-top: -20px;
            margin-bottom: 30px;
            font-size: 0.95rem;
        }
        ul, ol {
            margin-left: 25px;
            margin-bottom: 1.5em;
        }
        li {
            margin-bottom: 0.7em;
        }
        blockquote {
            border-left: 5px solid var(--accent);
            padding: 25px;
            background-color: #f9f9f9;
            margin: 30px 0;
            font-style: italic;
            color: #555;
            border-radius: 0 10px 10px 0;
        }
        .feature-box {
            background: linear-gradient(135deg, #f5f7fa 0%, #e4edf5 100%);
            padding: 30px;
            border-radius: 15px;
            margin: 40px 0;
            border: 1px solid #d1e3ff;
        }
        .search-form, .comment-form, .rating-form {
            display: flex;
            flex-wrap: wrap;
            gap: 15px;
            margin-top: 20px;
        }
        .form-group {
            flex: 1;
            min-width: 200px;
        }
        .form-group label {
            display: block;
            margin-bottom: 8px;
            font-weight: 600;
            color: var(--dark);
        }
        input, select, textarea {
            width: 100%;
            padding: 14px;
            border: 2px solid #ddd;
            border-radius: 8px;
            font-size: 1rem;
            transition: border 0.3s;
        }
        input:focus, select:focus, textarea:focus {
            border-color: var(--primary);
            outline: none;
        }
        .stars {
            display: flex;
            gap: 10px;
            margin: 15px 0;
            font-size: 1.8rem;
            color: #FFCC00;
            cursor: pointer;
        }
        .stars i:hover {
            transform: scale(1.2);
        }
        .last-updated {
            background-color: #e7f4e4;
            padding: 15px;
            border-radius: 8px;
            margin: 30px 0;
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: 0.95rem;
        }
        .last-updated i {
            color: #28a745;
            font-size: 1.2rem;
        }
        footer {
            background-color: var(--dark);
            color: white;
            padding: 60px 20px 30px;
            margin-top: 60px;
        }
        .footer-container {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 40px;
            max-width: 1200px;
            margin: 0 auto;
        }
        .footer-section h4 {
            color: white;
            border-bottom: 2px solid var(--accent);
            padding-bottom: 15px;
            margin-bottom: 25px;
        }
        .footer-links a {
            display: block;
            color: #ccc;
            margin-bottom: 12px;
        }
        .footer-links a:hover {
            color: var(--accent);
            padding-left: 5px;
        }
        friend-link {
            display: inline-block;
            background-color: rgba(255,255,255,0.1);
            padding: 10px 20px;
            border-radius: 6px;
            margin: 5px;
            color: #FFCC00;
        }
        friend-link a {
            color: inherit;
        }
        .copyright {
            text-align: center;
            margin-top: 50px;
            padding-top: 25px;
            border-top: 1px solid rgba(255,255,255,0.1);
            color: #aaa;
            font-size: 0.9rem;
        }
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(20px); }
            to { opacity: 1; transform: translateY(0); }
        }
        .fade-in {
            animation: fadeIn 0.8s ease-out forwards;
        }
