:root {
            --primary: #4f46e5;
            --primary-dark: #4338ca;
            --secondary: #10b981;
            --accent: #f59e0b;
            --light: #f8fafc;
            --dark: #1e293b;
            --gray: #64748b;
            --border: #e2e8f0;
            --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
            --radius: 8px;
            --transition: all 0.3s ease;
        }
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        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: 1280px;
            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: 2.2rem;
            font-weight: 800;
            color: var(--primary);
            text-decoration: none;
            background: linear-gradient(90deg, var(--primary), var(--secondary));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            transition: var(--transition);
        }
        .my-logo:hover {
            opacity: 0.9;
        }
        nav ul {
            display: flex;
            list-style: none;
            gap: 30px;
        }
        nav a {
            text-decoration: none;
            color: var(--dark);
            font-weight: 600;
            padding: 8px 0;
            position: relative;
            transition: var(--transition);
        }
        nav a:hover {
            color: var(--primary);
        }
        nav a::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0;
            height: 3px;
            background: var(--primary);
            transition: width 0.3s;
        }
        nav a:hover::after {
            width: 100%;
        }
        .hamburger {
            display: none;
            flex-direction: column;
            cursor: pointer;
            gap: 5px;
            padding: 10px;
        }
        .hamburger span {
            width: 25px;
            height: 3px;
            background: var(--dark);
            border-radius: 2px;
            transition: var(--transition);
        }
        .hamburger.active span:nth-child(1) {
            transform: rotate(45deg) translate(6px, 6px);
        }
        .hamburger.active span:nth-child(2) {
            opacity: 0;
        }
        .hamburger.active span:nth-child(3) {
            transform: rotate(-45deg) translate(6px, -6px);
        }
        .breadcrumb {
            padding: 15px 0;
            background: #f1f5f9;
            font-size: 0.9rem;
            border-bottom: 1px solid var(--border);
        }
        .breadcrumb a {
            color: var(--gray);
            text-decoration: none;
        }
        .breadcrumb a:hover {
            color: var(--primary);
        }
        main {
            display: grid;
            grid-template-columns: 1fr 300px;
            gap: 40px;
            padding: 40px 0;
        }
        .content {
            background: white;
            padding: 40px;
            border-radius: var(--radius);
            box-shadow: var(--shadow);
        }
        .sidebar {
            display: flex;
            flex-direction: column;
            gap: 30px;
        }
        .search-box, .comment-box, .rating-box {
            background: white;
            padding: 25px;
            border-radius: var(--radius);
            box-shadow: var(--shadow);
        }
        .search-box h3, .comment-box h3, .rating-box h3 {
            margin-bottom: 15px;
            color: var(--primary);
            display: flex;
            align-items: center;
            gap: 10px;
        }
        .search-box form {
            display: flex;
        }
        .search-box input {
            flex: 1;
            padding: 12px 15px;
            border: 2px solid var(--border);
            border-radius: var(--radius) 0 0 var(--radius);
            font-size: 1rem;
            transition: var(--transition);
        }
        .search-box input:focus {
            outline: none;
            border-color: var(--primary);
        }
        .search-box button {
            background: var(--primary);
            color: white;
            border: none;
            padding: 0 25px;
            border-radius: 0 var(--radius) var(--radius) 0;
            cursor: pointer;
            transition: var(--transition);
            font-weight: 600;
        }
        .search-box button:hover {
            background: var(--primary-dark);
        }
        textarea, select, .rating-stars {
            width: 100%;
            padding: 12px;
            border: 2px solid var(--border);
            border-radius: var(--radius);
            margin-bottom: 15px;
            font-family: inherit;
            font-size: 1rem;
            transition: var(--transition);
        }
        textarea:focus, select:focus {
            outline: none;
            border-color: var(--primary);
        }
        .rating-stars {
            display: flex;
            justify-content: center;
            gap: 10px;
            border: none;
            padding: 10px 0;
        }
        .rating-stars i {
            color: #ddd;
            font-size: 1.8rem;
            cursor: pointer;
            transition: var(--transition);
        }
        .rating-stars i:hover,
        .rating-stars i.active {
            color: var(--accent);
        }
        button[type="submit"] {
            background: var(--secondary);
            color: white;
            border: none;
            padding: 14px 30px;
            border-radius: var(--radius);
            cursor: pointer;
            font-weight: 600;
            font-size: 1rem;
            width: 100%;
            transition: var(--transition);
        }
        button[type="submit"]:hover {
            background: #0da271;
        }
        h1 {
            font-size: 2.8rem;
            color: var(--dark);
            margin-bottom: 25px;
            line-height: 1.2;
        }
        h2 {
            font-size: 2rem;
            color: var(--primary);
            margin: 50px 0 20px;
            padding-bottom: 10px;
            border-bottom: 3px solid var(--primary);
        }
        h3 {
            font-size: 1.6rem;
            color: var(--secondary);
            margin: 35px 0 15px;
        }
        h4 {
            font-size: 1.3rem;
            color: var(--accent);
            margin: 25px 0 10px;
        }
        p {
            margin-bottom: 22px;
            text-align: justify;
        }
        strong {
            color: var(--primary-dark);
            font-weight: 700;
        }
        em {
            color: var(--gray);
            font-style: italic;
        }
        a.content-link {
            color: var(--secondary);
            text-decoration: none;
            font-weight: 600;
            border-bottom: 1px dotted var(--secondary);
            transition: var(--transition);
        }
        a.content-link:hover {
            color: var(--primary);
            border-bottom-style: solid;
        }
        .highlight {
            background: linear-gradient(120deg, #f0f9ff 0%, #e0f2fe 100%);
            padding: 30px;
            border-left: 5px solid var(--primary);
            border-radius: 0 var(--radius) var(--radius) 0;
            margin: 30px 0;
        }
        .highlight p:last-child {
            margin-bottom: 0;
        }
        .quote {
            font-size: 1.2rem;
            font-style: italic;
            color: var(--gray);
            text-align: center;
            padding: 30px;
            background: #f8fafc;
            border-radius: var(--radius);
            margin: 30px 0;
            position: relative;
        }
        .quote::before, .quote::after {
            content: '"';
            font-size: 3rem;
            color: var(--accent);
            position: absolute;
            opacity: 0.3;
        }
        .quote::before {
            top: 10px;
            left: 20px;
        }
        .quote::after {
            bottom: 10px;
            right: 20px;
        }
        .article-img {
            width: 100%;
            max-width: 800px;
            height: auto;
            border-radius: var(--radius);
            box-shadow: var(--shadow);
            margin: 30px auto;
            display: block;
            transition: transform 0.5s ease;
        }
        .article-img:hover {
            transform: scale(1.02);
        }
        .update-time {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            background: #f1f5f9;
            padding: 12px 20px;
            border-radius: 50px;
            font-size: 0.9rem;
            color: var(--gray);
            margin: 20px 0 40px;
        }
        footer {
            background: var(--dark);
            color: white;
            padding: 60px 0 30px;
            margin-top: 60px;
        }
        .footer-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 40px;
            margin-bottom: 40px;
        }
        .footer-section h4 {
            color: white;
            margin-bottom: 20px;
            font-size: 1.2rem;
        }
        .footer-section ul {
            list-style: none;
        }
        .footer-section ul li {
            margin-bottom: 12px;
        }
        .footer-section a {
            color: #cbd5e1;
            text-decoration: none;
            transition: var(--transition);
        }
        .footer-section a:hover {
            color: white;
            padding-left: 5px;
        }
        friend-link {
            display: block;
            background: rgba(255,255,255,0.05);
            padding: 15px;
            border-radius: var(--radius);
            margin: 10px 0;
            transition: var(--transition);
        }
        friend-link:hover {
            background: rgba(255,255,255,0.1);
        }
        friend-link a {
            color: var(--secondary) !important;
            font-weight: 600;
        }
        .copyright {
            text-align: center;
            padding-top: 30px;
            border-top: 1px solid #334155;
            color: #94a3b8;
            font-size: 0.9rem;
        }
        @media (max-width: 1024px) {
            main {
                grid-template-columns: 1fr;
                gap: 30px;
            }
            h1 {
                font-size: 2.4rem;
            }
            h2 {
                font-size: 1.8rem;
            }
        }
        @media (max-width: 768px) {
            .header-top {
                flex-wrap: wrap;
            }
            nav {
                order: 3;
                width: 100%;
                margin-top: 20px;
                display: none;
            }
            nav.active {
                display: block;
            }
            nav ul {
                flex-direction: column;
                gap: 15px;
            }
            .hamburger {
                display: flex;
            }
            .content {
                padding: 25px;
            }
            h1 {
                font-size: 2rem;
            }
            h2 {
                font-size: 1.6rem;
            }
            .search-box form {
                flex-direction: column;
            }
            .search-box input,
            .search-box button {
                border-radius: var(--radius);
                width: 100%;
            }
            .search-box button {
                margin-top: 10px;
                padding: 12px;
            }
        }
        @media (max-width: 480px) {
            .container {
                padding: 0 15px;
            }
            .content {
                padding: 20px;
            }
            h1 {
                font-size: 1.8rem;
            }
            .highlight, .quote {
                padding: 20px;
            }
        }
