:root {
            --primary-color: #1a5f7a;
            --secondary-color: #57cc99;
            --accent-color: #ffd166;
            --dark-color: #2d3047;
            --light-color: #f8f9fa;
            --text-color: #333;
            --gray-color: #6c757d;
            --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
            --border-radius: 8px;
            --transition: all 0.3s ease;
            --container-width: 1200px;
        }
        * {
            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-color);
            background-color: #fff;
            overflow-x: hidden;
        }
        a {
            text-decoration: none;
            color: inherit;
            transition: var(--transition);
        }
        ul {
            list-style: none;
        }
        img {
            max-width: 100%;
            height: auto;
            display: block;
        }
        .container {
            width: 100%;
            max-width: var(--container-width);
            margin: 0 auto;
            padding: 0 20px;
        }
        header {
            background-color: white;
            box-shadow: var(--shadow);
            position: sticky;
            top: 0;
            z-index: 1000;
        }
        .header-top {
            padding: 15px 0;
            border-bottom: 1px solid #eee;
        }
        .header-top .container {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        .logo a {
            font-size: 2rem;
            font-weight: 800;
            color: var(--primary-color);
            display: flex;
            align-items: center;
            gap: 10px;
        }
        .logo span {
            color: var(--secondary-color);
        }
        .my-logo {
            font-family: 'Arial Black', sans-serif;
            letter-spacing: -1px;
        }
        .search-form {
            flex-grow: 1;
            max-width: 500px;
            margin: 0 30px;
            position: relative;
        }
        .search-form input {
            width: 100%;
            padding: 12px 20px;
            border: 2px solid #ddd;
            border-radius: 30px;
            font-size: 1rem;
            transition: var(--transition);
        }
        .search-form input:focus {
            outline: none;
            border-color: var(--primary-color);
        }
        .search-form button {
            position: absolute;
            right: 10px;
            top: 50%;
            transform: translateY(-50%);
            background: none;
            border: none;
            color: var(--gray-color);
            cursor: pointer;
            font-size: 1.1rem;
        }
        .user-actions {
            display: flex;
            gap: 15px;
        }
        .user-actions a {
            color: var(--dark-color);
            font-size: 0.9rem;
        }
        .user-actions a:hover {
            color: var(--primary-color);
        }
        nav {
            padding: 0;
        }
        .nav-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        .main-nav ul {
            display: flex;
            gap: 25px;
        }
        .main-nav a {
            font-weight: 600;
            padding: 18px 0;
            display: inline-block;
            position: relative;
            color: var(--dark-color);
        }
        .main-nav a:hover,
        .main-nav a.active {
            color: var(--primary-color);
        }
        .main-nav a:after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0;
            height: 3px;
            background-color: var(--primary-color);
            transition: var(--transition);
        }
        .main-nav a:hover:after,
        .main-nav a.active:after {
            width: 100%;
        }
        .hamburger {
            display: none;
            font-size: 1.5rem;
            cursor: pointer;
            color: var(--dark-color);
        }
        .breadcrumb {
            padding: 15px 0;
            background-color: #f9f9f9;
            font-size: 0.9rem;
            margin-bottom: 30px;
        }
        .breadcrumb ol {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
        }
        .breadcrumb li:not(:last-child):after {
            content: '/';
            margin-left: 10px;
            color: var(--gray-color);
        }
        .breadcrumb a {
            color: var(--gray-color);
        }
        .breadcrumb a:hover {
            color: var(--primary-color);
        }
        main {
            padding: 30px 0 60px;
        }
        .article-header {
            margin-bottom: 40px;
        }
        .article-header h1 {
            font-size: 2.8rem;
            line-height: 1.2;
            color: var(--dark-color);
            margin-bottom: 20px;
        }
        .meta-info {
            display: flex;
            flex-wrap: wrap;
            gap: 20px;
            color: var(--gray-color);
            font-size: 0.9rem;
            margin-bottom: 20px;
            padding-bottom: 20px;
            border-bottom: 1px solid #eee;
        }
        .meta-info span {
            display: flex;
            align-items: center;
            gap: 5px;
        }
        .featured-image {
            margin: 30px 0;
            border-radius: var(--border-radius);
            overflow: hidden;
            box-shadow: var(--shadow);
        }
        .featured-image figcaption {
            padding: 10px;
            background-color: #f9f9f9;
            font-size: 0.9rem;
            color: var(--gray-color);
            text-align: center;
        }
        .content-area {
            display: grid;
            grid-template-columns: 1fr 300px;
            gap: 40px;
        }
        .article-content {
            font-size: 1.1rem;
        }
        .article-content h2 {
            font-size: 2rem;
            color: var(--primary-color);
            margin: 40px 0 20px;
            padding-bottom: 10px;
            border-bottom: 2px solid var(--secondary-color);
        }
        .article-content h3 {
            font-size: 1.6rem;
            color: var(--dark-color);
            margin: 30px 0 15px;
        }
        .article-content h4 {
            font-size: 1.3rem;
            color: var(--dark-color);
            margin: 25px 0 10px;
        }
        .article-content p {
            margin-bottom: 1.5em;
            text-align: justify;
        }
        .article-content emoji {
            font-size: 1.2em;
            margin-right: 5px;
        }
        .article-content strong {
            color: var(--primary-color);
            font-weight: 700;
        }
        .article-content blockquote {
            border-left: 4px solid var(--secondary-color);
            padding-left: 20px;
            margin: 25px 0;
            font-style: italic;
            color: var(--gray-color);
        }
        .article-content ul, .article-content ol {
            margin-left: 20px;
            margin-bottom: 1.5em;
        }
        .article-content li {
            margin-bottom: 0.5em;
        }
        .related-link {
            color: var(--primary-color);
            border-bottom: 1px dashed var(--primary-color);
        }
        .related-link:hover {
            border-bottom-style: solid;
        }
        .tips-box {
            background-color: #e7f7f0;
            border-left: 5px solid var(--secondary-color);
            padding: 25px;
            margin: 30px 0;
            border-radius: 0 var(--border-radius) var(--border-radius) 0;
        }
        .stats-table {
            width: 100%;
            border-collapse: collapse;
            margin: 25px 0;
            box-shadow: var(--shadow);
        }
        .stats-table th, .stats-table td {
            padding: 15px;
            text-align: left;
            border-bottom: 1px solid #ddd;
        }
        .stats-table th {
            background-color: var(--primary-color);
            color: white;
            font-weight: 600;
        }
        .stats-table tr:hover {
            background-color: #f5f5f5;
        }
        .sidebar {
            position: sticky;
            top: 120px;
            height: fit-content;
        }
        .sidebar-widget {
            background-color: white;
            padding: 25px;
            margin-bottom: 30px;
            border-radius: var(--border-radius);
            box-shadow: var(--shadow);
        }
        .sidebar-widget h3 {
            font-size: 1.3rem;
            color: var(--primary-color);
            margin-bottom: 20px;
            padding-bottom: 10px;
            border-bottom: 1px solid #eee;
        }
        .rating-widget form {
            display: flex;
            flex-direction: column;
            gap: 15px;
        }
        .stars {
            display: flex;
            justify-content: center;
            gap: 10px;
            font-size: 1.8rem;
            margin: 10px 0;
        }
        .stars i {
            color: #ddd;
            cursor: pointer;
            transition: var(--transition);
        }
        .stars i:hover,
        .stars i.active {
            color: var(--accent-color);
        }
        .rating-widget button {
            background-color: var(--primary-color);
            color: white;
            border: none;
            padding: 12px;
            border-radius: var(--border-radius);
            font-weight: 600;
            cursor: pointer;
            transition: var(--transition);
        }
        .rating-widget button:hover {
            background-color: var(--dark-color);
        }
        .comment-widget textarea {
            width: 100%;
            padding: 15px;
            border: 1px solid #ddd;
            border-radius: var(--border-radius);
            margin-bottom: 15px;
            font-family: inherit;
            resize: vertical;
            min-height: 120px;
        }
        .comment-widget button {
            background-color: var(--secondary-color);
            color: white;
            border: none;
            padding: 12px 25px;
            border-radius: var(--border-radius);
            font-weight: 600;
            cursor: pointer;
            transition: var(--transition);
        }
        .comment-widget button:hover {
            background-color: #45b884;
        }
        .related-links ul {
            display: flex;
            flex-direction: column;
            gap: 12px;
        }
        .related-links li a {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 10px;
            border-radius: var(--border-radius);
            background-color: #f9f9f9;
            transition: var(--transition);
        }
        .related-links li a:hover {
            background-color: #e9f7ff;
            transform: translateX(5px);
        }
        .related-links i {
            color: var(--secondary-color);
        }
        footer {
            background-color: var(--dark-color);
            color: white;
            padding: 60px 0 30px;
        }
        .footer-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 40px;
            margin-bottom: 40px;
        }
        .footer-logo {
            font-size: 1.8rem;
            font-weight: 800;
            margin-bottom: 20px;
        }
        .footer-logo span {
            color: var(--secondary-color);
        }
        .footer-links h4 {
            font-size: 1.2rem;
            margin-bottom: 20px;
            color: var(--accent-color);
        }
        .footer-links ul {
            display: flex;
            flex-direction: column;
            gap: 12px;
        }
        .footer-links a:hover {
            color: var(--secondary-color);
            padding-left: 5px;
        }
        friend-link {
            display: block;
            background-color: rgba(255,255,255,0.05);
            padding: 20px;
            border-radius: var(--border-radius);
            margin-top: 20px;
        }
        friend-link h4 {
            color: var(--accent-color);
            margin-bottom: 15px;
        }
        friend-link a {
            color: var(--secondary-color);
            font-weight: 600;
        }
        friend-link a:hover {
            text-decoration: underline;
        }
        .copyright {
            text-align: center;
            padding-top: 30px;
            border-top: 1px solid rgba(255,255,255,0.1);
            font-size: 0.9rem;
            color: #aaa;
        }
        @media (max-width: 992px) {
            .content-area {
                grid-template-columns: 1fr;
            }
            .sidebar {
                position: static;
            }
            .article-header h1 {
                font-size: 2.3rem;
            }
        }
        @media (max-width: 768px) {
            .header-top .container {
                flex-wrap: wrap;
            }
            .search-form {
                order: 3;
                max-width: 100%;
                margin: 15px 0 0;
            }
            .hamburger {
                display: block;
            }
            .main-nav {
                position: fixed;
                top: 130px;
                left: -100%;
                width: 80%;
                height: calc(100vh - 130px);
                background-color: white;
                box-shadow: var(--shadow);
                transition: var(--transition);
                padding: 30px;
                overflow-y: auto;
            }
            .main-nav.active {
                left: 0;
            }
            .main-nav ul {
                flex-direction: column;
                gap: 0;
            }
            .main-nav a {
                padding: 15px 0;
                border-bottom: 1px solid #eee;
                width: 100%;
            }
            .article-header h1 {
                font-size: 1.8rem;
            }
            .article-content h2 {
                font-size: 1.6rem;
            }
            .article-content h3 {
                font-size: 1.4rem;
            }
        }
