:root {
        --bg-main: #fdf5f7;
        --bg-alt: #eef7fb;
        --bg-yellow: #fff9e6;
        --bg-pink: #ffebf1;
        --bg-blue: #e5f3ff;
        --text-main: #2c2c3a;
        --text-light: #5a5a6e;
        --primary: #ff6b9d;
        --secondary: #4ecdc4;
        --accent: #ffd166;
        --border-color: #2c2c3a;
        --shadow: 4px 4px 0 var(--border-color);
        --shadow-hover: 6px 6px 0 var(--border-color);
        --radius: 16px;
        --font-main: 'PingFang SC', 'Microsoft YaHei', sans-serif;
    }

    * {
        box-sizing: border-box;
        margin: 0;
        padding: 0;
    }

    body {
        font-family: var(--font-main);
        color: var(--text-main);
        background-color: var(--bg-main);
        line-height: 1.6;
        overflow-x: hidden;
        background-image: radial-gradient(var(--bg-pink) 1px, transparent 1px);
        background-size: 20px 20px;
    }

    a {
        text-decoration: none;
        color: inherit;
    }

    ul {
        list-style: none;
    }

    img {
        max-width: 100%;
        display: block;
    }

    /* Header */
    .site-header {
        position: sticky;
        top: 0;
        z-index: 100;
        background-color: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(8px);
        border-bottom: 3px solid var(--border-color);
        padding: 12px 24px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .brand-logo {
        display: flex;
        align-items: center;
        gap: 12px;
        font-size: 1.5rem;
        font-weight: 900;
        color: var(--text-main);
        letter-spacing: 1px;
    }

    .brand-logo img {
        height: 36px;
        width: auto;
        border-radius: 8px;
        border: 2px solid var(--border-color);
    }

    .nav-links {
        display: flex;
        gap: 20px;
        font-weight: 700;
        font-size: 0.95rem;
    }

    .nav-links a {
        padding: 6px 12px;
        border-radius: 8px;
        transition: all 0.2s;
    }

    .nav-links a:hover {
        background-color: var(--bg-pink);
        color: var(--primary);
    }

    /* Hero Section */
    .hero-section {
        padding: 60px 24px;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        background: linear-gradient(135deg, #fff0f5 0%, #e0f7fa 100%);
        border-bottom: 3px solid var(--border-color);
        position: relative;
        overflow: hidden;
    }

    .hero-content {
        max-width: 800px;
        z-index: 2;
        position: relative;
    }

    .hero-title {
        font-size: 3rem;
        font-weight: 900;
        line-height: 1.2;
        margin-bottom: 20px;
        color: var(--text-main);
        text-shadow: 2px 2px 0 #fff, 4px 4px 0 var(--primary);
    }

    .hero-desc {
        font-size: 1.2rem;
        color: var(--text-light);
        margin-bottom: 30px;
        font-weight: 600;
    }

    .hero-badges {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
        margin-bottom: 40px;
    }

    .badge {
        background: #fff;
        border: 2px solid var(--border-color);
        padding: 8px 16px;
        border-radius: 30px;
        font-weight: 700;
        font-size: 0.9rem;
        box-shadow: 2px 2px 0 var(--border-color);
    }

    .download-group {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px;
    }

    .download-group .btn {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 12px 24px;
        font-size: 1.1rem;
        font-weight: 900;
        border: 3px solid var(--border-color);
        border-radius: 12px;
        background-color: var(--accent);
        color: var(--text-main);
        box-shadow: var(--shadow);
        transition: all 0.2s;
        cursor: pointer;
    }

    .download-group .btn:hover {
        transform: translate(-2px, -2px);
        box-shadow: var(--shadow-hover);
    }

    .download-group .btn-primary {
        background-color: var(--primary);
        color: #fff;
    }

    .download-group .btn-secondary {
        background-color: var(--secondary);
        color: #fff;
    }

    /* Section Common */
    .section-container {
        padding: 60px 24px;
        border-bottom: 3px solid var(--border-color);
        position: relative;
    }

    .section-title {
        font-size: 2.2rem;
        font-weight: 900;
        text-align: center;
        margin-bottom: 40px;
        position: relative;
        display: inline-block;
        left: 50%;
        transform: translateX(-50%);
        padding: 0 20px;
        background: #fff;
        border: 3px solid var(--border-color);
        border-radius: 12px;
        box-shadow: var(--shadow);
    }

    /* Section: Today's Update (Comic Panel Wall) */
    .bg-pattern-dots {
        background-color: var(--bg-yellow);
        background-image: radial-gradient(#d4c9a8 1px, transparent 1px);
        background-size: 15px 15px;
    }

    .comic-wall {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
        max-width: 1000px;
        margin: 0 auto;
    }

    .comic-panel {
        background: #fff;
        border: 3px solid var(--border-color);
        border-radius: 8px;
        overflow: hidden;
        box-shadow: 3px 3px 0 rgba(0,0,0,0.1);
        transition: all 0.3s;
        position: relative;
        cursor: pointer;
    }

    .comic-panel:hover {
        transform: scale(1.03) rotate(1deg);
        box-shadow: 6px 6px 0 var(--primary);
        z-index: 10;
    }

    .comic-panel img {
        width: 100%;
        height: 220px;
        object-fit: cover;
        border-bottom: 3px solid var(--border-color);
    }

    .comic-panel .panel-info {
        padding: 12px;
        display: flex;
        flex-direction: column;
        gap: 4px;
    }

    .comic-panel .panel-title {
        font-weight: 800;
        font-size: 1rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .comic-panel .panel-tag {
        font-size: 0.8rem;
        color: var(--text-light);
        font-weight: 600;
    }

    .comic-panel .sfx {
        position: absolute;
        top: 10px;
        right: 10px;
        background: var(--primary);
        color: #fff;
        font-weight: 900;
        padding: 4px 8px;
        border-radius: 4px;
        border: 2px solid #fff;
        transform: rotate(15deg);
        opacity: 0;
        transition: opacity 0.3s;
    }

    .comic-panel:hover .sfx {
        opacity: 1;
    }

    /* Section: Hot Commend (Scroll Timeline) */
    .bg-pattern-stripes {
        background-color: var(--bg-alt);
        background-image: repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(78, 205, 196, 0.1) 10px, rgba(78, 205, 196, 0.1) 20px);
    }

    .timeline {
        position: relative;
        max-width: 900px;
        margin: 0 auto;
        padding: 20px 0;
    }

    .timeline::before {
        content: '';
        position: absolute;
        top: 0;
        bottom: 0;
        left: 50%;
        width: 4px;
        background: var(--border-color);
        transform: translateX(-50%);
        border-radius: 2px;
    }

    .timeline-item {
        position: relative;
        width: 50%;
        padding: 10px 30px;
        margin-bottom: 20px;
    }

    .timeline-item:nth-child(odd) {
        left: 0;
        text-align: right;
    }

    .timeline-item:nth-child(even) {
        left: 50%;
        text-align: left;
    }

    .timeline-dot {
        position: absolute;
        top: 20px;
        width: 16px;
        height: 16px;
        background: var(--accent);
        border: 3px solid var(--border-color);
        border-radius: 50%;
        z-index: 2;
    }

    .timeline-item:nth-child(odd) .timeline-dot {
        right: -8px;
    }

    .timeline-item:nth-child(even) .timeline-dot {
        left: -8px;
    }

    .timeline-content {
        background: #fff;
        border: 3px solid var(--border-color);
        border-radius: 12px;
        padding: 20px;
        box-shadow: var(--shadow);
        display: flex;
        gap: 16px;
        align-items: center;
    }

    .timeline-item:nth-child(odd) .timeline-content {
        flex-direction: row-reverse;
        text-align: right;
    }

    .timeline-poster {
        width: 100px;
        height: 130px;
        border-radius: 8px;
        border: 2px solid var(--border-color);
        object-fit: cover;
        flex-shrink: 0;
    }

    .timeline-text h3 {
        font-size: 1.1rem;
        font-weight: 800;
        margin-bottom: 4px;
    }

    .timeline-text p {
        font-size: 0.9rem;
        color: var(--text-light);
        margin-bottom: 8px;
    }

    .timeline-meta {
        font-size: 0.8rem;
        background: var(--bg-pink);
        padding: 4px 8px;
        border-radius: 4px;
        display: inline-block;
        font-weight: 700;
    }

    /* Section: Cloud Sync */
    .bg-pattern-clouds {
        background-color: var(--bg-blue);
        background-image: radial-gradient(circle at 15% 50%, #fff 10%, transparent 11%), radial-gradient(circle at 85% 30%, #fff 15%, transparent 16%);
        background-size: 100px 100px;
    }

    .cloud-transfer {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 24px;
        max-width: 800px;
        margin: 0 auto;
    }

    .device-node {
        background: #fff;
        border: 3px solid var(--border-color);
        border-radius: 20px;
        padding: 20px;
        text-align: center;
        box-shadow: var(--shadow);
        width: 100%;
        max-width: 300px;
    }

    .device-node img {
        width: 100%;
        height: 160px;
        object-fit: cover;
        border-radius: 12px;
        border: 2px solid var(--border-color);
        margin-bottom: 12px;
    }

    .device-node h3 {
        font-size: 1.2rem;
        font-weight: 900;
        margin-bottom: 8px;
    }

    .device-node p {
        font-size: 0.9rem;
        color: var(--text-light);
    }

    .cloud-connection {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 12px;
        color: var(--primary);
        font-weight: 900;
        font-size: 1.2rem;
    }

    .cloud-connection .dots {
        border: 2px dashed var(--border-color);
        padding: 8px 16px;
        border-radius: 30px;
        background: #fff;
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .cloud-connection .dots span {
        width: 8px;
        height: 8px;
        background: var(--secondary);
        border-radius: 50%;
    }

    .sync-dialog {
        background: var(--accent);
        border: 3px solid var(--border-color);
        padding: 12px 20px;
        border-radius: 20px;
        font-weight: 800;
        position: relative;
        box-shadow: 2px 2px 0 var(--border-color);
    }

    .sync-dialog::after {
        content: '';
        position: absolute;
        bottom: -10px;
        left: 50%;
        transform: translateX(-50%);
        border-width: 10px 10px 0;
        border-style: solid;
        border-color: var(--border-color) transparent transparent transparent;
    }

    /* Section: Danmaku Comments */
    .bg-pattern-grid {
        background-color: var(--bg-pink);
        background-image: linear-gradient(#ffcce0 1px, transparent 1px), linear-gradient(90deg, #ffcce0 1px, transparent 1px);
        background-size: 40px 40px;
    }

    .chat-matrix {
        display: grid;
        grid-template-columns: 1fr;
        gap: 16px;
        max-width: 800px;
        margin: 0 auto;
    }

    .chat-bubble {
        background: #fff;
        border: 3px solid var(--border-color);
        border-radius: 20px;
        border-bottom-left-radius: 4px;
        padding: 16px;
        box-shadow: 3px 3px 0 rgba(0,0,0,0.1);
        display: flex;
        gap: 12px;
        align-items: flex-start;
    }

    .chat-bubble:nth-child(even) {
        border-bottom-left-radius: 20px;
        border-bottom-right-radius: 4px;
        flex-direction: row-reverse;
    }

    .chat-avatar {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        border: 2px solid var(--border-color);
        object-fit: cover;
        flex-shrink: 0;
    }

    .chat-text {
        font-weight: 600;
        font-size: 0.95rem;
        color: var(--text-main);
    }

    .chat-text .highlight {
        color: var(--primary);
        font-weight: 800;
    }

    /* Section: FAQ */
    .bg-pattern-wave {
        background-color: #f0fdf4;
        background-image: repeating-linear-gradient(0deg, transparent, transparent 20px, rgba(78, 205, 196, 0.1) 20px, rgba(78, 205, 196, 0.1) 40px);
    }

    .faq-list {
        max-width: 800px;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        gap: 16px;
    }

    .faq-item {
        background: #fff;
        border: 3px solid var(--border-color);
        border-radius: 12px;
        overflow: hidden;
        box-shadow: var(--shadow);
    }

    .faq-question {
        background: var(--bg-yellow);
        padding: 16px 20px;
        font-weight: 800;
        font-size: 1.1rem;
        cursor: pointer;
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-bottom: 3px solid var(--border-color);
    }

    .faq-question::after {
        content: '▼';
        font-size: 0.8rem;
        transition: transform 0.3s;
    }

    .faq-item.active .faq-question::after {
        transform: rotate(180deg);
    }

    .faq-answer {
        padding: 16px 20px;
        display: none;
        background: #fff;
        font-size: 0.95rem;
        color: var(--text-light);
        line-height: 1.7;
    }

    .faq-item.active .faq-answer {
        display: block;
    }

    /* Footer */
    .site-footer {
        background: var(--text-main);
        color: #fff;
        padding: 40px 24px;
        text-align: center;
        border-top: 4px solid var(--primary);
    }

    .footer-logo {
        font-size: 1.8rem;
        font-weight: 900;
        margin-bottom: 16px;
        color: var(--primary);
        letter-spacing: 2px;
    }

    .footer-desc {
        font-size: 0.9rem;
        color: #a0a0b0;
        max-width: 600px;
        margin: 0 auto 20px;
    }

    .footer-copy {
        font-size: 0.85rem;
        color: #7a7a8e;
        border-top: 1px solid #3a3a4e;
        padding-top: 20px;
    }

    .footer-copy time {
        display: block;
        margin-top: 6px;
    }

    /* Popup */
    .popup-overlay {
        position: fixed;
        top: 0; left: 0; right: 0; bottom: 0;
        background: rgba(0,0,0,0.5);
        display: none;
        justify-content: center;
        align-items: center;
        z-index: 1000;
        padding: 20px;
    }

    .popup-content {
        background: #fff;
        border: 3px solid var(--border-color);
        border-radius: 16px;
        padding: 24px;
        max-width: 400px;
        width: 100%;
        text-align: center;
        box-shadow: 0 10px 30px rgba(0,0,0,0.3);
        position: relative;
    }

    .popup-content h3 {
        font-size: 1.2rem;
        margin-bottom: 16px;
        color: var(--text-main);
    }

    .popup-link-box {
        background: var(--bg-alt);
        border: 2px dashed var(--border-color);
        padding: 12px;
        border-radius: 8px;
        margin-bottom: 16px;
        word-break: break-all;
        font-weight: 700;
        color: var(--primary);
    }

    .popup-copy-btn {
        background: var(--primary);
        color: #fff;
        border: none;
        padding: 12px 24px;
        border-radius: 30px;
        font-weight: 900;
        font-size: 1rem;
        cursor: pointer;
        width: 100%;
        transition: background 0.2s;
    }

    .popup-copy-btn:hover {
        background: #e05588;
    }

    .popup-close {
        position: absolute;
        top: 10px;
        right: 15px;
        font-size: 1.5rem;
        cursor: pointer;
        color: var(--text-light);
        font-weight: 900;
    }

    /* Responsive */
    @media (min-width: 768px) {
        .hero-title {
            font-size: 4rem;
        }
        .comic-wall {
            grid-template-columns: repeat(4, 1fr);
        }
        .chat-matrix {
            grid-template-columns: 1fr 1fr;
        }
    }

    @media (min-width: 1024px) {
        .comic-wall {
            grid-template-columns: repeat(5, 1fr);
        }
        .cloud-transfer {
            flex-direction: row;
            justify-content: space-between;
        }
        .device-node {
            max-width: 260px;
        }
        .cloud-connection {
            flex-direction: column;
        }
        .timeline {
            max-width: 1000px;
        }
    }

    @media (max-width: 767px) {
        .nav-links {
            display: none; /* Hide desktop nav on mobile, rely on hero buttons or simple scroll */
        }
        .site-header {
            justify-content: center;
        }
        .timeline::before {
            left: 20px;
        }
        .timeline-item {
            width: 100%;
            padding-left: 50px;
            padding-right: 0;
            text-align: left !important;
        }
        .timeline-item:nth-child(even) {
            left: 0;
        }
        .timeline-dot {
            left: 12px !important;
            right: auto !important;
        }
        .timeline-content {
            flex-direction: column !important;
            text-align: left !important;
        }
        .timeline-poster {
            width: 100%;
            height: 180px;
        }
        .section-title {
            font-size: 1.6rem;
        }
        .hero-title {
            font-size: 2rem;
        }
    }