:root {
            --primary-dark: #0f1a2a;
            --primary-blue: #1e3a8a;
            --accent-gold: #d4af37;
            --accent-magic: #8a2be2;
            --light-bg: #f8fafc;
            --text-light: #e2e8f0;
            --text-dark: #1e293b;
            --shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
            --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.8;
            color: var(--text-dark);
            background: linear-gradient(135deg, var(--light-bg) 0%, #e6f0ff 100%);
            min-height: 100vh;
            max-width: 100vw;
            overflow-x: hidden;
        }
        a {
            color: var(--primary-blue);
            text-decoration: none;
            transition: var(--transition);
        }
        a:hover {
            color: var(--accent-magic);
            text-decoration: underline;
        }
        .container {
            width: 100%;
            max-width: 1280px;
            margin: 0 auto;
            padding: 0 20px;
        }
        .site-header {
            background: linear-gradient(90deg, var(--primary-dark) 0%, var(--primary-blue) 100%);
            color: var(--text-light);
            padding: 1.2rem 0;
            position: sticky;
            top: 0;
            z-index: 1000;
            box-shadow: var(--shadow);
        }
        .header-content {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        .my-logo {
            font-family: fantasy, cursive;
            font-size: 2.2rem;
            font-weight: 900;
            background: linear-gradient(45deg, var(--accent-gold), #ffd700);
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
            text-shadow: 0 2px 4px rgba(0,0,0,0.3);
            letter-spacing: 1px;
        }
        .my-logo a {
            color: transparent;
            text-decoration: none;
        }
        .main-nav ul {
            display: flex;
            list-style: none;
            gap: 2rem;
        }
        .main-nav a {
            color: var(--text-light);
            font-weight: 600;
            padding: 0.5rem 1rem;
            border-radius: 4px;
        }
        .main-nav a:hover {
            background: rgba(255, 255, 255, 0.15);
            text-decoration: none;
        }
        .hamburger {
            display: none;
            background: none;
            border: none;
            color: var(--text-light);
            font-size: 1.8rem;
            cursor: pointer;
        }
        .breadcrumb {
            padding: 1rem 0;
            background: rgba(255, 255, 255, 0.9);
            border-bottom: 1px solid #ddd;
            font-size: 0.9rem;
        }
        .breadcrumb ol {
            display: flex;
            list-style: none;
            flex-wrap: wrap;
            gap: 0.5rem;
        }
        .breadcrumb li:not(:last-child)::after {
            content: "›";
            margin-left: 0.5rem;
            color: var(--primary-blue);
        }
        .search-module {
            background: white;
            padding: 2rem;
            border-radius: 12px;
            box-shadow: var(--shadow);
            margin: 2rem 0;
            text-align: center;
        }
        .search-form {
            display: flex;
            max-width: 600px;
            margin: 1rem auto 0;
        }
        .search-input {
            flex-grow: 1;
            padding: 0.9rem 1.2rem;
            border: 2px solid var(--primary-blue);
            border-radius: 8px 0 0 8px;
            font-size: 1rem;
        }
        .search-btn {
            background: var(--primary-blue);
            color: white;
            border: none;
            padding: 0 1.8rem;
            border-radius: 0 8px 8px 0;
            cursor: pointer;
            transition: var(--transition);
            font-weight: 600;
        }
        .search-btn:hover {
            background: var(--accent-magic);
        }
        .main-content {
            display: grid;
            grid-template-columns: 1fr 300px;
            gap: 3rem;
            padding: 3rem 0;
        }
        @media (max-width: 992px) {
            .main-content {
                grid-template-columns: 1fr;
            }
        }
        article {
            background: white;
            border-radius: 16px;
            padding: 3rem;
            box-shadow: var(--shadow);
        }
        .article-header {
            border-bottom: 3px solid var(--accent-gold);
            padding-bottom: 1.5rem;
            margin-bottom: 2.5rem;
        }
        h1 {
            font-size: 2.8rem;
            color: var(--primary-dark);
            margin-bottom: 1rem;
            line-height: 1.2;
        }
        .article-meta {
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 1rem;
            color: #64748b;
            font-size: 0.95rem;
        }
        .update-time {
            background: #f1f5f9;
            padding: 0.5rem 1rem;
            border-radius: 20px;
            font-weight: 600;
        }
        h2 {
            font-size: 2rem;
            color: var(--primary-blue);
            margin: 2.5rem 0 1rem;
            padding-bottom: 0.5rem;
            border-bottom: 2px dashed #cbd5e1;
        }
        h3 {
            font-size: 1.6rem;
            color: var(--accent-magic);
            margin: 2rem 0 0.8rem;
        }
        h4 {
            font-size: 1.3rem;
            color: #475569;
            margin: 1.5rem 0 0.6rem;
        }
        p {
            margin-bottom: 1.5rem;
            text-align: justify;
            hyphens: auto;
        }
        .lead {
            font-size: 1.3rem;
            font-weight: 600;
            color: var(--primary-dark);
            background: #f0f9ff;
            padding: 1.5rem;
            border-left: 5px solid var(--primary-blue);
            border-radius: 0 8px 8px 0;
            margin: 2rem 0;
        }
        .highlight {
            background: linear-gradient(120deg, rgba(212, 175, 55, 0.15) 0%, rgba(138, 43, 226, 0.1) 100%);
            padding: 2rem;
            border-radius: 12px;
            border: 1px solid rgba(212, 175, 55, 0.3);
            margin: 2rem 0;
        }
        .inline-link {
            font-weight: 700;
            color: var(--accent-magic);
            border-bottom: 2px dotted currentColor;
        }
        .inline-link:hover {
            border-bottom-style: solid;
        }
        .feature-img {
            width: 100%;
            max-height: 500px;
            object-fit: cover;
            border-radius: 12px;
            margin: 2.5rem 0;
            box-shadow: var(--shadow);
            border: 5px solid white;
        }
        .sidebar {
            display: flex;
            flex-direction: column;
            gap: 2rem;
        }
        .widget {
            background: white;
            border-radius: 12px;
            padding: 1.8rem;
            box-shadow: var(--shadow);
        }
        .widget h3 {
            font-size: 1.4rem;
            margin-top: 0;
            color: var(--primary-dark);
        }
        .related-links ul {
            list-style: none;
        }
        .related-links li {
            margin-bottom: 0.8rem;
            padding-bottom: 0.8rem;
            border-bottom: 1px solid #e2e8f0;
        }
        .related-links li:last-child {
            border-bottom: none;
        }
        .interaction-module {
            background: white;
            border-radius: 16px;
            padding: 2.5rem;
            box-shadow: var(--shadow);
            margin-top: 3rem;
        }
        .rating-form, .comment-form {
            margin-top: 1.5rem;
        }
        .star-rating {
            display: flex;
            gap: 0.5rem;
            margin: 1rem 0;
            direction: rtl;
        }
        .star-rating input {
            display: none;
        }
        .star-rating label {
            font-size: 2rem;
            color: #cbd5e1;
            cursor: pointer;
            transition: var(--transition);
        }
        .star-rating input:checked ~ label,
        .star-rating label:hover,
        .star-rating label:hover ~ label {
            color: var(--accent-gold);
        }
        .form-group {
            margin-bottom: 1.5rem;
        }
        .form-label {
            display: block;
            margin-bottom: 0.5rem;
            font-weight: 600;
        }
        .form-input, .form-textarea {
            width: 100%;
            padding: 0.9rem;
            border: 2px solid #cbd5e1;
            border-radius: 8px;
            font-family: inherit;
            font-size: 1rem;
            transition: var(--transition);
        }
        .form-input:focus, .form-textarea:focus {
            outline: none;
            border-color: var(--primary-blue);
            box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.2);
        }
        .form-textarea {
            min-height: 150px;
            resize: vertical;
        }
        .submit-btn {
            background: linear-gradient(45deg, var(--primary-blue), var(--accent-magic));
            color: white;
            border: none;
            padding: 1rem 2.5rem;
            border-radius: 8px;
            font-weight: 700;
            font-size: 1.1rem;
            cursor: pointer;
            transition: var(--transition);
        }
        .submit-btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 6px 12px rgba(138, 43, 226, 0.3);
        }
        .site-footer {
            background: var(--primary-dark);
            color: var(--text-light);
            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 {
            font-size: 2rem;
            margin-bottom: 1rem;
        }
        friend-link {
            display: block;
            margin: 0.5rem 0;
            color: var(--accent-gold);
        }
        .copyright {
            text-align: center;
            padding-top: 1.5rem;
            border-top: 1px solid #334155;
            font-size: 0.9rem;
            color: #94a3b8;
        }
        @media (max-width: 768px) {
            .header-content {
                flex-wrap: wrap;
            }
            .main-nav {
                display: none;
                width: 100%;
                order: 3;
                margin-top: 1rem;
            }
            .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: 1rem;
            }
            .hamburger {
                display: block;
            }
            h1 {
                font-size: 2.2rem;
            }
            h2 {
                font-size: 1.8rem;
            }
            article, .interaction-module {
                padding: 1.8rem;
            }
        }
