:root {
            --primary-yellow: #FFCC00;
            --pacman-blue: #1A1A8F;
            --ghost-red: #FF0000;
            --ghost-pink: #FFB8FF;
            --ghost-cyan: #00FFFF;
            --ghost-orange: #FFB852;
            --text-dark: #222222;
            --text-light: #F5F5F5;
            --bg-dark: #0A0A2A;
            --bg-card: #FFFFFF;
            --shadow: 0 8px 20px rgba(0, 0, 50, 0.15);
            --radius: 12px;
            --transition: all 0.3s ease;
        }
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            line-height: 1.7;
            color: var(--text-dark);
            background: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%);
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 15px;
        }
        a {
            color: var(--pacman-blue);
            text-decoration: none;
            transition: var(--transition);
        }
        a:hover {
            color: var(--ghost-red);
            text-decoration: underline;
        }
        .sr-only {
            position: absolute;
            width: 1px;
            height: 1px;
            padding: 0;
            margin: -1px;
            overflow: hidden;
            clip: rect(0,0,0,0);
            border: 0;
        }
        .site-header {
            background: var(--bg-dark);
            color: var(--text-light);
            padding: 1.5rem 0;
            border-bottom: 5px solid var(--primary-yellow);
            margin-bottom: 2rem;
            border-radius: 0 0 var(--radius) var(--radius);
        }
        .header-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
        }
        .my-logo {
            font-family: 'Arial Black', sans-serif;
            font-size: 2.8rem;
            font-weight: 900;
            color: var(--primary-yellow);
            text-shadow: 3px 3px 0 var(--ghost-red), 6px 6px 5px rgba(0,0,0,0.5);
            letter-spacing: 2px;
            transition: var(--transition);
        }
        .my-logo:hover {
            transform: scale(1.05);
            text-shadow: 3px 3px 0 var(--ghost-cyan), 6px 6px 8px rgba(0,0,0,0.6);
        }
        .my-logo a {
            color: inherit;
            text-decoration: none;
        }
        .search-form {
            flex-grow: 1;
            max-width: 500px;
            margin: 0 2rem;
            position: relative;
        }
        .search-input {
            width: 100%;
            padding: 0.9rem 1.2rem;
            padding-right: 3rem;
            border: 2px solid var(--primary-yellow);
            border-radius: 50px;
            font-size: 1rem;
            background: rgba(255,255,255,0.95);
            color: var(--text-dark);
        }
        .search-button {
            position: absolute;
            right: 15px;
            top: 50%;
            transform: translateY(-50%);
            background: none;
            border: none;
            color: var(--pacman-blue);
            font-size: 1.2rem;
            cursor: pointer;
        }
        .menu-toggle {
            display: none;
            background: var(--primary-yellow);
            color: var(--bg-dark);
            border: none;
            border-radius: 5px;
            padding: 0.7rem 1rem;
            font-size: 1.5rem;
            cursor: pointer;
        }
        .main-nav {
            width: 100%;
            margin-top: 1.5rem;
            background: rgba(255,255,255,0.1);
            border-radius: var(--radius);
            padding: 0.8rem;
        }
        .main-nav ul {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            list-style: none;
        }
        .main-nav li {
            margin: 0.3rem 0.8rem;
        }
        .main-nav a {
            color: var(--text-light);
            font-weight: 600;
            padding: 0.5rem 1rem;
            border-radius: 5px;
            display: block;
        }
        .main-nav a:hover, .main-nav a:focus {
            background: var(--primary-yellow);
            color: var(--bg-dark);
            text-decoration: none;
        }
        .breadcrumb {
            padding: 1rem 0;
            font-size: 0.9rem;
            color: #666;
        }
        .breadcrumb a {
            color: #666;
        }
        .breadcrumb a:hover {
            color: var(--pacman-blue);
        }
        .breadcrumb span {
            margin: 0 0.5rem;
        }
        .content-wrapper {
            display: grid;
            grid-template-columns: 1fr 300px;
            gap: 2.5rem;
            margin-bottom: 3rem;
        }
        @media (max-width: 992px) {
            .content-wrapper {
                grid-template-columns: 1fr;
            }
        }
        main {
            background: var(--bg-card);
            padding: 2.5rem;
            border-radius: var(--radius);
            box-shadow: var(--shadow);
        }
        article {
            max-width: 100%;
        }
        h1 {
            font-size: 3.2rem;
            color: var(--pacman-blue);
            margin-bottom: 1.5rem;
            line-height: 1.2;
            border-bottom: 5px dotted var(--primary-yellow);
            padding-bottom: 1rem;
        }
        h2 {
            font-size: 2.2rem;
            color: var(--ghost-red);
            margin: 2.5rem 0 1.2rem 0;
            padding-left: 1rem;
            border-left: 6px solid var(--ghost-red);
        }
        h3 {
            font-size: 1.8rem;
            color: var(--pacman-blue);
            margin: 2rem 0 1rem 0;
        }
        h4 {
            font-size: 1.4rem;
            color: var(--ghost-orange);
            margin: 1.5rem 0 0.8rem 0;
        }
        p {
            margin-bottom: 1.5rem;
            text-align: justify;
        }
        strong {
            color: var(--ghost-red);
            font-weight: 700;
        }
        em {
            color: var(--pacman-blue);
            font-style: italic;
        }
        .intro {
            font-size: 1.3rem;
            color: #444;
            background: #f0f8ff;
            padding: 1.5rem;
            border-radius: var(--radius);
            margin-bottom: 2.5rem;
            border-left: 5px solid var(--primary-yellow);
        }
        .featured-image {
            width: 100%;
            max-height: 500px;
            object-fit: cover;
            border-radius: var(--radius);
            border: 5px solid var(--primary-yellow);
            margin: 2rem 0;
            box-shadow: var(--shadow);
        }
        .link-list {
            background: #f9f9ff;
            padding: 1.5rem;
            border-radius: var(--radius);
            margin: 2rem 0;
            border: 1px dashed var(--pacman-blue);
        }
        .link-list h3 {
            margin-top: 0;
        }
        .link-list ul {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
            gap: 1rem;
            list-style: none;
        }
        .link-list li a {
            display: flex;
            align-items: center;
            padding: 0.7rem;
            background: white;
            border-radius: 8px;
            box-shadow: 0 3px 6px rgba(0,0,0,0.05);
        }
        .link-list li a:hover {
            background: var(--primary-yellow);
            transform: translateY(-3px);
        }
        .link-list li a::before {
            content: '▶';
            color: var(--ghost-red);
            margin-right: 10px;
            font-size: 0.8rem;
        }
        aside {
            display: flex;
            flex-direction: column;
            gap: 2rem;
        }
        .widget {
            background: var(--bg-card);
            padding: 1.8rem;
            border-radius: var(--radius);
            box-shadow: var(--shadow);
        }
        .widget h3 {
            color: var(--ghost-pink);
            margin-top: 0;
            margin-bottom: 1.5rem;
            padding-bottom: 0.5rem;
            border-bottom: 2px solid #eee;
        }
        .rating-form, .comment-form {
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }
        .stars {
            display: flex;
            justify-content: center;
            gap: 0.5rem;
            font-size: 2rem;
            color: #ddd;
            margin: 0.5rem 0;
        }
        .stars input {
            display: none;
        }
        .stars label {
            cursor: pointer;
            transition: var(--transition);
        }
        .stars input:checked ~ label,
        .stars label:hover,
        .stars label:hover ~ label {
            color: var(--primary-yellow);
        }
        .form-group {
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
        }
        .form-group label {
            font-weight: 600;
            color: #555;
        }
        .form-group input,
        .form-group textarea,
        .form-group select {
            padding: 0.9rem;
            border: 1px solid #ccc;
            border-radius: 8px;
            font-family: inherit;
            font-size: 1rem;
            transition: var(--transition);
        }
        .form-group input:focus,
        .form-group textarea:focus {
            outline: none;
            border-color: var(--primary-yellow);
            box-shadow: 0 0 0 3px rgba(255, 204, 0, 0.2);
        }
        button[type="submit"] {
            background: linear-gradient(to right, var(--ghost-red), var(--ghost-orange));
            color: white;
            border: none;
            padding: 1rem 1.5rem;
            border-radius: 50px;
            font-size: 1.1rem;
            font-weight: bold;
            cursor: pointer;
            transition: var(--transition);
            margin-top: 0.5rem;
        }
        button[type="submit"]:hover {
            transform: translateY(-3px);
            box-shadow: 0 7px 14px rgba(255, 0, 0, 0.3);
        }
        .update-time {
            font-size: 0.9rem;
            color: #777;
            text-align: right;
            margin-top: 2rem;
            padding-top: 1rem;
            border-top: 1px solid #eee;
        }
        footer {
            background: var(--bg-dark);
            color: var(--text-light);
            padding: 3rem 0 1.5rem;
            border-radius: var(--radius) var(--radius) 0 0;
            margin-top: 3rem;
        }
        .footer-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 2rem;
            margin-bottom: 2rem;
        }
        .footer-section h3 {
            color: var(--primary-yellow);
            margin-bottom: 1.5rem;
            font-size: 1.5rem;
        }
        friend-link {
            display: block;
            margin-bottom: 0.8rem;
        }
        friend-link a {
            color: #aaa;
            padding: 0.3rem 0;
            display: inline-block;
        }
        friend-link a:hover {
            color: var(--primary-yellow);
            padding-left: 0.5rem;
        }
        .copyright {
            text-align: center;
            padding-top: 1.5rem;
            border-top: 1px solid #333;
            color: #aaa;
            font-size: 0.9rem;
        }
        @media (max-width: 768px) {
            .header-container {
                flex-direction: column;
                align-items: stretch;
            }
            .my-logo {
                font-size: 2.2rem;
                text-align: center;
                margin-bottom: 1rem;
            }
            .search-form {
                order: 3;
                max-width: 100%;
                margin: 1rem 0 0;
            }
            .menu-toggle {
                display: block;
                align-self: flex-end;
                margin-top: -3.5rem;
            }
            .main-nav {
                display: none;
                margin-top: 1rem;
            }
            .main-nav.active {
                display: block;
            }
            .main-nav ul {
                flex-direction: column;
            }
            .main-nav li {
                margin: 0.2rem 0;
            }
            h1 {
                font-size: 2.5rem;
            }
            h2 {
                font-size: 2rem;
            }
            main, .widget {
                padding: 1.5rem;
            }
            .content-wrapper {
                gap: 1.5rem;
            }
        }
        @keyframes pacman-chomp {
            0% { transform: rotate(0deg); }
            50% { transform: rotate(30deg); }
            100% { transform: rotate(0deg); }
        }
        .my-logo::after {
            content: ' 👻';
            animation: pacman-chomp 0.5s infinite;
            display: inline-block;
        }
        .highlight {
            background: linear-gradient(120deg, rgba(255, 204, 0, 0.2) 0%, rgba(255, 204, 0, 0) 100%);
            padding: 0.2rem 0.5rem;
            border-radius: 3px;
        }
