/* ============================================
   夜樱幻想 (Yozakura Fantasy) - 品牌样式表
   ============================================ */

/* CSS 变量 - 品牌色板 */
:root {
    /* 主色 */
    --primary: #c084fc;
    --primary-dark: #a855f7;
    --primary-light: #d8b4fe;
    
    /* 辅色 */
    --secondary: #f472b6;
    --secondary-dark: #ec4899;
    --accent: #06b6d4;
    
    /* 渐变 */
    --gradient-primary: linear-gradient(135deg, #c084fc 0%, #f472b6 100%);
    --gradient-hero: linear-gradient(135deg, #1a0533 0%, #2d1b69 30%, #4a1d8a 60%, #1a0533 100%);
    --gradient-card: linear-gradient(135deg, rgba(192,132,252,0.1) 0%, rgba(244,114,182,0.1) 100%);
    
    /* 中性色 */
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --border: rgba(255,255,255,0.1);
    --bg-card: rgba(255,255,255,0.05);
    --bg-dark: #0f0520;
    --bg-section: #150830;
    
    /* 字体 */
    --font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    /* 字体层级 */
    --font-size-h1: 42px;
    --font-size-h2: 32px;
    --font-size-h3: 22px;
    --font-size-body: 16px;
    --font-size-small: 14px;
    --font-size-xs: 12px;
    
    /* 间距 */
    --section-padding: 100px 0;
    --container-width: 1200px;
    
    /* 圆角 */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
    
    /* 阴影 */
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.2);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.3);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.4);
    --shadow-glow: 0 0 30px rgba(192,132,252,0.3);
}

/* 基础重置 */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-size: var(--font-size-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* 容器 */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* 链接 */
a {
    color: var(--primary-light);
    text-decoration: none;
    transition: color 0.3s ease;
}
a:hover {
    color: var(--primary);
}

/* 按钮 */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border: none;
    border-radius: var(--radius-md);
    font-family: var(--font-family);
    font-size: var(--font-size-small);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: var(--gradient-primary);
    color: #fff;
    box-shadow: 0 4px 15px rgba(192,132,252,0.3);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(192,132,252,0.5);
    color: #fff;
}

.btn-secondary {
    background: rgba(255,255,255,0.1);
    color: var(--text-primary);
    border: 1px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
}
.btn-secondary:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-2px);
    color: var(--text-primary);
}

.btn-outline {
    background: transparent;
    color: var(--primary-light);
    border: 2px solid var(--primary);
}
.btn-outline:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-2px);
}

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all 0.4s ease;
    background: transparent;
}

.navbar.scrolled {
    background: rgba(15,5,32,0.95);
    backdrop-filter: blur(20px);
    padding: 10px 0;
    box-shadow: 0 2px 30px rgba(0,0,0,0.3);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    width: 36px;
    height: 36px;
}

.logo-text {
    font-size: 20px;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
}

.nav-links a {
    color: var(--text-secondary);
    padding: 8px 18px;
    border-radius: var(--radius-sm);
    font-size: var(--font-size-small);
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-primary);
    background: rgba(255,255,255,0.05);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.nav-admin-btn {
    background: rgba(192,132,252,0.15) !important;
    border: 1px solid rgba(192,132,252,0.3) !important;
    color: var(--primary-light) !important;
    padding: 8px 18px !important;
    border-radius: var(--radius-sm) !important;
}
.nav-admin-btn:hover {
    background: rgba(192,132,252,0.25) !important;
}

/* 汉堡菜单 */
.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
    gap: 5px;
}

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

/* Hero 区域 */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-hero);
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at 20% 50%, rgba(192,132,252,0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 50%, rgba(244,114,182,0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 100%, rgba(6,182,212,0.05) 0%, transparent 30%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 0 20px;
}

.hero-logo {
    height: 60px;
    margin-bottom: 30px;
    filter: drop-shadow(0 0 30px rgba(192,132,252,0.3));
}

.hero-title {
    font-size: var(--font-size-h1);
    font-weight: 900;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #e9d5ff 0%, #fbcfe8 50%, #e9d5ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--text-muted);
    font-size: var(--font-size-xs);
    letter-spacing: 2px;
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--text-muted), transparent);
    margin: 8px auto 0;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

/* 页面标题区域 */
.page-banner {
    position: relative;
    padding: 140px 0 80px;
    background: var(--gradient-hero);
    text-align: center;
    overflow: hidden;
}

