:root {
            --primary: #b22222;
            --secondary: #2c3e50;
            --accent: #f39c12;
            --light: #ecf0f1;
            --dark: #1a1a1a;
            --gray: #7f8c8d;
            --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
            --transition: all 0.3s ease;
        }
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            line-height: 1.8;
            color: var(--dark);
            background-color: #fefefe;
            overflow-x: hidden;
        }
        a {
            color: var(--primary);
            text-decoration: none;
            transition: var(--transition);
        }
        a:hover {
            color: var(--accent);
            text-decoration: underline;
        }
        .container {
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }
        header {
            background-color: var(--secondary);
            color: var(--light);
            padding: 1rem 0;
            box-shadow: var(--shadow);
            position: sticky;
            top: 0;
            z-index: 1000;
        }
        .header-top {
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
        }
        .my-logo {
            font-family: 'Impact', 'Arial Black', sans-serif;
            font-size: 2.2rem;
            color: var(--accent);
            text-transform: uppercase;
            letter-spacing: 2px;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
        }
        .my-logo a {
            color: inherit;
            text-decoration: none;
        }
        .search-bar {
            display: flex;
            max-width: 400px;
            flex-grow: 1;
            margin: 0 20px;
        }
        .search-bar input {
            flex-grow: 1;
            padding: 10px 15px;
            border: none;
            border-radius: 4px 0 0 4px;
            font-size: 1rem;
        }
        .search-bar button {
            background-color: var(--primary);
            color: white;
            border: none;
            padding: 10px 20px;
            border-radius: 0 4px 4px 0;
            cursor: pointer;
            transition: var(--transition);
        }
        .search-bar button:hover {
            background-color: var(--accent);
        }
        .mobile-toggle {
            display: none;
            background: none;
            border: none;
            color: white;
            font-size: 1.8rem;
            cursor: pointer;
        }
        nav ul {
            display: flex;
            list-style: none;
            background-color: var(--dark);
            border-radius: 4px;
            margin-top: 1rem;
            overflow: hidden;
        }
        nav li {
            flex: 1;
            text-align: center;
        }
        nav a {
            display: block;
            padding: 15px 20px;
            color: var(--light);
            font-weight: 600;
            text-decoration: none;
            transition: var(--transition);
        }
        nav a:hover,
        nav a.active {
            background-color: var(--primary);
            color: white;
        }
        .breadcrumb {
            padding: 10px 0;
            font-size: 0.9rem;
            color: var(--gray);
        }
        .breadcrumb a {
            color: var(--gray);
        }
        .breadcrumb a:hover {
            color: var(--primary);
        }
        main {
            padding: 2rem 0;
            display: grid;
            grid-template-columns: 1fr 300px;
            gap: 40px;
        }
        @media (max-width: 992px) {
            main {
                grid-template-columns: 1fr;
            }
        }
        article {
            background: white;
            padding: 30px;
            border-radius: 8px;
            box-shadow: var(--shadow);
        }
        h1 {
            color: var(--primary);
            font-size: 2.8rem;
            margin-bottom: 1rem;
            line-height: 1.2;
            border-bottom: 3px solid var(--accent);
            padding-bottom: 10px;
        }
        h2 {
            color: var(--secondary);
            font-size: 2rem;
            margin: 2rem 0 1rem;
            padding-top: 1rem;
            border-top: 1px dashed var(--gray);
        }
        h3 {
            color: var(--dark);
            font-size: 1.6rem;
            margin: 1.5rem 0 0.8rem;
        }
        h4 {
            color: var(--gray);
            font-size: 1.3rem;
            margin: 1.2rem 0 0.5rem;
        }
        p {
            margin-bottom: 1.5rem;
            text-align: justify;
        }
        .intro {
            font-size: 1.2rem;
            background: linear-gradient(to right, #f8f9fa, #fff);
            padding: 20px;
            border-left: 5px solid var(--primary);
            margin-bottom: 2rem;
        }
        .highlight {
            background-color: #fffacd;
            padding: 15px;
            border-radius: 5px;
            margin: 20px 0;
            border-left: 4px solid var(--accent);
        }
        .feature-img {
            width: 100%;
            max-height: 500px;
            object-fit: cover;
            border-radius: 8px;
            margin: 20px 0;
            box-shadow: var(--shadow);
            transition: transform 0.5s ease;
        }
        .feature-img:hover {
            transform: scale(1.01);
        }
        .emoji {
            font-size: 1.2em;
            margin-right: 5px;
        }
        .link-list {
            columns: 2;
            column-gap: 30px;
            margin: 20px 0;
        }
        .link-list li {
            margin-bottom: 10px;
            break-inside: avoid;
        }
        .stats-box {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 20px;
            margin: 30px 0;
        }
        .stat {
            background: var(--secondary);
            color: white;
            padding: 20px;
            border-radius: 8px;
            text-align: center;
            transition: var(--transition);
        }
        .stat:hover {
            transform: translateY(-5px);
            background: var(--primary);
        }
        .stat i {
            font-size: 2.5rem;
            margin-bottom: 10px;
            display: block;
        }
        .quote {
            font-style: italic;
            font-size: 1.3rem;
            color: var(--secondary);
            text-align: center;
            padding: 30px;
            border-top: 2px solid var(--accent);
            border-bottom: 2px solid var(--accent);
            margin: 30px 0;
            background: #f9f9f9;
        }
        aside {
            background: white;
            padding: 25px;
            border-radius: 8px;
            box-shadow: var(--shadow);
            align-self: start;
            position: sticky;
            top: 120px;
        }
        .sidebar-section {
            margin-bottom: 30px;
            border-bottom: 1px solid #eee;
            padding-bottom: 20px;
        }
        .sidebar-section h3 {
            font-size: 1.4rem;
            color: var(--primary);
            margin-bottom: 15px;
        }
        .rating-widget {
            text-align: center;
            padding: 20px;
            background: #f8f9fa;
            border-radius: 8px;
        }
        .stars {
            font-size: 2rem;
            color: #ffc107;
            margin: 10px 0;
            cursor: pointer;
        }
        .stars span {
            transition: var(--transition);
        }
        .stars span:hover,
        .stars span.active {
            color: var(--accent);
            transform: scale(1.2);
        }
        .comment-form textarea,
        .comment-form input {
            width: 100%;
            padding: 12px;
            margin-bottom: 15px;
            border: 1px solid #ddd;
            border-radius: 4px;
            font-family: inherit;
        }
        .comment-form button {
            background-color: var(--primary);
            color: white;
            border: none;
            padding: 12px 25px;
            border-radius: 4px;
            cursor: pointer;
            width: 100%;
            transition: var(--transition);
        }
        .comment-form button:hover {
            background-color: var(--accent);
        }
        .update-time {
            font-size: 0.9rem;
            color: var(--gray);
            text-align: center;
            padding: 10px;
            background: #f1f1f1;
            border-radius: 4px;
        }
        footer {
            background-color: var(--secondary);
            color: var(--light);
            padding: 3rem 0 1.5rem;
            margin-top: 3rem;
        }
        .footer-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 30px;
            margin-bottom: 2rem;
        }
        .footer-section h3 {
            color: var(--accent);
            margin-bottom: 1rem;
            font-size: 1.3rem;
        }
        friend-link {
            display: block;
            padding: 8px 0;
            border-bottom: 1px dotted rgba(255,255,255,0.1);
        }
        .copyright {
            text-align: center;
            padding-top: 1.5rem;
            border-top: 1px solid rgba(255,255,255,0.1);
            font-size: 0.9rem;
            color: #bdc3c7;
        }
        @media (max-width: 768px) {
            .header-top {
                flex-direction: column;
                align-items: flex-start;
            }
            .search-bar {
                margin: 15px 0;
                width: 100%;
                max-width: 100%;
            }
            .mobile-toggle {
                display: block;
                position: absolute;
                top: 20px;
                right: 20px;
            }
            nav ul {
                display: none;
                flex-direction: column;
                width: 100%;
                margin-top: 1rem;
            }
            nav ul.active {
                display: flex;
            }
            h1 {
                font-size: 2.2rem;
            }
            h2 {
                font-size: 1.8rem;
            }
            .link-list {
                columns: 1;
            }
            .stats-box {
                grid-template-columns: 1fr;
            }
        }
        @media print {
            header, footer, aside, .breadcrumb, .search-bar, .rating-widget, .comment-form {
                display: none;
            }
            main {
                grid-template-columns: 1fr;
            }
            body {
                font-size: 12pt;
                line-height: 1.5;
            }
        }
