:root {
            --primary-yellow: #FFCC00;
            --pacman-blue: #1A1A8F;
            --ghost-red: #FF0000;
            --ghost-pink: #FFB8FF;
            --ghost-cyan: #00FFFF;
            --ghost-orange: #FFB852;
            --text-dark: #222;
            --text-light: #F5F5F5;
            --bg-dark: #0A0A2A;
            --bg-light: #F0F0FA;
            --spacing-xs: 0.5rem;
            --spacing-sm: 1rem;
            --spacing-md: 2rem;
            --spacing-lg: 4rem;
            --border-radius: 8px;
            --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        }
        * {
            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: linear-gradient(135deg, var(--bg-light) 0%, #e6e6ff 100%);
            min-height: 100vh;
        }
        .container {
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 var(--spacing-sm);
        }
        .site-header {
            background-color: var(--bg-dark);
            background-image: radial-gradient(circle at 20% 50%, #2a2a5a 0%, var(--bg-dark) 70%);
            color: var(--text-light);
            padding: var(--spacing-sm) 0;
            position: sticky;
            top: 0;
            z-index: 1000;
            box-shadow: var(--shadow);
        }
        .header-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        .my-logo {
            font-family: 'Arial Black', sans-serif;
            font-size: 2.2rem;
            font-weight: 900;
            text-decoration: none;
            color: var(--primary-yellow);
            text-shadow: 3px 3px 0 var(--ghost-red),
                         6px 6px 0 rgba(0,0,0,0.2);
            transition: all 0.3s ease;
            letter-spacing: -1px;
        }
        .my-logo:hover {
            transform: scale(1.05);
            text-shadow: 3px 3px 0 var(--ghost-cyan),
                         6px 6px 0 rgba(0,0,0,0.3);
        }
        .my-logo span {
            color: var(--ghost-red);
            font-style: italic;
        }
        .main-nav ul {
            display: flex;
            list-style: none;
            gap: var(--spacing-md);
        }
        .main-nav a {
            color: var(--text-light);
            text-decoration: none;
            font-weight: 600;
            font-size: 1.1rem;
            padding: var(--spacing-xs) var(--spacing-sm);
            border-radius: var(--border-radius);
            transition: all 0.3s ease;
            position: relative;
        }
        .main-nav a:hover {
            background-color: var(--primary-yellow);
            color: var(--bg-dark);
        }
        .main-nav a::after {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 50%;
            transform: translateX(-50%);
            width: 0;
            height: 3px;
            background: var(--ghost-cyan);
            transition: width 0.3s ease;
        }
        .main-nav a:hover::after {
            width: 80%;
        }
        .breadcrumb {
            padding: var(--spacing-sm) 0;
            background-color: rgba(255,255,255,0.9);
            font-size: 0.9rem;
        }
        .breadcrumb ol {
            display: flex;
            list-style: none;
            flex-wrap: wrap;
            gap: var(--spacing-xs);
        }
        .breadcrumb li:not(:last-child)::after {
            content: '>';
            margin-left: var(--spacing-xs);
            color: var(--pacman-blue);
        }
        .breadcrumb a {
            color: var(--pacman-blue);
            text-decoration: none;
        }
        .breadcrumb a:hover {
            text-decoration: underline;
        }
        .hamburger {
            display: none;
            background: none;
            border: none;
            color: var(--text-light);
            font-size: 1.8rem;
            cursor: pointer;
        }
        .search-container {
            background: white;
            padding: var(--spacing-md);
            border-radius: var(--border-radius);
            box-shadow: var(--shadow);
            margin: var(--spacing-md) 0;
            text-align: center;
        }
        .search-form {
            display: flex;
            max-width: 600px;
            margin: 0 auto;
        }
        .search-form input {
            flex-grow: 1;
            padding: 0.8rem 1rem;
            border: 2px solid var(--primary-yellow);
            border-radius: var(--border-radius) 0 0 var(--border-radius);
            font-size: 1rem;
        }
        .search-form button {
            background-color: var(--primary-yellow);
            color: var(--bg-dark);
            border: none;
            padding: 0 1.5rem;
            border-radius: 0 var(--border-radius) var(--border-radius) 0;
            font-weight: bold;
            cursor: pointer;
            transition: background-color 0.3s ease;
        }
        .search-form button:hover {
            background-color: var(--ghost-red);
            color: white;
        }
        .main-content {
            display: grid;
            grid-template-columns: 1fr 300px;
            gap: var(--spacing-lg);
            margin: var(--spacing-lg) 0;
        }
        article {
            background: white;
            padding: var(--spacing-lg);
            border-radius: var(--border-radius);
            box-shadow: var(--shadow);
        }
        h1 {
            color: var(--pacman-blue);
            font-size: 2.8rem;
            margin-bottom: var(--spacing-sm);
            line-height: 1.2;
            border-bottom: 5px solid var(--primary-yellow);
            padding-bottom: var(--spacing-sm);
        }
        h2 {
            color: var(--ghost-red);
            font-size: 2rem;
            margin: var(--spacing-md) 0 var(--spacing-sm);
            padding-top: var(--spacing-sm);
        }
        h3 {
            color: var(--pacman-blue);
            font-size: 1.5rem;
            margin: var(--spacing-sm) 0 var(--spacing-xs);
        }
        h4 {
            color: var(--ghost-orange);
            font-size: 1.2rem;
            margin: var(--spacing-sm) 0 var(--spacing-xs);
        }
        p {
            margin-bottom: 1.2rem;
            text-align: justify;
        }
        .lead {
            font-size: 1.3rem;
            font-weight: 600;
            color: var(--pacman-blue);
            background: rgba(255, 204, 0, 0.1);
            padding: var(--spacing-sm);
            border-left: 5px solid var(--primary-yellow);
            border-radius: var(--border-radius);
            margin-bottom: var(--spacing-md);
        }
        .highlight {
            background-color: rgba(255, 204, 0, 0.2);
            padding: 2px 6px;
            border-radius: 3px;
            font-weight: 600;
        }
        .article-meta {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: var(--spacing-md);
            padding-bottom: var(--spacing-sm);
            border-bottom: 1px dashed #ccc;
            font-size: 0.9rem;
            color: #666;
        }
        .update-time {
            color: var(--ghost-red);
            font-weight: bold;
        }
        .featured-image {
            width: 100%;
            height: auto;
            border-radius: var(--border-radius);
            margin: var(--spacing-md) 0;
            box-shadow: var(--shadow);
            border: 5px solid var(--primary-yellow);
        }
        .gameplay-tip {
            background: linear-gradient(145deg, #e6f7ff, #ffffff);
            border-left: 5px solid var(--ghost-cyan);
            padding: var(--spacing-sm);
            margin: var(--spacing-md) 0;
            border-radius: var(--border-radius);
        }
        .gameplay-tip h4 {
            color: var(--ghost-cyan);
            margin-top: 0;
        }
        .link-list {
            background: var(--bg-light);
            padding: var(--spacing-sm);
            border-radius: var(--border-radius);
            margin: var(--spacing-md) 0;
        }
        .link-list ul {
            list-style: none;
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
            gap: var(--spacing-xs);
        }
        .link-list a {
            color: var(--pacman-blue);
            text-decoration: none;
            padding: 0.3rem 0.5rem;
            display: block;
            border-radius: 4px;
            transition: all 0.2s ease;
        }
        .link-list a:hover {
            background-color: var(--primary-yellow);
            color: var(--bg-dark);
            padding-left: 1rem;
        }
        aside {
            background: white;
            padding: var(--spacing-md);
            border-radius: var(--border-radius);
            box-shadow: var(--shadow);
            align-self: start;
            position: sticky;
            top: 120px;
        }
        .sidebar-widget {
            margin-bottom: var(--spacing-md);
        }
        .sidebar-widget h3 {
            background: var(--pacman-blue);
            color: white;
            padding: var(--spacing-sm);
            border-radius: var(--border-radius);
            margin: calc(-1 * var(--spacing-md)) calc(-1 * var(--spacing-md)) var(--spacing-sm);
            font-size: 1.3rem;
        }
        .rating-widget form {
            display: flex;
            flex-direction: column;
            gap: var(--spacing-xs);
        }
        .stars {
            display: flex;
            justify-content: center;
            gap: 5px;
            margin: var(--spacing-xs) 0;
            direction: rtl;
        }
        .stars input {
            display: none;
        }
        .stars label {
            font-size: 2rem;
            color: #ddd;
            cursor: pointer;
            transition: color 0.2s;
        }
        .stars input:checked ~ label,
        .stars label:hover,
        .stars label:hover ~ label {
            color: var(--primary-yellow);
        }
        .rating-widget button {
            background: var(--ghost-red);
            color: white;
            border: none;
            padding: 0.7rem;
            border-radius: var(--border-radius);
            font-weight: bold;
            cursor: pointer;
            transition: background 0.3s;
        }
        .rating-widget button:hover {
            background: var(--pacman-blue);
        }
        .ghost-profiles {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: var(--spacing-sm);
        }
        .ghost {
            text-align: center;
            padding: var(--spacing-xs);
            border-radius: var(--border-radius);
        }
        .ghost-blinky { background: rgba(255, 0, 0, 0.1); border: 2px solid var(--ghost-red); }
        .ghost-pinky { background: rgba(255, 184, 255, 0.2); border: 2px solid var(--ghost-pink); }
        .ghost-inky { background: rgba(0, 255, 255, 0.1); border: 2px solid var(--ghost-cyan); }
        .ghost-clyde { background: rgba(255, 184, 82, 0.2); border: 2px solid var(--ghost-orange); }
        .ghost i {
            font-size: 2rem;
            margin-bottom: 5px;
        }
        .comments-section {
            background: white;
            padding: var(--spacing-lg);
            border-radius: var(--border-radius);
            box-shadow: var(--shadow);
            margin: var(--spacing-lg) 0;
        }
        .comment-form {
            display: flex;
            flex-direction: column;
            gap: var(--spacing-sm);
            margin-bottom: var(--spacing-lg);
        }
        .form-group {
            display: flex;
            flex-direction: column;
        }
        .form-group label {
            font-weight: 600;
            margin-bottom: 5px;
            color: var(--pacman-blue);
        }
        .form-group input,
        .form-group textarea {
            padding: 0.8rem;
            border: 1px solid #ccc;
            border-radius: var(--border-radius);
            font-family: inherit;
            font-size: 1rem;
        }
        .form-group textarea {
            min-height: 150px;
            resize: vertical;
        }
        .comment-form button {
            align-self: flex-start;
            background: var(--pacman-blue);
            color: white;
            border: none;
            padding: 0.8rem 2rem;
            border-radius: var(--border-radius);
            font-weight: bold;
            cursor: pointer;
            transition: background 0.3s;
        }
        .comment-form button:hover {
            background: var(--ghost-red);
        }
        .comment-list {
            margin-top: var(--spacing-md);
        }
        .comment {
            border-bottom: 1px solid #eee;
            padding: var(--spacing-sm) 0;
        }
        .comment-header {
            display: flex;
            justify-content: space-between;
            margin-bottom: var(--spacing-xs);
            font-size: 0.9rem;
            color: #666;
        }
        .comment-author {
            font-weight: bold;
            color: var(--pacman-blue);
        }
        footer {
            background-color: var(--bg-dark);
            color: var(--text-light);
            padding: var(--spacing-lg) 0 var(--spacing-md);
            margin-top: var(--spacing-lg);
        }
        .footer-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: var(--spacing-lg);
            margin-bottom: var(--spacing-lg);
        }
        .footer-section h3 {
            color: var(--primary-yellow);
            margin-bottom: var(--spacing-sm);
            font-size: 1.3rem;
        }
        friend-link {
            display: block;
            background: rgba(255,255,255,0.05);
            padding: var(--spacing-sm);
            margin: var(--spacing-xs) 0;
            border-radius: var(--border-radius);
            transition: all 0.3s ease;
        }
        friend-link:hover {
            background: rgba(255,204,0,0.2);
            transform: translateX(5px);
        }
        friend-link a {
            color: var(--ghost-cyan);
            text-decoration: none;
            display: block;
            font-weight: 600;
        }
        .copyright {
            text-align: center;
            padding-top: var(--spacing-md);
            border-top: 1px solid rgba(255,255,255,0.1);
            font-size: 0.9rem;
            color: #aaa;
        }
        @media (max-width: 992px) {
            .main-content {
                grid-template-columns: 1fr;
            }
            aside {
                position: static;
            }
        }
        @media (max-width: 768px) {
            .hamburger {
                display: block;
            }
            .main-nav ul {
                position: fixed;
                top: 80px;
                right: -100%;
                flex-direction: column;
                background: var(--bg-dark);
                width: 250px;
                height: calc(100vh - 80px);
                padding: var(--spacing-lg) var(--spacing-md);
                transition: right 0.3s ease;
                box-shadow: -5px 0 15px rgba(0,0,0,0.2);
                z-index: 999;
            }
            .main-nav.active ul {
                right: 0;
            }
            h1 {
                font-size: 2.2rem;
            }
            .ghost-profiles {
                grid-template-columns: 1fr;
            }
        }
        @media (max-width: 480px) {
            .header-container {
                flex-wrap: wrap;
            }
            .my-logo {
                font-size: 1.8rem;
            }
            h1 {
                font-size: 1.8rem;
            }
            h2 {
                font-size: 1.5rem;
            }
            article, .comments-section {
                padding: var(--spacing-md);
            }
        }
