/* ============================================
   动画工坊 - 主样式表
   CSS前缀: anime-
   设计风格: 赛璐璐手绘动画风
   ============================================ */

/* Google Fonts 本地化替代 - 使用系统字体回退 */
@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@400;500;600;700&family=Noto+Sans+SC:wght@300;400;500;700&display=swap');

/* ---- 干扰标签隐藏 ---- */
.frame-jammer-block { display: none !important; }

/* ---- CSS变量 ---- */
:root {
    --anime-primary: #FF8C69;
    --anime-secondary: #6A5ACD;
    --anime-accent: #FFD700;
    --anime-text: #363636;
    --anime-link: #FF8C69;
    --anime-bg: #FFF9F5;
    --anime-card-bg: #FFFFFF;
    --anime-border-radius: 12px;
    --anime-shadow: 0 4px 20px rgba(106, 90, 205, 0.1);
    --anime-shadow-hover: 0 8px 30px rgba(255, 140, 105, 0.2);
    --anime-font-heading: 'Quicksand', 'Noto Sans SC', sans-serif;
    --anime-font-body: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    --anime-gradient: linear-gradient(135deg, #FF8C69 0%, #6A5ACD 100%);
    --anime-gradient-warm: linear-gradient(135deg, #FF8C69 0%, #FFD700 100%);
}

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

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

body {
    font-family: var(--anime-font-body);
    color: var(--anime-text);
    background-color: var(--anime-bg);
    line-height: 1.8;
    overflow-x: hidden;
}

a {
    color: var(--anime-link);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--anime-secondary);
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--anime-font-heading);
    font-weight: 700;
    line-height: 1.4;
    color: var(--anime-text);
}

/* ---- 导航栏 ---- */
.anime-header {
    width: 100%;
    background: rgba(255, 249, 245, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 2px solid rgba(255, 140, 105, 0.15);
    z-index: 1000;
    transition: background 0.3s ease;
}

.anime-header-inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

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

.anime-logo-icon {
    width: 40px;
    height: 40px;
    background: var(--anime-gradient);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    position: relative;
}

.anime-logo-icon::after {
    content: '';
    position: absolute;
    top: -2px;
    right: -2px;
    width: 8px;
    height: 8px;
    background: var(--anime-accent);
    border-radius: 50%;
    animation: anime-sparkle 1.5s ease-in-out infinite;
}

@keyframes anime-sparkle {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.6); }
}

.sp-logo-text {
    font-family: var(--anime-font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    background: var(--anime-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.anime-logo:hover .sp-logo-text {
    animation: anime-handdrawn-shake 0.5s ease-in-out;
}

@keyframes anime-handdrawn-shake {
    0%, 100% { transform: translate(0); }
    20% { transform: translate(-1px, 1px) rotate(-0.5deg); }
    40% { transform: translate(1px, -1px) rotate(0.5deg); }
    60% { transform: translate(-1px, 0) rotate(-0.3deg); }
    80% { transform: translate(1px, 0) rotate(0.3deg); }
}

.anime-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.anime-nav-link {
    font-family: var(--anime-font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--anime-text);
    padding: 8px 16px;
    position: relative;
    transition: color 0.3s ease;
}

.anime-nav-link::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    width: 0;
    height: 2.5px;
    background: var(--anime-primary);
    border-radius: 2px;
    transition: width 0.4s ease, left 0.4s ease;
}

.anime-nav-link:hover::after,
.anime-nav-link.anime-active::after {
    width: 70%;
    left: 15%;
}

.anime-nav-link:hover {
    color: var(--anime-primary);
}

/* 汉堡菜单 */
.anime-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

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

.anime-hamburger.anime-open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.anime-hamburger.anime-open span:nth-child(2) {
    opacity: 0;
}

.anime-hamburger.anime-open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* 移动端侧边菜单 */
.anime-mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(255, 249, 245, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 999;
    padding: 100px 32px 32px;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -4px 0 30px rgba(0,0,0,0.1);
}

.anime-mobile-menu.anime-open {
    right: 0;
}

.anime-mobile-menu .anime-nav-link {
    display: block;
    padding: 14px 0;
    font-size: 1.1rem;
    border-bottom: 1px solid rgba(255, 140, 105, 0.15);
}

.anime-mobile-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(54, 54, 54, 0.4);
    z-index: 998;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.anime-mobile-overlay.anime-open {
    opacity: 1;
}

/* ---- 通用容器 ---- */
.anime-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 24px;
}

.anime-section {
    padding: 80px 0;
}

.anime-section-title {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 16px;
    position: relative;
}

.anime-section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--anime-gradient);
    border-radius: 2px;
    margin: 12px auto 0;
}

