:root {
        --primary: #FF5E00;
        --primary-hover: #E55400;
        --dark-bg: #121212;
        --light-bg: #F9F7F5;
        --text-main: #333333;
        --text-light: #666666;
        --card-bg: #FFFFFF;
        --border-color: #EAEAEA;
        --marquee-color-1: #FF007A;
        --marquee-color-2: #FFD700;
        --marquee-color-3: #00E5FF;
    }

    * { margin: 0; padding: 0; box-sizing: border-box; }
    body {
        font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
        background-color: var(--light-bg);
        color: var(--text-main);
        line-height: 1.6;
        padding-bottom: 70px; /* Space for float bar */
    }
    a { text-decoration: none; color: inherit; }
    ul { list-style: none; }
    img { max-width: 100%; display: block; }

    /* Header & Nav */
    .site-header {
        background: var(--dark-bg);
        color: #fff;
        position: sticky;
        top: 0;
        z-index: 100;
        box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    }
    .header-inner {
        max-width: 1200px;
        margin: 0 auto;
        padding: 10px 20px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    .brand-logo {
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: 20px;
        font-weight: bold;
    }
    .brand-logo img {
        height: 36px;
        border-radius: 6px;
    }
    .nav-menu {
        display: flex;
        gap: 20px;
    }
    .nav-menu a {
        color: #ccc;
        font-size: 15px;
        transition: color 0.3s ease;
        padding: 5px 0;
        position: relative;
    }
    .nav-menu a:hover {
        color: var(--primary);
    }
    .nav-menu a::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 0;
        height: 2px;
        background: var(--primary);
        transition: width 0.3s ease;
    }
    .nav-menu a:hover::after {
        width: 100%;
    }
    .mobile-toggle {
        display: none;
        background: none;
        border: none;
        color: #fff;
        font-size: 24px;
        cursor: pointer;
    }

    /* Hero Section */
    .hero-section {
        background: linear-gradient(135deg, #1A1A1A 0%, #2D2D2D 100%);
        color: #fff;
        padding: 60px 20px 40px;
        text-align: center;
        position: relative;
        overflow: hidden;
    }
    .hero-content {
        max-width: 1000px;
        margin: 0 auto;
        position: relative;
        z-index: 2;
    }
    .hero-badge {
        display: inline-block;
        background: rgba(255, 94, 0, 0.2);
        color: var(--primary);
        padding: 6px 16px;
        border-radius: 20px;
        font-size: 14px;
        margin-bottom: 20px;
        border: 1px solid rgba(255, 94, 0, 0.4);
    }
    .hero-title {
        font-size: 42px;
        line-height: 1.2;
        margin-bottom: 20px;
        font-weight: 800;
    }
    .hero-title span {
        color: var(--primary);
    }
    .hero-desc {
        font-size: 16px;
        color: #AAA;
        max-width: 700px;
        margin: 0 auto 30px;
    }
    .hero-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 15px;
        max-width: 800px;
        margin: 0 auto 40px;
    }
    .hero-grid img {
        width: 100%;
        border-radius: 12px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.5);
        transition: transform 0.3s ease;
        aspect-ratio: 3/4;
        object-fit: cover;
    }
    .hero-grid img:hover {
        transform: scale(1.05);
    }
    
    /* Download Buttons */
    .download-group {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
        margin-bottom: 20px;
    }
    .btn-download {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding: 12px 24px;
        border-radius: 8px;
        font-size: 15px;
        font-weight: 600;
        transition: all 0.3s ease;
        background: var(--primary);
        color: #fff;
        border: none;
        cursor: pointer;
    }
    .btn-download:hover {
        background: var(--primary-hover);
        transform: translateY(-2px);
    }
    .btn-download.outline {
        background: transparent;
        border: 1px solid rgba(255,255,255,0.3);
        color: #fff;
    }
    .btn-download.outline:hover {
        border-color: var(--primary);
        color: var(--primary);
    }

    /* Marquee */
    .marquee-wrapper {
        background: #000;
        padding: 12px 0;
        overflow: hidden;
        white-space: nowrap;
        border-top: 1px solid #333;
        border-bottom: 1px solid #333;
    }
    .marquee-content {
        display: inline-block;
        animation: marquee 20s linear infinite;
    }
    .marquee-content span {
        font-size: 16px;
        font-weight: bold;
        margin-right: 30px;
        background: linear-gradient(90deg, var(--marquee-color-1), var(--marquee-color-2), var(--marquee-color-3));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }
    @keyframes marquee {
        0% { transform: translateX(0); }
        100% { transform: translateX(-50%); }
    }

    /* Common Section Styles */
    .section-container {
        padding: 60px 20px;
    }
    .section-inner {
        max-width: 1100px;
        margin: 0 auto;
    }
    .section-header {
        text-align: center;
        margin-bottom: 40px;
    }
    .section-title {
        font-size: 28px;
        color: #111;
        margin-bottom: 10px;
    }
    .section-subtitle {
        font-size: 15px;
        color: var(--text-light);
    }

    /* Theater Area */
    .theater-bg { background: #F2F6F9; }
    .theater-list {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
        gap: 20px;
        margin-bottom: 40px;
    }
    .theater-card {
        background: #fff;
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 4px 15px rgba(0,0,0,0.05);
        display: flex;
        padding: 15px;
        gap: 15px;
        border: 1px solid #E0E8EE;
    }
    .theater-poster {
        width: 100px;
        height: 140px;
        border-radius: 8px;
        object-fit: cover;
        flex-shrink: 0;
    }
    .theater-info {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    .theater-tag {
        background: #E3F0FF;
        color: #0055CC;
        font-size: 12px;
        padding: 2px 8px;
        border-radius: 4px;
        display: inline-block;
        margin-bottom: 8px;
        align-self: flex-start;
    }
    .theater-name {
        font-size: 16px;
        font-weight: bold;
        margin-bottom: 5px;
        color: #222;
    }
    .theater-date {
        font-size: 13px;
        color: #888;
        margin-bottom: 8px;
    }
    .theater-desc {
        font-size: 13px;
        color: #666;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    /* Midnight Section */
    .midnight-bg { background: #1A1625; color: #E0D5F0; }
    .midnight-bg .section-title { color: #FFF; }
    .midnight-bg .section-subtitle { color: #9E8FBF; }
    .timeline {
        border-left: 2px solid #4A3B6B;
        padding-left: 20px;
        margin-left: 20px;
    }
    .timeline-item {
        position: relative;
        margin-bottom: 30px;
    }
    .timeline-item::before {
        content: '';
        position: absolute;
        left: -26px;
        top: 4px;
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background: var(--primary);
        box-shadow: 0 0 10px var(--primary);
    }
    .timeline-time {
        font-weight: bold;
        color: var(--primary);
        margin-bottom: 5px;
    }
    .timeline-card {
        background: #2A213A;
        padding: 15px;
        border-radius: 8px;
        display: flex;
        gap: 15px;
        align-items: center;
        border: 1px solid #3D3052;
    }
    .timeline-card img {
        width: 60px;
        height: 60px;
        border-radius: 6px;
        object-fit: cover;
    }
    .timeline-info h3 {
        font-size: 16px;
        color: #fff;
        margin-bottom: 5px;
    }
    .timeline-info p {
        font-size: 13px;
        color: #A59DB3;
    }

    /* Novel Section */
    .novel-bg { background: #F9F3EE; }
    .novel-layout {
        display: grid;
        grid-template-columns: 1fr 2fr;
        gap: 30px;
        align-items: center;
    }
    .novel-img {
        width: 100%;
        border-radius: 12px;
        box-shadow: 10px 10px 0 rgba(255, 94, 0, 0.1);
    }
    .novel-list {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    .novel-item {
        background: #fff;
        padding: 15px;
        border-radius: 8px;
        border-left: 3px solid var(--primary);
    }
    .novel-item h3 {
        font-size: 15px;
        margin-bottom: 6px;
        color: #333;
    }
    .novel-item p {
        font-size: 13px;
        color: #777;
    }

    /* Full Series */
    .full-bg { background: #F0F5F1; }
    .series-wall {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 15px;
    }
    .series-card {
        position: relative;
        border-radius: 8px;
        overflow: hidden;
        aspect-ratio: 3/4;
    }
    .series-card img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.3s ease;
    }
    .series-card:hover img {
        transform: scale(1.08);
    }
    .series-overlay {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
        padding: 15px 10px 10px;
        color: #fff;
        font-size: 13px;
        font-weight: bold;
    }

    /* AI Theater */
    .ai-bg { background: #E8F4F8; }
    .ai-chat {
        max-width: 800px;
        margin: 0 auto;
    }
    .chat-bubble {
        background: #fff;
        border-radius: 12px;
        padding: 20px;
        margin-bottom: 20px;
        box-shadow: 0 4px 10px rgba(0,0,0,0.03);
    }
    .chat-bubble.question {
        background: #D0E8F2;
        margin-left: auto;
        max-width: 80%;
        border-bottom-right-radius: 2px;
    }
    .chat-bubble.answer {
        max-width: 90%;
        border-bottom-left-radius: 2px;
        border: 1px solid #B0D4E4;
    }
    .chat-bubble h3 {
        font-size: 15px;
        color: #0B5C7D;
        margin-bottom: 8px;
    }
    .chat-bubble p {
        font-size: 14px;
        color: #444;
    }
    .chat-list {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        margin-top: 20px;
    }
    .chat-list li {
        font-size: 14px;
        color: #333;
        background: rgba(255,255,255,0.6);
        padding: 10px;
        border-radius: 6px;
    }

    /* Reviews */
    .review-bg { background: #FFF4E6; }
    .review-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 20px;
    }
    .review-card {
        background: #fff;
        padding: 20px;
        border-radius: 12px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    }
    .review-user {
        display: flex;
        align-items: center;
        gap: 10px;
        margin-bottom: 12px;
    }
    .review-user img {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        object-fit: cover;
    }
    .review-user span {
        font-weight: bold;
        font-size: 14px;
        color: #333;
    }
    .review-text {
        font-size: 14px;
        color: #555;
        line-height: 1.7;
    }

    /* Protection & Feedback */
    .info-bg { background: #EAF0F6; }
    .info-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
    .info-box {
        background: #fff;
        padding: 30px;
        border-radius: 12px;
        border-top: 4px solid var(--primary);
    }
    .info-box h2 {
        font-size: 20px;
        margin-bottom: 15px;
        color: #222;
    }
    .info-box ul li {
        font-size: 14px;
        color: #555;
        margin-bottom: 10px;
        padding-left: 20px;
        position: relative;
    }
    .info-box ul li::before {
        content: '•';
        position: absolute;
        left: 0;
        color: var(--primary);
        font-weight: bold;
    }
    .rule-desc {
        font-size: 14px;
        color: #666;
        margin-bottom: 15px;
    }

    /* Final Download */
    .final-bg { background: #121212; color: #fff; text-align: center; }
    .final-bg .section-title { color: #fff; }
    .install-steps {
        display: flex;
        justify-content: center;
        gap: 40px;
        margin: 40px 0;
        flex-wrap: wrap;
    }
    .step-item {
        flex: 1;
        min-width: 200px;
        text-align: center;
    }
    .step-num {
        display: inline-block;
        width: 30px;
        height: 30px;
        line-height: 30px;
        background: var(--primary);
        color: #fff;
        border-radius: 50%;
        font-weight: bold;
        margin-bottom: 10px;
    }
    .step-item h3 {
        font-size: 16px;
        margin-bottom: 8px;
    }
    .step-item p {
        font-size: 13px;
        color: #999;
    }
    .final-bg .download-group { margin-top: 20px; justify-content: center; }
    
    /* Footer */
    .site-footer {
        background: #0A0A0A;
        color: #666;
        padding: 40px 20px 20px;
        font-size: 13px;
        border-top: 1px solid #222;
    }
    .footer-inner {
        max-width: 1100px;
        margin: 0 auto;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 20px;
        margin-bottom: 20px;
    }
    .footer-brand { flex: 1; min-width: 250px; }
    .footer-brand p { margin-top: 10px; line-height: 1.6; color: #555; }
    .footer-nav { display: flex; gap: 40px; flex-wrap: wrap; }
    .footer-nav-column h4 { color: #888; margin-bottom: 10px; font-size: 14px; }
    .footer-nav-column a { display: block; margin-bottom: 8px; color: #555; transition: color 0.2s; }
    .footer-nav-column a:hover { color: var(--primary); }
    .footer-bottom {
        text-align: center;
        border-top: 1px solid #222;
        padding-top: 20px;
        color: #444;
    }
    .footer-bottom a { color: #555; }
    .footer-bottom a:hover { color: #888; }

    /* Floating Download */
    .float-download {
        position: fixed;
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        background: #fff;
        padding: 8px 16px;
        border-radius: 30px;
        box-shadow: 0 4px 20px rgba(0,0,0,0.15);
        display: flex;
        align-items: center;
        gap: 10px;
        z-index: 99;
        border: 1px solid #eee;
    }
    .float-download img { width: 24px; height: 24px; border-radius: 4px; }
    .float-download a {
        background: var(--primary);
        color: #fff;
        padding: 8px 16px;
        border-radius: 20px;
        font-size: 14px;
        font-weight: bold;
    }
    
    /* Guide Modal */
    .guide-modal {
        display: none;
        position: fixed;
        top: 0; left: 0; right: 0; bottom: 0;
        background: rgba(0,0,0,0.6);
        z-index: 999;
        align-items: center;
        justify-content: center;
        padding: 20px;
    }
    .guide-modal.active { display: flex; }
    .modal-box {
        background: #fff;
        padding: 30px;
        border-radius: 12px;
        text-align: center;
        max-width: 400px;
        width: 100%;
    }
    .modal-box p { margin-bottom: 20px; font-size: 15px; color: #333; }
    .modal-input {
        width: 100%;
        padding: 10px;
        border: 1px solid #ddd;
        border-radius: 6px;
        margin-bottom: 15px;
        font-size: 14px;
        color: #666;
        background: #f9f9f9;
        text-align: center;
    }
    .modal-btn {
        background: var(--primary);
        color: #fff;
        border: none;
        padding: 10px 30px;
        border-radius: 6px;
        font-size: 15px;
        cursor: pointer;
        width: 100%;
    }

    /* Responsive */
    @media (max-width: 1024px) {
        .hero-grid { gap: 10px; }
        .novel-layout { grid-template-columns: 1fr; }
        .novel-img { max-width: 400px; margin: 0 auto; }
    }
    @media (max-width: 768px) {
        .mobile-toggle { display: block; }
        .nav-menu {
            display: none;
            position: absolute;
            top: 100%;
            left: 0;
            right: 0;
            background: #1A1A1A;
            flex-direction: column;
            padding: 20px;
            gap: 15px;
            border-top: 1px solid #333;
        }
        .nav-menu.active { display: flex; }
        .header-inner { position: relative; }

        .hero-title { font-size: 32px; }
        .hero-grid { grid-template-columns: repeat(2, 1fr); max-width: 400px; }
        .hero-desc { font-size: 14px; }
        .download-group { flex-wrap: wrap; }
        .btn-download { width: 100%; }
        
        .info-grid { grid-template-columns: 1fr; }
        .novel-list { grid-template-columns: 1fr; }
        .chat-list { grid-template-columns: 1fr; }
        .install-steps { flex-direction: column; gap: 20px; }
        
        .footer-inner { flex-direction: column; }
        .footer-nav { flex-direction: column; gap: 20px; }
        
        .float-download { width: calc(100% - 40px); justify-content: center; }
    }