:root {
            --primary: #6a11cb;
            --secondary: #2575fc;
            --accent: #ff4d94;
            --dark: #1a1a2e;
            --light: #f8f9fa;
            --gray: #6c757d;
            --success: #28a745;
            --warning: #ffc107;
            --shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
            --rounded: 8px;
            --transition: all 0.3s ease;
        }
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        html {
            scroll-behavior: smooth;
        }
        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
            line-height: 1.7;
            color: #333;
            background: linear-gradient(135deg, #f5f7fa 0%, #e4edf5 100%);
            min-height: 100vh;
            display: flex;
            flex-direction: column;
        }
        a {
            color: var(--primary);
            text-decoration: none;
            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;
        }
        .site-header {
            background: linear-gradient(90deg, var(--dark) 0%, #16213e 100%);
            color: white;
            padding: 1rem 0;
            box-shadow: var(--shadow);
            position: sticky;
            top: 0;
            z-index: 1000;
        }
        .header-content {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        .my-logo {
            font-size: 1.8rem;
            font-weight: 800;
            background: linear-gradient(90deg, var(--accent), var(--secondary));
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
            text-transform: uppercase;
            letter-spacing: 1px;
        }
        .my-logo:hover {
            opacity: 0.9;
        }
        .nav-desktop {
            display: flex;
            gap: 2rem;
        }
        @media (max-width: 768px) {
            .nav-desktop {
                display: none;
            }
        }
        .nav-desktop a {
            color: white;
            font-weight: 500;
            padding: 0.5rem 0;
            border-bottom: 2px solid transparent;
        }
        .nav-desktop a:hover,
        .nav-desktop a.active {
            color: var(--accent);
            border-color: var(--accent);
        }
        .hamburger {
            display: none;
            background: none;
            border: none;
            color: white;
            font-size: 1.5rem;
            cursor: pointer;
        }
        @media (max-width: 768px) {
            .hamburger {
                display: block;
            }
        }
        .mobile-nav {
            display: none;
            background: var(--dark);
            position: absolute;
            top: 100%;
            left: 0;
            right: 0;
            flex-direction: column;
            padding: 1rem;
            box-shadow: var(--shadow);
        }
        .mobile-nav.active {
            display: flex;
        }
        .mobile-nav a {
            color: white;
            padding: 0.75rem;
            border-bottom: 1px solid rgba(255,255,255,0.1);
        }
        .mobile-nav a:hover {
            background: rgba(255,255,255,0.05);
            color: var(--accent);
        }
        .breadcrumb {
            background: rgba(255,255,255,0.9);
            padding: 0.75rem 0;
            font-size: 0.9rem;
            color: var(--gray);
            border-bottom: 1px solid #eee;
        }
        .breadcrumb a {
            color: var(--primary);
        }
        .breadcrumb a:hover {
            text-decoration: underline;
        }
        main {
            flex: 1;
            padding: 2rem 0;
        }
        .article-header {
            text-align: center;
            margin-bottom: 3rem;
            padding-bottom: 2rem;
            border-bottom: 3px solid var(--primary);
        }
        h1 {
            font-size: 2.8rem;
            color: var(--dark);
            margin-bottom: 1rem;
            line-height: 1.2;
        }
        @media (max-width: 768px) {
            h1 {
                font-size: 2.2rem;
            }
        }
        .article-meta {
            display: flex;
            justify-content: center;
            gap: 1.5rem;
            color: var(--gray);
            font-size: 0.9rem;
            flex-wrap: wrap;
        }
        .content-grid {
            display: grid;
            grid-template-columns: 1fr 300px;
            gap: 3rem;
        }
        @media (max-width: 992px) {
            .content-grid {
                grid-template-columns: 1fr;
            }
        }
        .article-content {
            background: white;
            padding: 2.5rem;
            border-radius: var(--rounded);
            box-shadow: var(--shadow);
        }
        h2, h3, h4 {
            color: var(--dark);
            margin-top: 2.5rem;
            margin-bottom: 1rem;
            line-height: 1.3;
        }
        h2 {
            font-size: 2rem;
            border-left: 5px solid var(--primary);
            padding-left: 1rem;
        }
        h3 {
            font-size: 1.6rem;
            color: var(--secondary);
        }
        h4 {
            font-size: 1.3rem;
            color: var(--gray);
        }
        p {
            margin-bottom: 1.5rem;
            text-align: justify;
        }
        .lead {
            font-size: 1.2rem;
            font-weight: 500;
            color: var(--primary);
            background: #f0f5ff;
            padding: 1.5rem;
            border-radius: var(--rounded);
            border-left: 4px solid var(--accent);
        }
        .highlight {
            background: linear-gradient(120deg, #fff8c4 0%, transparent 100%);
            padding: 0.2rem 0.4rem;
            border-radius: 3px;
            font-weight: 600;
        }
        .fnf-term {
            color: var(--primary);
            font-weight: bold;
            font-style: italic;
        }
        .image-wrapper {
            margin: 2.5rem auto;
            text-align: center;
            max-width: 800px;
        }
        .image-wrapper img {
            border-radius: var(--rounded);
            box-shadow: var(--shadow);
            transition: var(--transition);
        }
        .image-wrapper img:hover {
            transform: scale(1.01);
        }
        .image-caption {
            font-size: 0.9rem;
            color: var(--gray);
            margin-top: 0.5rem;
            font-style: italic;
        }
        blockquote {
            border-left: 4px solid var(--accent);
            padding: 1.5rem 2rem;
            margin: 2rem 0;
            background: #f9f9f9;
            font-style: italic;
            color: #555;
        }
        blockquote cite {
            display: block;
            margin-top: 0.5rem;
            font-size: 0.9rem;
            color: var(--gray);
            font-style: normal;
            font-weight: bold;
        }
        ul, ol {
            margin: 1.5rem 0 1.5rem 2rem;
        }
        li {
            margin-bottom: 0.5rem;
        }
        .side-panel {
            display: flex;
            flex-direction: column;
            gap: 2rem;
        }
        .widget {
            background: white;
            padding: 1.5rem;
            border-radius: var(--rounded);
            box-shadow: var(--shadow);
        }
        .widget h3 {
            font-size: 1.3rem;
            margin-top: 0;
            margin-bottom: 1.5rem;
            padding-bottom: 0.5rem;
            border-bottom: 2px solid #eee;
        }
        .search-form {
            display: flex;
        }
        .search-form input {
            flex: 1;
            padding: 0.75rem 1rem;
            border: 2px solid #ddd;
            border-radius: var(--rounded) 0 0 var(--rounded);
            font-size: 1rem;
        }
        .search-form button {
            background: linear-gradient(90deg, var(--primary), var(--secondary));
            color: white;
            border: none;
            padding: 0 1.5rem;
            border-radius: 0 var(--rounded) var(--rounded) 0;
            cursor: pointer;
            transition: var(--transition);
        }
        .search-form button:hover {
            opacity: 0.9;
        }
        .rating-widget .stars {
            display: flex;
            gap: 0.5rem;
            margin-bottom: 1rem;
            font-size: 1.8rem;
            color: #ddd;
            justify-content: center;
        }
        .stars .star {
            cursor: pointer;
            transition: var(--transition);
        }
        .stars .star:hover,
        .stars .star.active {
            color: var(--warning);
        }
        .rating-widget button {
            width: 100%;
            padding: 0.75rem;
            background: var(--dark);
            color: white;
            border: none;
            border-radius: var(--rounded);
            font-weight: bold;
            cursor: pointer;
            transition: var(--transition);
        }
        .rating-widget button:hover {
            background: #333;
        }
        .comment-form textarea {
            width: 100%;
            padding: 1rem;
            border: 2px solid #ddd;
            border-radius: var(--rounded);
            font-family: inherit;
            font-size: 1rem;
            resize: vertical;
            min-height: 120px;
            margin-bottom: 1rem;
        }
        .comment-form button {
            background: linear-gradient(90deg, var(--primary), var(--secondary));
            color: white;
            border: none;
            padding: 0.75rem 2rem;
            border-radius: var(--rounded);
            font-weight: bold;
            cursor: pointer;
            transition: var(--transition);
        }
        .comment-form button:hover {
            opacity: 0.9;
        }
        .link-list {
            list-style: none;
            margin: 0;
            padding: 0;
        }
        .link-list li {
            margin-bottom: 0.75rem;
            padding-bottom: 0.75rem;
            border-bottom: 1px dashed #eee;
        }
        .link-list a {
            display: flex;
            align-items: center;
            gap: 0.75rem;
        }
        .link-list i {
            color: var(--primary);
        }
        .update-notice {
            background: #e7f4ff;
            border: 1px solid #b3d9ff;
            border-radius: var(--rounded);
            padding: 1rem;
            font-size: 0.9rem;
            color: #0066cc;
            margin-top: 2rem;
        }
        footer {
            background: var(--dark);
            color: white;
            padding: 3rem 0 1.5rem;
            margin-top: 3rem;
        }
        .footer-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 2rem;
            margin-bottom: 2rem;
        }
        .footer-section h4 {
            color: white;
            margin-top: 0;
            border-bottom: 2px solid var(--accent);
            padding-bottom: 0.5rem;
            display: inline-block;
        }
        friend-link {
            display: block;
            margin-bottom: 0.5rem;
        }
        friend-link a {
            color: #ccc;
        }
        friend-link a:hover {
            color: white;
        }
        .copyright {
            text-align: center;
            padding-top: 1.5rem;
            border-top: 1px solid rgba(255,255,255,0.1);
            font-size: 0.9rem;
            color: #aaa;
        }
