:root {
            --primary: #4a6fa5;
            --secondary: #6d9dc5;
            --accent: #ff7e5f;
            --dark: #2c3e50;
            --light: #f8f9fa;
            --gray: #6c757d;
            --transition: all 0.3s ease;
            --shadow: 0 4px 6px rgba(0,0,0,0.1);
            --radius: 8px;
        }
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            line-height: 1.7;
            color: #333;
            background-color: #f5f7fa;
            font-size: 1.05rem;
        }
        .container {
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }
        header {
            background-color: white;
            box-shadow: var(--shadow);
            position: sticky;
            top: 0;
            z-index: 1000;
        }
        .header-top {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 15px 0;
        }
        .my-logo {
            font-size: 1.8rem;
            font-weight: 800;
            color: var(--primary);
            text-decoration: none;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        .my-logo i {
            color: var(--accent);
        }
        .my-logo:hover {
            color: var(--dark);
        }
        .breadcrumb {
            padding: 10px 0;
            font-size: 0.9rem;
            background-color: #f1f5f9;
            border-bottom: 1px solid #e2e8f0;
        }
        .breadcrumb a {
            color: var(--gray);
            text-decoration: none;
        }
        .breadcrumb a:hover {
            color: var(--primary);
            text-decoration: underline;
        }
        .breadcrumb span {
            color: var(--dark);
            font-weight: 500;
        }
        .nav-desktop {
            display: flex;
            gap: 25px;
        }
        @media (max-width: 768px) {
            .nav-desktop {
                display: none;
            }
        }
        .nav-desktop a {
            color: var(--dark);
            text-decoration: none;
            font-weight: 600;
            padding: 5px 0;
            position: relative;
            transition: var(--transition);
        }
        .nav-desktop a:hover {
            color: var(--accent);
        }
        .nav-desktop a::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0;
            height: 2px;
            background-color: var(--accent);
            transition: var(--transition);
        }
        .nav-desktop a:hover::after {
            width: 100%;
        }
        .hamburger {
            display: none;
            background: none;
            border: none;
            font-size: 1.5rem;
            color: var(--dark);
            cursor: pointer;
        }
        @media (max-width: 768px) {
            .hamburger {
                display: block;
            }
        }
        .mobile-nav {
            position: fixed;
            top: 0;
            right: -300px;
            width: 280px;
            height: 100vh;
            background-color: white;
            box-shadow: -5px 0 15px rgba(0,0,0,0.1);
            padding: 30px 20px;
            transition: var(--transition);
            z-index: 9999;
            overflow-y: auto;
        }
        .mobile-nav.active {
            right: 0;
        }
        .mobile-nav a {
            display: block;
            padding: 12px 15px;
            color: var(--dark);
            text-decoration: none;
            border-bottom: 1px solid #eee;
            font-weight: 600;
        }
        .mobile-nav a:hover {
            color: var(--accent);
            background-color: #f9f9f9;
        }
        .overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0,0,0,0.5);
            z-index: 999;
        }
        .overlay.active {
            display: block;
        }
        .search-container {
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            padding: 40px 0;
            margin-bottom: 40px;
            border-radius: var(--radius);
            text-align: center;
        }
        .search-container h2 {
            color: white;
            margin-bottom: 20px;
            font-size: 1.8rem;
        }
        .search-form {
            max-width: 600px;
            margin: 0 auto;
            display: flex;
            border-radius: 50px;
            overflow: hidden;
            box-shadow: var(--shadow);
        }
        .search-input {
            flex: 1;
            padding: 15px 25px;
            border: none;
            font-size: 1rem;
            outline: none;
        }
        .search-btn {
            background-color: var(--accent);
            color: white;
            border: none;
            padding: 0 30px;
            cursor: pointer;
            font-weight: 600;
            transition: var(--transition);
        }
        .search-btn:hover {
            background-color: #ff6b4a;
        }
        main {
            padding: 30px 0;
            display: grid;
            grid-template-columns: 1fr 300px;
            gap: 40px;
        }
        @media (max-width: 992px) {
            main {
                grid-template-columns: 1fr;
            }
        }
        article {
            background-color: white;
            padding: 40px;
            border-radius: var(--radius);
            box-shadow: var(--shadow);
        }
        .article-meta {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding-bottom: 20px;
            margin-bottom: 30px;
            border-bottom: 2px solid #eee;
            color: var(--gray);
            font-size: 0.9rem;
        }
        .update-time {
            background-color: #e7f4ff;
            padding: 5px 10px;
            border-radius: 4px;
            font-weight: 600;
        }
        h1 {
            font-size: 2.5rem;
            color: var(--dark);
            margin-bottom: 20px;
            line-height: 1.2;
        }
        h2 {
            font-size: 1.8rem;
            color: var(--primary);
            margin: 40px 0 20px;
            padding-bottom: 10px;
            border-bottom: 2px solid #eaeaea;
        }
        h3 {
            font-size: 1.4rem;
            color: var(--secondary);
            margin: 30px 0 15px;
        }
        h4 {
            font-size: 1.1rem;
            color: var(--dark);
            margin: 20px 0 10px;
        }
        p {
            margin-bottom: 20px;
            text-align: justify;
        }
        .intro {
            font-size: 1.2rem;
            background-color: #f0f7ff;
            padding: 25px;
            border-left: 5px solid var(--accent);
            border-radius: var(--radius);
            margin-bottom: 30px;
        }
        .highlight {
            background-color: #fff9e6;
            padding: 3px 6px;
            border-radius: 3px;
            font-weight: 600;
        }
        .content-img {
            width: 100%;
            max-width: 800px;
            height: auto;
            border-radius: var(--radius);
            margin: 25px auto;
            display: block;
            box-shadow: var(--shadow);
        }
        .img-caption {
            text-align: center;
            font-style: italic;
            color: var(--gray);
            margin-top: -15px;
            margin-bottom: 30px;
        }
        ul, ol {
            padding-left: 30px;
            margin-bottom: 20px;
        }
        li {
            margin-bottom: 8px;
        }
        blockquote {
            border-left: 4px solid var(--accent);
            padding-left: 20px;
            margin: 25px 0;
            font-style: italic;
            color: #555;
            background-color: #f9f9f9;
            padding: 20px;
            border-radius: 0 var(--radius) var(--radius) 0;
        }
        .tip-box {
            background-color: #e8f7f0;
            border: 1px solid #a3e9c4;
            padding: 20px;
            border-radius: var(--radius);
            margin: 25px 0;
        }
        .tip-title {
            color: #2e7d32;
            font-weight: 700;
            display: flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 10px;
        }
        .internal-link {
            color: var(--primary);
            text-decoration: none;
            font-weight: 600;
            border-bottom: 1px dotted var(--primary);
            transition: var(--transition);
        }
        .internal-link:hover {
            color: var(--accent);
            border-bottom: 1px solid var(--accent);
        }
        aside {
            background-color: white;
            padding: 25px;
            border-radius: var(--radius);
            box-shadow: var(--shadow);
            align-self: start;
            position: sticky;
            top: 120px;
        }
        .sidebar-widget {
            margin-bottom: 30px;
        }
        .sidebar-title {
            font-size: 1.2rem;
            color: var(--dark);
            padding-bottom: 10px;
            margin-bottom: 15px;
            border-bottom: 2px solid #eee;
        }
        .related-links a {
            display: block;
            padding: 10px 15px;
            background-color: #f8f9fa;
            margin-bottom: 10px;
            border-radius: 5px;
            color: var(--dark);
            text-decoration: none;
            transition: var(--transition);
        }
        .related-links a:hover {
            background-color: #e9ecef;
            transform: translateX(5px);
        }
        .rating-section, .comments-section {
            background-color: white;
            padding: 30px;
            border-radius: var(--radius);
            box-shadow: var(--shadow);
            margin-top: 40px;
        }
        .rating-form, .comment-form {
            display: flex;
            flex-direction: column;
            gap: 20px;
            margin-top: 20px;
        }
        .stars {
            display: flex;
            gap: 5px;
            direction: rtl;
        }
        .star {
            font-size: 2rem;
            color: #ddd;
            cursor: pointer;
            transition: var(--transition);
        }
        .star:hover,
        .star:hover ~ .star {
            color: #ffc107;
        }
        .star.selected {
            color: #ffc107;
        }
        .form-group {
            display: flex;
            flex-direction: column;
        }
        label {
            margin-bottom: 8px;
            font-weight: 600;
            color: var(--dark);
        }
        input, textarea, select {
            padding: 12px 15px;
            border: 1px solid #ced4da;
            border-radius: var(--radius);
            font-size: 1rem;
            transition: var(--transition);
        }
        input:focus, textarea:focus, select:focus {
            outline: none;
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(74, 111, 165, 0.2);
        }
        textarea {
            min-height: 120px;
            resize: vertical;
        }
        .submit-btn {
            background-color: var(--primary);
            color: white;
            border: none;
            padding: 14px 25px;
            border-radius: var(--radius);
            cursor: pointer;
            font-weight: 700;
            font-size: 1rem;
            transition: var(--transition);
            align-self: flex-start;
        }
        .submit-btn:hover {
            background-color: var(--secondary);
            transform: translateY(-2px);
        }
        footer {
            background-color: var(--dark);
            color: white;
            padding: 50px 0 20px;
            margin-top: 60px;
        }
        .footer-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 40px;
            margin-bottom: 40px;
        }
        .footer-section h3 {
            color: white;
            font-size: 1.3rem;
            margin-bottom: 20px;
            padding-bottom: 10px;
            border-bottom: 2px solid rgba(255,255,255,0.1);
        }
        .footer-links a {
            display: block;
            color: #bbb;
            text-decoration: none;
            margin-bottom: 10px;
            transition: var(--transition);
        }
        .footer-links a:hover {
            color: white;
            padding-left: 5px;
        }
        friend-link {
            display: inline-block;
            background-color: rgba(255,255,255,0.1);
            padding: 8px 15px;
            border-radius: 4px;
            margin: 5px;
            color: white;
            text-decoration: none;
            transition: var(--transition);
        }
        friend-link:hover {
            background-color: var(--accent);
        }
        .copyright {
            text-align: center;
            padding-top: 20px;
            border-top: 1px solid rgba(255,255,255,0.1);
            color: #aaa;
            font-size: 0.9rem;
        }
        @media (max-width: 768px) {
            h1 {
                font-size: 2rem;
            }
            h2 {
                font-size: 1.5rem;
            }
            article, .rating-section, .comments-section, aside {
                padding: 25px;
            }
            .search-container {
                padding: 30px 20px;
            }
            .search-form {
                flex-direction: column;
                border-radius: var(--radius);
            }
            .search-input, .search-btn {
                width: 100%;
                border-radius: 0;
            }
            .search-input {
                border-radius: var(--radius) var(--radius) 0 0;
            }
            .search-btn {
                border-radius: 0 0 var(--radius) var(--radius);
                padding: 15px;
            }
        }
