/* ========================================
   STUDIO — 独立作品展示站
   设计风格：暗色主题 · 渐变光效 · 极简排版
   ======================================== */

/* ========== Reset & Base ========== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* 颜色系统 —— 引用共享 Token（css/tokens.css） */
    --bg-primary: var(--c-bg);
    --bg-secondary: var(--c-bg-soft);
    --bg-card: var(--c-card);
    --bg-hover: var(--c-hover);
    --text-primary: var(--c-text);
    --text-secondary: var(--c-text-2);
    --text-muted: var(--c-text-muted);
    --border: var(--c-border);
    --border-hover: var(--c-border-strong);

    /* 渐变 */
    --gradient-1: var(--brand-gradient);
    --gradient-2: linear-gradient(135deg, var(--brand-pink), #F5576C);
    --gradient-3: linear-gradient(135deg, var(--brand-blue), #00F2FE);
    --gradient-text: var(--brand-gradient-text);

    /* 间距 */
    --section-padding: 120px;

    /* 过渡：定义于 tokens.css（--ease / --ease-out） */
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 84px;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

ul {
    list-style: none;
}

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

/* ========== Typography ========== */
h1, h2, h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.section-num {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-muted);
    display: block;
    margin-bottom: 16px;
    letter-spacing: 0.1em;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 20px;
}

.section-desc {
    color: var(--text-secondary);
    font-size: 1.125rem;
    max-width: 500px;
}

.section-header {
    margin-bottom: 64px;
}

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

/* ========== Buttons ========== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 100px;
    font-size: 0.9375rem;
    font-weight: 500;
    font-family: 'Space Grotesk', sans-serif;
    cursor: pointer;
    transition: all 0.4s var(--ease);
    border: none;
    white-space: nowrap;
}

/* 前台高亮 CTA（白底）—— 注意：与后台 .btn-primary（品牌渐变）区分命名，避免同名冲突 */
.btn-light {
    background: var(--text-primary);
    color: var(--bg-primary);
}

.btn-light:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(255, 255, 255, 0.15);
}

.btn-light svg {
    transition: transform 0.4s var(--ease);
}

.btn-light:hover svg {
    transform: translateX(4px);
}

.btn-ghost {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-hover);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-hover);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-2px);
}

/* ========== Navbar ========== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.4s var(--ease);
}

.navbar.scrolled {
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 14px 0;
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.125rem;
    letter-spacing: 0.02em;
}

.logo-mark {
    font-size: 1.5rem;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: rotate-logo 8s linear infinite;
    display: inline-block;
}

@keyframes rotate-logo {
    to { transform: rotate(360deg); }
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-link {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    transition: color 0.3s;
    position: relative;
    padding: 4px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--text-primary);
    transition: width 0.3s var(--ease);
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s var(--ease);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ========== Hero ========== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 120px 32px 80px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    background: radial-gradient(70% 50% at 50% 0%, rgba(168, 85, 247, 0.1), transparent 70%);
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.4;
    animation: float-orb 20s ease-in-out infinite;
    will-change: transform;
}

.orb-1 {
    width: 440px;
    height: 440px;
    background: radial-gradient(circle, #A855F7, transparent 70%);
    top: -10%;
    left: -5%;
}

.orb-2 {
    width: 360px;
    height: 360px;
    background: radial-gradient(circle, #4FACFE, transparent 70%);
    bottom: -10%;
    right: 10%;
    animation-delay: -5s;
}

.orb-3 {
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, #F093FB, transparent 70%);
    top: 40%;
    right: 30%;
    animation-delay: -10s;
}

@keyframes float-orb {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(50px, -30px) scale(1.1); }
    66% { transform: translate(-30px, 40px) scale(0.95); }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    text-align: center;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    font-size: 0.8125rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
    backdrop-filter: blur(10px);
}

.tag-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #2EE6A8;
    box-shadow: 0 0 12px #2EE6A8;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 700;
    margin-bottom: 24px;
    letter-spacing: -0.03em;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 520px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 80px;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
}

.stat {
    text-align: center;
}

.stat-num {
    display: block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 0.8125rem;
    color: var(--text-muted);
    letter-spacing: 0.05em;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border);
}

.scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--text-muted), transparent);
    animation: scroll-down 2s ease-in-out infinite;
}

@keyframes scroll-down {
    0% { transform: scaleY(0); transform-origin: top; }
    50% { transform: scaleY(1); transform-origin: top; }
    51% { transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ========== Works ========== */
