:root {
            --primary: #3498db;
            --secondary: #2ecc71;
            --accent: #e74c3c;
            --dark: #2c3e50;
            --light: #ecf0f1;
            --gray: #95a5a6;
            --shadow: 0 4px 12px rgba(0,0,0,0.1);
            --radius: 8px;
            --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: #f9f9f9;
            color: #333;
            line-height: 1.7;
            overflow-x: hidden;
        }
        .header {
            background: linear-gradient(135deg, var(--dark) 0%, #1a2530 100%);
            color: white;
            padding: 1.5rem 0;
            box-shadow: var(--shadow);
            position: sticky;
            top: 0;
            z-index: 1000;
        }
        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }
        .header-content {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        .logo {
            font-size: 2.2rem;
            font-weight: 800;
            color: var(--secondary);
            text-decoration: none;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        .logo span {
            color: var(--light);
        }
        .nav-desktop {
            display: flex;
            gap: 2rem;
        }
        .nav-link {
            color: white;
            text-decoration: none;
            font-weight: 600;
            padding: 0.5rem 1rem;
            border-radius: var(--radius);
            transition: var(--transition);
            position: relative;
        }
        .nav-link:hover {
            background: rgba(255,255,255,0.1);
            transform: translateY(-2px);
        }
        .nav-link.active {
            background: var(--primary);
        }
        .nav-link.active::after {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 50%;
            transform: translateX(-50%);
            width: 6px;
            height: 6px;
            background: var(--secondary);
            border-radius: 50%;
        }
        .mobile-toggle {
            display: none;
            font-size: 1.8rem;
            cursor: pointer;
            color: white;
        }
        .mobile-nav {
            display: none;
            flex-direction: column;
            gap: 1rem;
            padding: 1.5rem;
            background: rgba(44, 62, 80, 0.98);
            position: absolute;
            top: 100%;
            left: 0;
            right: 0;
            border-top: 2px solid var(--primary);
        }
        .mobile-nav.active {
            display: flex;
        }
        .breadcrumb {
            background: var(--light);
            padding: 1rem 0;
            margin-bottom: 2rem;
            border-bottom: 1px solid #ddd;
        }
        .breadcrumb ul {
            display: flex;
            flex-wrap: wrap;
            list-style: none;
            gap: 0.5rem;
        }
        .breadcrumb li:not(:last-child)::after {
            content: '›';
            margin-left: 0.5rem;
            color: var(--gray);
        }
        .breadcrumb a {
            color: var(--primary);
            text-decoration: none;
        }
        .breadcrumb a:hover {
            text-decoration: underline;
        }
        .main-content {
            display: grid;
            grid-template-columns: 1fr 300px;
            gap: 2.5rem;
            margin-bottom: 3rem;
        }
        .article-content {
            background: white;
            padding: 2.5rem;
            border-radius: var(--radius);
            box-shadow: var(--shadow);
        }
        .sidebar {
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
        }
        .widget {
            background: white;
            padding: 1.5rem;
            border-radius: var(--radius);
            box-shadow: var(--shadow);
        }
        .widget h3 {
            color: var(--dark);
            margin-bottom: 1rem;
            padding-bottom: 0.5rem;
            border-bottom: 2px solid var(--secondary);
        }
        .search-form {
            display: flex;
        }
        .search-input {
            flex: 1;
            padding: 0.8rem 1rem;
            border: 2px solid #ddd;
            border-radius: var(--radius) 0 0 var(--radius);
            font-size: 1rem;
            transition: var(--transition);
        }
        .search-input:focus {
            outline: none;
            border-color: var(--primary);
        }
        .search-btn {
            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-btn:hover {
            background: #2980b9;
        }
        h1 {
            color: var(--dark);
            font-size: 2.8rem;
            margin-bottom: 1.5rem;
            line-height: 1.2;
        }
        h2 {
            color: var(--dark);
            font-size: 2rem;
            margin: 2.5rem 0 1.2rem;
            padding-bottom: 0.5rem;
            border-bottom: 2px solid var(--primary);
        }
        h3 {
            color: var(--dark);
            font-size: 1.5rem;
            margin: 2rem 0 1rem;
        }
        .article-meta {
            display: flex;
            gap: 1.5rem;
            color: var(--gray);
            margin-bottom: 2rem;
            padding-bottom: 1.5rem;
            border-bottom: 1px solid #eee;
        }
        .article-meta span {
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }
        p {
            margin-bottom: 1.5rem;
            font-size: 1.1rem;
        }
        .lead {
            font-size: 1.3rem;
            color: var(--dark);
            font-weight: 500;
            background: #f8f9fa;
            padding: 1.5rem;
            border-left: 4px solid var(--secondary);
            border-radius: 0 var(--radius) var(--radius) 0;
            margin-bottom: 2rem;
        }
        .highlight {
            background: linear-gradient(120deg, #a8edea 0%, #fed6e3 100%);
            padding: 2rem;
            border-radius: var(--radius);
            margin: 2rem 0;
            border: 1px solid #c5e6ff;
        }
        .code-block {
            background: #282c34;
            color: #abb2bf;
            padding: 1.5rem;
            border-radius: var(--radius);
            font-family: 'Courier New', monospace;
            margin: 1.5rem 0;
            overflow-x: auto;
        }
        .code-comment {
            color: #5c6370;
        }
        .code-keyword {
            color: #c678dd;
        }
        .code-string {
            color: #98c379;
        }
        .article-image {
            width: 100%;
            max-width: 800px;
            height: auto;
            border-radius: var(--radius);
            margin: 2rem auto;
            display: block;
            box-shadow: var(--shadow);
            transition: var(--transition);
        }
        .article-image:hover {
            transform: scale(1.01);
            box-shadow: 0 8px 20px rgba(0,0,0,0.15);
        }
        .image-caption {
            text-align: center;
            color: var(--gray);
            font-style: italic;
            margin-top: 0.5rem;
            margin-bottom: 2rem;
        }
        ul, ol {
            margin: 1.5rem 0 1.5rem 2rem;
        }
        li {
            margin-bottom: 0.8rem;
        }
        table {
            width: 100%;
            border-collapse: collapse;
            margin: 2rem 0;
            box-shadow: var(--shadow);
            border-radius: var(--radius);
            overflow: hidden;
        }
        th {
            background: var(--primary);
            color: white;
            padding: 1rem;
            text-align: left;
        }
        td {
            padding: 1rem;
            border-bottom: 1px solid #eee;
        }
        tr:nth-child(even) {
            background: #f8f9fa;
        }
        tr:hover {
            background: #e3f2fd;
        }
        .btn {
            display: inline-block;
            background: var(--secondary);
            color: white;
            padding: 0.8rem 1.8rem;
            border-radius: var(--radius);
            text-decoration: none;
            font-weight: 600;
            border: none;
            cursor: pointer;
            transition: var(--transition);
        }
        .btn:hover {
            background: #27ae60;
            transform: translateY(-2px);
            box-shadow: 0 6px 12px rgba(46, 204, 113, 0.3);
        }
        .btn-primary {
            background: var(--primary);
        }
        .btn-primary:hover {
            background: #2980b9;
            box-shadow: 0 6px 12px rgba(52, 152, 219, 0.3);
        }
        .tooltip {
            position: relative;
            display: inline-block;
            border-bottom: 1px dotted var(--primary);
            cursor: help;
        }
        .tooltip:hover::after {
            content: attr(data-tooltip);
            position: absolute;
            bottom: 125%;
            left: 50%;
            transform: translateX(-50%);
            background: var(--dark);
            color: white;
            padding: 0.5rem 1rem;
            border-radius: var(--radius);
            white-space: nowrap;
            z-index: 100;
            font-size: 0.9rem;
        }
        .rating-section {
            background: white;
            padding: 2rem;
            border-radius: var(--radius);
            box-shadow: var(--shadow);
            margin: 2rem 0;
        }
        .star-rating {
            display: flex;
            gap: 0.5rem;
            margin: 1rem 0 1.5rem;
        }
        .star {
            font-size: 2rem;
            color: #ddd;
            cursor: pointer;
            transition: var(--transition);
        }
        .star:hover,
        .star.active {
            color: #f39c12;
        }
        .rating-form,
        .comment-form {
            display: flex;
            flex-direction: column;
            gap: 1.2rem;
        }
        .form-group {
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
        }
        .form-input,
        .form-textarea {
            padding: 0.8rem 1rem;
            border: 2px solid #ddd;
            border-radius: var(--radius);
            font-size: 1rem;
            transition: var(--transition);
        }
        .form-input:focus,
        .form-textarea:focus {
            outline: none;
            border-color: var(--primary);
        }
        .form-textarea {
            min-height: 120px;
            resize: vertical;
        }
        .comments-container {
            margin-top: 3rem;
        }
        .comment {
            background: #f8f9fa;
            padding: 1.5rem;
            border-radius: var(--radius);
            margin-bottom: 1.5rem;
            border-left: 4px solid var(--primary);
        }
        .comment-header {
            display: flex;
            justify-content: space-between;
            margin-bottom: 1rem;
            color: var(--gray);
        }
        .footer-links {
            background: var(--light);
            padding: 3rem 0;
            margin-top: 3rem;
        }
        .web-links {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
            gap: 1.5rem;
            margin-bottom: 2rem;
        }
        .web-link {
            background: white;
            padding: 1.2rem;
            border-radius: var(--radius);
            box-shadow: var(--shadow);
            transition: var(--transition);
        }
        .web-link:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 16px rgba(0,0,0,0.1);
        }
        .web-link a {
            color: var(--dark);
            text-decoration: none;
            font-weight: 500;
            display: flex;
            align-items: center;
            gap: 0.8rem;
        }
        .web-link a:hover {
            color: var(--primary);
        }
        .footer {
            background: var(--dark);
            color: white;
            padding: 3rem 0 2rem;
        }
        .footer-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 2.5rem;
            margin-bottom: 2rem;
        }
        .footer-section h3 {
            color: var(--secondary);
            margin-bottom: 1.5rem;
        }
        .footer-links-list {
            list-style: none;
        }
        .footer-links-list li {
            margin-bottom: 0.8rem;
        }
        .footer-links-list a {
            color: #ddd;
            text-decoration: none;
            transition: var(--transition);
        }
        .footer-links-list a:hover {
            color: white;
            padding-left: 5px;
        }
        .copyright {
            text-align: center;
            padding-top: 2rem;
            border-top: 1px solid rgba(255,255,255,0.1);
            color: #bbb;
            font-size: 0.9rem;
        }
        @media (max-width: 1024px) {
            .main-content {
                grid-template-columns: 1fr;
            }
            h1 {
                font-size: 2.4rem;
            }
        }
        @media (max-width: 768px) {
            .header-content {
                flex-wrap: wrap;
            }
            .nav-desktop {
                display: none;
            }
            .mobile-toggle {
                display: block;
            }
            .article-content {
                padding: 1.5rem;
            }
            h1 {
                font-size: 2rem;
            }
            h2 {
                font-size: 1.7rem;
            }
            .article-meta {
                flex-direction: column;
                gap: 0.8rem;
            }
            .web-links {
                grid-template-columns: 1fr;
            }
        }
        @media (max-width: 480px) {
            .container {
                padding: 0 15px;
            }
            h1 {
                font-size: 1.8rem;
            }
            .btn {
                padding: 0.7rem 1.5rem;
            }
            .rating-section {
                padding: 1.5rem;
            }
        }
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(20px); }
            to { opacity: 1; transform: translateY(0); }
        }
        .fade-in {
            animation: fadeIn 0.6s ease-out;
        }
        .pulse {
            animation: pulse 2s infinite;
        }
        @keyframes pulse {
            0% { transform: scale(1); }
            50% { transform: scale(1.05); }
            100% { transform: scale(1); }
        }
