/* ============================================================
   《时停手表》AI短剧 落地页样式表
   文件说明：独立样式文件，配合 index.html 使用
   风格定位：暗黑视频平台风 + 红紫渐变 / 电光蓝
   ============================================================ */

/* ==================== 全局变量与基础样式 ==================== */
:root {
    --bg-dark: #0a0a12;
    --bg-deep: #0e1020;
    --card: #141631;
    --text-main: #f2f3ff;
    --text-sub: #aab0d6;
    --primary: #7b5cff;
    --primary-glow: #a678ff;
    --gradient: linear-gradient(135deg, #7b5cff 0%, #ff4d8d 55%, #ff7a3c 100%);
    --accent-blue: #38a1ff;
    --radius: 14px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    background: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.7;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ==================== 背景光效 ==================== */
.bg-orbs {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: .45;
}

.orb-1 {
    width: 520px; height: 520px;
    background: #7b5cff;
    top: -160px; left: -120px;
}

.orb-2 {
    width: 460px; height: 460px;
    background: #ff4d8d;
    bottom: -180px; right: -120px;
}

.orb-3 {
    width: 360px; height: 360px;
    background: #38a1ff;
    top: 40%; left: 55%;
    opacity: .28;
}

/* ==================== 通用工具类 ==================== */
.container {
    max-width: 1060px;
    margin: 0 auto;
    padding: 0 22px;
}

.grad-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

section {
    padding: 64px 0;
}

.sec-title {
    text-align: center;
    font-size: 30px;
    font-weight: 800;
    margin-bottom: 14px;
    letter-spacing: 1px;
}

.sec-sub {
    text-align: center;
    color: var(--text-sub);
    max-width: 720px;
    margin: 0 auto 44px;
    font-size: 16px;
}

/* ==================== 顶部导航 ==================== */
.topbar {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(12px);
    background: rgba(10, 10, 18, .72);
    border-bottom: 1px solid rgba(255,255,255,.06);
}

.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 17px;
}

.logo-badge {
    width: 34px; height: 34px;
    border-radius: 10px;
    background: var(--gradient);
    display: grid;
    place-items: center;
    font-size: 17px;
    color: #fff;
    box-shadow: 0 0 20px rgba(123, 92, 255, .5);
}

.nav-links {
    display: flex;
    gap: 26px;
    font-size: 14px;
    color: var(--text-sub);
}

.nav-links a:hover {
    color: var(--text-main);
}

/* ==================== 顶部大标题（Hero） ==================== */
.hero {
    position: relative;
    padding: 70px 0 66px;
    text-align: center;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 16px;
    border-radius: 999px;
    background: rgba(123, 92, 255, .14);
    border: 1px solid rgba(123, 92, 255, .4);
    color: var(--primary-glow);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 26px;
}

.hero-tag .dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: #ff4d8d;
    animation: pulse 1.6s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.4); opacity: .5; }
}

.hero h1 {
    font-size: 46px;
    font-weight: 900;
    line-height: 1.25;
    letter-spacing: 1px;
    margin-bottom: 22px;
}

.hero .lead {
    font-size: 19px;
    color: #cfd3f5;
    max-width: 800px;
    margin: 0 auto 12px;
    font-weight: 600;
}

.hero .lead em {
    font-style: normal;
    color: var(--accent-blue);
}

.hero .desc {
    max-width: 760px;
    margin: 0 auto 34px;
    color: var(--text-sub);
    font-size: 15px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
    margin-top: 34px;
}

.stat-card {
    background: var(--card);
    border: 1px solid rgba(255,255,255,.07);
    border-radius: var(--radius);
    padding: 16px 26px;
    min-width: 150px;
}

.stat-card b {
    display: block;
    font-size: 26px;
    color: var(--primary-glow);
}

.stat-card span {
    font-size: 13px;
    color: var(--text-sub);
}

/* ==================== 下载按钮 ==================== */
.cta-wrap {
    text-align: center;
    margin: 40px 0 10px;
}

.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 40px;
    border-radius: 999px;
    background: var(--gradient);
    color: #fff;
    font-size: 19px;
    font-weight: 800;
    letter-spacing: 1px;
    box-shadow: 0 10px 40px rgba(255, 77, 141, .4);
    transition: transform .2s, box-shadow .2s;
    cursor: pointer;
}

.btn-download:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 50px rgba(255, 77, 141, .55);
}

.btn-download svg {
    width: 24px; height: 24px;
}

.cta-hint {
    margin-top: 14px;
    color: var(--text-sub);
    font-size: 13px;
}

/* ==================== 剧情介绍 ==================== */
.plot {
    background: linear-gradient(180deg, rgba(14,16,32,0) 0%, rgba(20,22,49,.5) 40%, rgba(14,16,32,0) 100%);
}

.plot-card {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 36px;
    align-items: center;
    background: var(--card);
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 18px;
    padding: 32px;
    box-shadow: 0 20px 60px rgba(0,0,0,.35);
}

.plot-poster {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    background: linear-gradient(160deg, #13153a 0%, #2a1b52 60%, #521a3f 100%);
    display: grid;
    place-items: center;
}

.plot-poster .watch {
    font-size: 92px;
    filter: drop-shadow(0 0 30px rgba(123,92,255,.6));
}

.plot-poster .badge {
    position: absolute;
    top: 14px; left: 14px;
    background: var(--gradient);
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}

.plot-text h3 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 16px;
}

