:root {
            --primary: #4a148c;
            --secondary: #ff6f00;
            --accent: #00c853;
            --dark: #1a1a2e;
            --light: #f5f5f7;
            --text: #333333;
            --gray: #6c757d;
            --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: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
            line-height: 1.6;
            color: var(--text);
            background-color: #f9f9ff;
            overflow-x: hidden;
        }
        a {
            text-decoration: none;
            color: inherit;
        }
        img {
            max-width: 100%;
            height: auto;
            display: block;
        }
        .container {
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }
        header {
            background: linear-gradient(135deg, var(--dark) 0%, var(--primary) 100%);
            color: white;
            padding: 1rem 0;
            position: sticky;
            top: 0;
            z-index: 1000;
            box-shadow: var(--shadow);
        }
        .header-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        .logo {
            font-size: 1.8rem;
            font-weight: 800;
            background: linear-gradient(to right, #ff9800, #ffeb3b);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            letter-spacing: -0.5px;
        }
        .logo span {
            color: white;
            -webkit-text-fill-color: white;
        }
        nav {
            display: flex;
            gap: 2rem;
        }
        nav a {
            font-weight: 600;
            font-size: 1rem;
            padding: 0.5rem 1rem;
            border-radius: var(--radius);
            transition: var(--transition);
        }
        nav a:hover {
            background-color: rgba(255,255,255,0.15);
            transform: translateY(-2px);
        }
        .mobile-toggle {
            display: none;
            font-size: 1.5rem;
            cursor: pointer;
        }
        .breadcrumb {
            background-color: #e9ecef;
            padding: 1rem 0;
            font-size: 0.9rem;
            margin-bottom: 2rem;
        }
        .breadcrumb ol {
            display: flex;
            flex-wrap: wrap;
            list-style: none;
        }
        .breadcrumb li:not(:last-child)::after {
            content: "›";
            margin: 0 10px;
            color: var(--gray);
        }
        .breadcrumb a:hover {
            color: var(--primary);
            text-decoration: underline;
        }
        .hero {
            background: linear-gradient(rgba(26,26,46,0.9), rgba(74,20,140,0.9)), url('https://images.unsplash.com/photo-1635070041078-e363dbe005cb?ixlib=rb-4.0.3&auto=format&fit=crop&w=1200&q=80');
            background-size: cover;
            background-position: center;
            color: white;
            padding: 4rem 0;
            text-align: center;
            border-radius: var(--radius);
            margin-bottom: 3rem;
        }
        .hero h1 {
            font-size: 2.8rem;
            margin-bottom: 1rem;
            line-height: 1.2;
        }
        .hero p {
            font-size: 1.2rem;
            max-width: 800px;
            margin: 0 auto 2rem;
            opacity: 0.9;
        }
        .highlight {
            background: linear-gradient(90deg, var(--secondary), #ffeb3b);
            padding: 0.2rem 0.5rem;
            border-radius: 4px;
            color: black;
            font-weight: bold;
        }
        main {
            display: grid;
            grid-template-columns: 1fr 300px;
            gap: 3rem;
            margin-bottom: 3rem;
        }
        .article-content {
            background: white;
            padding: 2.5rem;
            border-radius: var(--radius);
            box-shadow: var(--shadow);
        }
        .article-content h2 {
            color: var(--primary);
            margin: 2rem 0 1rem;
            padding-bottom: 0.5rem;
            border-bottom: 3px solid var(--secondary);
            font-size: 1.8rem;
        }
        .article-content h3 {
            color: var(--dark);
            margin: 1.5rem 0 0.8rem;
            font-size: 1.4rem;
        }
        .article-content p {
            margin-bottom: 1.2rem;
            text-align: justify;
        }
        .article-content ul, .article-content ol {
            margin-left: 1.5rem;
            margin-bottom: 1.2rem;
        }
        .article-content li {
            margin-bottom: 0.5rem;
        }
        .code-box {
            background: linear-gradient(135deg, #2d3047 0%, #1a1a2e 100%);
            color: #00ff9d;
            padding: 1.5rem;
            border-radius: var(--radius);
            font-family: 'Courier New', monospace;
            margin: 1.5rem 0;
            border-left: 5px solid var(--accent);
            overflow-x: auto;
        }
        .tip {
            background-color: #e3f2fd;
            border-left: 4px solid #2196f3;
            padding: 1rem;
            margin: 1.5rem 0;
            border-radius: 0 var(--radius) var(--radius) 0;
        }
        .warning {
            background-color: #fff8e1;
            border-left: 4px solid #ff9800;
            padding: 1rem;
            margin: 1.5rem 0;
            border-radius: 0 var(--radius) var(--radius) 0;
        }
        .featured-image {
            margin: 2rem 0;
            border-radius: var(--radius);
            overflow: hidden;
            box-shadow: var(--shadow);
        }
        .featured-image figcaption {
            text-align: center;
            font-style: italic;
            padding: 0.5rem;
            color: var(--gray);
            font-size: 0.9rem;
        }
        aside {
            display: flex;
            flex-direction: column;
            gap: 2rem;
        }
        .sidebar-widget {
            background: white;
            padding: 1.5rem;
            border-radius: var(--radius);
            box-shadow: var(--shadow);
        }
        .sidebar-widget h3 {
            color: var(--primary);
            margin-bottom: 1rem;
            font-size: 1.3rem;
        }
        .search-form {
            display: flex;
            margin-top: 1rem;
        }
        .search-form input {
            flex: 1;
            padding: 0.8rem;
            border: 2px solid #ddd;
            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 {
            text-align: center;
        }
        .stars {
            display: flex;
            justify-content: center;
            gap: 0.5rem;
            margin: 1rem 0;
            font-size: 1.8rem;
            color: #ffc107;
        }
        .stars i {
            cursor: pointer;
            transition: var(--transition);
        }
        .stars i:hover {
            transform: scale(1.2);
        }
        .rating-form button {
            background: var(--accent);
            color: white;
            border: none;
            padding: 0.8rem 2rem;
            border-radius: var(--radius);
            cursor: pointer;
            font-weight: 600;
            width: 100%;
            transition: var(--transition);
        }
        .rating-form button:hover {
            background: #00b248;
        }
        .comment-form textarea {
            width: 100%;
            padding: 1rem;
            border: 2px solid #ddd;
            border-radius: var(--radius);
            font-family: inherit;
            margin: 1rem 0;
            resize: vertical;
            min-height: 120px;
        }
        .comment-form button {
            background: var(--primary);
            color: white;
            border: none;
            padding: 0.8rem 2rem;
            border-radius: var(--radius);
            cursor: pointer;
            font-weight: 600;
            transition: var(--transition);
        }
        .comment-form button:hover {
            background: #3a0c6e;
        }
        .long-tail-links {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
            gap: 1rem;
            margin: 3rem 0;
        }
        .web-link {
            background: white;
            padding: 1rem 1.5rem;
            border-radius: var(--radius);
            box-shadow: var(--shadow);
            transition: var(--transition);
        }
        .web-link:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 20px rgba(0,0,0,0.12);
            border-left: 4px solid var(--accent);
        }
        footer {
            background: var(--dark);
            color: white;
            padding: 3rem 0 1.5rem;
            margin-top: 3rem;
        }
        .footer-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 2rem;
            margin-bottom: 2rem;
        }
        .footer-section h3 {
            color: var(--secondary);
            margin-bottom: 1.5rem;
            font-size: 1.3rem;
        }
        .footer-links {
            list-style: none;
        }
        .footer-links li {
            margin-bottom: 0.8rem;
        }
        .footer-links a:hover {
            color: var(--secondary);
            padding-left: 5px;
            transition: var(--transition);
        }
        .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: 992px) {
            main {
                grid-template-columns: 1fr;
            }
            .hero h1 {
                font-size: 2.2rem;
            }
        }
        @media (max-width: 768px) {
            .header-container {
                flex-wrap: wrap;
            }
            nav {
                display: none;
                width: 100%;
                flex-direction: column;
                gap: 0;
                margin-top: 1rem;
            }
            nav.active {
                display: flex;
            }
            nav a {
                padding: 0.8rem;
                border-bottom: 1px solid rgba(255,255,255,0.1);
            }
            .mobile-toggle {
                display: block;
            }
            .hero {
                padding: 3rem 1rem;
            }
            .hero h1 {
                font-size: 1.8rem;
            }
            .article-content {
                padding: 1.5rem;
            }
            .long-tail-links {
                grid-template-columns: 1fr;
            }
        }
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(20px); }
            to { opacity: 1; transform: translateY(0); }
        }
        .article-content, .sidebar-widget {
            animation: fadeIn 0.6s ease-out;
        }
        .pulse {
            animation: pulse 2s infinite;
        }
        @keyframes pulse {
            0% { box-shadow: 0 0 0 0 rgba(255, 111, 0, 0.7); }
            70% { box-shadow: 0 0 0 10px rgba(255, 111, 0, 0); }
            100% { box-shadow: 0 0 0 0 rgba(255, 111, 0, 0); }
        }