.anime-section-desc {
    text-align: center;
    color: #666;
    max-width: 700px;
    margin: 0 auto 48px;
    font-size: 1rem;
    line-height: 1.8;
}

/* ---- Hero Banner ---- */
.anime-hero {
    position: relative;
    min-height: 560px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, #FF8C69 0%, #6A5ACD 50%, #FFD700 100%);
}

.anime-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.35;
}

.anime-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(54,54,54,0.2) 0%, rgba(54,54,54,0.6) 100%);
}

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

.anime-hero-title {
    font-size: 3rem;
    color: #fff;
    margin-bottom: 20px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
    animation: anime-fadeInUp 1s ease-out;
}

.anime-hero-slogan {
    font-size: 1.25rem;
    color: rgba(255,255,255,0.9);
    font-family: var(--anime-font-heading);
    font-weight: 500;
    margin-bottom: 32px;
    animation: anime-fadeInUp 1s ease-out 0.2s both;
}

.anime-hero-btn {
    display: inline-block;
    padding: 14px 40px;
    background: var(--anime-primary);
    color: #fff;
    font-family: var(--anime-font-heading);
    font-weight: 600;
    font-size: 1.05rem;
    border-radius: 50px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    animation: anime-fadeInUp 1s ease-out 0.4s both;
    cursor: pointer;
}

.anime-hero-btn:hover {
    background: transparent;
    border-color: #fff;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 140, 105, 0.4);
}

@keyframes anime-fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ---- 卡片系统 ---- */
.anime-card {
    background: var(--anime-card-bg);
    border-radius: var(--anime-border-radius);
    overflow: hidden;
    box-shadow: var(--anime-shadow);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.anime-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--anime-shadow-hover);
}

.anime-card-img-wrapper {
    position: relative;
    overflow: hidden;
}

.anime-card-img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.anime-card:hover .anime-card-img {
    transform: scale(1.05);
}

.anime-card-badge {
    position: absolute;
    top: 12px;
    right: 0;
    background: var(--anime-primary);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 14px 4px 10px;
    border-radius: 4px 0 0 4px;
}

.anime-card-body {
    padding: 20px;
}

.anime-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.4;
}

.anime-card-meta {
    font-size: 0.85rem;
    color: #999;
    display: flex;
    align-items: center;
    gap: 12px;
}

.anime-card-meta-item {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* ---- 网格布局 ---- */
.anime-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

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

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

/* ---- 时间轴 ---- */
.anime-timeline {
    position: relative;
    padding-left: 40px;
}

.anime-timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--anime-gradient);
    border-radius: 2px;
}

.anime-timeline-item {
    position: relative;
    margin-bottom: 32px;
    padding: 20px 24px;
    background: var(--anime-card-bg);
    border-radius: var(--anime-border-radius);
    box-shadow: var(--anime-shadow);
    transition: transform 0.3s ease;
}

.anime-timeline-item:hover {
    transform: translateX(4px);
}

.anime-timeline-item::before {
    content: '';
    position: absolute;
    left: -33px;
    top: 28px;
    width: 14px;
    height: 14px;
    background: var(--anime-primary);
    border: 3px solid var(--anime-bg);
    border-radius: 50%;
}

.anime-timeline-date {
    font-size: 0.8rem;
    color: var(--anime-secondary);
    font-weight: 600;
    margin-bottom: 6px;
}

.anime-timeline-title {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.anime-timeline-desc {
    font-size: 0.9rem;
    color: #666;
}

/* ---- 主题企划 ---- */
.anime-themed-card {
    position: relative;
    border-radius: var(--anime-border-radius);
    overflow: hidden;
    min-height: 280px;
    display: flex;
    align-items: flex-end;
    cursor: pointer;
}

.anime-themed-card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.anime-themed-card:hover .anime-themed-card-bg {
    transform: scale(1.08);
}

.anime-themed-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent 40%, rgba(54,54,54,0.85) 100%);
}