.banner-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(192,132,252,0.1) 0%, transparent 60%);
}

.banner-content {
    position: relative;
    z-index: 2;
}

.banner-content h1 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 12px;
    background: linear-gradient(135deg, #e9d5ff, #fbcfe8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.banner-content p {
    color: var(--text-secondary);
    font-size: 18px;
}

/* 通用 section 样式 */
section {
    padding: var(--section-padding);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: var(--font-size-h2);
    font-weight: 700;
    margin-bottom: 12px;
    background: linear-gradient(135deg, #e9d5ff, #fbcfe8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 18px;
}

.section-footer {
    text-align: center;
    margin-top: 50px;
}

/* 特色展示 */
.features {
    background: var(--bg-section);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    text-align: center;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(192,132,252,0.3);
    box-shadow: var(--shadow-glow);
}

.feature-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    background: var(--gradient-primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 4px 15px rgba(192,132,252,0.3);
}

.feature-card h3 {
    font-size: var(--font-size-h3);
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    font-size: var(--font-size-small);
    line-height: 1.7;
}

/* 艺人网格 */
.popular {
    background: var(--bg-dark);
}

.actress-grid, .actress-grid-full {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}

.actress-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.4s ease;
}

.actress-card:hover {
    transform: translateY(-6px);
    border-color: rgba(192,132,252,0.3);
    box-shadow: var(--shadow-glow);
}

.actress-avatar {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 64px;
    background: linear-gradient(135deg, rgba(192,132,252,0.2), rgba(244,114,182,0.2));
    position: relative;
    overflow: hidden;
}

.actress-avatar::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(to top, var(--bg-dark), transparent);
}

.actress-info {
    padding: 20px;
    position: relative;
}

.actress-info h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 4px;
}

.actress-info .tag {
    display: inline-block;
    padding: 2px 10px;
    background: rgba(192,132,252,0.2);
    color: var(--primary-light);
    border-radius: 20px;
    font-size: var(--font-size-xs);
    margin-bottom: 10px;
}

.actress-info p {
    color: var(--text-secondary);
    font-size: var(--font-size-small);
    line-height: 1.6;
}

/* 作品网格 */
.latest-works {
    background: var(--bg-section);
}

.works-grid, .works-grid-full {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.work-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.4s ease;
}

.work-card:hover {
    transform: translateY(-6px);
    border-color: rgba(244,114,182,0.3);
    box-shadow: 0 0 30px rgba(244,114,182,0.2);
}

.work-cover {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    background: linear-gradient(135deg, rgba(244,114,182,0.2), rgba(192,132,252,0.2));
    position: relative;
}

.work-cover .year-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(10px);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: var(--font-size-xs);
    color: var(--text-primary);
}

.work-info {
    padding: 20px;
}

.work-info h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 6px;
}

.work-info .work-meta {
    display: flex;
    gap: 12px;
    margin-bottom: 10px;
    font-size: var(--font-size-xs);
    color: var(--text-muted);
}

.work-info .work-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.work-info p {
    color: var(--text-secondary);
    font-size: var(--font-size-small);
    line-height: 1.6;
}

/* 数据统计 */
.stats {
    background: var(--gradient-hero);
    padding: 80px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}

.stat-item {
    padding: 30px;
}

.stat-number {
    font-size: 48px;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.stat-label {
    color: var(--text-secondary);
    font-size: var(--font-size-small);
    letter-spacing: 1px;
}

/* 品牌故事 */
.brand-story {
    background: var(--bg-dark);
}

.brand-story .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.story-content h2 {
    font-size: var(--font-size-h2);
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #e9d5ff, #fbcfe8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.story-content p {
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.8;
}

.story-content .btn {
    margin-top: 20px;
}

.story-image {
    text-align: center;
}

.story-image img {
    max-width: 80%;
    filter: drop-shadow(0 0 40px rgba(192,132,252,0.2));
}

/* 关于页 - 使命愿景 */
.about-story {
    background: var(--bg-section);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    font-size: var(--font-size-h2);
    font-weight: 700;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #e9d5ff, #fbcfe8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-text p {
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.8;
}

.about-image {
    text-align: center;
}

.about-image img {
    max-width: 80%;
    filter: drop-shadow(0 0 30px rgba(192,132,252,0.2));
}

.mission {
    background: var(--bg-dark);
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.mission-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    text-align: center;
    transition: all 0.4s ease;
}

.mission-card:hover {
    transform: translateY(-6px);
    border-color: rgba(192,132,252,0.3);
    box-shadow: var(--shadow-glow);
}

.mission-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.mission-card h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 12px;
}