.works {
    padding: var(--section-padding) 32px;
    max-width: 1280px;
    margin: 0 auto;
}

.works-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 48px;
}

.filter-btn {
    padding: 8px 20px;
    border-radius: 100px;
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: all 0.3s var(--ease);
}

.filter-btn:hover {
    border-color: var(--border-hover);
    color: var(--text-primary);
}

.filter-btn.active {
    background: var(--text-primary);
    color: var(--bg-primary);
    border-color: var(--text-primary);
}

.works-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.work-card {
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.5s var(--ease-out), opacity 0.4s ease;
}

.work-card.hidden {
    display: none;
}

.work-image {
    width: 100%;
    aspect-ratio: 4 / 5;
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    transition: transform 0.6s var(--ease-out);
}

/* ---------- 卡片类型徽标 ---------- */
.work-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 11px;
    border-radius: 100px;
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: #fff;
    background: rgba(0, 0, 0, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.work-badge--video { color: #d6c4ff; }
.work-badge--image { color: #bfe6ff; }
.work-badge--audio { color: #b6f4dd; }

/* ---------- 视频卡片播放按钮 ---------- */
.work-play {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 2;
    width: 62px;
    height: 62px;
    margin: -31px 0 0 -31px;
    padding-left: 4px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    transition: transform 0.4s var(--ease), background 0.3s;
}

.work-card:hover .work-play,
.work-card:focus-visible .work-play {
    transform: scale(1.12);
    background: rgba(168, 85, 247, 0.75);
}

.work-card:hover .work-image {
    transform: scale(1.03);
}

.work-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.2) 50%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 28px;
    opacity: 0;
    transition: opacity 0.4s var(--ease);
}

.work-card:hover .work-overlay {
    opacity: 1;
}

/* 键盘聚焦时也显示封面信息（可访问性） */
.work-card:focus-visible .work-overlay,
.work-card:focus-within .work-overlay {
    opacity: 1;
}

.work-cat {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 8px;
    transform: translateY(10px);
    transition: transform 0.4s var(--ease) 0.05s;
}

.work-card:hover .work-cat {
    transform: translateY(0);
}

.work-name {
    font-size: 1.375rem;
    margin-bottom: 8px;
    transform: translateY(15px);
    transition: transform 0.4s var(--ease) 0.1s;
}

.work-card:hover .work-name {
    transform: translateY(0);
}

.work-desc {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 16px;
    transform: translateY(20px);
    transition: transform 0.4s var(--ease) 0.15s;
}

.work-card:hover .work-desc {
    transform: translateY(0);
}

.work-link {
    font-size: 0.875rem;
    font-weight: 500;
    font-family: 'Space Grotesk', sans-serif;
    transform: translateY(25px);
    transition: transform 0.4s var(--ease) 0.2s;
}

.work-card:hover .work-link {
    transform: translateY(0);
}

.works-cta {
    text-align: center;
    margin-top: 48px;
}

.works-empty {
    grid-column: 1 / -1;
    text-align: center;
    color: var(--text-muted);
    padding: 60px 0;
    font-size: 1rem;
    letter-spacing: 0.05em;
}

/* ========== About ========== */
.about {
    padding: var(--section-padding) 32px;
    max-width: 1280px;
    margin: 0 auto;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.about-lead {
    font-size: 1.5rem;
    line-height: 1.5;
    margin-bottom: 24px;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 400;
}

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

.about-text p {
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.about-skills {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.skill-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.skill-name {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.skill-bar {
    height: 4px;
    background: var(--bg-card);
    border-radius: 2px;
    overflow: hidden;
}

.skill-fill {
    height: 100%;
    width: 0;
    background: var(--gradient-text);
    border-radius: 2px;
    transition: width 1.2s var(--ease-out);
}

/* About Visual */
.about-visual {
    position: sticky;
    top: 100px;
}

.visual-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 48px;
    position: relative;
    overflow: hidden;
}

.visual-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.08), transparent 60%);
    pointer-events: none;
}

.visual-icon {
    color: var(--text-primary);
    margin-bottom: 24px;
    opacity: 0.8;
}

.visual-card h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.visual-card > p {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    margin-bottom: 32px;
}

.principle-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.principle-list li {
    display: flex;
    align-items: baseline;
    gap: 16px;
    font-size: 0.9375rem;
    color: var(--text-secondary);
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}

.principle-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.principle-list span {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 600;
}

/* ========== Services ========== */
.services {
    padding: var(--section-padding) 32px;
    max-width: 1280px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 40px;
    transition: all 0.4s var(--ease);
    cursor: default;
}

.service-card:hover {
    background: var(--bg-hover);
    border-color: var(--border-hover);
    transform: translateY(-4px);
}

.service-num {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 24px;
    letter-spacing: 0.1em;
}

.service-name {
    font-size: 1.375rem;
    margin-bottom: 12px;
}

.service-card p {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.6;
}

/* ========== Contact ========== */
.contact {
    padding: var(--section-padding) 32px;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.contact-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.contact-bg .orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, #A855F7, transparent 70%);
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
}

.contact-bg .orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #4FACFE, transparent 70%);
    bottom: -20%;
    left: 20%;
    animation-delay: -5s;
}

.contact-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

.contact-header .section-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
}

