:root {
            --primary: #6a5acd; 
            --secondary: #ff69b4; 
            --accent: #20b2aa; 
            --dark: #2f4f4f; 
            --light: #f5f5f5; 
            --text: #333;
            --text-light: #666;
            --shadow: 0 4px 12px rgba(0,0,0,0.08);
            --border-radius: 12px;
            --transition: all 0.3s ease;
            --max-width: 1200px;
        }
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        html {
            scroll-behavior: smooth;
        }
        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
            line-height: 1.7;
            color: var(--text);
            background-color: #fff;
            overflow-x: hidden;
        }
        a {
            color: var(--primary);
            text-decoration: none;
            transition: var(--transition);
        }
        a:hover {
            color: var(--secondary);
        }
        img {
            max-width: 100%;
            height: auto;
            display: block;
            border-radius: var(--border-radius);
        }
        .container {
            width: 100%;
            max-width: var(--max-width);
            margin: 0 auto;
            padding: 0 20px;
        }
        .site-header {
            background: linear-gradient(135deg, var(--primary), var(--accent));
            color: white;
            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;
            color: white;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        .my-logo i {
            color: var(--secondary);
        }
        .my-logo:hover {
            transform: scale(1.03);
        }
        .main-nav ul {
            display: flex;
            list-style: none;
            gap: 2rem;
        }
        .main-nav a {
            color: white;
            font-weight: 600;
            font-size: 1.1rem;
            padding: 0.5rem 0.8rem;
            border-radius: 30px;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        .main-nav a:hover, .main-nav a.active {
            background-color: rgba(255, 255, 255, 0.15);
            color: var(--secondary);
        }
        .hamburger {
            display: none;
            background: none;
            border: none;
            color: white;
            font-size: 1.8rem;
            cursor: pointer;
            padding: 5px;
        }
        .breadcrumb {
            background-color: var(--light);
            padding: 1rem 0;
            margin-bottom: 2rem;
            font-size: 0.95rem;
        }
        .breadcrumb ol {
            display: flex;
            flex-wrap: wrap;
            list-style: none;
            gap: 0.5rem;
        }
        .breadcrumb li:not(:last-child)::after {
            content: '›';
            margin-left: 0.5rem;
            color: var(--text-light);
        }
        .breadcrumb a {
            color: var(--text-light);
        }
        .breadcrumb a:hover {
            color: var(--primary);
        }
        .content-area {
            display: grid;
            grid-template-columns: 1fr 300px;
            gap: 3rem;
            margin: 2rem 0 4rem;
        }
        @media (max-width: 992px) {
            .content-area {
                grid-template-columns: 1fr;
            }
        }
        .main-content {
            background: white;
            border-radius: var(--border-radius);
            padding: 2.5rem;
            box-shadow: var(--shadow);
        }
        .sidebar {
            background: var(--light);
            border-radius: var(--border-radius);
            padding: 2rem;
            align-self: start;
            position: sticky;
            top: 120px;
        }
        .sidebar-widget {
            margin-bottom: 2rem;
        }
        .sidebar-widget h3 {
            color: var(--dark);
            border-bottom: 2px solid var(--accent);
            padding-bottom: 0.5rem;
            margin-bottom: 1rem;
        }
        h1 {
            font-size: 2.8rem;
            color: var(--dark);
            margin-bottom: 1.5rem;
            line-height: 1.2;
        }
        h2 {
            font-size: 2rem;
            color: var(--primary);
            margin: 2.5rem 0 1rem;
            padding-bottom: 0.5rem;
            border-bottom: 2px dashed var(--accent);
        }
        h3 {
            font-size: 1.6rem;
            color: var(--secondary);
            margin: 2rem 0 1rem;
        }
        h4 {
            font-size: 1.3rem;
            color: var(--accent);
            margin: 1.5rem 0 0.8rem;
        }
        p {
            margin-bottom: 1.5rem;
            font-size: 1.1rem;
        }
        .highlight-box {
            background: linear-gradient(145deg, #f0f8ff, #e6f7ff);
            border-left: 5px solid var(--primary);
            padding: 1.5rem;
            margin: 2rem 0;
            border-radius: 0 var(--border-radius) var(--border-radius) 0;
        }
        .tip {
            background-color: #fff0f7;
            border: 1px solid #ffb6c1;
            padding: 1rem;
            border-radius: var(--border-radius);
            margin: 1.5rem 0;
        }
        .tip::before {
            content: '💡';
            margin-right: 10px;
            font-size: 1.2rem;
        }
        ul, ol {
            margin-left: 1.5rem;
            margin-bottom: 1.5rem;
        }
        li {
            margin-bottom: 0.5rem;
        }
        .functional-module {
            background: var(--light);
            padding: 2rem;
            border-radius: var(--border-radius);
            margin: 2.5rem 0;
        }
        .functional-module h2 {
            border-bottom: none;
            margin-top: 0;
        }
        .form-group {
            margin-bottom: 1.2rem;
        }
        label {
            display: block;
            margin-bottom: 0.5rem;
            font-weight: 600;
            color: var(--dark);
        }
        input, textarea, select {
            width: 100%;
            padding: 0.9rem;
            border: 2px solid #ddd;
            border-radius: var(--border-radius);
            font-family: inherit;
            font-size: 1rem;
            transition: var(--transition);
        }
        input:focus, textarea:focus, select:focus {
            outline: none;
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(106, 90, 205, 0.2);
        }
        button, .btn {
            background: linear-gradient(to right, var(--primary), var(--accent));
            color: white;
            border: none;
            padding: 0.9rem 1.8rem;
            border-radius: 30px;
            font-weight: 700;
            font-size: 1rem;
            cursor: pointer;
            transition: var(--transition);
            display: inline-flex;
            align-items: center;
            gap: 8px;
        }
        button:hover, .btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 7px 14px rgba(106, 90, 205, 0.25);
        }
        .star-rating {
            display: flex;
            gap: 5px;
            direction: rtl; 
        }
        .star-rating input {
            display: none;
        }
        .star-rating label {
            font-size: 2rem;
            color: #ccc;
            cursor: pointer;
            margin: 0;
        }
        .star-rating input:checked ~ label,
        .star-rating label:hover,
        .star-rating label:hover ~ label {
            color: #ffc107;
        }
        .article-featured-img {
            margin: 2rem 0;
            text-align: center;
        }
        .article-featured-img img {
            box-shadow: var(--shadow);
            transition: var(--transition);
        }
        .article-featured-img img:hover {
            transform: scale(1.01);
        }
        .img-caption {
            font-style: italic;
            color: var(--text-light);
            margin-top: 0.5rem;
            font-size: 0.95rem;
        }
        .internal-link {
            background-color: #f9f9ff;
            padding: 0.2rem 0.5rem;
            border-radius: 4px;
            border-bottom: 2px solid var(--accent);
        }
        .site-footer {
            background-color: var(--dark);
            color: white;
            padding: 3rem 0 1.5rem;
            margin-top: 4rem;
        }
        .footer-container {
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            gap: 2rem;
        }
        .footer-section {
            flex: 1;
            min-width: 250px;
        }
        .footer-section h3 {
            color: var(--secondary);
            margin-bottom: 1.5rem;
            font-size: 1.4rem;
        }
        .footer-links {
            list-style: none;
        }
        .footer-links li {
            margin-bottom: 0.8rem;
        }
        .footer-links a {
            color: #ccc;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        .footer-links a:hover {
            color: var(--secondary);
            padding-left: 5px;
        }
        friend-link {
            display: block;
            background: rgba(255,255,255,0.05);
            padding: 1rem;
            border-radius: var(--border-radius);
            margin-bottom: 1rem;
            border: 1px solid rgba(255,255,255,0.1);
        }
        friend-link a {
            color: #fff;
            font-weight: 600;
        }
        friend-link a:hover {
            color: var(--secondary);
        }
        .copyright {
            text-align: center;
            margin-top: 3rem;
            padding-top: 1.5rem;
            border-top: 1px solid rgba(255,255,255,0.1);
            color: #aaa;
            font-size: 0.9rem;
        }
        .last-updated {
            background-color: #fffaf0;
            padding: 1rem;
            border-radius: var(--border-radius);
            text-align: center;
            margin: 2rem 0;
            font-weight: 600;
            color: var(--dark);
            border: 1px solid #ffd700;
        }
        @media (max-width: 768px) {
            .hamburger {
                display: block;
            }
            .main-nav {
                position: fixed;
                top: 90px;
                left: 0;
                width: 100%;
                background: var(--primary);
                flex-direction: column;
                align-items: center;
                padding: 2rem;
                clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
                transition: clip-path 0.4s ease;
                box-shadow: var(--shadow);
            }
            .main-nav.active {
                clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
            }
            .main-nav ul {
                flex-direction: column;
                width: 100%;
                text-align: center;
            }
            .main-nav a {
                justify-content: center;
                padding: 1rem;
            }
            h1 {
                font-size: 2.2rem;
            }
            h2 {
                font-size: 1.8rem;
            }
            .main-content {
                padding: 1.5rem;
            }
            .header-container {
                flex-wrap: wrap;
            }
        }
