:root {
            --primary: #4361ee;
            --primary-dark: #3a56d4;
            --secondary: #7209b7;
            --accent: #f72585;
            --light: #f8f9fa;
            --dark: #212529;
            --gray: #6c757d;
            --light-gray: #e9ecef;
            --border-radius: 12px;
            --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
            --transition: all 0.3s ease;
            --max-width: 1200px;
        }
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        html {
            scroll-behavior: smooth;
            line-height: 1.6;
        }
        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
            color: var(--dark);
            background-color: #fff;
            overflow-x: hidden;
        }
        a {
            color: var(--primary);
            text-decoration: none;
            transition: var(--transition);
        }
        a:hover {
            color: var(--accent);
        }
        img {
            max-width: 100%;
            height: auto;
            display: block;
        }
        .container {
            width: 100%;
            max-width: var(--max-width);
            margin: 0 auto;
            padding: 0 20px;
        }
        .site-header {
            background: white;
            box-shadow: var(--shadow);
            position: sticky;
            top: 0;
            z-index: 1000;
        }
        .header-content {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 1rem 0;
        }
        .my-logo {
            font-size: 2rem;
            font-weight: 800;
            color: var(--primary);
            font-style: italic;
            letter-spacing: -0.5px;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        .my-logo i {
            color: var(--accent);
        }
        .my-logo:hover {
            color: var(--secondary);
        }
        .main-nav {
            display: flex;
            gap: 2rem;
        }
        .main-nav a {
            font-weight: 600;
            font-size: 0.95rem;
            position: relative;
        }
        .main-nav a::after {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 0;
            width: 0;
            height: 2px;
            background: var(--accent);
            transition: width 0.3s;
        }
        .main-nav a:hover::after {
            width: 100%;
        }
        .search-form {
            display: flex;
            border: 2px solid var(--light-gray);
            border-radius: 50px;
            overflow: hidden;
            background: white;
        }
        .search-input {
            border: none;
            padding: 0.6rem 1rem;
            width: 200px;
            outline: none;
        }
        .search-btn {
            background: var(--primary);
            color: white;
            border: none;
            padding: 0.6rem 1.2rem;
            cursor: pointer;
            transition: var(--transition);
        }
        .search-btn:hover {
            background: var(--primary-dark);
        }
        .hamburger {
            display: none;
            font-size: 1.5rem;
            background: none;
            border: none;
            color: var(--dark);
            cursor: pointer;
        }
        .breadcrumb {
            background: var(--light);
            padding: 0.8rem 0;
            margin-bottom: 2rem;
            font-size: 0.9rem;
        }
        .breadcrumb .container {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
        }
        .breadcrumb a {
            color: var(--gray);
        }
        .breadcrumb a:hover {
            color: var(--primary);
        }
        .breadcrumb span {
            color: var(--gray);
        }
        .main-content {
            display: grid;
            grid-template-columns: 1fr 300px;
            gap: 3rem;
            padding: 2rem 0 4rem;
        }
        article {
            line-height: 1.8;
        }
        .article-header {
            margin-bottom: 2.5rem;
            border-bottom: 1px solid var(--light-gray);
            padding-bottom: 1.5rem;
        }
        h1 {
            font-size: 2.8rem;
            line-height: 1.2;
            color: var(--dark);
            margin-bottom: 1rem;
        }
        .article-meta {
            display: flex;
            gap: 1rem;
            color: var(--gray);
            font-size: 0.9rem;
            margin-bottom: 1rem;
        }
        h2 {
            font-size: 2rem;
            margin: 3rem 0 1.5rem;
            padding-top: 1rem;
            border-top: 3px solid var(--light-gray);
            color: var(--secondary);
        }
        h3 {
            font-size: 1.6rem;
            margin: 2.5rem 0 1rem;
            color: var(--primary);
        }
        h4 {
            font-size: 1.3rem;
            margin: 2rem 0 1rem;
            color: var(--dark);
        }
        p {
            margin-bottom: 1.5rem;
            text-align: justify;
        }
        strong {
            font-weight: 700;
            color: var(--dark);
        }
        .highlight-box {
            background: linear-gradient(135deg, #f0f4ff, #e6f7ff);
            border-left: 5px solid var(--primary);
            padding: 1.5rem;
            margin: 2rem 0;
            border-radius: 0 var(--border-radius) var(--border-radius) 0;
        }
        .img-container {
            margin: 2.5rem auto;
            text-align: center;
            max-width: 800px;
        }
        .img-container img {
            border-radius: var(--border-radius);
            box-shadow: var(--shadow);
            margin: 0 auto 1rem;
        }
        .img-caption {
            font-size: 0.9rem;
            color: var(--gray);
            font-style: italic;
            margin-top: 0.5rem;
        }
        ul, ol {
            margin: 1.5rem 0 1.5rem 2rem;
        }
        li {
            margin-bottom: 0.8rem;
        }
        .link-list {
            display: flex;
            flex-wrap: wrap;
            gap: 1rem;
            margin: 2rem 0;
        }
        .link-list a {
            background: var(--light);
            padding: 0.5rem 1rem;
            border-radius: 50px;
            border: 1px solid var(--light-gray);
        }
        .link-list a:hover {
            background: var(--primary);
            color: white;
            border-color: var(--primary);
        }
        .sidebar {
            position: sticky;
            top: 120px;
            align-self: start;
            max-height: calc(100vh - 140px);
            overflow-y: auto;
        }
        .sidebar-widget {
            background: white;
            border-radius: var(--border-radius);
            padding: 1.5rem;
            margin-bottom: 2rem;
            box-shadow: var(--shadow);
        }
        .sidebar-title {
            font-size: 1.3rem;
            margin-bottom: 1.2rem;
            padding-bottom: 0.5rem;
            border-bottom: 2px solid var(--primary);
            color: var(--dark);
        }
        .toc {
            padding-left: 0;
            list-style: none;
        }
        .toc li {
            margin-bottom: 0.8rem;
        }
        .toc a {
            color: var(--dark);
            display: block;
            padding: 0.3rem 0.5rem;
            border-radius: 5px;
        }
        .toc a:hover {
            background: var(--light-gray);
            color: var(--primary);
        }
        .user-interaction {
            margin: 4rem 0;
            padding: 2.5rem;
            background: var(--light);
            border-radius: var(--border-radius);
            box-shadow: var(--shadow);
        }
        .interaction-title {
            font-size: 1.8rem;
            margin-bottom: 1.5rem;
            color: var(--secondary);
        }
        .rating-section {
            display: flex;
            align-items: center;
            gap: 1rem;
            margin-bottom: 2rem;
            flex-wrap: wrap;
        }
        .stars {
            display: flex;
            gap: 0.3rem;
        }
        .star {
            font-size: 1.8rem;
            color: var(--light-gray);
            cursor: pointer;
            transition: var(--transition);
        }
        .star:hover,
        .star.active {
            color: #ffc107;
        }
        .comment-form,
        .rating-form {
            display: grid;
            gap: 1rem;
            margin-top: 1.5rem;
        }
        .form-group {
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
        }
        label {
            font-weight: 600;
        }
        input, textarea, select {
            padding: 0.8rem 1rem;
            border: 1px solid var(--light-gray);
            border-radius: 8px;
            font-family: inherit;
            font-size: 1rem;
            transition: var(--transition);
        }
        input:focus, textarea:focus, select:focus {
            outline: none;
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.1);
        }
        .btn {
            background: var(--primary);
            color: white;
            border: none;
            padding: 0.9rem 2rem;
            border-radius: 8px;
            font-weight: 600;
            cursor: pointer;
            transition: var(--transition);
            justify-self: start;
        }
        .btn:hover {
            background: var(--primary-dark);
            transform: translateY(-2px);
            box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
        }
        .site-footer {
            background: var(--dark);
            color: white;
            padding: 3rem 0 1.5rem;
            margin-top: 3rem;
        }
        .footer-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 2rem;
            margin-bottom: 2rem;
        }
        .footer-section h3 {
            font-size: 1.3rem;
            margin-bottom: 1.5rem;
            color: white;
            border: none;
            padding: 0;
        }
        .footer-section a {
            color: #ccc;
            display: block;
            margin-bottom: 0.8rem;
        }
        .footer-section a:hover {
            color: white;
            padding-left: 5px;
        }
        friend-link {
            display: block;
            margin: 1rem 0;
            padding: 1rem;
            background: rgba(255,255,255,0.05);
            border-radius: 8px;
        }
        .copyright {
            text-align: center;
            padding-top: 1.5rem;
            border-top: 1px solid #444;
            color: #aaa;
            font-size: 0.9rem;
        }
        @media (max-width: 992px) {
            .main-content {
                grid-template-columns: 1fr;
            }
            .sidebar {
                position: static;
                max-height: none;
            }
            h1 {
                font-size: 2.3rem;
            }
        }
        @media (max-width: 768px) {
            .hamburger {
                display: block;
            }
            .main-nav {
                position: fixed;
                top: 70px;
                left: 0;
                width: 100%;
                background: white;
                flex-direction: column;
                padding: 2rem;
                box-shadow: var(--shadow);
                transform: translateY(-150%);
                opacity: 0;
                transition: transform 0.4s ease, opacity 0.3s ease;
                z-index: 999;
            }
            .main-nav.active {
                transform: translateY(0);
                opacity: 1;
            }
            .header-content {
                padding: 1rem 0;
            }
            .search-input {
                width: 150px;
            }
            .user-interaction {
                padding: 1.5rem;
            }
        }
        @media (max-width: 576px) {
            h1 {
                font-size: 2rem;
            }
            h2 {
                font-size: 1.7rem;
            }
            .article-meta {
                flex-direction: column;
                gap: 0.5rem;
            }
            .search-form {
                order: 3;
                width: 100%;
                margin-top: 1rem;
            }
            .search-input {
                width: 100%;
            }
            .header-content {
                flex-wrap: wrap;
            }
        }
        @media print {
            .site-header, .sidebar, .user-interaction, .site-footer {
                display: none;
            }
            .main-content {
                grid-template-columns: 1fr;
                padding: 0;
            }
            body {
                font-size: 12pt;
                line-height: 1.4;
            }
            a {
                color: black;
                text-decoration: underline;
            }
        }
