:root {
            --primary: #1a237e;
            --secondary: #4a148c;
            --accent: #ff9800;
            --light: #f5f5f7;
            --dark: #121212;
            --text: #333333;
            --text-light: #666666;
            --success: #4caf50;
            --border: #e0e0e0;
            --shadow: 0 4px 12px rgba(0,0,0,0.08);
            --radius: 8px;
            --transition: all 0.3s ease;
        }
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        html {
            scroll-behavior: smooth;
        }
        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            line-height: 1.6;
            color: var(--text);
            background-color: #fff;
            overflow-x: hidden;
        }
        .container {
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }
        header {
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            color: white;
            padding: 1rem 0;
            position: sticky;
            top: 0;
            z-index: 1000;
            box-shadow: var(--shadow);
        }
        .header-content {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        .logo a {
            font-size: 1.8rem;
            font-weight: 800;
            color: white;
            text-decoration: none;
            letter-spacing: 1px;
            background: linear-gradient(90deg, #ffd700, #ff9800);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }
        .logo a:hover {
            opacity: 0.9;
        }
        nav ul {
            display: flex;
            list-style: none;
            gap: 2rem;
        }
        nav a {
            color: white;
            text-decoration: none;
            font-weight: 600;
            font-size: 1rem;
            transition: var(--transition);
            padding: 0.5rem 0;
            position: relative;
        }
        nav a:hover {
            color: #ffd700;
        }
        nav a::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0;
            height: 2px;
            background: #ffd700;
            transition: width 0.3s;
        }
        nav a:hover::after {
            width: 100%;
        }
        .hamburger {
            display: none;
            font-size: 1.5rem;
            background: none;
            border: none;
            color: white;
            cursor: pointer;
        }
        .breadcrumb {
            background: var(--light);
            padding: 0.8rem 0;
            font-size: 0.9rem;
            color: var(--text-light);
            border-bottom: 1px solid var(--border);
        }
        .breadcrumb a {
            color: var(--primary);
            text-decoration: none;
        }
        .breadcrumb a:hover {
            text-decoration: underline;
        }
        .hero {
            padding: 3rem 0;
            background: linear-gradient(rgba(26, 35, 126, 0.05), rgba(74, 20, 140, 0.05));
            text-align: center;
        }
        .hero h1 {
            font-size: 2.5rem;
            color: var(--primary);
            margin-bottom: 1rem;
            line-height: 1.2;
        }
        .hero p {
            font-size: 1.2rem;
            color: var(--text-light);
            max-width: 800px;
            margin: 0 auto 2rem;
        }
        main {
            padding: 3rem 0;
        }
        .content-grid {
            display: grid;
            grid-template-columns: 1fr 300px;
            gap: 2.5rem;
        }
        article {
            background: white;
            border-radius: var(--radius);
            padding: 2rem;
            box-shadow: var(--shadow);
        }
        article h2 {
            color: var(--secondary);
            margin: 2rem 0 1rem;
            padding-bottom: 0.5rem;
            border-bottom: 2px solid var(--accent);
            font-size: 1.8rem;
        }
        article h3 {
            color: var(--primary);
            margin: 1.5rem 0 1rem;
            font-size: 1.4rem;
        }
        article p {
            margin-bottom: 1.2rem;
            text-align: justify;
        }
        article strong {
            color: var(--secondary);
        }
        .highlight {
            background: #fff8e1;
            border-left: 4px solid var(--accent);
            padding: 1.5rem;
            margin: 1.5rem 0;
            border-radius: 0 var(--radius) var(--radius) 0;
        }
        .code-box {
            background: #f5f5f5;
            border: 1px dashed var(--primary);
            padding: 1rem;
            margin: 1rem 0;
            font-family: monospace;
            font-size: 1.1rem;
            text-align: center;
            border-radius: var(--radius);
            cursor: pointer;
            transition: var(--transition);
        }
        .code-box:hover {
            background: #e8f5e9;
            border-color: var(--success);
        }
        .image-container {
            margin: 2rem 0;
            text-align: center;
        }
        .image-container img {
            max-width: 100%;
            height: auto;
            border-radius: var(--radius);
            box-shadow: var(--shadow);
        }
        aside {
            display: flex;
            flex-direction: column;
            gap: 2rem;
        }
        .sidebar-widget {
            background: white;
            border-radius: var(--radius);
            padding: 1.5rem;
            box-shadow: var(--shadow);
        }
        .sidebar-widget h3 {
            color: var(--primary);
            margin-bottom: 1rem;
            font-size: 1.3rem;
        }
        .search-form {
            display: flex;
            margin-bottom: 1.5rem;
        }
        .search-form input {
            flex: 1;
            padding: 0.8rem;
            border: 1px solid var(--border);
            border-right: none;
            border-radius: var(--radius) 0 0 var(--radius);
            font-size: 1rem;
        }
        .search-form button {
            background: var(--primary);
            color: white;
            border: none;
            padding: 0 1.5rem;
            border-radius: 0 var(--radius) var(--radius) 0;
            cursor: pointer;
            transition: var(--transition);
        }
        .search-form button:hover {
            background: var(--secondary);
        }
        .rating-widget form, .comment-widget form {
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }
        .rating-widget input, .comment-widget textarea {
            padding: 0.8rem;
            border: 1px solid var(--border);
            border-radius: var(--radius);
            font-family: inherit;
        }
        .rating-widget button, .comment-widget button {
            background: var(--accent);
            color: white;
            border: none;
            padding: 0.8rem;
            border-radius: var(--radius);
            font-weight: 600;
            cursor: pointer;
            transition: var(--transition);
        }
        .rating-widget button:hover, .comment-widget button:hover {
            background: #ff8c00;
        }
        .stars {
            display: flex;
            gap: 0.5rem;
            margin-bottom: 1rem;
        }
        .stars i {
            color: #ddd;
            cursor: pointer;
            font-size: 1.5rem;
            transition: var(--transition);
        }
        .stars i:hover,
        .stars i.active {
            color: #ffd700;
        }
        .footer-links {
            background: var(--light);
            padding: 3rem 0;
            border-top: 1px solid var(--border);
            border-bottom: 1px solid var(--border);
        }
        .links-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
            gap: 1.5rem;
        }
        .web-link {
            background: white;
            padding: 1.2rem;
            border-radius: var(--radius);
            box-shadow: 0 2px 6px rgba(0,0,0,0.05);
            transition: var(--transition);
        }
        .web-link:hover {
            transform: translateY(-3px);
            box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        }
        .web-link a {
            color: var(--primary);
            text-decoration: none;
            font-weight: 600;
            display: block;
        }
        .web-link a:hover {
            color: var(--accent);
            text-decoration: underline;
        }
        footer {
            background: var(--dark);
            color: white;
            padding: 3rem 0 1.5rem;
        }
        .footer-content {
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 2rem;
        }
        .copyright {
            font-size: 0.9rem;
            color: #aaa;
        }
        .copyright a {
            color: #ffd700;
            text-decoration: none;
        }
        .social-links {
            display: flex;
            gap: 1rem;
        }
        .social-links a {
            color: white;
            font-size: 1.2rem;
            transition: var(--transition);
        }
        .social-links a:hover {
            color: var(--accent);
        }
        @media (max-width: 992px) {
            .content-grid {
                grid-template-columns: 1fr;
            }
            .hero h1 {
                font-size: 2rem;
            }
        }
        @media (max-width: 768px) {
            nav ul {
                display: none;
                flex-direction: column;
                position: absolute;
                top: 100%;
                left: 0;
                width: 100%;
                background: var(--secondary);
                padding: 1rem;
                box-shadow: var(--shadow);
                gap: 0;
            }
            nav ul.active {
                display: flex;
            }
            nav ul li {
                margin: 0.5rem 0;
            }
            .hamburger {
                display: block;
            }
            .header-content {
                position: relative;
            }
            .hero h1 {
                font-size: 1.8rem;
            }
            .links-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }
        @media (max-width: 576px) {
            .links-grid {
                grid-template-columns: 1fr;
            }
            .footer-content {
                flex-direction: column;
                text-align: center;
            }
        }
        .emoji {
            font-size: 1.2em;
            margin-right: 0.3rem;
        }
        .separator {
            height: 1px;
            background: linear-gradient(90deg, transparent, var(--border), transparent);
            margin: 2rem 0;
        }
