:root {
            --primary-dark: #0a0a12;
            --primary-accent: #8b0000;
            --secondary-accent: #d4af37;
            --text-light: #f0f0f0;
            --text-muted: #b0b0b0;
            --bg-card: #1a1a2e;
            --border-color: #2d2d4d;
            --font-main: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        html {
            scroll-behavior: smooth;
        }
        body {
            font-family: var(--font-main);
            background-color: var(--primary-dark);
            color: var(--text-light);
            line-height: 1.7;
            overflow-x: hidden;
        }
        a {
            color: var(--secondary-accent);
            text-decoration: none;
            transition: color 0.3s ease;
        }
        a:hover {
            color: #ffd700;
            text-decoration: underline;
        }
        .container {
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }
        .site-header {
            background: linear-gradient(to bottom, #000000, var(--primary-dark));
            border-bottom: 3px solid var(--primary-accent);
            padding: 1rem 0;
            position: sticky;
            top: 0;
            z-index: 1000;
        }
        .header-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        .my-logo {
            font-family: 'Times New Roman', serif;
            font-size: 2.2rem;
            font-weight: bold;
            background: linear-gradient(to right, #d4af37, #8b0000);
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
            text-transform: uppercase;
            letter-spacing: 2px;
        }
        .my-logo:hover {
            text-decoration: none;
            filter: brightness(1.2);
        }
        .main-nav ul {
            display: flex;
            list-style: none;
            gap: 1.8rem;
        }
        .main-nav a {
            color: var(--text-light);
            font-weight: 600;
            padding: 0.5rem 0;
            position: relative;
        }
        .main-nav a::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0;
            height: 2px;
            background: var(--secondary-accent);
            transition: width 0.3s ease;
        }
        .main-nav a:hover::after {
            width: 100%;
        }
        .hamburger {
            display: none;
            background: none;
            border: none;
            color: var(--text-light);
            font-size: 1.8rem;
            cursor: pointer;
        }
        .breadcrumb {
            background-color: rgba(26, 26, 46, 0.8);
            padding: 0.8rem 0;
            font-size: 0.9rem;
            margin-bottom: 2rem;
            border-bottom: 1px solid var(--border-color);
        }
        .breadcrumb ol {
            display: flex;
            list-style: none;
            flex-wrap: wrap;
        }
        .breadcrumb li:not(:last-child)::after {
            content: '›';
            margin: 0 10px;
            color: var(--text-muted);
        }
        .search-section {
            background-color: var(--bg-card);
            padding: 2rem;
            border-radius: 8px;
            margin: 2rem 0;
            border-left: 5px solid var(--primary-accent);
        }
        .search-form {
            display: flex;
            max-width: 600px;
            margin: 0 auto;
        }
        .search-input {
            flex-grow: 1;
            padding: 0.9rem 1.2rem;
            border: 2px solid var(--border-color);
            border-radius: 4px 0 0 4px;
            background-color: #0f0f1a;
            color: var(--text-light);
            font-size: 1rem;
        }
        .search-btn {
            background-color: var(--primary-accent);
            color: white;
            border: none;
            padding: 0 1.5rem;
            border-radius: 0 4px 4px 0;
            cursor: pointer;
            font-weight: bold;
            transition: background-color 0.3s;
        }
        .search-btn:hover {
            background-color: #a00;
        }
        .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-color: var(--bg-card);
            border-radius: 8px;
            padding: 2.5rem;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
        }
        .sidebar {
            background-color: var(--bg-card);
            border-radius: 8px;
            padding: 1.5rem;
            align-self: start;
            position: sticky;
            top: 120px;
        }
        h1 {
            font-size: 2.8rem;
            color: var(--secondary-accent);
            margin-bottom: 1.5rem;
            line-height: 1.2;
            border-bottom: 3px double var(--primary-accent);
            padding-bottom: 0.5rem;
        }
        h2 {
            font-size: 2rem;
            color: var(--text-light);
            margin: 2.5rem 0 1rem;
            padding-left: 10px;
            border-left: 5px solid var(--primary-accent);
        }
        h3 {
            font-size: 1.6rem;
            color: var(--secondary-accent);
            margin: 2rem 0 1rem;
        }
        h4 {
            font-size: 1.3rem;
            color: var(--text-muted);
            margin: 1.5rem 0 0.8rem;
        }
        p {
            margin-bottom: 1.5rem;
            text-align: justify;
        }
        .lead {
            font-size: 1.2rem;
            font-weight: 300;
            color: var(--text-muted);
            margin-bottom: 2rem;
        }
        strong, b {
            color: var(--secondary-accent);
            font-weight: 700;
        }
        .highlight {
            background-color: rgba(139, 0, 0, 0.2);
            border-left: 4px solid var(--primary-accent);
            padding: 1.5rem;
            margin: 1.5rem 0;
            border-radius: 0 8px 8px 0;
        }
        blockquote {
            font-style: italic;
            border-left: 4px solid var(--secondary-accent);
            padding-left: 1.5rem;
            margin: 2rem 0;
            color: var(--text-muted);
        }
        .article-img {
            width: 100%;
            max-width: 800px;
            height: auto;
            border-radius: 8px;
            border: 3px solid var(--border-color);
            margin: 2rem auto;
            display: block;
            transition: transform 0.5s ease, box-shadow 0.5s ease;
        }
        .article-img:hover {
            transform: scale(1.02);
            box-shadow: 0 15px 35px rgba(212, 175, 55, 0.2);
        }
        .interaction-section {
            background-color: rgba(26, 26, 46, 0.7);
            border-radius: 8px;
            padding: 2rem;
            margin: 3rem 0;
            border-top: 2px solid var(--secondary-accent);
        }
        .interaction-section h3 {
            margin-top: 0;
        }
        .rating-form, .comment-form {
            display: flex;
            flex-direction: column;
            gap: 1rem;
            margin-top: 1.5rem;
        }
        .stars {
            display: flex;
            gap: 0.5rem;
            direction: rtl;
        }
        .star {
            font-size: 1.8rem;
            color: #444;
            cursor: pointer;
            transition: color 0.2s;
        }
        .star:hover,
        .star:hover ~ .star {
            color: #ffcc00;
        }
        .star.selected {
            color: #ffcc00;
        }
        textarea, input[type="text"], input[type="email"] {
            width: 100%;
            padding: 0.9rem;
            background-color: #0f0f1a;
            border: 1px solid var(--border-color);
            border-radius: 4px;
            color: var(--text-light);
            font-family: var(--font-main);
        }
        .submit-btn {
            background-color: var(--primary-accent);
            color: white;
            border: none;
            padding: 0.9rem 2rem;
            border-radius: 4px;
            cursor: pointer;
            font-weight: bold;
            align-self: flex-start;
            transition: background-color 0.3s;
        }
        .submit-btn:hover {
            background-color: #a00;
        }
        .widget {
            margin-bottom: 2rem;
            padding-bottom: 1.5rem;
            border-bottom: 1px solid var(--border-color);
        }
        .widget:last-child {
            border-bottom: none;
        }
        .widget-title {
            color: var(--secondary-accent);
            font-size: 1.3rem;
            margin-bottom: 1rem;
            padding-bottom: 0.5rem;
            border-bottom: 1px dashed var(--border-color);
        }
        .link-list {
            list-style: none;
        }
        .link-list li {
            margin-bottom: 0.8rem;
            padding-left: 1.2rem;
            position: relative;
        }
        .link-list li::before {
            content: '▶';
            position: absolute;
            left: 0;
            color: var(--primary-accent);
            font-size: 0.8rem;
        }
        .site-footer {
            background-color: #000;
            padding: 3rem 0 1.5rem;
            margin-top: 4rem;
            border-top: 3px solid var(--primary-accent);
        }
        .footer-content {
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            gap: 2rem;
            margin-bottom: 2rem;
        }
        .footer-section {
            flex: 1;
            min-width: 250px;
        }
        .footer-section h4 {
            color: var(--secondary-accent);
            margin-bottom: 1.2rem;
            font-size: 1.2rem;
        }
        friend-link {
            display: block;
            margin-bottom: 0.5rem;
            padding: 0.5rem;
            background-color: rgba(255,255,255,0.05);
            border-radius: 4px;
            transition: background-color 0.3s;
        }
        friend-link:hover {
            background-color: rgba(212, 175, 55, 0.1);
        }
        .copyright {
            text-align: center;
            padding-top: 1.5rem;
            border-top: 1px solid #333;
            color: var(--text-muted);
            font-size: 0.9rem;
        }
        .update-time {
            background-color: rgba(139, 0, 0, 0.3);
            padding: 0.5rem 1rem;
            border-radius: 4px;
            display: inline-block;
            margin: 1rem 0;
            font-size: 0.9rem;
        }
        @media (max-width: 768px) {
            .hamburger {
                display: block;
            }
            .main-nav ul {
                display: none;
                flex-direction: column;
                position: absolute;
                top: 100%;
                left: 0;
                width: 100%;
                background-color: var(--primary-dark);
                padding: 1rem;
                border-top: 1px solid var(--border-color);
                box-shadow: 0 10px 15px rgba(0,0,0,0.5);
            }
            .main-nav.active ul {
                display: flex;
            }
            h1 {
                font-size: 2.2rem;
            }
            h2 {
                font-size: 1.7rem;
            }
            .article-content {
                padding: 1.5rem;
            }
            .header-container {
                flex-wrap: wrap;
            }
            .my-logo {
                font-size: 1.8rem;
            }
        }
        @media print {
            .site-header, .sidebar, .interaction-section, .site-footer, .search-section {
                display: none;
            }
            body {
                background-color: white;
                color: black;
            }
            .article-content {
                box-shadow: none;
                padding: 0;
            }
            a {
                color: #000;
                text-decoration: underline;
            }
        }
