:root {
            --primary: #8a2be2;
            --secondary: #20b2aa;
            --dark: #1a1a2e;
            --light: #f8f9fa;
            --accent: #ffd700;
            --gray: #6c757d;
            --shadow: 0 4px 12px rgba(0,0,0,0.1);
            --transition: all 0.3s ease;
        }
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }
        body {
            background-color: #f5f7ff;
            color: #333;
            line-height: 1.7;
            overflow-x: hidden;
        }
        .container {
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }
        header {
            background: linear-gradient(135deg, var(--dark) 0%, var(--primary) 100%);
            color: white;
            padding: 1rem 0;
            position: sticky;
            top: 0;
            z-index: 1000;
            box-shadow: var(--shadow);
        }
        .header-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        .my-logo {
            font-size: 2.2rem;
            font-weight: 800;
            text-decoration: none;
            color: var(--accent);
            display: flex;
            align-items: center;
            gap: 10px;
        }
        .my-logo i {
            color: var(--secondary);
        }
        .my-logo:hover {
            color: white;
            transform: scale(1.03);
            transition: var(--transition);
        }
        nav {
            display: flex;
            align-items: center;
        }
        .nav-links {
            display: flex;
            list-style: none;
            gap: 2rem;
        }
        .nav-links a {
            color: white;
            text-decoration: none;
            font-weight: 600;
            padding: 0.5rem 1rem;
            border-radius: 4px;
            transition: var(--transition);
        }
        .nav-links a:hover,
        .nav-links a.active {
            background-color: rgba(255, 255, 255, 0.15);
            color: var(--accent);
        }
        .hamburger {
            display: none;
            font-size: 1.8rem;
            cursor: pointer;
            color: white;
        }
        .breadcrumb {
            padding: 1rem 0;
            background-color: #e9ecef;
            font-size: 0.9rem;
        }
        .breadcrumb a {
            color: var(--primary);
            text-decoration: none;
        }
        .breadcrumb a:hover {
            text-decoration: underline;
        }
        .search-box {
            max-width: 800px;
            margin: 2rem auto;
            padding: 0 1rem;
        }
        .search-form {
            display: flex;
            box-shadow: var(--shadow);
            border-radius: 50px;
            overflow: hidden;
        }
        .search-form input {
            flex: 1;
            padding: 1rem 1.5rem;
            border: none;
            font-size: 1rem;
            outline: none;
        }
        .search-form button {
            background: var(--primary);
            color: white;
            border: none;
            padding: 0 2rem;
            cursor: pointer;
            transition: var(--transition);
            font-weight: 600;
        }
        .search-form button:hover {
            background: var(--secondary);
        }
        main {
            padding: 2rem 0;
            display: grid;
            grid-template-columns: 1fr 300px;
            gap: 3rem;
        }
        @media (max-width: 992px) {
            main {
                grid-template-columns: 1fr;
            }
        }
        .article-content {
            background: white;
            border-radius: 12px;
            padding: 2.5rem;
            box-shadow: var(--shadow);
        }
        .article-content h1 {
            color: var(--dark);
            margin-bottom: 1.5rem;
            font-size: 2.8rem;
            border-bottom: 3px solid var(--accent);
            padding-bottom: 0.5rem;
        }
        .article-content h2 {
            color: var(--primary);
            margin: 2.5rem 0 1rem;
            font-size: 2rem;
        }
        .article-content h3 {
            color: var(--secondary);
            margin: 2rem 0 1rem;
            font-size: 1.6rem;
        }
        .article-content h4 {
            color: var(--gray);
            margin: 1.5rem 0 0.8rem;
            font-size: 1.3rem;
        }
        .article-content p {
            margin-bottom: 1.5rem;
            text-align: justify;
            font-size: 1.1rem;
        }
        .article-content strong {
            color: var(--dark);
            font-weight: 700;
        }
        .article-content em {
            color: var(--primary);
            font-style: italic;
        }
        .article-content a {
            color: var(--secondary);
            text-decoration: none;
            border-bottom: 1px dotted;
            transition: var(--transition);
        }
        .article-content a:hover {
            color: var(--primary);
            border-bottom: 1px solid;
        }
        .intro-box {
            background: linear-gradient(to right, #f0f4ff, #e6f7f5);
            border-left: 5px solid var(--primary);
            padding: 1.5rem;
            margin: 2rem 0;
            border-radius: 0 8px 8px 0;
        }
        .featured-image {
            width: 100%;
            max-height: 500px;
            object-fit: cover;
            border-radius: 10px;
            margin: 2rem 0;
            box-shadow: var(--shadow);
            border: 5px solid white;
        }
        .link-list {
            background-color: #f8f9fa;
            padding: 1.5rem;
            border-radius: 10px;
            margin: 2rem 0;
        }
        .link-list h3 {
            margin-top: 0;
        }
        .link-list ul {
            list-style: none;
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
            gap: 0.8rem;
        }
        .link-list li a {
            display: block;
            padding: 0.7rem;
            background: white;
            border-radius: 6px;
            transition: var(--transition);
        }
        .link-list li a:hover {
            background: var(--primary);
            color: white;
            transform: translateX(5px);
        }
        .update-time {
            font-size: 0.9rem;
            color: var(--gray);
            text-align: right;
            margin-top: 3rem;
            padding-top: 1rem;
            border-top: 1px dashed #ddd;
        }
        aside {
            display: flex;
            flex-direction: column;
            gap: 2rem;
        }
        .sidebar-widget {
            background: white;
            padding: 1.5rem;
            border-radius: 10px;
            box-shadow: var(--shadow);
        }
        .sidebar-widget h3 {
            color: var(--dark);
            margin-bottom: 1rem;
            padding-bottom: 0.5rem;
            border-bottom: 2px solid var(--accent);
        }
        .rating-widget {
            text-align: center;
        }
        .stars {
            font-size: 2rem;
            color: #ddd;
            margin: 1rem 0;
            cursor: pointer;
        }
        .stars .active {
            color: var(--accent);
        }
        #rating-form input,
        #comment-form textarea,
        #comment-form input {
            width: 100%;
            padding: 0.8rem;
            margin-bottom: 1rem;
            border: 1px solid #ccc;
            border-radius: 6px;
        }
        .btn {
            background: var(--primary);
            color: white;
            border: none;
            padding: 0.8rem 1.5rem;
            border-radius: 6px;
            cursor: pointer;
            font-weight: 600;
            transition: var(--transition);
            display: inline-block;
        }
        .btn:hover {
            background: var(--secondary);
            transform: translateY(-3px);
        }
        .comment {
            border-bottom: 1px solid #eee;
            padding: 1rem 0;
        }
        .comment:last-child {
            border-bottom: none;
        }
        .comment-author {
            font-weight: bold;
            color: var(--primary);
        }
        .comment-date {
            font-size: 0.8rem;
            color: var(--gray);
        }
        footer {
            background: var(--dark);
            color: white;
            padding: 3rem 0 1.5rem;
            margin-top: 3rem;
        }
        .footer-container {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 2rem;
        }
        .footer-logo {
            font-size: 2rem;
            font-weight: 800;
            color: var(--accent);
            margin-bottom: 1rem;
        }
        .footer-links h4 {
            color: var(--secondary);
            margin-bottom: 1rem;
        }
        .footer-links ul {
            list-style: none;
        }
        .footer-links li {
            margin-bottom: 0.5rem;
        }
        .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: 1rem;
            border-radius: 6px;
            margin: 1rem 0;
        }
        friend-link a {
            color: var(--accent) !important;
            font-weight: bold;
        }
        .copyright {
            text-align: center;
            padding-top: 2rem;
            margin-top: 2rem;
            border-top: 1px solid #444;
            color: #aaa;
            font-size: 0.9rem;
        }
        @media (max-width: 768px) {
            .nav-links {
                display: none;
                flex-direction: column;
                position: absolute;
                top: 100%;
                left: 0;
                width: 100%;
                background: var(--dark);
                padding: 1rem;
                box-shadow: var(--shadow);
            }
            .nav-links.active {
                display: flex;
            }
            .hamburger {
                display: block;
            }
            .article-content h1 {
                font-size: 2.2rem;
            }
            .article-content h2 {
                font-size: 1.8rem;
            }
        }
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(20px); }
            to { opacity: 1; transform: translateY(0); }
        }
        .article-content {
            animation: fadeIn 0.8s ease-out;
        }
        .highlight {
            background: linear-gradient(120deg, var(--accent) 0%, var(--accent) 100%);
            background-repeat: no-repeat;
            background-size: 100% 0.3em;
            background-position: 0 88%;
            transition: background-size 0.3s ease;
        }
        .highlight:hover {
            background-size: 100% 100%;
            color: var(--dark);
        }
