:root {
            --primary-color: #0a2e6d;
            --secondary-color: #c8102e;
            --accent-color: #ffd700;
            --text-dark: #333333;
            --text-light: #f5f5f5;
            --bg-light: #f8f9fa;
            --border-color: #dee2e6;
            --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
            --transition: all 0.3s ease;
            --max-content-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.7;
            color: var(--text-dark);
            background-color: var(--bg-light);
            overflow-x: hidden;
        }
        a {
            color: var(--primary-color);
            text-decoration: none;
            transition: var(--transition);
        }
        a:hover {
            color: var(--secondary-color);
        }
        img {
            max-width: 100%;
            height: auto;
            display: block;
        }
        .container {
            width: 100%;
            max-width: var(--max-content-width);
            margin: 0 auto;
            padding: 0 20px;
        }
        .site-header {
            background: linear-gradient(135deg, var(--primary-color) 0%, #1a4a9c 100%);
            color: var(--text-light);
            box-shadow: var(--shadow);
            position: sticky;
            top: 0;
            z-index: 1000;
        }
        .header-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 15px 20px;
        }
        .my-logo {
            font-family: 'Impact', 'Arial Black', sans-serif;
            font-size: 2.2rem;
            font-weight: bold;
            letter-spacing: 1px;
            color: var(--accent-color);
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
            text-transform: uppercase;
        }
        .my-logo span {
            color: white;
        }
        .nav-container {
            display: flex;
            align-items: center;
        }
        .main-nav {
            display: flex;
        }
        .main-nav ul {
            display: flex;
            list-style: none;
            gap: 25px;
        }
        .main-nav a {
            color: white;
            font-weight: 600;
            padding: 8px 0;
            position: relative;
        }
        .main-nav a:hover {
            color: var(--accent-color);
        }
        .main-nav a::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0;
            height: 2px;
            background-color: var(--accent-color);
            transition: var(--transition);
        }
        .main-nav a:hover::after {
            width: 100%;
        }
        .hamburger {
            display: none;
            background: none;
            border: none;
            color: white;
            font-size: 1.8rem;
            cursor: pointer;
        }
        .breadcrumb {
            background-color: #e9ecef;
            padding: 12px 20px;
            font-size: 0.9rem;
            border-bottom: 1px solid var(--border-color);
        }
        .breadcrumb a {
            color: #6c757d;
        }
        .breadcrumb a:hover {
            color: var(--primary-color);
        }
        .breadcrumb span {
            color: var(--text-dark);
            font-weight: 500;
        }
        .search-bar {
            background-color: white;
            padding: 25px 20px;
            margin: 25px auto;
            border-radius: 10px;
            box-shadow: var(--shadow);
            max-width: 800px;
        }
        .search-bar form {
            display: flex;
            gap: 10px;
        }
        .search-bar input {
            flex: 1;
            padding: 15px 20px;
            border: 2px solid var(--border-color);
            border-radius: 50px;
            font-size: 1rem;
            transition: var(--transition);
        }
        .search-bar input:focus {
            outline: none;
            border-color: var(--primary-color);
        }
        .search-bar button {
            background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
            color: white;
            border: none;
            border-radius: 50px;
            padding: 0 30px;
            font-weight: bold;
            cursor: pointer;
            transition: var(--transition);
            display: flex;
            align-items: center;
            gap: 8px;
        }
        .search-bar button:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 15px rgba(200, 16, 46, 0.3);
        }
        main {
            padding: 30px 0 50px;
        }
        article {
            background-color: white;
            border-radius: 15px;
            box-shadow: var(--shadow);
            padding: 40px;
            margin-bottom: 40px;
        }
        .article-header {
            text-align: center;
            margin-bottom: 40px;
            padding-bottom: 30px;
            border-bottom: 2px dashed var(--border-color);
        }
        h1 {
            font-size: 2.8rem;
            color: var(--primary-color);
            margin-bottom: 15px;
            line-height: 1.2;
        }
        .article-meta {
            display: flex;
            justify-content: center;
            gap: 20px;
            color: #6c757d;
            font-size: 0.95rem;
            margin-top: 20px;
            flex-wrap: wrap;
        }
        .article-meta i {
            margin-right: 5px;
        }
        h2 {
            font-size: 2rem;
            color: var(--secondary-color);
            margin: 50px 0 20px;
            padding-bottom: 10px;
            border-bottom: 1px solid var(--border-color);
        }
        h3 {
            font-size: 1.6rem;
            color: var(--primary-color);
            margin: 35px 0 15px;
        }
        h4 {
            font-size: 1.3rem;
            color: #555;
            margin: 25px 0 10px;
        }
        p {
            margin-bottom: 1.5em;
            font-size: 1.1rem;
            text-align: justify;
        }
        .intro {
            font-size: 1.25rem;
            font-weight: 500;
            background-color: #f0f8ff;
            padding: 25px;
            border-left: 5px solid var(--primary-color);
            border-radius: 0 10px 10px 0;
            margin-bottom: 35px;
        }
        .highlight {
            background-color: #fff9e6;
            padding: 25px;
            border-radius: 10px;
            border: 1px solid var(--accent-color);
            margin: 30px 0;
        }
        .highlight h3 {
            color: #b8860b;
            margin-top: 0;
        }
        .code-list {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 20px;
            margin: 30px 0;
        }
        .code-item {
            background: linear-gradient(145deg, #f8f9fa, #e9ecef);
            border: 1px solid #ced4da;
            border-radius: 10px;
            padding: 20px;
            text-align: center;
            transition: var(--transition);
        }
        .code-item:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow);
            border-color: var(--primary-color);
        }
        .code {
            font-family: 'Courier New', monospace;
            font-size: 1.5rem;
            font-weight: bold;
            color: var(--secondary-color);
            background-color: white;
            padding: 15px;
            border-radius: 8px;
            margin: 15px 0;
            letter-spacing: 1px;
            border: 2px dashed #adb5bd;
        }
        .reward {
            color: #28a745;
            font-weight: bold;
            display: block;
            margin-top: 10px;
        }
        .note {
            font-style: italic;
            color: #6c757d;
            font-size: 0.95rem;
            margin-top: 5px;
        }
        .feature-img {
            margin: 40px auto;
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
            max-width: 900px;
        }
        .img-caption {
            text-align: center;
            font-style: italic;
            color: #6c757d;
            padding: 10px;
            font-size: 0.95rem;
            background-color: var(--bg-light);
        }
        ul, ol {
            margin-left: 25px;
            margin-bottom: 1.5em;
        }
        li {
            margin-bottom: 0.7em;
        }
        strong {
            color: var(--primary-color);
        }
        .quote {
            font-style: italic;
            font-size: 1.2rem;
            color: #555;
            border-left: 4px solid var(--secondary-color);
            padding-left: 25px;
            margin: 35px 0 35px 20px;
            background-color: #fff5f5;
            padding: 25px;
            border-radius: 0 10px 10px 0;
        }
        .author {
            font-weight: bold;
            text-align: right;
            margin-top: 10px;
            color: var(--text-dark);
        }
        .related-links {
            background-color: #f8f9fa;
            border-radius: 10px;
            padding: 25px;
            margin: 40px 0;
            border-left: 5px solid var(--secondary-color);
        }
        .related-links h3 {
            margin-top: 0;
        }
        .related-links ul {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
            gap: 15px;
            list-style-type: none;
            margin-left: 0;
        }
        .related-links li {
            margin-bottom: 0;
        }
        .related-links a {
            display: block;
            padding: 12px 15px;
            background-color: white;
            border-radius: 8px;
            border: 1px solid var(--border-color);
            transition: var(--transition);
        }
        .related-links a:hover {
            background-color: var(--primary-color);
            color: white;
            transform: translateX(5px);
        }
        .link-list {
            margin: 30px 0;
            padding: 20px;
            background-color: #f0f8ff;
            border-radius: 10px;
        }
        .link-list ul {
            columns: 2;
            column-gap: 40px;
        }
        .link-list li {
            break-inside: avoid;
        }
        .user-feedback {
            background-color: white;
            border-radius: 15px;
            box-shadow: var(--shadow);
            padding: 30px;
            margin: 40px 0;
        }
        .feedback-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
        }
        .feedback-form {
            display: flex;
            flex-direction: column;
            gap: 20px;
        }
        .form-group {
            display: flex;
            flex-direction: column;
        }
        .form-group label {
            font-weight: 600;
            margin-bottom: 8px;
            color: var(--primary-color);
        }
        .form-group input,
        .form-group textarea,
        .form-group select {
            padding: 15px;
            border: 1px solid var(--border-color);
            border-radius: 8px;
            font-family: inherit;
            font-size: 1rem;
            transition: var(--transition);
        }
        .form-group input:focus,
        .form-group textarea:focus,
        .form-group select:focus {
            outline: none;
            border-color: var(--primary-color);
            box-shadow: 0 0 0 3px rgba(10, 46, 109, 0.1);
        }
        .rating {
            display: flex;
            flex-direction: row-reverse;
            justify-content: flex-end;
            gap: 5px;
        }
        .rating input {
            display: none;
        }
        .rating label {
            font-size: 2rem;
            color: #ddd;
            cursor: pointer;
            transition: var(--transition);
        }
        .rating label:hover,
        .rating label:hover ~ label,
        .rating input:checked ~ label {
            color: var(--accent-color);
        }
        .btn-submit {
            background: linear-gradient(to right, var(--primary-color), #1a4a9c);
            color: white;
            border: none;
            border-radius: 50px;
            padding: 18px 30px;
            font-size: 1.1rem;
            font-weight: bold;
            cursor: pointer;
            transition: var(--transition);
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
        }
        .btn-submit:hover {
            transform: translateY(-3px);
            box-shadow: 0 10px 20px rgba(10, 46, 109, 0.2);
        }
        .comments-section {
            margin-top: 40px;
        }
        .comment {
            background-color: #f8f9fa;
            border-radius: 10px;
            padding: 20px;
            margin-bottom: 20px;
            border-left: 4px solid var(--border-color);
        }
        .comment-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 15px;
            flex-wrap: wrap;
        }
        .comment-author {
            font-weight: bold;
            color: var(--primary-color);
        }
        .comment-date {
            color: #6c757d;
            font-size: 0.9rem;
        }
        .comment-rating {
            color: var(--accent-color);
        }
        .site-footer {
            background-color: #222;
            color: #aaa;
            padding: 50px 0 20px;
        }
        .footer-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 40px;
            margin-bottom: 40px;
        }
        .footer-section h3 {
            color: white;
            font-size: 1.3rem;
            margin-bottom: 25px;
            padding-bottom: 10px;
            border-bottom: 2px solid var(--secondary-color);
        }
        .footer-links {
            list-style: none;
        }
        .footer-links li {
            margin-bottom: 12px;
        }
        .footer-links a {
            color: #ccc;
        }
        .footer-links a:hover {
            color: white;
            padding-left: 5px;
        }
        friend-link {
            display: block;
            background-color: #333;
            padding: 15px;
            border-radius: 8px;
            margin-bottom: 10px;
            border-left: 4px solid var(--accent-color);
        }
        friend-link a {
            color: white;
            font-weight: bold;
        }
        .copyright {
            text-align: center;
            padding-top: 25px;
            border-top: 1px solid #444;
            font-size: 0.9rem;
            color: #777;
        }
        @media (max-width: 992px) {
            h1 { font-size: 2.4rem; }
            h2 { font-size: 1.8rem; }
            .main-nav ul { gap: 15px; }
        }
        @media (max-width: 768px) {
            .header-container { flex-wrap: wrap; }
            .main-nav {
                display: none;
                width: 100%;
                order: 3;
                margin-top: 20px;
            }
            .main-nav.active {
                display: block;
            }
            .main-nav ul {
                flex-direction: column;
                gap: 0;
            }
            .main-nav li {
                border-bottom: 1px solid rgba(255,255,255,0.1);
            }
            .main-nav a {
                display: block;
                padding: 15px 0;
            }
            .hamburger {
                display: block;
            }
            .link-list ul {
                columns: 1;
            }
            .feedback-grid {
                grid-template-columns: 1fr;
            }
            article {
                padding: 25px;
            }
        }
        @media (max-width: 576px) {
            h1 { font-size: 2rem; }
            h2 { font-size: 1.6rem; }
            .article-meta { flex-direction: column; align-items: center; gap: 10px; }
            .search-bar form { flex-direction: column; }
            .search-bar button { width: 100%; justify-content: center; }
            .code-list { grid-template-columns: 1fr; }
        }
