:root {
            --primary: #9c27b0;
            --primary-dark: #7b1fa2;
            --secondary: #ff9800;
            --accent: #4caf50;
            --light: #f5f5f5;
            --dark: #333;
            --grey: #757575;
            --light-grey: #e0e0e0;
            --shadow: 0 4px 12px rgba(0,0,0,0.1);
            --border-radius: 8px;
            --transition: all 0.3s ease;
        }
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            line-height: 1.6;
            color: var(--dark);
            background: linear-gradient(135deg, #fdfcfb 0%, #f5f7fa 100%);
            min-height: 100vh;
        }
        a {
            color: var(--primary);
            text-decoration: none;
            transition: var(--transition);
        }
        a:hover {
            color: var(--primary-dark);
            text-decoration: underline;
        }
        .container {
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }
        header {
            background: linear-gradient(90deg, var(--primary) 0%, var(--primary-dark) 100%);
            color: white;
            padding: 1rem 0;
            box-shadow: var(--shadow);
            position: sticky;
            top: 0;
            z-index: 1000;
        }
        .header-content {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        .my-logo {
            font-family: 'Comic Sans MS', cursive, sans-serif;
            font-size: 2.2rem;
            font-weight: bold;
            color: white;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        .my-logo i {
            color: var(--secondary);
        }
        .my-logo:hover {
            text-decoration: none;
            transform: scale(1.02);
        }
        nav {
            display: flex;
            align-items: center;
        }
        .nav-links {
            display: flex;
            list-style: none;
            gap: 1.8rem;
        }
        .nav-links a {
            color: white;
            font-weight: 500;
            padding: 0.5rem 0.8rem;
            border-radius: var(--border-radius);
            display: flex;
            align-items: center;
            gap: 8px;
        }
        .nav-links a:hover {
            background: rgba(255, 255, 255, 0.15);
            text-decoration: none;
        }
        .nav-links a.active {
            background: var(--secondary);
            color: var(--dark);
        }
        .hamburger {
            display: none;
            background: none;
            border: none;
            color: white;
            font-size: 1.8rem;
            cursor: pointer;
            padding: 0.5rem;
        }
        .search-container {
            margin-left: 2rem;
            position: relative;
        }
        .search-form {
            display: flex;
        }
        .search-input {
            padding: 0.6rem 1rem;
            border: none;
            border-radius: var(--border-radius) 0 0 var(--border-radius);
            width: 220px;
            font-size: 1rem;
        }
        .search-btn {
            background: var(--secondary);
            color: var(--dark);
            border: none;
            border-radius: 0 var(--border-radius) var(--border-radius) 0;
            padding: 0 1.2rem;
            cursor: pointer;
            font-weight: bold;
            transition: var(--transition);
        }
        .search-btn:hover {
            background: #ffb74d;
        }
        .breadcrumb {
            background: var(--light);
            padding: 1rem 0;
            border-bottom: 1px solid var(--light-grey);
            margin-bottom: 2rem;
        }
        .breadcrumb ol {
            display: flex;
            list-style: none;
            flex-wrap: wrap;
            gap: 0.5rem;
        }
        .breadcrumb li {
            display: flex;
            align-items: center;
        }
        .breadcrumb li:not(:last-child)::after {
            content: '/';
            margin-left: 0.5rem;
            color: var(--grey);
        }
        .breadcrumb a {
            color: var(--grey);
        }
        .breadcrumb a:hover {
            color: var(--primary);
        }
        main {
            display: grid;
            grid-template-columns: 1fr 300px;
            gap: 3rem;
            padding: 2rem 0 4rem;
        }
        article {
            background: white;
            border-radius: var(--border-radius);
            box-shadow: var(--shadow);
            padding: 2.5rem;
            overflow: hidden;
        }
        .article-header {
            border-bottom: 3px solid var(--light-grey);
            padding-bottom: 1.5rem;
            margin-bottom: 2.5rem;
        }
        h1 {
            color: var(--primary-dark);
            font-size: 2.8rem;
            line-height: 1.2;
            margin-bottom: 1rem;
        }
        .meta-info {
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 1rem;
            color: var(--grey);
            font-size: 0.9rem;
        }
        .update-time {
            background: #e8f5e9;
            color: var(--accent);
            padding: 0.3rem 0.8rem;
            border-radius: 20px;
            font-weight: 500;
        }
        h2 {
            color: var(--primary);
            font-size: 2rem;
            margin: 2.5rem 0 1.5rem;
            padding-bottom: 0.5rem;
            border-bottom: 2px solid var(--light-grey);
        }
        h3 {
            color: var(--secondary);
            font-size: 1.5rem;
            margin: 2rem 0 1rem;
        }
        h4 {
            color: var(--accent);
            font-size: 1.2rem;
            margin: 1.5rem 0 0.8rem;
        }
        p {
            margin-bottom: 1.5rem;
            text-align: justify;
            line-height: 1.7;
        }
        .lead {
            font-size: 1.2rem;
            font-weight: 500;
            color: var(--primary-dark);
            background: #f3e5f5;
            padding: 1.5rem;
            border-radius: var(--border-radius);
            border-left: 4px solid var(--primary);
            margin-bottom: 2rem;
        }
        .highlight {
            background: linear-gradient(120deg, #e1f5fe 0%, #f3e5f5 100%);
            padding: 1.5rem;
            border-radius: var(--border-radius);
            margin: 2rem 0;
            border-left: 4px solid var(--accent);
        }
        .highlight strong {
            color: var(--primary-dark);
        }
        img {
            max-width: 100%;
            height: auto;
            border-radius: var(--border-radius);
            box-shadow: var(--shadow);
            margin: 2rem 0;
            transition: var(--transition);
        }
        img:hover {
            transform: scale(1.01);
        }
        .img-caption {
            text-align: center;
            font-style: italic;
            color: var(--grey);
            margin-top: -1.5rem;
            margin-bottom: 2rem;
        }
        .feature-list {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
            gap: 1.5rem;
            margin: 2rem 0;
        }
        .feature-card {
            background: var(--light);
            padding: 1.5rem;
            border-radius: var(--border-radius);
            border-top: 4px solid var(--secondary);
            transition: var(--transition);
        }
        .feature-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 16px rgba(0,0,0,0.1);
        }
        .feature-card h4 {
            margin-top: 0;
            color: var(--primary);
        }
        aside {
            display: flex;
            flex-direction: column;
            gap: 2rem;
        }
        .sidebar-widget {
            background: white;
            border-radius: var(--border-radius);
            box-shadow: var(--shadow);
            padding: 1.8rem;
        }
        .sidebar-widget h3 {
            color: var(--primary);
            margin-top: 0;
            margin-bottom: 1.5rem;
            font-size: 1.3rem;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        .rating-widget {
            text-align: center;
        }
        .stars {
            display: flex;
            justify-content: center;
            gap: 5px;
            margin-bottom: 1.5rem;
        }
        .star {
            font-size: 2rem;
            color: var(--light-grey);
            cursor: pointer;
            transition: var(--transition);
        }
        .star:hover,
        .star.active {
            color: #ffc107;
        }
        .rating-form {
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }
        .rating-form select,
        .rating-form textarea {
            padding: 0.8rem;
            border: 1px solid var(--light-grey);
            border-radius: var(--border-radius);
            font-family: inherit;
            width: 100%;
        }
        .rating-form textarea {
            min-height: 100px;
            resize: vertical;
        }
        .rating-form button {
            background: var(--accent);
            color: white;
            border: none;
            padding: 0.8rem;
            border-radius: var(--border-radius);
            font-weight: bold;
            cursor: pointer;
            transition: var(--transition);
        }
        .rating-form button:hover {
            background: #43a047;
        }
        .comment {
            border-bottom: 1px solid var(--light-grey);
            padding-bottom: 1.2rem;
            margin-bottom: 1.2rem;
        }
        .comment:last-child {
            border-bottom: none;
            margin-bottom: 0;
        }
        .comment-header {
            display: flex;
            justify-content: space-between;
            margin-bottom: 0.8rem;
        }
        .comment-author {
            font-weight: bold;
            color: var(--primary);
        }
        .comment-date {
            color: var(--grey);
            font-size: 0.9rem;
        }
        .comment-form input,
        .comment-form textarea {
            width: 100%;
            padding: 0.8rem;
            margin-bottom: 1rem;
            border: 1px solid var(--light-grey);
            border-radius: var(--border-radius);
            font-family: inherit;
        }
        .quick-links {
            list-style: none;
        }
        .quick-links li {
            margin-bottom: 0.8rem;
            padding-left: 1.5rem;
            position: relative;
        }
        .quick-links li::before {
            content: '→';
            position: absolute;
            left: 0;
            color: var(--secondary);
        }
        .related-links {
            display: flex;
            flex-wrap: wrap;
            gap: 0.8rem;
            margin: 2rem 0;
        }
        .link-tag {
            background: #e3f2fd;
            color: var(--primary);
            padding: 0.5rem 1rem;
            border-radius: 20px;
            font-size: 0.9rem;
            transition: var(--transition);
        }
        .link-tag:hover {
            background: var(--primary);
            color: white;
            text-decoration: none;
            transform: translateY(-2px);
        }
        footer {
            background: linear-gradient(90deg, #263238 0%, #37474f 100%);
            color: white;
            padding: 3rem 0 1.5rem;
        }
        .footer-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 3rem;
            margin-bottom: 2.5rem;
        }
        .footer-section h3 {
            color: white;
            margin-bottom: 1.5rem;
            font-size: 1.3rem;
        }
        .footer-links {
            list-style: none;
        }
        .footer-links li {
            margin-bottom: 0.8rem;
        }
        .footer-links a {
            color: #bbbbbb;
        }
        .footer-links a:hover {
            color: white;
            padding-left: 5px;
        }
        friend-link {
            display: block;
            background: rgba(255, 255, 255, 0.1);
            padding: 1rem;
            border-radius: var(--border-radius);
            margin-bottom: 1rem;
            color: #bbbbbb;
        }
        friend-link a {
            color: var(--secondary);
            font-weight: bold;
        }
        .copyright {
            text-align: center;
            padding-top: 1.5rem;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            color: #bbbbbb;
            font-size: 0.9rem;
        }
        @media (max-width: 992px) {
            main {
                grid-template-columns: 1fr;
            }
            h1 {
                font-size: 2.2rem;
            }
            .header-content {
                flex-wrap: wrap;
            }
            .search-container {
                margin-left: 0;
                margin-top: 1rem;
                order: 3;
                flex-basis: 100%;
            }
            .search-input {
                width: 100%;
            }
        }
        @media (max-width: 768px) {
            .nav-links {
                display: none;
                flex-direction: column;
                position: absolute;
                top: 100%;
                left: 0;
                width: 100%;
                background: var(--primary-dark);
                padding: 1rem;
                box-shadow: var(--shadow);
            }
            .nav-links.active {
                display: flex;
            }
            .hamburger {
                display: block;
            }
            .feature-list {
                grid-template-columns: 1fr;
            }
            article {
                padding: 1.5rem;
            }
            .footer-content {
                grid-template-columns: 1fr;
                gap: 2rem;
            }
        }
        @media (max-width: 480px) {
            .my-logo {
                font-size: 1.8rem;
            }
            h1 {
                font-size: 1.8rem;
            }
            h2 {
                font-size: 1.6rem;
            }
            .meta-info {
                flex-direction: column;
                align-items: flex-start;
            }
        }