.plot-text p {
    color: var(--text-sub);
    font-size: 15px;
    margin-bottom: 18px;
}

.plot-text ul {
    list-style: none;
    color: var(--text-main);
    font-size: 15px;
}

.plot-text ul li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.plot-text ul li::before {
    content: "✦";
    color: var(--primary-glow);
}

/* ==================== 资源优势 ==================== */
.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.feature {
    background: var(--card);
    border: 1px solid rgba(255,255,255,.07);
    border-radius: var(--radius);
    padding: 28px 24px;
    text-align: center;
    transition: transform .2s;
}

.feature:hover {
    transform: translateY(-4px);
}

.feature .icon {
    width: 58px; height: 58px;
    margin: 0 auto 16px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    font-size: 28px;
}

.feature:nth-child(1) .icon { background: rgba(255,77,141,.15); color: #ff4d8d; }
.feature:nth-child(2) .icon { background: rgba(123,92,255,.15); color: #7b5cff; }
.feature:nth-child(3) .icon { background: rgba(56,161,255,.15); color: #38a1ff; }

.feature h4 {
    font-size: 19px;
    margin-bottom: 10px;
}

.feature p {
    color: var(--text-sub);
    font-size: 14px;
}

/* ==================== 图片展示区（画廊） ==================== */
.gallery {
    background: linear-gradient(180deg, rgba(14,16,32,0) 0%, rgba(20,22,49,.35) 50%, rgba(14,16,32,0) 100%);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.gallery-item {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.08);
    aspect-ratio: 3 / 4;
    margin: 0;
    background: var(--card);
    transition: transform .25s, box-shadow .25s;
}

.gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 40px rgba(123,92,255,.28);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gallery-item figcaption {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    padding: 22px 12px 12px;
    font-size: 12px;
    color: var(--text-main);
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.72) 100%);
}

/* 画廊在平板与手机端自适应布局 */
@media (max-width: 860px) {
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
    .gallery-grid { grid-template-columns: 1fr; }
}

/* ==================== 更多相关资源 ==================== */
.related {
    background: linear-gradient(180deg, rgba(14,16,32,0) 0%, rgba(20,22,49,.35) 100%);
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.related-card {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--card);
    border: 1px solid rgba(255,255,255,.07);
    border-radius: var(--radius);
    padding: 16px;
    transition: transform .2s, border-color .2s, box-shadow .2s;
}

.related-card:hover {
    transform: translateY(-3px);
    border-color: rgba(123,92,255,.5);
    box-shadow: 0 10px 30px rgba(123,92,255,.22);
}

.related-thumb {
    flex: 0 0 auto;
    width: 48px; height: 48px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    font-size: 24px;
    background: linear-gradient(135deg, rgba(123,92,255,.18), rgba(255,77,141,.18));
}

.related-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.related-info b {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-main);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.related-info i {
    font-style: normal;
    font-size: 12px;
    color: var(--text-sub);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 相关资源自适应布局 */
@media (max-width: 860px) {
    .related-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
    .related-grid { grid-template-columns: 1fr; }
}

/* ==================== FAQ ==================== */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-width: 760px;
    margin: 0 auto;
}

.faq-item {
    background: var(--card);
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 12px;
    overflow: hidden;
}

.faq-q {
    width: 100%;
    background: none;
    border: none;
    color: var(--text-main);
    text-align: left;
    padding: 18px 22px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-q .arr {
    transition: transform .25s;
    color: var(--primary-glow);
}

.faq-item.open .arr {
    transform: rotate(180deg);
}

.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
}

.faq-a-inner {
    padding: 0 22px 18px;
    color: var(--text-sub);
    font-size: 14px;
}

/* ==================== 用户好评 ==================== */
.reviews {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.review {
    background: var(--card);
    border: 1px solid rgba(255,255,255,.07);
    border-radius: var(--radius);
    padding: 24px;
}

.review .stars {
    color: #ffc53d;
    letter-spacing: 2px;
    margin-bottom: 12px;
    font-size: 15px;
}

.review p {
    color: var(--text-sub);
    font-size: 14px;
    margin-bottom: 16px;
}

.review .who {
    display: flex;
    align-items: center;
    gap: 10px;
}

.review .avatar {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: var(--gradient);
    display: grid;
    place-items: center;
    font-weight: 700;
    font-size: 14px;
    color: #fff;
}

.review .name {
    font-size: 14px;
    font-weight: 600;
}

.review .meta {
    font-size: 12px;
    color: var(--text-sub);
}

/* ==================== 底部CTA与页脚 ==================== */
.footer-cta {
    text-align: center;
    padding: 50px 0 30px;
}

.footer-cta h2 {
    font-size: 32px;
    font-weight: 900;
    margin-bottom: 14px;
}

.site-footer {
    text-align: center;
    padding: 26px 0 34px;
    color: var(--text-sub);
    font-size: 13px;
    border-top: 1px solid rgba(255,255,255,.06);
}

.site-footer .domain {
    color: var(--primary-glow);
    font-weight: 700;
}

/* ==================== 响应式 ==================== */
@media (max-width: 820px) {
    .hero h1 { font-size: 32px; }
    .plot-card { grid-template-columns: 1fr; }
    .features, .reviews { grid-template-columns: 1fr; }
    .nav-links { display: none; }
    .btn-download { font-size: 16px; padding: 16px 26px; width: 100%; justify-content: center; }
}