.mission-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* 时间轴 */
.timeline {
    background: var(--bg-section);
}

.timeline h2 {
    text-align: center;
    font-size: var(--font-size-h2);
    font-weight: 700;
    margin-bottom: 60px;
    background: linear-gradient(135deg, #e9d5ff, #fbcfe8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.timeline-items {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
}

.timeline-items::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary), var(--secondary), transparent);
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 50px;
    position: relative;
}

.timeline-item:nth-child(odd) {
    flex-direction: row-reverse;
}

.timeline-year {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    padding: 6px 20px;
    border-radius: 20px;
    font-weight: 700;
    font-size: var(--font-size-small);
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(192,132,252,0.3);
    z-index: 2;
}

.timeline-content {
    width: 42%;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 20px;
    margin-top: 40px;
    transition: all 0.3s ease;
}

.timeline-content:hover {
    border-color: rgba(192,132,252,0.3);
    box-shadow: var(--shadow-glow);
}

.timeline-content h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.timeline-content p {
    color: var(--text-secondary);
    font-size: var(--font-size-small);
    line-height: 1.6;
}

/* 筛选栏 */
.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 40px;
    align-items: center;
    justify-content: center;
}

.search-box input {
    padding: 10px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-family: var(--font-family);
    font-size: var(--font-size-small);
    width: 250px;
    outline: none;
    transition: border-color 0.3s;
}

.search-box input:focus {
    border-color: var(--primary);
}

.filter-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.filter-tag {
    padding: 8px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    color: var(--text-secondary);
    font-family: var(--font-family);
    font-size: var(--font-size-small);
    cursor: pointer;
    transition: all 0.3s;
}

.filter-tag:hover, .filter-tag.active {
    background: rgba(192,132,252,0.2);
    border-color: var(--primary);
    color: var(--primary-light);
}

/* 页脚 */
.footer {
    background: #0a0318;
    border-top: 1px solid var(--border);
    padding: 80px 0 30px;
}

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

.footer-brand {
    max-width: 350px;
}

.footer-logo {
    height: 36px;
    margin-bottom: 16px;
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: var(--font-size-small);
    line-height: 1.7;
}

.footer-links h4,
.footer-social h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: var(--font-size-small);
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary-light);
}

.social-icons {
    display: flex;
    gap: 10px;
}

.social-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text-secondary);
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s;
}

.social-icon:hover {
    background: var(--gradient-primary);
    border-color: transparent;
    color: #fff;
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 30px;
    text-align: center;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: var(--font-size-xs);
}

/* 响应式 */
@media (max-width: 1024px) {
    :root {
        --font-size-h1: 36px;
        --font-size-h2: 28px;
        --font-size-h3: 20px;
    }
    
    .brand-story .container,
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .story-image img,
    .about-image img {
        max-width: 60%;
    }
}

@media (max-width: 768px) {
    :root {
        --font-size-h1: 28px;
        --font-size-h2: 24px;
        --font-size-h3: 18px;
        --section-padding: 60px 0;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(15,5,32,0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 20px;
        gap: 4px;
        border-bottom: 1px solid var(--border);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links a {
        padding: 12px 20px;
        width: 100%;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero {
        min-height: 90vh;
    }
    
    .hero-title {
        font-size: var(--font-size-h1);
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
    }
    
    .features-grid,
    .actress-grid,
    .actress-grid-full,
    .works-grid,
    .works-grid-full {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stat-number {
        font-size: 36px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-brand {
        max-width: 100%;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .timeline-items::before {
        left: 20px;
    }
    
    .timeline-year {
        left: 20px;
        font-size: var(--font-size-xs);
        padding: 4px 12px;
    }
    
    .timeline-item,
    .timeline-item:nth-child(odd) {
        flex-direction: row;
        padding-left: 50px;
    }
    
    .timeline-content {
        width: 100%;
        margin-top: 36px;
    }
    
    .search-box input {
        width: 100%;
    }
    
    .page-banner {
        padding: 120px 0 60px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 24px;
    }
    
    .hero-logo {
        height: 44px;
    }
    
    .stat-number {
        font-size: 28px;
    }
    
    .feature-card,
    .mission-card {
        padding: 24px 20px;
    }
}