.contact-desc {
    color: var(--text-secondary);
    font-size: 1.125rem;
    margin-bottom: 48px;
}

.contact-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

.contact-email {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 600;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: opacity 0.3s;
}

.contact-email:hover {
    opacity: 0.8;
}

.social-links {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
    justify-content: center;
}

.social-link {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    transition: color 0.3s;
    position: relative;
}

.social-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--text-primary);
    transition: width 0.3s var(--ease);
}

.social-link:hover {
    color: var(--text-primary);
}

.social-link:hover::after {
    width: 100%;
}

/* ========== Footer ========== */
.footer {
    border-top: 1px solid var(--border);
    padding: 32px;
}

.footer-content {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-logo {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 0.9375rem;
}

.footer-text {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.footer-top {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    transition: color 0.3s;
}

.footer-top:hover {
    color: var(--text-primary);
}

.footer-icp {
    margin-top: 20px;
    text-align: center;
    font-size: 0.75rem;
}

.footer-icp a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-icp a:hover {
    color: var(--text-secondary);
}

/* ========== Reveal Animation ========== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========== 作品详情弹层 ========== */
.work-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.work-modal[hidden] {
    display: none;
}

.work-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.work-modal.open .work-modal-backdrop {
    opacity: 1;
}

.work-modal-dialog {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 620px;
    max-height: 88vh;
    overflow-y: auto;
    background: var(--bg-card);
    border: 1px solid var(--border-hover);
    border-radius: 24px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
    transform: translateY(24px) scale(0.97);
    opacity: 0;
    transition: transform 0.35s var(--ease), opacity 0.3s ease;
}

.work-modal.open .work-modal-dialog {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.work-modal-media {
    position: relative;
    aspect-ratio: 16 / 10;
    background-size: cover;
    background-position: center;
    background-color: #101014;
    border-radius: 24px 24px 0 0;
    overflow: hidden;
}

/* —— 按媒体类型调整展示 —— */
.work-modal-media.is-video,
.work-modal-media.is-embed {
    aspect-ratio: 16 / 9;
}

.work-modal-media.is-video video,
.work-modal-media.is-embed iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    background: #000;
}

.work-modal-media.is-image {
    aspect-ratio: auto;
    background-image: none !important;
    display: flex;
    align-items: center;
    justify-content: center;
    max-height: 62vh;
}

.work-modal-media.is-image img {
    width: 100%;
    height: auto;
    max-height: 62vh;
    object-fit: contain;
    display: block;
}

.work-modal-media.is-audio {
    aspect-ratio: auto;
    min-height: 260px;
    display: flex;
    align-items: flex-end;
    padding: 24px;
}

.work-modal-media.is-audio .media-audio {
    width: 100%;
}

.work-modal-media.is-link,
.work-modal-media.is-empty {
    aspect-ratio: auto;
    min-height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.media-link-card {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 26px;
    border-radius: 100px;
    background: rgba(0, 0, 0, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    font-size: 0.9375rem;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: transform 0.3s var(--ease), background 0.3s;
}

.media-link-card:hover {
    background: rgba(0, 0, 0, 0.85);
    transform: translateY(-2px);
}

.media-placeholder {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.9375rem;
    letter-spacing: 0.05em;
}

.work-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border-hover);
    background: rgba(0, 0, 0, 0.55);
    color: var(--text-primary);
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s var(--ease);
}

.work-modal-close:hover {
    background: rgba(0, 0, 0, 0.85);
    transform: rotate(90deg);
}

.work-modal-body {
    padding: 32px;
}

.work-modal-cat {
    display: inline-block;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--brand-purple);
    margin-bottom: 10px;
}

.work-modal-title {
    font-size: clamp(1.5rem, 4vw, 2rem);
    margin-bottom: 12px;
}

.work-modal-desc {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.work-modal-date {
    font-size: 0.8125rem;
    color: var(--text-muted);
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

/* ========== 触屏设备（无 hover）：封面信息常驻 ========== */
@media (hover: none) {
    .work-overlay {
        opacity: 1;
    }

    .work-cat,
    .work-name,
    .work-desc,
    .work-link {
        transform: none;
    }
}

/* ========== Responsive ========== */
@media (max-width: 968px) {
    :root {
        --section-padding: 80px;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--bg-primary);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 32px;
        transition: right 0.4s var(--ease);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li a {
        font-size: 1.5rem;
    }

    .nav-toggle {
        display: flex;
        z-index: 1001;
    }

    .works-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .about-visual {
        position: relative;
        top: 0;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    :root {
        --section-padding: 64px;
    }

    /* 移动端隐藏大 blur 光球，提升滚动性能 */
    .gradient-orb {
        display: none;
    }

    .work-modal {
        padding: 12px;
    }

    .work-modal-body {
        padding: 24px 20px;
    }

    .work-modal-media {
        aspect-ratio: 4 / 3;
    }

    /* 视频 / 嵌入保持 16:9，其余按内容自适应 */
    .work-modal-media.is-video,
    .work-modal-media.is-embed {
        aspect-ratio: 16 / 9;
    }

    .work-modal-media.is-image,
    .work-modal-media.is-audio,
    .work-modal-media.is-link,
    .work-modal-media.is-empty {
        aspect-ratio: auto;
    }

    .work-play {
        width: 52px;
        height: 52px;
        margin: -26px 0 0 -26px;
    }

    .hero {
        padding: 100px 20px 60px;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }

    .stat-divider {
        width: 40px;
        height: 1px;
    }

    .works-grid {
        grid-template-columns: 1fr;
    }

    .works-filter {
        overflow-x: auto;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 8px;
    }

    .filter-btn {
        white-space: nowrap;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}

/* ========== Reduced Motion ========== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}
