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

        :root {
            --bg-primary: #0a0a0a;
            --bg-secondary: #151515;
            --bg-card: #1a1a1a;
            --gold: #d4af37;
            --gold-light: #f4d47e;
            --gold-dark: #b8941f;
            --text-primary: #ffffff;
            --text-secondary: #b0b0b0;
            --text-muted: #666666;
            --accent-red: #c41e3a;
            --border-color: #2a2a2a;
        }

        body {
            font-family: 'Noto Sans SC', sans-serif;
            background: var(--bg-primary);
            color: var(--text-primary);
            overflow-x: hidden;
        }

        /* 顶部导航栏 */
        .navbar {
            position: fixed;
            top: 0;
            width: 100%;
            background: rgba(10, 10, 10, 0.95);
            backdrop-filter: blur(10px);
            border-bottom: 1px solid var(--border-color);
            z-index: 1000;
            padding: 1.2rem 0;
        }

        .nav-container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 2rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .logo {
            font-family: 'Cinzel', serif;
            font-size: 1.8rem;
            font-weight: 700;
            background: linear-gradient(135deg, var(--gold), var(--gold-light));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            letter-spacing: 2px;
        }

        .nav-links {
            display: flex;
            gap: 2.5rem;
            align-items: center;
        }

        .nav-links a {
            color: var(--text-secondary);
            text-decoration: none;
            font-weight: 400;
            transition: all 0.3s;
            position: relative;
        }

        .nav-links a::after {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 0;
            width: 0;
            height: 2px;
            background: var(--gold);
            transition: width 0.3s;
        }

        .nav-links a:hover {
            color: var(--gold);
        }

        .nav-links a:hover::after {
            width: 100%;
        }

        .btn-primary {
            background: linear-gradient(135deg, var(--gold-dark), var(--gold));
            color: var(--bg-primary);
            padding: 0.8rem 1.8rem;
            border: none;
            border-radius: 4px;
            cursor: pointer;
            font-weight: 600;
            transition: all 0.3s;
            text-decoration: none;
            display: inline-block;
        }

        .btn-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 20px rgba(212, 175, 55, 0.3);
        }

        .btn-secondary {
            background: transparent;
            color: var(--gold);
            padding: 0.8rem 1.8rem;
            border: 2px solid var(--gold);
            border-radius: 4px;
            cursor: pointer;
            font-weight: 600;
            transition: all 0.3s;
        }

        .btn-secondary:hover {
            background: var(--gold);
            color: var(--bg-primary);
        }

        /* 英雄区 */
        .hero {
            margin-top: 80px;
            height: 600px;
            background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(196, 30, 58, 0.1));
            position: relative;
            display: flex;
            align-items: center;
            overflow: hidden;
        }

        .hero::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: 
                repeating-linear-gradient(
                    0deg,
                    transparent,
                    transparent 2px,
                    rgba(212, 175, 55, 0.03) 2px,
                    rgba(212, 175, 55, 0.03) 4px
                );
            pointer-events: none;
        }

        .hero-content {
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 2rem;
            z-index: 1;
        }

        .hero h1 {
            font-family: 'Noto Serif SC', serif;
            font-size: 4rem;
            font-weight: 700;
            margin-bottom: 1.5rem;
            line-height: 1.2;
        }

        .hero h1 .highlight {
            background: linear-gradient(135deg, var(--gold), var(--gold-light));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .hero p {
            font-size: 1.3rem;
            color: var(--text-secondary);
            margin-bottom: 2.5rem;
            max-width: 600px;
        }

        .hero-buttons {
            display: flex;
            gap: 1.5rem;
        }

        /* 分类导航 */
        .categories {
            background: var(--bg-secondary);
            padding: 2rem 0;
            border-bottom: 1px solid var(--border-color);
        }

        .categories-container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 2rem;
        }

        .categories-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
            gap: 1rem;
        }

        .category-item {
            background: var(--bg-card);
            padding: 1.2rem;
            text-align: center;
            border-radius: 8px;
            border: 1px solid var(--border-color);
            cursor: pointer;
            transition: all 0.3s;
        }

        .category-item:hover {
            background: var(--gold);
            color: var(--bg-primary);
            transform: translateY(-4px);
            box-shadow: 0 8px 16px rgba(212, 175, 55, 0.3);
        }

        .category-item.active {
            background: linear-gradient(135deg, var(--gold-dark), var(--gold));
            color: var(--bg-primary);
        }

        /* 主内容区 */
        .main-content {
            max-width: 1400px;
            margin: 0 auto;
            padding: 4rem 2rem;
        }

        .section-title {
            font-family: 'Noto Serif SC', serif;
            font-size: 2.5rem;
            font-weight: 700;
            margin-bottom: 2rem;
            display: flex;
            align-items: center;
            gap: 1rem;
        }

        .section-title::before {
            content: '';
            width: 4px;
            height: 50px;
            background: linear-gradient(180deg, var(--gold), transparent);
        }

        /* 剧本卡片网格 */
        .scripts-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
            gap: 2rem;
            margin-bottom: 4rem;
        }

        .script-card {
            background: var(--bg-card);
            border: 1px solid var(--border-color);
            border-radius: 12px;
            overflow: hidden;
            transition: all 0.3s;
            cursor: pointer;
        }

        .script-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 12px 24px rgba(0, 0, 0, 0.5);
            border-color: var(--gold);
        }

        .script-cover {
            height: 200px;
            background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 3rem;
            border-bottom: 2px solid var(--gold);
            position: relative;
            overflow: hidden;
        }

        .script-cover::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: 
                repeating-linear-gradient(
                    45deg,
                    transparent,
                    transparent 10px,
                    rgba(212, 175, 55, 0.05) 10px,
                    rgba(212, 175, 55, 0.05) 20px
                );
        }

        .script-info {
            padding: 1.5rem;
        }

        .script-category {
            display: inline-block;
            background: rgba(212, 175, 55, 0.2);
            color: var(--gold);
            padding: 0.3rem 0.8rem;
            border-radius: 4px;
            font-size: 0.85rem;
            margin-bottom: 0.8rem;
        }

        .script-title {
            font-family: 'Noto Serif SC', serif;
            font-size: 1.4rem;
            font-weight: 700;
            margin-bottom: 0.8rem;
        }

        .script-author {
            color: var(--text-secondary);
            font-size: 0.9rem;
            margin-bottom: 1rem;
        }

        .script-meta {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding-top: 1rem;
            border-top: 1px solid var(--border-color);
        }

        .script-price {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--gold);
        }

        .script-rating {
            display: flex;
            align-items: center;
            gap: 0.3rem;
            color: var(--gold);
        }

        /* 会员横幅 */
        .membership-banner {
            background: linear-gradient(135deg, var(--gold-dark), var(--gold));
            padding: 3rem 2rem;
            border-radius: 12px;
            margin-bottom: 4rem;
            text-align: center;
            color: var(--bg-primary);
        }

        .membership-banner h2 {
            font-family: 'Noto Serif SC', serif;
            font-size: 2.5rem;
            margin-bottom: 1rem;
        }

        .membership-banner p {
            font-size: 1.2rem;
            margin-bottom: 2rem;
            opacity: 0.9;
        }

        .membership-price {
            font-size: 3rem;
            font-weight: 700;
            margin-bottom: 0.5rem;
        }

        .membership-price span {
            font-size: 1.2rem;
        }

        /* 页面切换 */
        .page {
            display: none;
        }

        .page.active {
            display: block;
        }

        /* 页脚 */
        .footer {
            background: var(--bg-secondary);
            border-top: 1px solid var(--border-color);
            padding: 3rem 2rem;
            margin-top: 4rem;
        }

        .footer-container {
            max-width: 1400px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 2rem;
        }

        .footer-section h3 {
            color: var(--gold);
            margin-bottom: 1rem;
        }

        .footer-section a {
            display: block;
            color: var(--text-secondary);
            text-decoration: none;
            margin-bottom: 0.5rem;
            transition: color 0.3s;
        }

        .footer-section a:hover {
            color: var(--gold);
        }

        /* 剧本详情页 */
        .script-detail {
            max-width: 900px;
            margin: 0 auto;
        }

        .detail-header {
            background: var(--bg-card);
            padding: 3rem;
            border-radius: 12px;
            border: 1px solid var(--border-color);
            margin-bottom: 2rem;
        }

        .detail-title {
            font-family: 'Noto Serif SC', serif;
            font-size: 3rem;
            font-weight: 700;
            margin-bottom: 1rem;
        }

        .detail-meta {
            display: flex;
            gap: 2rem;
            color: var(--text-secondary);
            margin-bottom: 2rem;
        }

        .script-content {
            background: var(--bg-card);
            padding: 3rem;
            border-radius: 12px;
            border: 1px solid var(--border-color);
            font-family: 'Courier New', monospace;
            line-height: 2;
            position: relative;
        }

        .preview-overlay {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            height: 200px;
            background: linear-gradient(to bottom, transparent, var(--bg-card));
            display: flex;
            align-items: flex-end;
            justify-content: center;
            padding-bottom: 2rem;
        }

        .unlock-button {
            background: linear-gradient(135deg, var(--gold-dark), var(--gold));
            color: var(--bg-primary);
            padding: 1.2rem 3rem;
            border: none;
            border-radius: 8px;
            font-size: 1.2rem;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.3s;
        }

        .unlock-button:hover {
            transform: scale(1.05);
            box-shadow: 0 8px 20px rgba(212, 175, 55, 0.4);
        }

        /* 标签 */
        .tags {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
            margin-top: 1rem;
        }

        .tag {
            background: rgba(212, 175, 55, 0.1);
            color: var(--gold);
            padding: 0.4rem 1rem;
            border-radius: 20px;
            font-size: 0.85rem;
            border: 1px solid rgba(212, 175, 55, 0.3);
        }

        /* 响应式 */
        @media (max-width: 768px) {
            .hero h1 {
                font-size: 2.5rem;
            }
            
            .scripts-grid {
                grid-template-columns: 1fr;
            }
            
            .nav-links {
                display: none;
            }
        }
        
        /* ======== 新增：剧本付费墙样式 ======== */
        .paywall-container {
            background: var(--bg-card);
            border: 1px solid rgba(212, 175, 55, 0.4);
            border-radius: 12px;
            padding: 2.5rem;
            margin-top: 3rem;
            box-shadow: 0 10px 30px rgba(212, 175, 55, 0.05);
            text-align: center;
            position: relative;
            z-index: 10;
        }
        .paywall-header { margin-bottom: 2rem; }
        .paywall-icon { font-size: 3rem; margin-bottom: 0.5rem; display: inline-block; filter: drop-shadow(0 4px 8px rgba(212,175,55,0.3)); }
        .paywall-header h3 { color: var(--gold); font-size: 1.6rem; margin-bottom: 0.8rem; }
        .paywall-header p { color: var(--text-secondary); font-size: 0.95rem; }
        .paywall-body { display: flex; gap: 2rem; align-items: center; justify-content: center; }
        @media (max-width: 768px) { .paywall-body { flex-direction: column; gap: 1.5rem; } }
        .paywall-buy, .paywall-activate { flex: 1; padding: 2rem 1.5rem; background: var(--bg-primary); border-radius: 8px; border: 1px solid var(--border-color); width: 100%; }
        .paywall-price { font-size: 2.2rem; font-weight: bold; color: var(--text-primary); margin-bottom: 1.2rem; }
        .paywall-btn { width: 100%; padding: 1rem; font-size: 1.1rem; margin-bottom: 1rem; }
        .paywall-input { width: 100%; padding: 1rem; margin-bottom: 1.2rem; background: var(--bg-secondary); border: 1px solid var(--border-color); color: white; border-radius: 6px; text-align: center; font-size: 1.2rem; font-family: monospace; transition: border 0.3s; letter-spacing: 1px;}
        .paywall-input:focus { border-color: var(--gold); outline: none; }
        .paywall-divider { width: 1px; height: 180px; background: var(--border-color); }
        @media (max-width: 768px) { .paywall-divider { width: 100%; height: 1px; } }
        .paywall-tip { font-size: 0.85rem; color: var(--text-muted); }
        
        /* ================= 沉稳内敛的对称排版 ================= */
        
        .hero-wrapper {
            display: flex;
            flex-direction: column;
            align-items: center; 
            justify-content: center;
            width: 100%;
            padding: 70px 20px;
            box-sizing: border-box; 
            overflow: hidden; 
            text-align: center;
        }
        
        /* 1. 第一排：主标题 */
        .hero-line-one {
            font-family: 'Noto Serif SC', 'Times New Roman', serif;
            font-size: 3.2rem; 
            font-weight: 400; 
            color: #ffffff;
            /* 🌟 往回收：字间距从 10px 缩小到 6px */
            letter-spacing: 6px; 
            text-indent: 6px; 
            margin-bottom: 20px; 
        }
        
        /* 2. 第二排：大副标 */
        .hero-line-two {
            font-family: 'Noto Serif SC', 'Times New Roman', serif;
            /* 🌟 往回收：字号稍微调小，让它视觉上不要超过第一排 */
            font-size: 2.2rem; 
            font-weight: 400; 
            color: var(--gold); 
            /* 🌟 往回收：因为这排字数多，字距必须比第一排小，才能保持左右对齐 */
            letter-spacing: 4px; 
            text-indent: 4px;
            margin-bottom: 45px; 
        }
        
        /* 3. 第三排：介绍副标 */
        .hero-desc-text {
            font-family: 'Noto Sans SC', sans-serif;
            font-size: 1.05rem;
            color: #999999; 
            /* 行高收紧一点点，让这三行看起来是一个整体 */
            line-height: 2.0; 
            letter-spacing: 2px; 
            text-indent: 2px;
            margin-bottom: 45px;
        }
        
        .hero-buttons {
            display: flex;
            justify-content: center;
        }
        
                /* ================= 手机端终极适配补丁 ================= */
        @media (max-width: 768px) {
            /* 1. 修复顶部导航栏：改为上下两排，自动换行缩放 */
            .nav-container {
                flex-direction: column; /* 让 Logo 和菜单上下排列 */
                padding: 10px 15px;
            }
            .logo {
                margin-bottom: 10px;
                font-size: 1.5rem;
            }
            .nav-links {
                width: 100%;
                gap: 12px; /* 缩小按钮之间的巨大间距 */
                justify-content: center;
                flex-wrap: wrap; /* 核心：允许拥挤时自动换行，绝不消失 */
            }
            .nav-links a {
                font-size: 0.85rem; /* 缩小字体适应手机 */
            }
        
            /* 2. 修复主标题“人”字掉落：稍微缩小字号和字间距 */
            .hero-wrapper { 
                padding: 40px 15px; 
            }
            .hero-line-one { 
                font-size: 1.6rem; /* 缩小字号 */
                letter-spacing: 4px; /* 缩窄间距，确保一行塞下 */
                text-indent: 4px; 
                margin-bottom: 15px;
            }
            .hero-line-two { 
                font-size: 1.2rem; 
                letter-spacing: 3px; 
                text-indent: 3px; 
                margin-bottom: 30px; 
            }
            .hero-desc-text { 
                font-size: 0.9rem; 
                letter-spacing: 1px; 
                text-indent: 1px; 
                line-height: 1.8; 
            }
        
            /* 3. 修复手机端按钮排版：变更为上下霸气通栏 */
            .hero-buttons { 
                flex-direction: column; /* 手机上按钮上下排列更好按 */
                gap: 15px; 
                width: 100%; 
                padding: 0 20px; 
                box-sizing: border-box;
            }
            .hero-buttons button { 
                margin: 0 !important; /* 清除电脑端的右边距 */
                width: 100%; /* 按钮拉满屏幕宽度 */
            }
        }