.anime-themed-card-content {
    position: relative;
    z-index: 2;
    padding: 24px;
    color: #fff;
    width: 100%;
}

.anime-themed-card-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 6px;
}

.anime-themed-card-count {
    font-size: 0.85rem;
    opacity: 0.8;
}

/* ---- 幕后档案 ---- */
.anime-bts-wrapper {
    display: flex;
    gap: 40px;
    align-items: center;
}

.anime-bts-image {
    flex: 1;
    border-radius: var(--anime-border-radius);
    overflow: hidden;
}

.anime-bts-image img {
    width: 100%;
    border-radius: var(--anime-border-radius);
}

.anime-bts-content {
    flex: 1;
}

.anime-bts-step {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    padding: 16px;
    border-radius: 8px;
    transition: background 0.3s ease;
}

.anime-bts-step:hover {
    background: rgba(255, 140, 105, 0.06);
}

.anime-bts-step-num {
    width: 36px;
    height: 36px;
    min-width: 36px;
    background: var(--anime-gradient);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
}

.anime-bts-step-title {
    font-weight: 700;
    margin-bottom: 4px;
}

.anime-bts-step-desc {
    font-size: 0.9rem;
    color: #666;
}

/* ---- 创作人专访 ---- */
.anime-interview-card {
    display: flex;
    gap: 32px;
    background: var(--anime-card-bg);
    border-radius: var(--anime-border-radius);
    overflow: hidden;
    box-shadow: var(--anime-shadow);
    padding: 32px;
}

.anime-interview-img {
    width: 300px;
    min-width: 300px;
    border-radius: var(--anime-border-radius);
    object-fit: cover;
}

.anime-interview-content {
    flex: 1;
}

.anime-interview-name {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.anime-interview-role {
    color: var(--anime-primary);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.anime-interview-quote {
    font-size: 1rem;
    line-height: 1.8;
    color: #555;
    padding-left: 20px;
    border-left: 3px solid var(--anime-primary);
    margin-bottom: 16px;
    font-style: italic;
}

/* ---- 设定资料馆预览 ---- */
.anime-genga-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.anime-genga-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 1;
}

.anime-genga-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.anime-genga-item:hover img {
    transform: scale(1.1);
}

.anime-genga-item-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 12px;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: #fff;
    font-size: 0.8rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.anime-genga-item:hover .anime-genga-item-overlay {
    transform: translateY(0);
}

/* ---- 合作工坊 ---- */
.anime-collab-card {
    background: var(--anime-card-bg);
    border-radius: var(--anime-border-radius);
    padding: 32px;
    text-align: center;
    box-shadow: var(--anime-shadow);
    transition: all 0.3s ease;
}

.anime-collab-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--anime-shadow-hover);
}

.anime-collab-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    background: var(--anime-gradient);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}

.anime-collab-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.anime-collab-desc {
    font-size: 0.9rem;
    color: #666;
}

/* ---- 按钮 ---- */
.anime-btn {
    display: inline-block;
    padding: 12px 32px;
    font-family: var(--anime-font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 50px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.anime-btn:active {
    transform: scale(0.97);
}

.anime-btn-primary {
    background: var(--anime-primary);
    color: #fff;
}

.anime-btn-primary:hover {
    background: #ff7a52;
    color: #fff;
    box-shadow: 0 4px 15px rgba(255, 140, 105, 0.4);
    transform: translateY(-2px);
}

.anime-btn-outline {
    background: transparent;
    border-color: var(--anime-primary);
    color: var(--anime-primary);
}

.anime-btn-outline:hover {
    background: var(--anime-primary);
    color: #fff;
}

.anime-btn-center {
    display: block;
    margin: 40px auto 0;
    width: fit-content;
}

/* ---- 页脚 ---- */
.anime-footer {
    background: #2a2438;
    color: rgba(255,255,255,0.8);
    padding: 60px 0 0;
}

.anime-footer-inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.anime-footer-title {
    font-family: var(--anime-font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
}

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

.anime-footer-links li {
    margin-bottom: 10px;
    list-style: none;
}

.anime-footer-links a {
    color: rgba(255,255,255,0.65);
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

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

.anime-footer-social {
    display: flex;
    gap: 12px;
    margin-top: 8px;
}

.anime-footer-social-icon {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.anime-footer-social-icon:hover {
    background: var(--anime-primary);
    color: #fff;
    transform: translateY(-2px);
}

.anime-footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 40px;
    padding: 24px;
    text-align: center;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.5);
}

.anime-footer-bottom a {
    color: rgba(255,255,255,0.6);
}

.anime-footer-bottom a:hover {
    color: var(--anime-primary);
}

.anime-footer-honor {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 8px;
    color: var(--anime-accent);
    font-size: 0.85rem;
}

.anime-footer-license {
    margin-top: 8px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

/* ---- 面包屑 ---- */
.anime-breadcrumb {
    padding: 20px 0;
    font-size: 0.85rem;
    color: #999;
}

.anime-breadcrumb a {
    color: #999;
}

.anime-breadcrumb a:hover {
    color: var(--anime-primary);
}

.anime-breadcrumb-sep {
    margin: 0 8px;
}

/* ---- 内页通用 ---- */
.anime-page-hero {
    background: var(--anime-gradient);
    padding: 80px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.anime-page-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,215,0,0.1) 0%, transparent 60%);
    animation: anime-float 8s ease-in-out infinite;
}

@keyframes anime-float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(30px, -30px); }
}

