:root {
            --primary: #1a365d;
            --secondary: #c53030;
            --accent: #ecc94b;
            --light: #f7fafc;
            --dark: #2d3748;
            --gray: #a0aec0;
            --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.6;
            color: var(--dark);
            background-color: #f1f5f9;
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 15px;
        }
        a {
            color: var(--secondary);
            text-decoration: none;
            transition: var(--transition);
        }
        a:hover {
            color: var(--primary);
            text-decoration: underline;
        }
        img {
            max-width: 100%;
            height: auto;
            display: block;
        }
        .container {
            width: 100%;
            margin: 0 auto;
        }
        header {
            background: linear-gradient(135deg, var(--primary) 0%, #2a4365 100%);
            color: white;
            padding: 1rem 0;
            box-shadow: 0 4px 12px rgba(0,0,0,0.1);
            position: sticky;
            top: 0;
            z-index: 1000;
        }
        .header-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0 1rem;
        }
        .my-logo {
            font-size: 2rem;
            font-weight: 800;
            color: var(--accent);
            text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
        }
        .my-logo a {
            color: inherit;
            text-decoration: none;
        }
        .my-logo span {
            color: white;
        }
        nav ul {
            display: flex;
            list-style: none;
            gap: 2rem;
        }
        nav a {
            color: white;
            font-weight: 600;
            padding: 0.5rem 0.75rem;
            border-radius: 4px;
        }
        nav a:hover {
            background-color: rgba(255,255,255,0.1);
            text-decoration: none;
        }
        .hamburger {
            display: none;
            background: none;
            border: none;
            color: white;
            font-size: 1.8rem;
            cursor: pointer;
            padding: 0.5rem;
        }
        .breadcrumb {
            padding: 1rem 0;
            background-color: var(--light);
            border-bottom: 1px solid #e2e8f0;
            margin-bottom: 2rem;
        }
        .breadcrumb ol {
            display: flex;
            flex-wrap: wrap;
            list-style: none;
            gap: 0.5rem;
        }
        .breadcrumb li:not(:last-child)::after {
            content: "›";
            margin-left: 0.5rem;
            color: var(--gray);
        }
        main {
            display: grid;
            grid-template-columns: 1fr 300px;
            gap: 2.5rem;
            margin-bottom: 3rem;
        }
        article {
            background: white;
            padding: 2.5rem;
            border-radius: 12px;
            box-shadow: 0 6px 20px rgba(0,0,0,0.08);
        }
        aside {
            background: white;
            padding: 1.5rem;
            border-radius: 12px;
            box-shadow: 0 6px 20px rgba(0,0,0,0.08);
            align-self: start;
            position: sticky;
            top: 120px;
        }
        h1 {
            font-size: 2.8rem;
            color: var(--primary);
            margin-bottom: 1.5rem;
            line-height: 1.2;
            border-bottom: 3px solid var(--accent);
            padding-bottom: 0.5rem;
        }
        h2 {
            font-size: 2rem;
            color: var(--primary);
            margin: 2.5rem 0 1rem;
            padding-bottom: 0.5rem;
            border-bottom: 2px solid #e2e8f0;
        }
        h3 {
            font-size: 1.5rem;
            color: var(--secondary);
            margin: 2rem 0 0.75rem;
        }
        h4 {
            font-size: 1.25rem;
            color: #4a5568;
            margin: 1.5rem 0 0.5rem;
        }
        p {
            margin-bottom: 1.25rem;
            text-align: justify;
        }
        .lead {
            font-size: 1.3rem;
            font-weight: 500;
            color: #2d3748;
            background: #f0fff4;
            padding: 1.5rem;
            border-left: 4px solid #38a169;
            border-radius: 0 8px 8px 0;
            margin-bottom: 2rem;
        }
        .highlight {
            background-color: #fffacd;
            padding: 1.5rem;
            border-radius: 8px;
            border-left: 4px solid var(--accent);
            margin: 1.5rem 0;
        }
        .note {
            background-color: #ebf8ff;
            padding: 1.5rem;
            border-radius: 8px;
            border-left: 4px solid #4299e1;
            margin: 1.5rem 0;
        }
        blockquote {
            font-style: italic;
            color: #4a5568;
            border-left: 4px solid var(--secondary);
            padding-left: 1.5rem;
            margin: 1.5rem 0;
        }
        ul, ol {
            margin-left: 1.5rem;
            margin-bottom: 1.25rem;
        }
        li {
            margin-bottom: 0.5rem;
        }
        .search-box {
            margin-bottom: 2rem;
            padding: 1rem;
            background: #edf2f7;
            border-radius: 8px;
        }
        .search-box form {
            display: flex;
        }
        .search-box input {
            flex: 1;
            padding: 0.75rem 1rem;
            border: 2px solid #cbd5e0;
            border-radius: 6px 0 0 6px;
            font-size: 1rem;
        }
        .search-box button {
            background-color: var(--primary);
            color: white;
            border: none;
            padding: 0 1.5rem;
            border-radius: 0 6px 6px 0;
            cursor: pointer;
            transition: var(--transition);
        }
        .search-box button:hover {
            background-color: #2a4365;
        }
        .user-interaction {
            background: #f8f9fa;
            padding: 2rem;
            border-radius: 12px;
            margin-top: 3rem;
            border: 1px solid #dee2e6;
        }
        .rating {
            display: flex;
            align-items: center;
            gap: 1rem;
            margin-bottom: 1.5rem;
        }
        .stars {
            display: flex;
            gap: 0.25rem;
        }
        .stars i {
            color: #e2e8f0;
            font-size: 1.5rem;
            cursor: pointer;
            transition: var(--transition);
        }
        .stars i.active,
        .stars i:hover {
            color: #f6ad55;
        }
        .comment-form textarea {
            width: 100%;
            padding: 1rem;
            border: 2px solid #cbd5e0;
            border-radius: 8px;
            font-family: inherit;
            margin-bottom: 1rem;
            resize: vertical;
            min-height: 120px;
        }
        .form-row {
            display: flex;
            gap: 1rem;
            margin-bottom: 1rem;
        }
        .form-row input {
            flex: 1;
            padding: 0.75rem;
            border: 2px solid #cbd5e0;
            border-radius: 6px;
        }
        button[type="submit"] {
            background-color: var(--secondary);
            color: white;
            padding: 0.75rem 2rem;
            border: none;
            border-radius: 6px;
            font-weight: 600;
            cursor: pointer;
            transition: var(--transition);
        }
        button[type="submit"]:hover {
            background-color: #9b2c2c;
        }
        footer {
            background-color: var(--primary);
            color: white;
            padding: 3rem 0 1.5rem;
            border-radius: 12px 12px 0 0;
            margin-top: 3rem;
        }
        .footer-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 2rem;
            padding: 0 1.5rem;
            margin-bottom: 2rem;
        }
        .footer-links h4 {
            color: var(--accent);
            margin-bottom: 1rem;
        }
        .footer-links ul {
            list-style: none;
            margin-left: 0;
        }
        .footer-links li {
            margin-bottom: 0.5rem;
        }
        .footer-links a {
            color: #cbd5e0;
        }
        friend-link {
            display: block;
            background: rgba(255,255,255,0.05);
            padding: 1rem;
            border-radius: 6px;
            margin-bottom: 0.5rem;
        }
        .copyright {
            text-align: center;
            padding-top: 1.5rem;
            border-top: 1px solid #4a5568;
            font-size: 0.9rem;
            color: #a0aec0;
        }
        @media (max-width: 992px) {
            main {
                grid-template-columns: 1fr;
            }
            aside {
                position: static;
            }
        }
        @media (max-width: 768px) {
            .header-container {
                flex-wrap: wrap;
            }
            .hamburger {
                display: block;
            }
            nav ul {
                display: none;
                flex-direction: column;
                width: 100%;
                background-color: var(--primary);
                padding: 1rem;
                margin-top: 1rem;
                border-radius: 8px;
            }
            nav ul.show {
                display: flex;
            }
            .form-row {
                flex-direction: column;
            }
            h1 {
                font-size: 2.2rem;
            }
            h2 {
                font-size: 1.8rem;
            }
            article {
                padding: 1.5rem;
            }
        }
        .text-center { text-align: center; }
        .mb-1 { margin-bottom: 1rem; }
        .mb-2 { margin-bottom: 2rem; }
        .mt-2 { margin-top: 2rem; }
        .py-1 { padding-top: 1rem; padding-bottom: 1rem; }
        .updated {
            font-size: 0.9rem;
            color: var(--gray);
            margin-bottom: 1rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }
        .emoji {
            font-size: 1.2em;
            margin-right: 0.25rem;
        }
        .tag {
            display: inline-block;
            background: #e2e8f0;
            padding: 0.25rem 0.75rem;
            border-radius: 50px;
            font-size: 0.85rem;
            margin-right: 0.5rem;
            margin-bottom: 0.5rem;
        }
        .img-container {
            margin: 2rem 0;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 8px 20px rgba(0,0,0,0.12);
        }
        .img-caption {
            text-align: center;
            font-size: 0.9rem;
            color: #718096;
            padding: 0.75rem;
            background: #f7fafc;
        }
        .table-container {
            overflow-x: auto;
            margin: 2rem 0;
        }
        table {
            width: 100%;
            border-collapse: collapse;
        }
        th, td {
            padding: 1rem;
            text-align: left;
            border-bottom: 1px solid #e2e8f0;
        }
        th {
            background-color: #edf2f7;
            color: var(--primary);
            font-weight: 700;
        }
        tr:hover {
            background-color: #f7fafc;
        }
