:root {
            --primary: #5e35b1;
            --primary-dark: #4527a0;
            --secondary: #ff9800;
            --accent: #00bcd4;
            --light: #f5f5f5;
            --dark: #212121;
            --gray: #757575;
            --success: #4caf50;
            --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
            --border-radius: 12px;
        }
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
            line-height: 1.7;
            color: var(--dark);
            background-color: #fefefe;
            max-width: 100vw;
            overflow-x: hidden;
        }
        a {
            color: var(--primary);
            text-decoration: none;
            transition: color 0.3s ease;
        }
        a:hover {
            color: var(--secondary);
        }
        img {
            max-width: 100%;
            height: auto;
            display: block;
            border-radius: var(--border-radius);
        }
        .container {
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }
        .site-header {
            background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
            color: white;
            padding: 1rem 0;
            box-shadow: var(--shadow);
            position: sticky;
            top: 0;
            z-index: 1000;
        }
        .header-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        .my-logo {
            font-size: 1.8rem;
            font-weight: 800;
            color: white;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        .my-logo i {
            color: var(--secondary);
        }
        .main-nav ul {
            display: flex;
            list-style: none;
            gap: 2rem;
        }
        .main-nav a {
            color: white;
            font-weight: 600;
            padding: 0.5rem 0;
            position: relative;
        }
        .main-nav a:hover {
            color: var(--secondary);
        }
        .main-nav a::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0;
            height: 3px;
            background: var(--secondary);
            transition: width 0.3s ease;
        }
        .main-nav a:hover::after {
            width: 100%;
        }
        .hamburger {
            display: none;
            background: none;
            border: none;
            color: white;
            font-size: 1.8rem;
            cursor: pointer;
        }
        .breadcrumb {
            background-color: var(--light);
            padding: 1rem 0;
            margin-bottom: 2rem;
            font-size: 0.9rem;
        }
        .breadcrumb ul {
            display: flex;
            list-style: none;
            flex-wrap: wrap;
            gap: 0.5rem;
        }
        .breadcrumb li:not(:last-child)::after {
            content: '›';
            margin-left: 0.5rem;
            color: var(--gray);
        }
        .main-content {
            display: grid;
            grid-template-columns: 1fr 300px;
            gap: 3rem;
            margin: 2rem 0;
        }
        @media (max-width: 992px) {
            .main-content {
                grid-template-columns: 1fr;
            }
        }
        .article-content {
            background: white;
            padding: 2.5rem;
            border-radius: var(--border-radius);
            box-shadow: var(--shadow);
        }
        .article-meta {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 2rem;
            padding-bottom: 1rem;
            border-bottom: 1px solid #eee;
            font-size: 0.9rem;
            color: var(--gray);
        }
        .last-updated {
            color: var(--success);
            font-weight: 600;
        }
        h1 {
            font-size: 2.8rem;
            line-height: 1.2;
            margin-bottom: 1.5rem;
            color: var(--primary-dark);
        }
        h2 {
            font-size: 2rem;
            margin: 2.5rem 0 1.2rem;
            padding-bottom: 0.5rem;
            border-bottom: 2px solid var(--light);
            color: var(--primary);
        }
        h3 {
            font-size: 1.6rem;
            margin: 2rem 0 1rem;
            color: var(--dark);
        }
        h4 {
            font-size: 1.3rem;
            margin: 1.5rem 0 0.8rem;
            color: var(--gray);
        }
        p {
            margin-bottom: 1.5rem;
            text-align: justify;
        }
        .lead {
            font-size: 1.2rem;
            font-weight: 500;
            color: var(--primary);
            padding: 1rem;
            background-color: #f0f7ff;
            border-left: 4px solid var(--accent);
            border-radius: 4px;
            margin-bottom: 2rem;
        }
        .highlight {
            background-color: #fff8e1;
            padding: 1.5rem;
            border-radius: var(--border-radius);
            border-left: 5px solid var(--secondary);
            margin: 1.5rem 0;
        }
        .emoji {
            font-size: 1.2em;
            margin-right: 5px;
        }
        .figure {
            margin: 2.5rem auto;
            text-align: center;
        }
        .figure img {
            box-shadow: 0 6px 20px rgba(0,0,0,0.1);
            margin-bottom: 1rem;
        }
        .figcaption {
            font-style: italic;
            color: var(--gray);
            font-size: 0.95rem;
        }
        .sidebar {
            display: flex;
            flex-direction: column;
            gap: 2rem;
        }
        .widget {
            background: white;
            padding: 1.5rem;
            border-radius: var(--border-radius);
            box-shadow: var(--shadow);
        }
        .widget h3 {
            font-size: 1.3rem;
            margin-top: 0;
            color: var(--primary);
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }
        .search-form {
            display: flex;
            margin-top: 1rem;
        }
        .search-form input {
            flex: 1;
            padding: 0.8rem 1rem;
            border: 2px solid #ddd;
            border-radius: var(--border-radius) 0 0 var(--border-radius);
            font-size: 1rem;
            outline: none;
            transition: border-color 0.3s;
        }
        .search-form input:focus {
            border-color: var(--primary);
        }
        .search-form button {
            background: var(--primary);
            color: white;
            border: none;
            padding: 0 1.5rem;
            border-radius: 0 var(--border-radius) var(--border-radius) 0;
            cursor: pointer;
            transition: background 0.3s;
        }
        .search-form button:hover {
            background: var(--primary-dark);
        }
        .rating-widget form, .comment-widget form {
            display: flex;
            flex-direction: column;
            gap: 1rem;
            margin-top: 1rem;
        }
        .star-rating {
            display: flex;
            gap: 0.5rem;
            font-size: 1.5rem;
            color: #ddd;
            cursor: pointer;
        }
        .star-rating .star:hover,
        .star-rating .star.active {
            color: var(--secondary);
        }
        .form-group {
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
        }
        .form-group label {
            font-weight: 600;
            color: var(--dark);
        }
        .form-group input,
        .form-group textarea,
        .form-group select {
            padding: 0.8rem;
            border: 2px solid #ddd;
            border-radius: var(--border-radius);
            font-family: inherit;
            font-size: 1rem;
            transition: border-color 0.3s;
        }
        .form-group input:focus,
        .form-group textarea:focus,
        .form-group select:focus {
            outline: none;
            border-color: var(--primary);
        }
        .btn {
            background: var(--primary);
            color: white;
            border: none;
            padding: 0.9rem 1.8rem;
            border-radius: var(--border-radius);
            font-weight: 600;
            font-size: 1rem;
            cursor: pointer;
            transition: all 0.3s ease;
            align-self: flex-start;
        }
        .btn:hover {
            background: var(--primary-dark);
            transform: translateY(-2px);
            box-shadow: 0 6px 12px rgba(94, 53, 177, 0.2);
        }
        .site-footer {
            background: var(--dark);
            color: white;
            padding: 3rem 0 1.5rem;
            margin-top: 4rem;
        }
        .footer-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 2rem;
            margin-bottom: 2rem;
        }
        .footer-logo {
            font-size: 1.8rem;
            font-weight: 800;
            margin-bottom: 1rem;
            color: white;
        }
        .footer-links h4 {
            color: var(--secondary);
            margin-bottom: 1.2rem;
        }
        .footer-links ul {
            list-style: none;
        }
        .footer-links li {
            margin-bottom: 0.7rem;
        }
        .footer-links a {
            color: #ccc;
        }
        .footer-links a:hover {
            color: var(--secondary);
            padding-left: 5px;
            transition: all 0.3s;
        }
        friend-link {
            display: block;
            background: rgba(255,255,255,0.05);
            padding: 1rem;
            border-radius: var(--border-radius);
            margin-bottom: 1rem;
            border-left: 4px solid var(--accent);
        }
        .copyright {
            text-align: center;
            padding-top: 1.5rem;
            border-top: 1px solid rgba(255,255,255,0.1);
            color: #aaa;
            font-size: 0.9rem;
        }
        @media (max-width: 768px) {
            .hamburger {
                display: block;
            }
            .main-nav {
                position: fixed;
                top: 70px;
                left: 0;
                width: 100%;
                background: var(--primary);
                flex-direction: column;
                padding: 1rem;
                clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
                transition: clip-path 0.4s ease;
            }
            .main-nav.active {
                clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
            }
            .main-nav ul {
                flex-direction: column;
                gap: 1rem;
            }
            h1 {
                font-size: 2.2rem;
            }
            h2 {
                font-size: 1.8rem;
            }
            .article-content {
                padding: 1.5rem;
            }
        }