.anime-page-hero-title {
    font-size: 2.5rem;
    color: #fff;
    position: relative;
    z-index: 2;
    margin-bottom: 12px;
}

.anime-page-hero-desc {
    color: rgba(255,255,255,0.85);
    font-size: 1.05rem;
    position: relative;
    z-index: 2;
    max-width: 600px;
    margin: 0 auto;
}

/* ---- 文章页 ---- */
.anime-article {
    max-width: 860px;
    margin: 0 auto;
    padding: 48px 24px;
}

.anime-article h2 {
    font-size: 1.5rem;
    margin: 40px 0 16px;
    padding-left: 16px;
    border-left: 4px solid var(--anime-primary);
}

.anime-article h3 {
    font-size: 1.2rem;
    margin: 32px 0 12px;
}

.anime-article p {
    margin-bottom: 20px;
    font-size: 1rem;
    line-height: 1.9;
}

.anime-article img {
    border-radius: var(--anime-border-radius);
    margin: 24px 0;
    box-shadow: var(--anime-shadow);
}

.anime-article blockquote {
    padding: 20px 24px;
    background: rgba(255, 140, 105, 0.06);
    border-left: 4px solid var(--anime-primary);
    border-radius: 0 8px 8px 0;
    margin: 24px 0;
    font-style: italic;
    color: #555;
}

/* ---- 原画室页面 ---- */
.anime-genga-page {
    display: flex;
    min-height: calc(100vh - 72px);
}

.anime-genga-sidebar {
    width: 280px;
    min-width: 280px;
    background: var(--anime-card-bg);
    border-right: 1px solid rgba(255, 140, 105, 0.15);
    padding: 24px;
    overflow-y: auto;
}

.anime-genga-sidebar-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--anime-primary);
}

