:root {
            --primary: #2a9d8f;
            --secondary: #264653;
            --accent: #e9c46a;
            --light: #f8f9fa;
            --dark: #212529;
            --gray: #6c757d;
            --shadow: 0 4px 12px rgba(0,0,0,0.08);
            --transition: all 0.3s ease;
        }
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        html {
            scroll-behavior: smooth;
        }
        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
            line-height: 1.7;
            color: var(--dark);
            background-color: var(--light);
            overflow-x: hidden;
        }
        .container {
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }
        header {
            background: 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: 2rem;
            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(--secondary);
        }
        .mobile-toggle {
            display: none;
            font-size: 1.5rem;
            background: none;
            border: none;
            color: var(--secondary);
            cursor: pointer;
        }
        nav ul {
            display: flex;
            list-style: none;
            gap: 30px;
        }
        nav a {
            text-decoration: none;
            color: var(--secondary);
            font-weight: 600;
            padding: 5px 10px;
            border-radius: 4px;
            transition: var(--transition);
        }
        nav a:hover {
            background: var(--primary);
            color: white;
        }
        .breadcrumb {
            background: #f1f3f5;
            padding: 12px 0;
            font-size: 0.9rem;
            color: var(--gray);
        }
        .breadcrumb a {
            color: var(--primary);
            text-decoration: none;
        }
        .breadcrumb a:hover {
            text-decoration: underline;
        }
        .hero {
            background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
            color: white;
            padding: 60px 20px;
            text-align: center;
            border-radius: 0 0 20px 20px;
            margin-bottom: 40px;
        }
        .hero h1 {
            font-size: 2.8rem;
            margin-bottom: 20px;
            line-height: 1.2;
        }
        .hero p {
            font-size: 1.2rem;
            max-width: 800px;
            margin: 0 auto 30px;
            opacity: 0.9;
        }
        .search-box {
            max-width: 600px;
            margin: 30px auto 0;
            display: flex;
            gap: 10px;
        }
        .search-box input {
            flex: 1;
            padding: 15px 20px;
            border: none;
            border-radius: 50px;
            font-size: 1rem;
        }
        .search-box button {
            background: var(--accent);
            color: var(--secondary);
            border: none;
            border-radius: 50px;
            padding: 0 30px;
            font-weight: 700;
            cursor: pointer;
            transition: var(--transition);
        }
        .search-box button:hover {
            background: #f4b301;
            transform: translateY(-2px);
        }
        main {
            display: grid;
            grid-template-columns: 1fr 300px;
            gap: 40px;
            margin: 40px 0;
        }
        article {
            background: white;
            padding: 40px;
            border-radius: 15px;
            box-shadow: var(--shadow);
        }
        .article-meta {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 30px;
            padding-bottom: 20px;
            border-bottom: 1px solid #eee;
            color: var(--gray);
            font-size: 0.9rem;
        }
        .update-time {
            color: var(--primary);
            font-weight: 600;
        }
        h2, h3, h4 {
            color: var(--secondary);
            margin-top: 2em;
            margin-bottom: 0.8em;
            line-height: 1.3;
        }
        h2 {
            font-size: 2rem;
            padding-bottom: 10px;
            border-bottom: 2px solid var(--accent);
        }
        h3 {
            font-size: 1.6rem;
            color: var(--primary);
        }
        h4 {
            font-size: 1.3rem;
            color: var(--dark);
        }
        p {
            margin-bottom: 1.5em;
            font-size: 1.1rem;
        }
        .lead {
            font-size: 1.3rem;
            color: var(--primary);
            font-weight: 500;
            padding-left: 20px;
            border-left: 4px solid var(--accent);
        }
        .highlight {
            background: #fff9db;
            padding: 25px;
            border-radius: 10px;
            border-left: 5px solid var(--accent);
            margin: 30px 0;
        }
        .highlight p:last-child {
            margin-bottom: 0;
        }
        img {
            max-width: 100%;
            height: auto;
            border-radius: 10px;
            margin: 25px 0;
            box-shadow: var(--shadow);
            display: block;
        }
        .img-caption {
            text-align: center;
            font-style: italic;
            color: var(--gray);
            margin-top: -15px;
            margin-bottom: 25px;
        }
        ul, ol {
            margin-left: 25px;
            margin-bottom: 1.5em;
        }
        li {
            margin-bottom: 0.7em;
        }
        a {
            color: var(--primary);
            text-decoration: none;
            font-weight: 600;
        }
        a:hover {
            text-decoration: underline;
            color: var(--secondary);
        }
        .link-list {
            background: #f8f9fa;
            padding: 25px;
            border-radius: 10px;
            margin: 30px 0;
        }
        .link-list h4 {
            margin-top: 0;
        }
        .link-list ul {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
            gap: 15px;
            list-style: none;
            margin-left: 0;
        }
        .link-list li {
            background: white;
            padding: 15px;
            border-radius: 8px;
            box-shadow: 0 2px 5px rgba(0,0,0,0.05);
        }
        strong {
            color: var(--secondary);
        }
        .emoji {
            font-size: 1.3em;
            margin-right: 5px;
        }
        aside {
            position: sticky;
            top: 120px;
            align-self: start;
        }
        .sidebar-widget {
            background: white;
            padding: 25px;
            border-radius: 15px;
            box-shadow: var(--shadow);
            margin-bottom: 25px;
        }
        .sidebar-widget h3 {
            font-size: 1.3rem;
            margin-top: 0;
            padding-bottom: 15px;
            border-bottom: 1px solid #eee;
        }
        .rating-widget {
            text-align: center;
        }
        .stars {
            display: flex;
            justify-content: center;
            gap: 5px;
            margin: 20px 0;
            font-size: 1.8rem;
            color: #ffc107;
        }
        .stars i {
            cursor: pointer;
            transition: var(--transition);
        }
        .stars i:hover {
            transform: scale(1.2);
        }
        .rating-btn {
            background: var(--primary);
            color: white;
            border: none;
            padding: 12px 25px;
            border-radius: 50px;
            font-weight: 600;
            cursor: pointer;
            width: 100%;
            transition: var(--transition);
        }
        .rating-btn:hover {
            background: var(--secondary);
        }
        .comments-section {
            margin-top: 50px;
            padding-top: 30px;
            border-top: 2px solid #eee;
        }
        .comment-form {
            background: #f8f9fa;
            padding: 25px;
            border-radius: 10px;
            margin-bottom: 30px;
        }
        .form-group {
            margin-bottom: 20px;
        }
        .form-group label {
            display: block;
            margin-bottom: 8px;
            font-weight: 600;
        }
        .form-group input,
        .form-group textarea {
            width: 100%;
            padding: 12px 15px;
            border: 1px solid #ddd;
            border-radius: 8px;
            font-family: inherit;
            font-size: 1rem;
        }
        .form-group textarea {
            min-height: 150px;
            resize: vertical;
        }
        .submit-btn {
            background: var(--primary);
            color: white;
            border: none;
            padding: 15px 30px;
            border-radius: 8px;
            font-weight: 700;
            cursor: pointer;
            transition: var(--transition);
        }
        .submit-btn:hover {
            background: var(--secondary);
        }
        footer {
            background: var(--secondary);
            color: white;
            padding: 50px 0 30px;
            margin-top: 60px;
        }
        .footer-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 40px;
            margin-bottom: 40px;
        }
        .footer-logo {
            font-size: 1.8rem;
            font-weight: 800;
            color: white;
            text-decoration: none;
            display: inline-block;
            margin-bottom: 20px;
        }
        .footer-links h4 {
            color: var(--accent);
            margin-bottom: 20px;
            font-size: 1.2rem;
        }
        .footer-links ul {
            list-style: none;
            margin-left: 0;
        }
        .footer-links li {
            margin-bottom: 12px;
        }
        .footer-links a {
            color: #ccc;
            text-decoration: none;
            transition: var(--transition);
        }
        .footer-links a:hover {
            color: white;
            padding-left: 5px;
        }
        friend-link {
            display: block;
            background: rgba(255,255,255,0.05);
            padding: 15px;
            border-radius: 8px;
            margin: 10px 0;
            color: var(--accent);
        }
        .copyright {
            text-align: center;
            padding-top: 30px;
            border-top: 1px solid rgba(255,255,255,0.1);
            color: #aaa;
            font-size: 0.9rem;
        }
        @media (max-width: 992px) {
            main {
                grid-template-columns: 1fr;
            }
            aside {
                position: static;
            }
            .hero h1 {
                font-size: 2.2rem;
            }
        }
        @media (max-width: 768px) {
            .mobile-toggle {
                display: block;
            }
            nav ul {
                display: none;
                flex-direction: column;
                position: absolute;
                top: 100%;
                left: 0;
                right: 0;
                background: white;
                padding: 20px;
                box-shadow: var(--shadow);
            }
            nav.active ul {
                display: flex;
            }
            .header-top {
                padding: 15px;
            }
            article, .sidebar-widget {
                padding: 25px 20px;
            }
            .search-box {
                flex-direction: column;
            }
            .search-box button {
                padding: 15px;
            }
        }
