/*
Theme Name: 贝贝工作室 V2
Theme URI: https://wanxianci.com
Author: 晚仙辞
Author URI: https://wanxianci.com
Description: 晚仙辞个人工作室 · 紫气东来 · 专业文学创作平台
Version: 2.0.0
License: GNU General Public License v2 or later
Text Domain: beibei-v2
Tags: dark-mode, custom-colors, custom-menu, featured-images
Requires at least: 5.0
*/

/* ============================================
   DESIGN TOKENS
   ============================================ */
:root {
    /* 紫气东来主色系 */
    --purple-primary: #7C3AED;
    --purple-deep: #5B21B6;
    --purple-light: #A78BFA;
    --purple-glow: #8B5CF6;
    --purple-pale: #C4B5FD;

    /* 粉色辅助色系 */
    --pink-primary: #EC4899;
    --pink-light: #F9A8D4;
    --pink-glow: #F472B6;
    --pink-pale: #FBCFE8;

    /* 背景色 */
    --bg-void: #0A0614;
    --bg-deep: #0F0A1E;
    --bg-card: #130D24;
    --bg-card-hover: #1A1230;
    --bg-glass: rgba(124, 58, 237, 0.08);
    --bg-glass-border: rgba(167, 139, 250, 0.12);

    /* 文字 */
    --text-primary: #F5F0FF;
    --text-secondary: #C4B5FD;
    --text-muted: #8B7FB5;
    --text-faint: #4C4565;

    /* 边框 */
    --border-subtle: rgba(167, 139, 250, 0.1);
    --border-accent: rgba(124, 58, 237, 0.35);
    --border-glow: rgba(139, 92, 246, 0.5);

    /* 阴影 */
    --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.5);
    --shadow-glow-purple: 0 0 40px rgba(124, 58, 237, 0.25);
    --shadow-glow-pink: 0 0 40px rgba(236, 72, 153, 0.2);
    --shadow-glow-sm: 0 0 20px rgba(124, 58, 237, 0.15);

    /* 字体 */
    --font-display: 'Noto Serif SC', 'Source Han Serif SC', Georgia, serif;
    --font-body: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;

    /* 圆角 */
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 9999px;

    /* 过渡 */
    --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: 0.2s ease;
}

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

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

body {
    font-family: var(--font-body);
    background-color: var(--bg-void);
    color: var(--text-primary);
    line-height: 1.8;
    min-height: 100vh;
    overflow-x: hidden;
    margin-top: 0 !important;
}

/* 强制清除所有可能产生大margin-top的设置 */
html body,
#page,
.site,
.site-wrapper { min-height: auto; display: flex; flex-direction: column; }

/* 紫色粒子动效背景 */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse 80% 50% at 20% -10%, rgba(124, 58, 237, 0.18) 0%, transparent 60%),
        radial-gradient(ellipse 60% 40% at 80% 110%, rgba(139, 92, 246, 0.12) 0%, transparent 60%),
        radial-gradient(ellipse 40% 30% at 50% 50%, rgba(236, 72, 153, 0.04) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

a {
    color: var(--purple-light);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--pink-primary);
}

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

/* ============================================
   LAYOUT
   ============================================ */
.site-wrapper { min-height: auto; display: flex; flex-direction: column; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.container--narrow {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================
   HEADER
   ============================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: rgba(10, 6, 20, 0.8);
    border-bottom: 1px solid var(--border-subtle);
    transition: var(--transition);
}

.site-header.scrolled {
    background: rgba(10, 6, 20, 0.95);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.site-logo__icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--purple-primary), var(--pink-primary));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    color: white;
    box-shadow: var(--shadow-glow-purple);
}

.site-logo__text {
    display: flex;
    flex-direction: column;
}

.site-logo__name {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 0.05em;
    line-height: 1.2;
}