.anime-genga-work-item {
    padding: 12px 16px;
    border-radius: 8px;
    cursor: pointer;
    margin-bottom: 4px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.anime-genga-work-item:hover,
.anime-genga-work-item.anime-active {
    background: rgba(255, 140, 105, 0.1);
    color: var(--anime-primary);
    font-weight: 600;
}

.anime-genga-main {
    flex: 1;
    padding: 32px;
}

.anime-genga-main-title {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.anime-genga-main-desc {
    color: #666;
    margin-bottom: 24px;
}

.anime-genga-waterfall {
    columns: 3;
    column-gap: 16px;
}

.anime-genga-waterfall-item {
    break-inside: avoid;
    margin-bottom: 16px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.anime-genga-waterfall-item:hover {
    transform: scale(1.02);
}

.anime-genga-waterfall-item img {
    width: 100%;
    display: block;
}

.anime-genga-waterfall-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 12px;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: #fff;
    font-size: 0.8rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.anime-genga-waterfall-item:hover .anime-genga-waterfall-info {
    opacity: 1;
}

/* ---- Lightbox ---- */
.anime-lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.anime-lightbox.anime-open {
    display: flex;
}

.anime-lightbox img {
    max-width: 90%;
    max-height: 90vh;
    border-radius: 8px;
    box-shadow: 0 0 40px rgba(0,0,0,0.5);
}

.anime-lightbox-close {
    position: absolute;
    top: 24px;
    right: 24px;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    transition: background 0.3s ease;
}

.anime-lightbox-close:hover {
    background: rgba(255,255,255,0.2);
}

/* ---- APP下载页 ---- */
.anime-app-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--anime-gradient);
    position: relative;
    overflow: hidden;
}

.anime-app-content {
    text-align: center;
    position: relative;
    z-index: 2;
    padding: 40px 24px;
    max-width: 600px;
}

.anime-app-img {
    max-width: 320px;
    margin: 0 auto 32px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.anime-app-title {
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 16px;
}

.anime-app-desc {
    color: rgba(255,255,255,0.9);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 32px;
}

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

.anime-app-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: rgba(255,255,255,0.15);
    border: 2px solid rgba(255,255,255,0.4);
    border-radius: 12px;
    color: #fff;
    font-weight: 600;
    transition: all 0.3s ease;
}

.anime-app-btn:hover {
    background: rgba(255,255,255,0.25);
    color: #fff;
    transform: translateY(-2px);
}

/* ---- 淡入动画 ---- */
.anime-fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.anime-fade-in.anime-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---- 热度指数条 ---- */
.anime-heat-bar {
    height: 4px;
    background: #eee;
    border-radius: 2px;
    margin-top: 8px;
    overflow: hidden;
}

.anime-heat-bar-fill {
    height: 100%;
    background: var(--anime-gradient-warm);
    border-radius: 2px;
    transition: width 1s ease;
}

/* ---- 标签 ---- */
.anime-tag {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(255, 140, 105, 0.1);
    color: var(--anime-primary);
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 20px;
    margin-right: 6px;
    margin-bottom: 6px;
}

/* ============================================
   响应式设计
   断点: 360px, 768px, 1024px, 1440px
   ============================================ */

@media (max-width: 1440px) {
    .anime-container {
        max-width: 1200px;
    }
}

@media (max-width: 1024px) {
    .anime-grid-4 {
        grid-template-columns: repeat(3, 1fr);
    }

    .anime-genga-gallery {
        grid-template-columns: repeat(3, 1fr);
    }

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

    .anime-interview-card {
        flex-direction: column;
    }

    .anime-interview-img {
        width: 100%;
        min-width: auto;
        max-height: 300px;
    }

    .anime-bts-wrapper {
        flex-direction: column;
    }

    .anime-genga-sidebar {
        width: 220px;
        min-width: 220px;
    }

    .anime-genga-waterfall {
        columns: 2;
    }
}

@media (max-width: 768px) {
    .anime-nav {
        display: none;
    }

    .anime-hamburger {
        display: flex;
    }

    .anime-mobile-menu {
        display: block;
    }

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

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

    .anime-grid-2 {
        grid-template-columns: 1fr;
    }

    .anime-hero {
        min-height: 420px;
    }

    .anime-hero-title {
        font-size: 2rem;
    }

    .anime-hero-slogan {
        font-size: 1rem;
    }

    .anime-section {
        padding: 48px 0;
    }

    .anime-section-title {
        font-size: 1.6rem;
    }

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

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

    .anime-genga-page {
        flex-direction: column;
    }

    .anime-genga-sidebar {
        width: 100%;
        min-width: auto;
        border-right: none;
        border-bottom: 1px solid rgba(255, 140, 105, 0.15);
        max-height: 200px;
    }

    .anime-genga-waterfall {
        columns: 2;
    }

    .anime-page-hero-title {
        font-size: 1.8rem;
    }

    .anime-app-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 360px) {
    html {
        font-size: 14px;
    }

    .anime-grid-4 {
        grid-template-columns: 1fr;
    }

    .anime-grid-3 {
        grid-template-columns: 1fr;
    }

    .anime-header-inner {
        padding: 0 16px;
    }

    .anime-container {
        padding: 0 16px;
    }

    .anime-hero {
        min-height: 360px;
    }

    .anime-genga-gallery {
        grid-template-columns: 1fr;
    }

    .anime-genga-waterfall {
        columns: 1;
    }

    .anime-footer-license {
        flex-direction: column;
        align-items: center;
    }
}

/* ---- 打印样式 ---- */
@media print {
    .anime-header, .anime-footer, .anime-hamburger, .anime-mobile-menu {
        display: none !important;
    }
}
