* { margin: 0; padding: 0; box-sizing: border-box; }
        :root {
            --primary: #2c3e50;
            --secondary: #3498db;
            --accent: #e74c3c;
            --light: #ecf0f1;
            --dark: #1a2530;
            --text: #333;
            --text-light: #7f8c8d;
            --border: #bdc3c7;
            --shadow: 0 4px 12px rgba(0,0,0,0.08);
            --radius: 8px;
            --transition: all 0.3s ease;
        }
        html { scroll-behavior: smooth; }
        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            line-height: 1.6;
            color: var(--text);
            background: #f9f9f9;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }
        header {
            background: white;
            box-shadow: var(--shadow);
            position: sticky;
            top: 0;
            z-index: 1000;
            padding: 1rem 0;
            margin-bottom: 2rem;
        }
        .header-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
        }
        .my-logo {
            font-size: 2rem;
            font-weight: 700;
            color: var(--primary);
            text-decoration: none;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        .my-logo i { color: var(--accent); }
        .my-logo:hover { color: var(--secondary); }
        nav { display: flex; align-items: center; }
        .nav-links {
            display: flex;
            list-style: none;
            gap: 1.5rem;
        }
        .nav-links a {
            text-decoration: none;
            color: var(--text);
            font-weight: 500;
            padding: 0.5rem;
            border-radius: var(--radius);
            transition: var(--transition);
            min-height: 44px;
            min-width: 44px;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .nav-links a:hover, .nav-links a.active {
            background: var(--secondary);
            color: white;
        }
        .hamburger {
            display: none;
            background: none;
            border: none;
            font-size: 1.5rem;
            cursor: pointer;
            color: var(--primary);
            min-height: 44px;
            min-width: 44px;
            align-items: center;
            justify-content: center;
        }
        .search-form {
            display: flex;
            margin-left: 1rem;
        }
        .search-form input {
            padding: 0.5rem 1rem;
            border: 1px solid var(--border);
            border-radius: var(--radius) 0 0 var(--radius);
            width: 200px;
        }
        .search-form button {
            background: var(--secondary);
            color: white;
            border: none;
            padding: 0.5rem 1rem;
            border-radius: 0 var(--radius) var(--radius) 0;
            cursor: pointer;
            min-height: 44px;
            min-width: 44px;
        }
        main {
            display: grid;
            grid-template-columns: 1fr 300px;
            gap: 2rem;
            margin-bottom: 3rem;
        }
        article { background: white; padding: 2rem; border-radius: var(--radius); box-shadow: var(--shadow); }
        aside {
            background: white;
            padding: 1.5rem;
            border-radius: var(--radius);
            box-shadow: var(--shadow);
            align-self: start;
            position: sticky;
            top: 100px;
        }
        h1 { color: var(--primary); margin-bottom: 1rem; font-size: 2.5rem; border-bottom: 3px solid var(--secondary); padding-bottom: 0.5rem; }
        h2 { color: var(--primary); margin: 1.8rem 0 1rem; font-size: 1.8rem; padding-bottom: 0.3rem; border-bottom: 1px solid var(--border); }
        h3 { color: var(--dark); margin: 1.5rem 0 0.8rem; font-size: 1.4rem; }
        h4 { color: var(--text); margin: 1.2rem 0 0.5rem; font-size: 1.1rem; }
        p { margin-bottom: 1rem; }
        a { color: var(--secondary); text-decoration: none; }
        a:hover { text-decoration: underline; color: var(--accent); }
        img {
            max-width: 100%;
            height: auto;
            border-radius: var(--radius);
            margin: 1rem 0;
            display: block;
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        }
        .infobox {
            background: var(--light);
            border-left: 4px solid var(--secondary);
            padding: 1rem;
            margin: 1.5rem 0;
            border-radius: 0 var(--radius) var(--radius) 0;
        }
        .update-log {
            background: #fff8e1;
            border: 1px solid #ffd54f;
            padding: 1rem;
            border-radius: var(--radius);
            margin: 1.5rem 0;
        }
        .update-log h3 { margin-top: 0; color: #e65100; }
        blockquote {
            border-left: 4px solid var(--accent);
            padding-left: 1rem;
            margin: 1.5rem 0;
            font-style: italic;
            color: var(--text-light);
        }
        ul, ol { margin: 1rem 0 1rem 2rem; }
        li { margin-bottom: 0.5rem; }
        .table-container {
            overflow-x: auto;
            margin: 1.5rem 0;
        }
        table {
            width: 100%;
            border-collapse: collapse;
            margin: 1rem 0;
        }
        th, td {
            border: 1px solid var(--border);
            padding: 0.75rem;
            text-align: left;
        }
        th { background: var(--light); font-weight: 600; }
        .btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
            background: var(--secondary);
            color: white;
            padding: 0.75rem 1.5rem;
            border: none;
            border-radius: var(--radius);
            cursor: pointer;
            font-weight: 500;
            transition: var(--transition);
            min-height: 44px;
            min-width: 44px;
        }
        .btn:hover { background: #2980b9; transform: translateY(-2px); box-shadow: 0 6px 12px rgba(0,0,0,0.15); text-decoration: none; }
        .btn-accent { background: var(--accent); }
        .btn-accent:hover { background: #c0392b; }
        .btn-light { background: var(--light); color: var(--text); }
        .btn-light:hover { background: #d5dbdb; }
        .share-buttons { display: flex; gap: 0.5rem; margin: 1.5rem 0; flex-wrap: wrap; }
        .back-to-top {
            position: fixed;
            bottom: 30px;
            right: 30px;
            background: var(--primary);
            color: white;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.2rem;
            box-shadow: var(--shadow);
            opacity: 0;
            visibility: hidden;
            transition: var(--transition);
            z-index: 999;
        }
        .back-to-top.visible { opacity: 1; visibility: visible; }
        .back-to-top:hover { background: var(--secondary); transform: scale(1.1); }
        form { margin: 1.5rem 0; }
        .form-group { margin-bottom: 1rem; }
        label { display: block; margin-bottom: 0.3rem; font-weight: 500; }
        input, select, textarea {
            width: 100%;
            padding: 0.75rem;
            border: 1px solid var(--border);
            border-radius: var(--radius);
            font-family: inherit;
            font-size: 1rem;
        }
        textarea { min-height: 120px; resize: vertical; }
        .rating-stars { display: flex; gap: 0.5rem; margin: 0.5rem 0; }
        .star { font-size: 1.5rem; color: #ddd; cursor: pointer; transition: var(--transition); }
        .star:hover, .star.active { color: #f39c12; }
        footer {
            background: var(--dark);
            color: white;
            padding: 2rem 0;
            margin-top: 3rem;
            border-radius: var(--radius) var(--radius) 0 0;
        }
        .footer-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 2rem;
            margin-bottom: 2rem;
        }
        .footer-section h3 { color: white; margin-bottom: 1rem; font-size: 1.2rem; }
        .footer-links { list-style: none; }
        .footer-links li { margin-bottom: 0.5rem; }
        .footer-links a { color: #bdc3c7; }
        .footer-links a:hover { color: white; }
        friend-link {
            display: block;
            margin: 0.5rem 0;
        }
        .copyright {
            text-align: center;
            padding-top: 1.5rem;
            border-top: 1px solid rgba(255,255,255,0.1);
            color: #bdc3c7;
            font-size: 0.9rem;
        }
        @media (max-width: 992px) {
            main { grid-template-columns: 1fr; }
            aside { position: static; }
        }
        @media (max-width: 768px) {
            body { padding: 0 15px; }
            .header-container { flex-direction: column; align-items: stretch; gap: 1rem; }
            .hamburger { display: flex; }
            .nav-links {
                display: none;
                flex-direction: column;
                width: 100%;
                gap: 0;
            }
            .nav-links.active { display: flex; }
            .nav-links li { width: 100%; }
            .nav-links a { justify-content: flex-start; padding: 1rem; border-radius: 0; }
            .search-form { margin-left: 0; margin-top: 1rem; width: 100%; }
            .search-form input { width: 100%; }
            h1 { font-size: 2rem; }
            h2 { font-size: 1.6rem; }
        }
        @media (max-width: 480px) {
            .share-buttons .btn { flex: 1; min-width: 120px; }
            .back-to-top { bottom: 20px; right: 20px; width: 45px; height: 45px; }
        }
        @media print {
            header, aside, .share-buttons, .back-to-top, form, footer { display: none; }
            body { background: white; color: black; max-width: 100%; }
            article { box-shadow: none; padding: 0; }
            a { color: black; text-decoration: underline; }
        }