.site-logo__tagline {
    font-size: 11px;
    color: var(--text-muted);
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

/* 主导航 */
.main-nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.main-nav a {
    display: block;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: var(--radius-full);
    transition: var(--transition);
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 16px;
    height: 2px;
    background: linear-gradient(90deg, var(--purple-primary), var(--pink-primary));
    border-radius: 2px;
    transition: var(--transition);
}

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

.main-nav a:hover::after,
.main-nav a.active::after {
    transform: translateX(-50%) scaleX(1);
}

.main-nav a.btn-contact {
    background: linear-gradient(135deg, var(--purple-primary), var(--purple-deep));
    color: white;
    padding: 8px 20px;
    box-shadow: var(--shadow-glow-sm);
}

.main-nav a.btn-contact::after {
    display: none;
}

.main-nav a.btn-contact:hover {
    background: linear-gradient(135deg, var(--purple-glow), var(--purple-primary));
    box-shadow: var(--shadow-glow-purple);
    transform: translateY(-1px);
    color: white;
}

/* 汉堡菜单按钮 */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-secondary);
    margin: 5px 0;
    border-radius: 2px;
    transition: var(--transition);
}

/* ============================================
   HERO SECTION V2 — Split layout, content-first
   ============================================ */
.hero-v2 {
    position: relative;
    min-height: 540px;
    display: flex;
    align-items: center;
    margin-top: 72px;
    padding: 0 0 48px;
    overflow: hidden;
}

.hero-v2__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-v2__cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.25;
    filter: saturate(0.7);
}

.hero-v2__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(10, 6, 20, 0.85) 0%,
        rgba(10, 6, 20, 0.5) 50%,
        rgba(10, 6, 20, 0.8) 100%
    );
}

.hero-v2__inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.hero-v2__text {
    min-width: 0;
}

.hero-v2__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 14px;
    background: rgba(124, 58, 237, 0.18);
    border: 1px solid var(--border-accent);
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 600;
    color: var(--purple-light);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.hero-v2__badge-dot {
    width: 5px;
    height: 5px;
    background: var(--purple-primary);
    border-radius: 50%;
    box-shadow: 0 0 6px var(--purple-primary);
    animation: pulse 2s ease-in-out infinite;
    flex-shrink: 0;
}

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

.hero-v2__title {
    font-family: var(--font-display);
    font-size: clamp(38px, 5vw, 62px);
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.15;
    margin-bottom: 12px;
    letter-spacing: 0.02em;
}

