:root {
            --primary-dark: #0a2a43;
            --primary-accent: #c89b3c;
            --secondary-accent: #1e6b52;
            --text-light: #f0e6d2;
            --text-muted: #a09b8c;
            --bg-card: #1c1c1e;
            --bg-body: #121212;
            --border-color: #3a3a3c;
            --success: #3a9c6d;
            --warning: #d28c23;
            --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(--bg-body);
            color: var(--text-light);
            line-height: 1.7;
            overflow-x: hidden;
        }
        a {
            color: var(--primary-accent);
            text-decoration: none;
            transition: color 0.3s ease;
        }
        a:hover {
            color: #e6b357;
            text-decoration: underline;
        }
        img {
            max-width: 100%;
            height: auto;
            display: block;
        }
        .container {
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }
        .site-header {
            background-color: rgba(10, 42, 67, 0.95);
            padding: 1rem 0;
            position: sticky;
            top: 0;
            z-index: 1000;
            border-bottom: 2px solid var(--primary-accent);
        }
        .header-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        .my-logo {
            font-size: 1.8rem;
            font-weight: 900;
            color: var(--primary-accent);
            text-transform: uppercase;
            letter-spacing: 2px;
            background: linear-gradient(to right, #c89b3c, #f0e6d2);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }
        .my-logo:hover {
            text-decoration: none;
        }
        .main-nav ul {
            display: flex;
            list-style: none;
            gap: 2rem;
        }
        .main-nav a {
            color: var(--text-light);
            font-weight: 600;
            padding: 0.5rem 0;
            position: relative;
        }
        .main-nav a:hover {
            text-decoration: none;
        }
        .main-nav a::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0;
            height: 2px;
            background-color: var(--primary-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 {
            padding: 1rem 0;
            background-color: rgba(28, 28, 30, 0.8);
            margin-bottom: 2rem;
        }
        .breadcrumb ol {
            display: flex;
            list-style: none;
            flex-wrap: wrap;
            gap: 0.5rem;
        }
        .breadcrumb li:not(:last-child)::after {
            content: '>';
            margin-left: 0.5rem;
            color: var(--text-muted);
        }
        .search-section {
            background: linear-gradient(135deg, var(--primary-dark), var(--secondary-accent));
            padding: 2rem;
            border-radius: 10px;
            margin: 2rem 0;
            text-align: center;
        }
        .search-form {
            display: flex;
            max-width: 600px;
            margin: 1rem auto;
        }
        .search-form input {
            flex-grow: 1;
            padding: 0.8rem 1rem;
            border: none;
            border-radius: 5px 0 0 5px;
            background-color: rgba(255,255,255,0.1);
            color: var(--text-light);
            font-size: 1rem;
        }
        .search-form button {
            background-color: var(--primary-accent);
            color: var(--primary-dark);
            border: none;
            padding: 0.8rem 1.5rem;
            border-radius: 0 5px 5px 0;
            cursor: pointer;
            font-weight: bold;
            transition: background-color 0.3s;
        }
        .search-form button:hover {
            background-color: #e6b357;
        }
        .content-wrapper {
            display: grid;
            grid-template-columns: 1fr 300px;
            gap: 3rem;
            margin: 2rem 0;
        }
        @media (max-width: 992px) {
            .content-wrapper {
                grid-template-columns: 1fr;
            }
        }
        .main-content {
            background-color: var(--bg-card);
            border-radius: 10px;
            padding: 2.5rem;
            box-shadow: 0 5px 15px rgba(0,0,0,0.3);
        }
        .sidebar {
            background-color: var(--bg-card);
            border-radius: 10px;
            padding: 1.5rem;
            align-self: start;
        }
        .sidebar h3 {
            border-bottom: 2px solid var(--primary-accent);
            padding-bottom: 0.5rem;
            margin-bottom: 1rem;
        }
        .sidebar ul {
            list-style: none;
        }
        .sidebar li {
            margin-bottom: 0.8rem;
            padding-left: 1rem;
            position: relative;
        }
        .sidebar li::before {
            content: '▶';
            position: absolute;
            left: 0;
            color: var(--primary-accent);
            font-size: 0.8rem;
        }
        h1, h2, h3, h4 {
            color: var(--primary-accent);
            margin-top: 1.5em;
            margin-bottom: 0.5em;
            line-height: 1.3;
        }
        h1 {
            font-size: 2.8rem;
            text-align: center;
            border-bottom: 3px solid var(--secondary-accent);
            padding-bottom: 1rem;
            margin-bottom: 1.5rem;
        }
        h2 {
            font-size: 2rem;
            border-left: 5px solid var(--secondary-accent);
            padding-left: 1rem;
        }
        h3 {
            font-size: 1.6rem;
            color: var(--text-light);
        }
        h4 {
            font-size: 1.3rem;
            color: var(--text-muted);
        }
        p {
            margin-bottom: 1.2rem;
            text-align: justify;
        }
        strong {
            color: var(--primary-accent);
            font-weight: 700;
        }
        .highlight-box {
            background: linear-gradient(135deg, rgba(30, 107, 82, 0.2), rgba(10, 42, 67, 0.2));
            border-left: 4px solid var(--success);
            padding: 1.5rem;
            margin: 1.5rem 0;
            border-radius: 0 8px 8px 0;
        }
        .code-display {
            background-color: rgba(0,0,0,0.5);
            border: 1px dashed var(--primary-accent);
            padding: 1rem;
            font-family: monospace;
            color: #7fffd4;
            margin: 1rem 0;
            border-radius: 5px;
            text-align: center;
            font-size: 1.2rem;
            letter-spacing: 1px;
        }
        .stats-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 1.5rem;
            margin: 2rem 0;
        }
        .stat-card {
            background-color: rgba(10, 42, 67, 0.5);
            padding: 1.5rem;
            border-radius: 8px;
            text-align: center;
            border-top: 4px solid var(--primary-accent);
            transition: transform 0.3s ease;
        }
        .stat-card:hover {
            transform: translateY(-5px);
        }
        .stat-card i {
            font-size: 2.5rem;
            color: var(--primary-accent);
            margin-bottom: 1rem;
        }
        .stat-card h4 {
            color: var(--text-light);
            margin: 0.5rem 0;
        }
        .article-image {
            margin: 2rem auto;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 10px 20px rgba(0,0,0,0.5);
            max-width: 800px;
        }
        .article-image figcaption {
            text-align: center;
            font-style: italic;
            padding: 0.5rem;
            color: var(--text-muted);
            background-color: rgba(0,0,0,0.3);
        }
        .rating-section {
            background-color: rgba(28, 28, 30, 0.8);
            padding: 2rem;
            border-radius: 10px;
            margin: 2rem 0;
            text-align: center;
        }
        .stars {
            font-size: 2rem;
            color: var(--text-muted);
            margin: 1rem 0;
            cursor: pointer;
        }
        .stars .star {
            display: inline-block;
            padding: 0 0.2rem;
            transition: color 0.2s;
        }
        .stars .star:hover,
        .stars .star.active {
            color: gold;
        }
        .comment-form, .score-form {
            display: flex;
            flex-direction: column;
            gap: 1rem;
            margin-top: 1.5rem;
        }
        .comment-form textarea,
        .comment-form input,
        .score-form select {
            padding: 0.8rem;
            border-radius: 5px;
            border: 1px solid var(--border-color);
            background-color: rgba(255,255,255,0.05);
            color: var(--text-light);
            font-family: inherit;
        }
        .comment-form button,
        .score-form button {
            background-color: var(--secondary-accent);
            color: white;
            border: none;
            padding: 0.8rem;
            border-radius: 5px;
            cursor: pointer;
            font-weight: bold;
            transition: background-color 0.3s;
        }
        .comment-form button:hover,
        .score-form button:hover {
            background-color: #2a8c6d;
        }
        .site-footer {
            background-color: var(--primary-dark);
            padding: 3rem 0 1.5rem;
            margin-top: 3rem;
            border-top: 2px solid var(--primary-accent);
        }
        .friend-links {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            gap: 2rem;
            margin-bottom: 2rem;
        }
        friend-link {
            display: inline-block;
            padding: 0.5rem 1rem;
            background-color: rgba(255,255,255,0.05);
            border-radius: 5px;
            transition: background-color 0.3s;
        }
        friend-link:hover {
            background-color: rgba(200, 155, 60, 0.2);
        }
        .copyright {
            text-align: center;
            color: var(--text-muted);
            font-size: 0.9rem;
            padding-top: 1.5rem;
            border-top: 1px solid var(--border-color);
        }
        @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);
            }
            .main-nav.active ul {
                display: flex;
            }
            h1 {
                font-size: 2.2rem;
            }
            h2 {
                font-size: 1.7rem;
            }
            .main-content {
                padding: 1.5rem;
            }
            .stats-grid {
                grid-template-columns: 1fr;
            }
        }
