:root {
            --primary-blue: #1a6eb3;
            --secondary-blue: #34a1eb;
            --accent-gold: #f5b041;
            --dark-bg: #0c2a4a;
            --light-bg: #f0f8ff;
            --text-dark: #2c3e50;
            --text-light: #ecf0f1;
            --success-green: #27ae60;
            --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
            --border-radius: 12px;
            --transition: all 0.3s ease;
        }
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }
        html {
            scroll-behavior: smooth;
        }
        body {
            background-color: var(--light-bg);
            color: var(--text-dark);
            line-height: 1.7;
            max-width: 100vw;
            overflow-x: hidden;
        }
        a {
            text-decoration: none;
            color: var(--primary-blue);
            transition: var(--transition);
        }
        a:hover {
            color: var(--accent-gold);
        }
        img {
            max-width: 100%;
            height: auto;
            display: block;
            border-radius: var(--border-radius);
        }
        .container {
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }
        header {
            background: linear-gradient(135deg, var(--dark-bg) 0%, var(--primary-blue) 100%);
            color: var(--text-light);
            padding: 1.5rem 0;
            box-shadow: var(--shadow);
            position: sticky;
            top: 0;
            z-index: 1000;
        }
        .header-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        .my-logo {
            font-size: 2.2rem;
            font-weight: 800;
            background: linear-gradient(to right, var(--accent-gold), #ffde7d);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            text-shadow: 0 2px 4px rgba(0,0,0,0.2);
        }
        .my-logo:hover {
            transform: scale(1.05);
        }
        .desktop-nav ul {
            display: flex;
            list-style: none;
            gap: 2rem;
        }
        .desktop-nav a {
            color: var(--text-light);
            font-weight: 600;
            padding: 0.5rem 1rem;
            border-radius: 30px;
        }
        .desktop-nav a:hover {
            background-color: rgba(255, 255, 255, 0.15);
        }
        .hamburger {
            display: none;
            background: none;
            border: none;
            color: var(--text-light);
            font-size: 1.8rem;
            cursor: pointer;
        }
        .mobile-nav {
            display: none;
            background-color: var(--dark-bg);
            position: absolute;
            top: 100%;
            left: 0;
            width: 100%;
            padding: 1rem;
            box-shadow: var(--shadow);
        }
        .mobile-nav.active {
            display: block;
        }
        .mobile-nav ul {
            list-style: none;
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }
        .mobile-nav a {
            color: var(--text-light);
            display: block;
            padding: 0.8rem;
            border-bottom: 1px solid rgba(255,255,255,0.1);
        }
        .breadcrumb {
            background-color: #e3f2fd;
            padding: 1rem;
            border-radius: var(--border-radius);
            margin: 1.5rem 0;
            font-size: 0.9rem;
        }
        .breadcrumb a {
            color: var(--primary-blue);
        }
        .breadcrumb span {
            color: #777;
        }
        main {
            display: grid;
            grid-template-columns: 1fr 300px;
            gap: 2.5rem;
            padding: 2rem 0;
        }
        @media (max-width: 992px) {
            main {
                grid-template-columns: 1fr;
            }
        }
        article {
            background-color: white;
            padding: 2.5rem;
            border-radius: var(--border-radius);
            box-shadow: var(--shadow);
        }
        h1 {
            color: var(--dark-bg);
            font-size: 2.8rem;
            margin-bottom: 1.5rem;
            line-height: 1.2;
            border-left: 6px solid var(--accent-gold);
            padding-left: 1rem;
        }
        h2 {
            color: var(--primary-blue);
            font-size: 2rem;
            margin: 2.5rem 0 1.2rem;
            padding-bottom: 0.5rem;
            border-bottom: 2px dashed #d1e8ff;
        }
        h3 {
            color: var(--secondary-blue);
            font-size: 1.6rem;
            margin: 2rem 0 1rem;
        }
        h4 {
            color: #555;
            font-size: 1.3rem;
            margin: 1.5rem 0 0.8rem;
        }
        p {
            margin-bottom: 1.5rem;
            text-align: justify;
        }
        .highlight {
            background-color: #fffde7;
            border-left: 4px solid var(--accent-gold);
            padding: 1.5rem;
            margin: 2rem 0;
            border-radius: 0 var(--border-radius) var(--border-radius) 0;
        }
        .code-list {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            gap: 1.5rem;
            margin: 2.5rem 0;
        }
        .code-item {
            background: linear-gradient(145deg, #e3f2fd, #bbdefb);
            padding: 1.5rem;
            border-radius: var(--border-radius);
            text-align: center;
            border: 2px dashed var(--primary-blue);
            transition: var(--transition);
        }
        .code-item:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        }
        .code {
            font-family: monospace;
            font-size: 1.8rem;
            font-weight: bold;
            color: var(--dark-bg);
            margin: 1rem 0;
            letter-spacing: 2px;
        }
        .btn-copy {
            background-color: var(--success-green);
            color: white;
            border: none;
            padding: 0.7rem 1.5rem;
            border-radius: 50px;
            cursor: pointer;
            font-weight: 600;
            transition: var(--transition);
        }
        .btn-copy:hover {
            background-color: #219653;
        }
        .feature-img {
            margin: 2.5rem auto;
            max-width: 800px;
            box-shadow: 0 10px 25px rgba(0,0,0,0.15);
        }
        aside {
            display: flex;
            flex-direction: column;
            gap: 2rem;
        }
        .widget {
            background-color: white;
            padding: 1.8rem;
            border-radius: var(--border-radius);
            box-shadow: var(--shadow);
        }
        .widget h3 {
            margin-top: 0;
            color: var(--dark-bg);
            font-size: 1.5rem;
        }
        .search-form {
            display: flex;
        }
        .search-form input {
            flex: 1;
            padding: 0.9rem;
            border: 2px solid #ddd;
            border-radius: 50px 0 0 50px;
            font-size: 1rem;
        }
        .search-form button {
            background-color: var(--primary-blue);
            color: white;
            border: none;
            padding: 0 1.5rem;
            border-radius: 0 50px 50px 0;
            cursor: pointer;
            font-size: 1.1rem;
        }
        .rating-widget {
            text-align: center;
        }
        .stars {
            font-size: 2rem;
            color: #ffd700;
            margin: 1rem 0;
            cursor: pointer;
        }
        .stars span:hover,
        .stars span:hover ~ span {
            color: #ffed85;
        }
        .comment-form textarea {
            width: 100%;
            height: 120px;
            padding: 1rem;
            border: 2px solid #ddd;
            border-radius: var(--border-radius);
            resize: vertical;
            font-size: 1rem;
            margin-bottom: 1rem;
        }
        .btn-submit {
            background-color: var(--primary-blue);
            color: white;
            border: none;
            padding: 0.9rem 2rem;
            border-radius: 50px;
            cursor: pointer;
            font-weight: 600;
            width: 100%;
            transition: var(--transition);
        }
        .btn-submit:hover {
            background-color: var(--secondary-blue);
        }
        .related-links {
            list-style: none;
        }
        .related-links li {
            margin-bottom: 0.8rem;
            padding-bottom: 0.8rem;
            border-bottom: 1px dotted #eee;
        }
        .related-links a {
            display: flex;
            align-items: center;
            gap: 0.7rem;
        }
        .related-links i {
            color: var(--accent-gold);
        }
        footer {
            background-color: var(--dark-bg);
            color: var(--text-light);
            padding: 3rem 0 1.5rem;
            margin-top: 3rem;
        }
        .footer-container {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 2.5rem;
            margin-bottom: 2.5rem;
        }
        .footer-logo {
            font-size: 2rem;
            font-weight: 800;
            color: var(--accent-gold);
            margin-bottom: 1rem;
        }
        friend-link {
            display: inline-block;
            background-color: rgba(255,255,255,0.05);
            padding: 0.5rem 1rem;
            border-radius: 30px;
            margin: 0.3rem;
            font-size: 0.9rem;
        }
        friend-link a {
            color: #a3d5ff;
        }
        .copyright {
            text-align: center;
            padding-top: 1.5rem;
            border-top: 1px solid rgba(255,255,255,0.1);
            font-size: 0.9rem;
            color: #aaa;
        }
        @media (max-width: 768px) {
            .desktop-nav {
                display: none;
            }
            .hamburger {
                display: block;
            }
            h1 {
                font-size: 2.2rem;
            }
            h2 {
                font-size: 1.8rem;
            }
            article, .widget {
                padding: 1.5rem;
            }
            .header-container, .footer-container {
                flex-direction: column;
                text-align: center;
                gap: 1.5rem;
            }
        }
        .last-updated {
            font-style: italic;
            color: #777;
            text-align: right;
            margin-top: 2rem;
            padding-top: 1rem;
            border-top: 1px solid #eee;
        }
