:root {
            --primary: #2c3e50;
            --secondary: #1abc9c;
            --accent: #e74c3c;
            --light: #ecf0f1;
            --dark: #2c3e50;
            --gray: #95a5a6;
            --shadow: 0 4px 12px rgba(0,0,0,0.1);
            --transition: all 0.3s ease;
        }
        * {
            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.8;
            color: #333;
            background-color: #f9f9f9;
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 20px;
        }
        a {
            text-decoration: none;
            color: var(--secondary);
            transition: var(--transition);
        }
        a:hover {
            color: var(--accent);
        }
        img {
            max-width: 100%;
            height: auto;
            display: block;
        }
        .container {
            width: 100%;
            padding: 0 15px;
        }
        .site-header {
            background-color: white;
            box-shadow: var(--shadow);
            position: sticky;
            top: 0;
            z-index: 1000;
            padding: 15px 0;
        }
        .header-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        .my-logo {
            font-size: 2.2rem;
            font-weight: 800;
            color: var(--primary);
            text-transform: uppercase;
            letter-spacing: -1px;
        }
        .my-logo span {
            color: var(--secondary);
        }
        .main-nav ul {
            display: flex;
            list-style: none;
            gap: 30px;
        }
        .main-nav a {
            font-weight: 600;
            color: var(--dark);
            padding: 8px 0;
            position: relative;
        }
        .main-nav a:hover {
            color: var(--secondary);
        }
        .main-nav a::after {
            content: '';
            position: absolute;
            width: 0;
            height: 3px;
            background: var(--secondary);
            bottom: 0;
            left: 0;
            transition: var(--transition);
        }
        .main-nav a:hover::after {
            width: 100%;
        }
        .hamburger {
            display: none;
            font-size: 1.8rem;
            cursor: pointer;
            color: var(--primary);
        }
        .breadcrumb {
            padding: 15px 0;
            font-size: 0.9rem;
            color: var(--gray);
            margin-bottom: 20px;
            border-bottom: 1px solid #eee;
        }
        .breadcrumb a {
            color: var(--gray);
        }
        .breadcrumb a:hover {
            color: var(--secondary);
        }
        .search-box {
            max-width: 600px;
            margin: 40px auto;
            background: white;
            padding: 30px;
            border-radius: 10px;
            box-shadow: var(--shadow);
        }
        .search-box h2 {
            margin-bottom: 20px;
            color: var(--primary);
        }
        .search-form {
            display: flex;
        }
        .search-form input {
            flex: 1;
            padding: 15px;
            border: 2px solid #ddd;
            border-radius: 5px 0 0 5px;
            font-size: 1rem;
        }
        .search-form button {
            background: var(--secondary);
            color: white;
            border: none;
            padding: 0 25px;
            border-radius: 0 5px 5px 0;
            cursor: pointer;
            font-size: 1.1rem;
            transition: var(--transition);
        }
        .search-form button:hover {
            background: #16a085;
        }
        .content-area {
            display: grid;
            grid-template-columns: 1fr 300px;
            gap: 40px;
            margin: 30px 0;
        }
        article {
            background: white;
            padding: 40px;
            border-radius: 10px;
            box-shadow: var(--shadow);
        }
        article h1 {
            font-size: 2.8rem;
            color: var(--primary);
            margin-bottom: 25px;
            line-height: 1.3;
        }
        article h2 {
            font-size: 2rem;
            color: var(--primary);
            margin: 40px 0 20px;
            padding-bottom: 10px;
            border-bottom: 3px solid var(--secondary);
        }
        article h3 {
            font-size: 1.6rem;
            color: var(--dark);
            margin: 30px 0 15px;
        }
        article h4 {
            font-size: 1.3rem;
            color: var(--dark);
            margin: 25px 0 10px;
        }
        article p {
            margin-bottom: 20px;
            text-align: justify;
        }
        article emoji {
            font-size: 1.2em;
            margin-right: 8px;
        }
        .highlight {
            background-color: #fffacd;
            padding: 20px;
            border-left: 5px solid var(--secondary);
            margin: 25px 0;
            border-radius: 0 8px 8px 0;
        }
        .img-container {
            margin: 30px auto;
            text-align: center;
        }
        .img-container img {
            border-radius: 10px;
            box-shadow: var(--shadow);
            max-width: 800px;
            margin: 0 auto 15px;
        }
        .caption {
            font-style: italic;
            color: var(--gray);
            font-size: 0.9rem;
        }
        .link-list {
            background: #f8f9fa;
            padding: 25px;
            border-radius: 10px;
            margin: 30px 0;
        }
        .link-list h3 {
            margin-top: 0;
        }
        .link-list ul {
            list-style: none;
            column-count: 2;
        }
        .link-list li {
            margin-bottom: 12px;
            break-inside: avoid;
        }
        .link-list a {
            display: block;
            padding: 10px 15px;
            background: white;
            border-radius: 5px;
            border: 1px solid #e0e0e0;
        }
        .link-list a:hover {
            background: var(--light);
            border-color: var(--secondary);
        }
        .update-time {
            font-size: 0.9rem;
            color: var(--gray);
            margin-top: 40px;
            padding-top: 20px;
            border-top: 1px dashed #ddd;
        }
        .sidebar {
            background: white;
            padding: 25px;
            border-radius: 10px;
            box-shadow: var(--shadow);
            align-self: start;
            position: sticky;
            top: 100px;
        }
        .sidebar h3 {
            color: var(--primary);
            margin-bottom: 20px;
            padding-bottom: 10px;
            border-bottom: 2px solid var(--secondary);
        }
        .rating-widget {
            background: #f8f9fa;
            padding: 20px;
            border-radius: 10px;
            margin-bottom: 30px;
            text-align: center;
        }
        .stars {
            font-size: 1.8rem;
            color: #ffc107;
            margin: 15px 0;
        }
        .stars i {
            cursor: pointer;
            margin: 0 3px;
        }
        .rating-widget button {
            background: var(--secondary);
            color: white;
            border: none;
            padding: 10px 25px;
            border-radius: 5px;
            cursor: pointer;
            width: 100%;
            font-size: 1rem;
            margin-top: 15px;
            transition: var(--transition);
        }
        .rating-widget button:hover {
            background: #16a085;
        }
        .comment-form textarea {
            width: 100%;
            padding: 15px;
            border: 1px solid #ddd;
            border-radius: 5px;
            font-family: inherit;
            resize: vertical;
            margin-bottom: 15px;
        }
        .comment-form button {
            background: var(--primary);
            color: white;
            border: none;
            padding: 12px 25px;
            border-radius: 5px;
            cursor: pointer;
            width: 100%;
            font-size: 1rem;
            transition: var(--transition);
        }
        .comment-form button:hover {
            background: #1a252f;
        }
        .site-footer {
            background: var(--primary);
            color: white;
            padding: 50px 0 30px;
            margin-top: 60px;
            border-radius: 10px 10px 0 0;
        }
        .footer-container {
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            gap: 40px;
        }
        .footer-section {
            flex: 1;
            min-width: 250px;
        }
        .footer-section h3 {
            color: var(--secondary);
            margin-bottom: 25px;
            font-size: 1.4rem;
        }
        .footer-links {
            list-style: none;
        }
        .footer-links li {
            margin-bottom: 12px;
        }
        .footer-links a {
            color: #ddd;
        }
        .footer-links a:hover {
            color: var(--secondary);
            padding-left: 5px;
        }
        friend-link {
            display: block;
            background: rgba(255,255,255,0.1);
            padding: 15px;
            margin-bottom: 15px;
            border-radius: 5px;
            color: #ddd;
            transition: var(--transition);
        }
        friend-link:hover {
            background: rgba(255,255,255,0.2);
            color: white;
        }
        .copyright {
            text-align: center;
            margin-top: 50px;
            padding-top: 25px;
            border-top: 1px solid rgba(255,255,255,0.1);
            color: #bbb;
            font-size: 0.9rem;
        }
        @media (max-width: 1024px) {
            .content-area {
                grid-template-columns: 1fr;
            }
            .sidebar {
                position: static;
            }
        }
        @media (max-width: 768px) {
            .hamburger {
                display: block;
            }
            .main-nav ul {
                display: none;
                position: absolute;
                top: 100%;
                left: 0;
                right: 0;
                background: white;
                flex-direction: column;
                padding: 20px;
                box-shadow: var(--shadow);
                gap: 0;
            }
            .main-nav.active ul {
                display: flex;
            }
            .main-nav li {
                margin-bottom: 15px;
            }
            .link-list ul {
                column-count: 1;
            }
            article {
                padding: 25px;
            }
            article h1 {
                font-size: 2.2rem;
            }
            article h2 {
                font-size: 1.8rem;
            }
        }
