/* /film: Ipsion AI film showcase. Self-contained (no web fonts) so it loads in mainland China. */
:root {
    --bg: #0B0B10;
    --panel: #15151D;
    --ink: #F4F4F6;
    --muted: #A1A1AA;
    --border: #26262F;
    --brand: #FE6B35;
    --grad: linear-gradient(90deg, #FE6B35, #F43F5E, #8B5CF6);
    --max-w: 1080px;
    --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", Roboto, Helvetica, Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); background: var(--bg); color: var(--ink); line-height: 1.7; -webkit-font-smoothing: antialiased; }
a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--brand); }
img, video { display: block; max-width: 100%; }

.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* Nav */
.site-nav { position: sticky; top: 0; z-index: 10; background: rgba(11, 11, 16, 0.86); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); }
.nav-inner { max-width: var(--max-w); margin: 0 auto; padding: 14px 24px; display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.1rem; letter-spacing: -0.01em; }
.brand svg { width: 28px; height: 28px; }
.nav-inner .spacer { flex: 1; }
.nav-link { font-size: 0.95rem; color: var(--muted); }
.lang { border: 1px solid var(--border); border-radius: 999px; padding: 4px 12px; font-size: 0.88rem; }

/* Sections */
main { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
section { padding: 72px 0 0; }
.eyebrow { color: var(--brand); font-weight: 600; font-size: 0.85rem; letter-spacing: 0.14em; text-transform: uppercase; }
h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); line-height: 1.05; letter-spacing: -0.03em; margin: 10px 0 14px; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); line-height: 1.15; letter-spacing: -0.02em; margin-bottom: 18px; }
h3 { font-size: 1.08rem; margin-bottom: 6px; }
p { color: #D4D4DA; }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 720px; }
.narrow { max-width: 760px; }
.narrow p + p { margin-top: 14px; }

.hero { padding-top: 56px; }
.player { margin-top: 32px; }
.player video { width: 100%; aspect-ratio: 16 / 9; background: #000; border-radius: 14px; border: 1px solid var(--border); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55); }
.player figcaption { margin-top: 12px; color: var(--muted); font-size: 0.9rem; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.player figcaption a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }

.masters { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 6px; }
.masters span { border: 1px solid var(--border); background: var(--panel); border-radius: 999px; padding: 5px 13px; font-size: 0.9rem; color: var(--ink); }
.stat { display: flex; gap: 36px; margin-top: 26px; flex-wrap: wrap; }
.stat b { display: block; font-size: 2.2rem; line-height: 1; letter-spacing: -0.02em; }
.stat small { color: var(--muted); font-size: 0.88rem; }

.rules { list-style: none; counter-reset: r; display: grid; gap: 14px; margin-top: 10px; }
.rules li { counter-increment: r; background: var(--panel); border: 1px solid var(--border); border-radius: 14px; padding: 20px 22px 20px 64px; position: relative; }
.rules li::before { content: counter(r); position: absolute; left: 22px; top: 18px; font-size: 1.5rem; font-weight: 700; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.rules .who { color: var(--muted); font-size: 0.88rem; }
.rules .film { margin-top: 8px; color: var(--ink); }
.rules .film::before { content: "→ "; color: var(--brand); }

.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 24px; }
.grid figure { background: var(--panel); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.grid { align-items: start; }
.grid img { width: 100%; height: auto; background: #000; }
.stills img { aspect-ratio: 16 / 9; object-fit: cover; }
.grid figcaption { padding: 10px 14px; font-size: 0.88rem; color: var(--muted); }
.stills { grid-template-columns: repeat(3, 1fr); }

.three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 22px; }
.three div { border-top: 2px solid var(--brand); padding-top: 12px; }
.three p { font-size: 0.95rem; color: var(--muted); }

.credits { background: var(--panel); border: 1px solid var(--border); border-radius: 14px; padding: 24px; margin-top: 8px; display: grid; gap: 12px; }
.credits div { display: grid; grid-template-columns: 170px 1fr; gap: 16px; font-size: 0.95rem; }
.credits dt, .credits .k { color: var(--muted); }
.note { margin-top: 18px; font-size: 0.95rem; color: var(--muted); }

.endcard { text-align: center; padding: 96px 0 24px; }
.endcard blockquote { font-size: clamp(1.3rem, 3vw, 1.9rem); line-height: 1.45; color: var(--ink); }
.cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 34px; }
.cta { display: inline-block; padding: 12px 24px; border-radius: 999px; font-weight: 600; background: var(--grad); color: #fff; }
.cta:hover { color: #fff; opacity: 0.92; }
.cta.ghost { background: transparent; border: 1px solid var(--border); color: var(--ink); }

.site-footer { max-width: var(--max-w); margin: 72px auto 0; padding: 28px 24px 40px; border-top: 1px solid var(--border); color: var(--muted); font-size: 0.88rem; }
.site-footer a { color: var(--muted); }

@media (max-width: 760px) {
    section { padding-top: 56px; }
    .grid, .stills, .three { grid-template-columns: 1fr; }
    .credits div { grid-template-columns: 1fr; gap: 2px; }
    .rules li { padding-left: 54px; }
    .nav-link { display: none; }
}
