:root {
            --primary: #4361ee;
            --primary-dark: #3a56d4;
            --secondary: #7209b7;
            --accent: #f72585;
            --light: #f8f9fa;
            --dark: #212529;
            --gray: #6c757d;
            --light-gray: #e9ecef;
            --success: #4cc9f0;
            --border-radius: 12px;
            --shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
            --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.7;
            color: var(--dark);
            background-color: #fff;
            overflow-x: hidden;
        }
        a {
            text-decoration: none;
            color: var(--primary);
            transition: var(--transition);
        }
        a:hover {
            color: var(--accent);
        }
        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(--primary) 0%, var(--secondary) 100%);
            color: white;
            padding: 1rem 0;
            box-shadow: var(--shadow);
            position: sticky;
            top: 0;
            z-index: 1000;
        }
        .header-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        .logo a {
            font-size: 1.8rem;
            font-weight: 800;
            color: white;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        .logo i {
            color: var(--accent);
        }
        .logo a:hover {
            color: var(--light);
        }
        .desktop-nav ul {
            display: flex;
            list-style: none;
            gap: 2rem;
        }
        .desktop-nav a {
            color: white;
            font-weight: 600;
            padding: 0.5rem 0;
            position: relative;
        }
        .desktop-nav a::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0;
            height: 3px;
            background-color: var(--accent);
            transition: width 0.3s ease;
        }
        .desktop-nav a:hover::after,
        .desktop-nav a.active::after {
            width: 100%;
        }
        .mobile-toggle {
            display: none;
            font-size: 1.5rem;
            background: none;
            border: none;
            color: white;
            cursor: pointer;
        }
        .mobile-nav {
            display: none;
            background-color: var(--primary-dark);
            position: absolute;
            top: 100%;
            left: 0;
            width: 100%;
            box-shadow: var(--shadow);
        }
        .mobile-nav.active {
            display: block;
        }
        .mobile-nav ul {
            list-style: none;
            padding: 1rem;
        }
        .mobile-nav li {
            margin-bottom: 1rem;
        }
        .mobile-nav a {
            color: white;
            font-weight: 600;
            display: block;
            padding: 0.5rem;
            border-radius: var(--border-radius);
        }
        .mobile-nav a:hover {
            background-color: rgba(255, 255, 255, 0.1);
        }
        .breadcrumb {
            background-color: var(--light-gray);
            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 {
            color: var(--gray);
        }
        .breadcrumb a:hover {
            color: var(--primary);
        }
        main {
            padding: 2rem 0;
        }
        .content-wrapper {
            display: grid;
            grid-template-columns: 1fr 300px;
            gap: 3rem;
        }
        @media (max-width: 992px) {
            .content-wrapper {
                grid-template-columns: 1fr;
            }
        }
        article {
            background: white;
            border-radius: var(--border-radius);
            overflow: hidden;
        }
        .article-header {
            margin-bottom: 3rem;
            border-bottom: 3px solid var(--light-gray);
            padding-bottom: 2rem;
        }
        .article-header h1 {
            font-size: 2.8rem;
            line-height: 1.2;
            margin-bottom: 1.5rem;
            color: var(--dark);
        }
        .meta-info {
            display: flex;
            flex-wrap: wrap;
            gap: 1.5rem;
            color: var(--gray);
            font-size: 0.95rem;
            margin-bottom: 1.5rem;
        }
        .meta-item {
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }
        .search-container {
            background: linear-gradient(to right, var(--light), white);
            padding: 1.5rem;
            border-radius: var(--border-radius);
            margin-bottom: 2rem;
            box-shadow: var(--shadow);
        }
        .search-form {
            display: flex;
        }
        .search-form input {
            flex: 1;
            padding: 1rem 1.5rem;
            border: 2px solid var(--light-gray);
            border-radius: var(--border-radius) 0 0 var(--border-radius);
            font-size: 1rem;
            outline: none;
            transition: var(--transition);
        }
        .search-form input:focus {
            border-color: var(--primary);
        }
        .search-form button {
            background-color: var(--primary);
            color: white;
            border: none;
            padding: 0 1.5rem;
            border-radius: 0 var(--border-radius) var(--border-radius) 0;
            cursor: pointer;
            transition: var(--transition);
            font-size: 1rem;
            font-weight: 600;
        }
        .search-form button:hover {
            background-color: var(--primary-dark);
        }
        .content-section {
            margin-bottom: 3.5rem;
        }
        h2 {
            font-size: 2.2rem;
            margin-bottom: 1.5rem;
            color: var(--primary-dark);
            padding-bottom: 0.75rem;
            border-bottom: 2px dashed var(--light-gray);
        }
        h3 {
            font-size: 1.8rem;
            margin: 2.5rem 0 1.2rem;
            color: var(--secondary);
        }
        h4 {
            font-size: 1.4rem;
            margin: 2rem 0 1rem;
            color: var(--dark);
        }
        p {
            margin-bottom: 1.5rem;
            font-size: 1.1rem;
            text-align: justify;
        }
        .highlight {
            background-color: #fff9db;
            padding: 2rem;
            border-left: 5px solid var(--accent);
            border-radius: 0 var(--border-radius) var(--border-radius) 0;
            margin: 2rem 0;
        }
        .highlight p {
            margin-bottom: 0;
            font-weight: 600;
            color: var(--dark);
        }
        .image-container {
            margin: 2.5rem auto;
            text-align: center;
        }
        .article-img {
            border-radius: var(--border-radius);
            box-shadow: var(--shadow);
            max-width: 800px;
            margin: 0 auto;
        }
        .img-caption {
            font-style: italic;
            color: var(--gray);
            margin-top: 0.75rem;
            font-size: 0.95rem;
        }
        ul, ol {
            margin-left: 1.8rem;
            margin-bottom: 1.5rem;
        }
        li {
            margin-bottom: 0.7rem;
        }
        strong {
            color: var(--primary-dark);
        }
        .related-links {
            background-color: var(--light-gray);
            padding: 1.5rem;
            border-radius: var(--border-radius);
            margin: 2.5rem 0;
        }
        .related-links h4 {
            color: var(--primary);
            margin-top: 0;
        }
        .related-links ul {
            list-style: none;
            margin-left: 0;
        }
        .related-links li {
            margin-bottom: 0.8rem;
            padding-left: 1.5rem;
            position: relative;
        }
        .related-links li::before {
            content: '🔗';
            position: absolute;
            left: 0;
        }
        aside {
            background-color: white;
            border-radius: var(--border-radius);
            padding: 1.5rem;
            box-shadow: var(--shadow);
            align-self: start;
            position: sticky;
            top: 100px;
        }
        .sidebar-widget {
            margin-bottom: 2.5rem;
        }
        .sidebar-widget h3 {
            font-size: 1.4rem;
            margin-bottom: 1.2rem;
            padding-bottom: 0.7rem;
            border-bottom: 2px solid var(--light-gray);
            color: var(--primary);
        }
        .rating-widget {
            text-align: center;
        }
        .stars {
            font-size: 1.8rem;
            color: #ffd700;
            margin: 1rem 0;
            cursor: pointer;
        }
        .stars i {
            margin: 0 3px;
            transition: var(--transition);
        }
        .stars i:hover {
            transform: scale(1.2);
        }
        #rating-form {
            display: none;
            margin-top: 1rem;
        }
        #rating-form.active {
            display: block;
        }
        #rating-form button {
            background-color: var(--success);
            color: white;
            border: none;
            padding: 0.7rem 1.5rem;
            border-radius: var(--border-radius);
            cursor: pointer;
            font-weight: 600;
            margin-top: 1rem;
            transition: var(--transition);
        }
        #rating-form button:hover {
            background-color: #3ab8d9;
        }
        #comment-section {
            background-color: var(--light);
            padding: 2rem;
            border-radius: var(--border-radius);
            margin-top: 3rem;
        }
        #comment-section h2 {
            color: var(--primary);
        }
        #comment-form {
            display: grid;
            gap: 1.2rem;
            margin-top: 1.5rem;
        }
        .form-group {
            display: flex;
            flex-direction: column;
        }
        .form-group label {
            margin-bottom: 0.5rem;
            font-weight: 600;
        }
        .form-group input,
        .form-group textarea {
            padding: 0.9rem;
            border: 1px solid var(--light-gray);
            border-radius: var(--border-radius);
            font-size: 1rem;
            font-family: inherit;
            transition: var(--transition);
        }
        .form-group input:focus,
        .form-group textarea:focus {
            outline: none;
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.2);
        }
        #comment-form button {
            background-color: var(--primary);
            color: white;
            border: none;
            padding: 1rem 2rem;
            border-radius: var(--border-radius);
            font-size: 1.1rem;
            font-weight: 600;
            cursor: pointer;
            transition: var(--transition);
            justify-self: start;
        }
        #comment-form button:hover {
            background-color: var(--primary-dark);
            transform: translateY(-3px);
        }
        footer {
            background-color: var(--dark);
            color: var(--light-gray);
            padding: 3rem 0 1.5rem;
            margin-top: 4rem;
        }
        .footer-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 2.5rem;
            margin-bottom: 2.5rem;
        }
        .footer-logo a {
            font-size: 1.8rem;
            font-weight: 800;
            color: white;
            margin-bottom: 1rem;
            display: inline-block;
        }
        .footer-about p {
            margin-bottom: 1.5rem;
            font-size: 1rem;
        }
        friend-link {
            display: block;
            margin-top: 2rem;
        }
        .friend-link-title {
            font-size: 1.2rem;
            margin-bottom: 1rem;
            color: white;
        }
        .friend-link-list {
            list-style: none;
        }
        .friend-link-list li {
            margin-bottom: 0.8rem;
        }
        .friend-link-list a {
            color: var(--light-gray);
        }
        .friend-link-list a:hover {
            color: var(--accent);
            padding-left: 5px;
        }
        .copyright {
            text-align: center;
            padding-top: 1.5rem;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            font-size: 0.9rem;
            color: var(--gray);
        }
        @media (max-width: 768px) {
            .header-container {
                flex-wrap: wrap;
            }
            .mobile-toggle {
                display: block;
            }
            .desktop-nav {
                display: none;
            }
            .article-header h1 {
                font-size: 2.2rem;
            }
            h2 {
                font-size: 1.8rem;
            }
            h3 {
                font-size: 1.5rem;
            }
            p {
                font-size: 1rem;
            }
            .search-form {
                flex-direction: column;
            }
            .search-form input,
            .search-form button {
                width: 100%;
                border-radius: var(--border-radius);
                margin-bottom: 0.5rem;
            }
        }