.hero-v2__title em {
    font-style: normal;
    background: linear-gradient(135deg, var(--purple-light), var(--pink-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-v2__subtitle {
    font-family: var(--font-display);
    font-size: 17px;
    color: var(--purple-light);
    margin-bottom: 12px;
    font-weight: 400;
}

.hero-v2__desc {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.9;
    margin-bottom: 28px;
}

.hero-v2__actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

/* Hero 右侧作品预览 */
.hero-v2__works-preview {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hero-work-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 12px;
    background: rgba(19, 13, 36, 0.7);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    backdrop-filter: blur(8px);
    transition: var(--transition);
    cursor: pointer;
}

.hero-work-card:hover {
    border-color: var(--border-accent);
    background: rgba(19, 13, 36, 0.9);
    transform: translateX(4px);
}

.hero-work-card__cover {
    width: 56px;
    height: 40px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
}

.hero-work-card__cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-work-card__info {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.hero-work-card__status {
    font-size: 10px;
    font-weight: 700;
    color: var(--purple-light);
    background: rgba(124, 58, 237, 0.15);
    padding: 2px 8px;
    border-radius: var(--radius-full);
    white-space: nowrap;
    flex-shrink: 0;
}

.hero-work-card__title {
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    font-size: 14px;
    font-weight: 600;
    font-family: var(--font-body);
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    letter-spacing: 0.03em;
}

.btn--primary {
    background: linear-gradient(135deg, var(--purple-primary), var(--purple-deep));
    color: white;
    box-shadow: var(--shadow-glow-purple);
}

.btn--primary:hover {
    background: linear-gradient(135deg, var(--purple-glow), var(--purple-primary));
    box-shadow: 0 0 50px rgba(124, 58, 237, 0.4);
    transform: translateY(-2px);
    color: white;
}

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

.btn--outline:hover {
    background: rgba(124, 58, 237, 0.1);
    border-color: var(--purple-primary);
    color: var(--text-primary);
    transform: translateY(-2px);
}

.btn--pink {
    background: linear-gradient(135deg, var(--pink-primary), #DB2777);
    color: white;
    box-shadow: var(--shadow-glow-pink);
}

.btn--pink:hover {
    box-shadow: 0 0 50px rgba(236, 72, 153, 0.4);
    transform: translateY(-2px);
    color: white;
}

.btn--sm {
    padding: 10px 20px;
    font-size: 13px;
}

/* ============================================
   SECTION COMMON
   ============================================ */
.section {
    padding: 72px 0;
}

.section--alt {
    background: var(--bg-deep);
}

.section__header {
    text-align: center;
    margin-bottom: 40px;
}

.section__tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    color: var(--purple-light);
    letter-spacing: 0.25em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.section__tag::before,
.section__tag::after {
    content: '';
    width: 24px;
    height: 1px;
    background: var(--border-accent);
}

.section__title {
    font-family: var(--font-display);
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    line-height: 1.3;
}

.section__title em {
    font-style: normal;
    background: linear-gradient(135deg, var(--purple-light), var(--pink-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section__desc {
    font-size: 15px;
    color: var(--text-muted);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.8;
}

/* ============================================
   WORKS SECTION
   ============================================ */
.works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 16px;
}

.work-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    cursor: pointer;
    position: relative;
}

.work-card:hover {
    border-color: var(--border-accent);
    box-shadow: var(--shadow-glow-purple);
    transform: translateY(-4px);
}

.work-card__cover {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.work-card__cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
    filter: saturate(0.9);
}

.work-card:hover .work-card__cover img {
    transform: scale(1.05);
    filter: saturate(1.1);
}

.work-card__status {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.work-card__status--serial {
    background: rgba(124, 58, 237, 0.85);
    color: white;
}

.work-card__status--finished {
    background: rgba(236, 72, 153, 0.85);
    color: white;
}

.work-card__body {
    padding: 24px;
}

.work-card__genre {
    font-size: 11px;
    color: var(--purple-light);
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.work-card__title {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
    line-height: 1.4;
}

.work-card__excerpt {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.75;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.work-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--border-subtle);
}

.work-card__meta {
    font-size: 12px;
    color: var(--text-faint);
}

/* ============================================
   SERVICES / COOPERATION
   ============================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 14px;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--purple-primary), var(--pink-primary));
    opacity: 0;
    transition: var(--transition);
}

.service-card:hover {
    border-color: var(--border-accent);
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow-sm);
}

.service-card:hover::before {
    opacity: 1;
}

.service-card__icon {
    width: 52px;
    height: 52px;
    background: var(--bg-glass);
    border: 1px solid var(--border-accent);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 20px;
}

.service-card__title {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.service-card__desc {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.75;
}

/* ============================================
   ABOUT / AUTHOR
   ============================================ */
.author-section {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 64px;
    align-items: start;
}

.author-portrait {
    position: relative;
}

.author-portrait__frame {
    width: 100%;
    aspect-ratio: 3/4;
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--border-accent);
    box-shadow: var(--shadow-glow-purple);
    position: relative;
}

.author-portrait__frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-portrait__accent {
    position: absolute;
    inset: -8px;
    border: 1px solid rgba(124, 58, 237, 0.3);
    border-radius: calc(var(--radius-xl) + 8px);
    pointer-events: none;
}

.author-portrait__decoration {
    position: absolute;
    -20px;
    -20px;
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, var(--purple-primary) 0%, transparent 70%);
    opacity: 0.3;
    border-radius: 50%;
    filter: blur(20px);
}

.author-info__name {
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.author-info__pen-name {
    font-size: 14px;
    color: var(--purple-light);
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.author-info__bio {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 2;
    margin-bottom: 32px;
}

.author-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}

.author-stat {
    text-align: center;
    padding: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
}

.author-stat__number {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--purple-light), var(--pink-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.author-stat__label {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 4px;
}

/* ============================================
   CONTACT FORM
   ============================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.contact-info {
    padding-top: 8px}

.contact-info__title {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.contact-info__desc {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 32px;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.contact-method:hover {
    border-color: var(--border-accent);
    transform: translateX(4px);
}

.contact-method__icon {
    width: 40px;
    height: 40px;
    background: var(--bg-glass);
    border: 1px solid var(--border-accent);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.contact-method__label {
    font-size: 12px;
    color: var(--text-faint);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 2px;
}

.contact-method__value {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
}

/* 表单 */
.contact-form {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--purple-primary), var(--pink-primary), var(--purple-light));
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 8px;
    letter-spacing: 0.05em;
}

.form-label span {
    color: var(--pink-primary);
    margin-left: 2px;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 13px 16px;
    background: rgba(10, 6, 20, 0.6);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 14px;
    font-family: var(--font-body);
    transition: var(--transition);
    outline: none;
    -webkit-appearance: none;
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--text-faint);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    border-color: var(--purple-primary);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.15);
    background: rgba(124, 58, 237, 0.05);
}

.form-select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238B7FB5' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.form-select option {
    background: var(--bg-card);
    color: var(--text-primary);
}

.form-textarea {
    min-height: 140px;
    resize: vertical;
    line-height: 1.7;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-submit {
    width: 100%;
    padding: 16px;
    font-size: 15px;
    margin-top: 8px;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: var(--bg-deep);
    border-top: 1px solid var(--border-subtle);
    padding: 64px 0 32px;
    margin-top: auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand__name {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.footer-brand__desc {
    font-size: 13px;
    color: var(--text-faint);
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 14px;
    transition: var(--transition);
}

.footer-social a:hover {
    border-color: var(--border-accent);
    color: var(--purple-light);
    transform: translateY(-2px);
}

.footer-nav__title {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-faint);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.footer-nav ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-nav a {
    font-size: 14px;
    color: var(--text-muted);
}

.footer-nav a:hover {
    color: var(--purple-light);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 32px;
    border-top: 1px solid var(--border-subtle);
}

.footer-bottom__copy {
    font-size: 13px;
    color: var(--text-faint);
}

.footer-bottom__links {
    display: flex;
    gap: 24px;
}

.footer-bottom__links a {
    font-size: 13px;
    color: var(--text-faint);
}

/* ============================================
   SINGLE WORK PAGE
   ============================================ */
.work-header {
    padding: 140px 0 60px;
    text-align: center;
    position: relative;
}

.work-header__cover {
    width: 100%;
    max-width: 900px;
    height: 420px;
    margin: 0 auto 40px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--border-accent);
    box-shadow: var(--shadow-glow-purple);
    position: relative;
}

.work-header__cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.work-header__genre {
    font-size: 12px;
    color: var(--purple-light);
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.work-header__title {
    font-family: var(--font-display);
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.work-header__status-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 24px;
}

.work-header__status {
    padding: 5px 14px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.work-header__excerpt {
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.9;
    font-family: var(--font-display);
    font-style: italic;
}

.work-content {
    padding: 60px 0 100px;
}

/* ============================================
   PAGE HEADER
   ============================================ */
.page-header {
    padding: 140px 0 60px;
    text-align: center;
    position: relative;
}

.page-header__tag {
    font-size: 12px;
    color: var(--purple-light);
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.page-header__title {
    font-family: var(--font-display);
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.page-header__desc {
    font-size: 16px;
    color: var(--text-muted);
    max-width: 560px;
    margin: 0 auto;
}

/* ============================================
   DIVIDERS
   ============================================ */
.divider {
    width: 48px;
    height: 3px;
    background: linear-gradient(90deg, var(--purple-primary), var(--pink-primary));
    border-radius: 3px;
    margin: 0 auto;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .header-inner {
        height: 64px;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: rgba(10, 6, 20, 0.98);
        border-bottom: 1px solid var(--border-subtle);
        padding: 16px;
    }

    .main-nav.open {
        display: block;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 4px;
    }

    .main-nav a {
        padding: 12px 16px;
    }

    .menu-toggle {
        display: block;
    }

    .hero-v2 {
        min-height: auto;
        margin-top: 64px;
        padding: 0 0 32px;
    }

    .hero-v2__inner {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .hero-v2__works-preview {
        display: none;
    }

    .section {
        padding: 48px 0;
    }

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

    .author-section {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .author-portrait {
        max-width: 320px;
        margin: 0 auto;
    }

    .author-stats {
        grid-template-columns: repeat(3, 1fr);
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 64px 0;
    }
}

/* ============================================
   UTILITIES
   ============================================ */
.text-center { text-align: center; }
.text-gradient {
    background: linear-gradient(135deg, var(--purple-light), var(--pink-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.glass-card {
    background: var(--bg-glass);
    border: 1px solid var(--bg-glass-border);
    border-radius: var(--radius-lg);
}
