/* 导入华丽艺术字体 */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Great+Vibes&family=Crimson+Text:ital,wght@0,400;0,600;1,400&family=Cinzel:wght@400;500;600;700&family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&display=swap');

/**
 * AI动漫风格迁移工具 - 现代化样式表
 * 包含加载动画、导航、多页面布局和丰富的视觉效果
 */

/* 全局样式重置和基础设置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* 主题色彩 */
    --primary-purple: #667eea;
    --primary-blue: #764ba2;
    --secondary-purple: #f093fb;
    --secondary-blue: #f5f7fa;

    /* 渐变色 */
    --gradient-main: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-accent: linear-gradient(135deg, #f093fb 0%, #f5f7fa 100%);
    --gradient-card: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);

    /* 洛可可风格色彩 - 重新调整为更和谐的色调 */
    --rococo-cream: #FFF8F0;
    --rococo-gold: #B8860B; /* 调暗金色，更优雅 */
    --rococo-deep-gold: #8B6914; /* 深金色，用于主要文字 */
    --rococo-warm-brown: #8B4513; /* 温暖棕色，替代突兀的黑色 */
    --rococo-sage: #9CAF88; /* 调整后的鼠尾草绿 */
    --rococo-lavender: #C8B5D1; /* 调整后的薰衣草紫 */
    --rococo-pearl: #F5F5DC;
    --rococo-ivory: #FFFDD0; /* 象牙色，用于背景 */
    
    /* 洛可可渐变 - 使用更和谐的色调 */
    --rococo-bg-gradient: linear-gradient(135deg, #FFF8F0 0%, #F5F5DC 25%, #C8B5D1 50%, #9CAF88 75%, #FFFDD0 100%);
    --rococo-card-gradient: linear-gradient(145deg, rgba(255, 248, 240, 0.95) 0%, rgba(245, 245, 220, 0.90) 100%);
    --rococo-border-gradient: linear-gradient(45deg, #B8860B 0%, #9CAF88 25%, #C8B5D1 50%, #B8860B 75%, #8B6914 100%);
    
    /* 华丽艺术字体 */
    --rococo-title-font: 'Cinzel', 'Playfair Display', serif; /* 更华丽的标题字体 */
    --rococo-script-font: 'Great Vibes', cursive;
    --rococo-body-font: 'Cormorant Garamond', 'Crimson Text', serif; /* 更优雅的正文字体 */
    --rococo-accent-font: 'Libre Baskerville', serif; /* 强调字体 */

    /* 阴影 */
    --shadow-light: 0 4px 15px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 8px 30px rgba(0, 0, 0, 0.15);
    --shadow-heavy: 0 20px 40px rgba(0, 0, 0, 0.2);
    --rococo-shadow: 0 8px 32px rgba(184, 134, 11, 0.25);
    --rococo-glow: 0 0 20px rgba(184, 134, 11, 0.4);
    --rococo-text-shadow: 2px 2px 4px rgba(139, 105, 20, 0.3);

    /* 字体 */
    --font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;

    /* 动画时长 */
    --transition-fast: 0.3s ease;
    --transition-medium: 0.5s ease;
    --transition-slow: 0.8s ease;
    --rococo-transition: 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: #333;
    background: #000; /* 改为黑色背景，与画廊保持一致 */
    min-height: 100vh;
    overflow-x: hidden;
}

/* 页面加载动画 */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000; /* 改为纯黑色背景 */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader.loaded {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
    color: white;
    position: relative;
}

.loader-ring {
    width: 80px;
    height: 80px;
    border: 4px solid rgba(255, 255, 255, 0.2); /* 白色半透明边框 */
    border-radius: 50%;
    margin: 0 auto 20px;
    position: relative;
    background: transparent;
    animation: ringBreathing 2s ease-in-out infinite; /* 呼吸动画替代旋转 */
    box-shadow: 
        0 0 20px rgba(255, 255, 255, 0.3),
        0 0 40px rgba(255, 255, 255, 0.2),
        0 0 60px rgba(255, 255, 255, 0.1),
        inset 0 0 20px rgba(255, 255, 255, 0.1); /* 多层光晕效果 */
}

/* 添加内部光晕圆环 */
.loader-ring::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 60%;
    height: 60%;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: innerGlow 2s ease-in-out infinite;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
}

/* 添加外部光晕效果 */
.loader-ring::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120%;
    height: 120%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: outerGlow 2s ease-in-out infinite;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.2);
}

.loader-text {
    font-size: 1.2rem;
    font-weight: 500;
    opacity: 0.9;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3); /* 文字光晕 */
    animation: textBreathing 2s ease-in-out infinite;
}

/* 主圆环呼吸动画 */
@keyframes ringBreathing {
    0%, 100% {
        transform: scale(1);
        box-shadow: 
            0 0 20px rgba(255, 255, 255, 0.3),
            0 0 40px rgba(255, 255, 255, 0.2),
            0 0 60px rgba(255, 255, 255, 0.1),
            inset 0 0 20px rgba(255, 255, 255, 0.1);
        border-color: rgba(255, 255, 255, 0.2);
    }
    50% {
        transform: scale(1.1);
        box-shadow: 
            0 0 30px rgba(255, 255, 255, 0.5),
            0 0 60px rgba(255, 255, 255, 0.3),
            0 0 90px rgba(255, 255, 255, 0.2),
            inset 0 0 30px rgba(255, 255, 255, 0.2);
        border-color: rgba(255, 255, 255, 0.4);
    }
}

/* 内部光晕动画 */
@keyframes innerGlow {
    0%, 100% {
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(1);
        box-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
    }
    50% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.2);
        box-shadow: 0 0 25px rgba(255, 255, 255, 0.6);
    }
}

/* 外部光晕动画 */
@keyframes outerGlow {
    0%, 100% {
        opacity: 0.3;
        transform: translate(-50%, -50%) scale(1);
        box-shadow: 0 0 30px rgba(255, 255, 255, 0.2);
    }
    50% {
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(1.3);
        box-shadow: 0 0 50px rgba(255, 255, 255, 0.4);
    }
}

/* 文字呼吸动画 */
@keyframes textBreathing {
    0%, 100% {
        opacity: 0.9;
        text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
    }
    50% {
        opacity: 1;
        text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
    }
}

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1); /* 改为黑色半透明边框 */
    z-index: 1000;
    transition: var(--transition-fast);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* 改为黑色阴影 */
}

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

.nav-logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: #000; /* 改为黑色 */
    text-decoration: none;
}

.logo-icon {
    margin-right: 10px;
    font-size: 1.8rem;
}

/* 新增：logo图片样式 */
.logo-image {
    height: 120px; /* 从40px放大3倍到120px */
    width: auto;
    margin-right: 10px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    color: #333; /* 改为深灰黑色 */
    text-decoration: none;
    font-weight: 500;
    padding: 10px 15px;
    border-radius: 25px;
    transition: var(--transition-fast);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #000; /* 改为纯黑色 */
    background: rgba(0, 0, 0, 0.1); /* 改为黑色半透明背景 */
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    width: 24px;
    height: 18px;
    justify-content: space-between;
}

.nav-toggle span {
    width: 100%;
    height: 2px;
    background: #000; /* 改为黑色 */
    transition: var(--transition-fast);
}

/* 主要内容区域 */
.main-content {
    margin-top: 70px;
}

/* 区域通用样式 */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

.section-title {
    font-size: 3rem;
    font-weight: 700;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 1.3rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* 首页英雄区域 */
.hero-section {
    min-height: 100vh;
    /* 移除固定高度限制，让内容自然展开 */
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* 改为从顶部开始 */
    position: relative;
    background: #000;
    color: white;
    overflow: visible; /* 改为可见，让功能介绍区域显示 */
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><radialGradient id="a"><stop offset="0" stop-color="%23ffffff" stop-opacity=".1"/><stop offset="1" stop-color="%23ffffff" stop-opacity="0"/></radialGradient></defs><circle cx="200" cy="200" r="200" fill="url(%23a)"/><circle cx="800" cy="300" r="150" fill="url(%23a)"/><circle cx="300" cy="700" r="180" fill="url(%23a)"/></svg>') no-repeat center/cover;
    opacity: 0.3;
}

.hero-container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    min-height: 80vh;
}

.hero-text {
    animation: fadeInLeft 1s ease forwards;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 30px;
}

.title-gradient {
    background: linear-gradient(135deg, #ffffff 0%, #f0f4ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.4rem;
    opacity: 0.9;
    margin-bottom: 40px;
    line-height: 1.6;
}

.hero-features {
    display: flex;
    gap: 30px;
    margin-bottom: 50px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    font-weight: 500;
}

.feature-icon {
    font-size: 1.5rem;
}

.hero-actions {
    display: flex;
    gap: 20px;
}

.btn-primary,
.btn-secondary {
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-primary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-primary:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

/* 英雄区域视觉效果 */
.hero-visual {
    animation: fadeInRight 1s ease forwards;
    position: relative;
}

.visual-container {
    position: relative;
    width: 100%;
    height: 400px;
}

.floating-card {
    position: absolute;
    width: 120px;
    height: 150px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    animation: float 6s ease-in-out infinite;
}

.card-1 {
    top: 50px;
    left: 20px;
    animation-delay: 0s;
}

.card-2 {
    top: 80px;
    right: 40px;
    animation-delay: 2s;
}

.card-3 {
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 4s;
}

.card-image {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    margin-bottom: 10px;
    background: linear-gradient(45deg, #f0f0f0, #e0e0e0);
}

.card-image.anime {
    background: linear-gradient(45deg, #ff9a9e, #fecfef);
}

.card-image.painting {
    background: linear-gradient(45deg, #a8edea, #fed6e3);
}

.card-style {
    font-size: 0.9rem;
    color: white;
    font-weight: 500;
}

.magic-wand {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        transform: translate(-50%, -50%) scale(1.2);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* 滚动指示器 */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    animation: bounce 2s infinite;
}

.scroll-text {
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid white;
    border-bottom: 2px solid white;
    transform: rotate(45deg);
    margin: 0 auto;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-10px);
    }

    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* 功能介绍区域 */
.features-section {
    padding: 100px 0;
    background: white;
}

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

.feature-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-light);
    transition: var(--transition-medium);
    border: 1px solid #f0f0f0;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-medium);
}

.feature-icon-bg {
    width: 80px;
    height: 80px;
    background: var(--gradient-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.feature-emoji {
    font-size: 2rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
}

/* 作品画廊区域 - 黑白极简风格 */
.gallery-section {
    padding: 120px 0;
    background: linear-gradient(180deg, #000 0%, #0a0a0a 100%);
    color: white;
    position: relative;
}

.gallery-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
}

/* 画廊页面标题样式重写 */
.gallery-section .section-title {
    font-size: 3.5rem;
    font-weight: 300;
    background: linear-gradient(135deg, #fff 0%, #ccc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.gallery-section .section-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto;
    font-weight: 300;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 80px;
}

.gallery-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 1;
    cursor: pointer;
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.gallery-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 50%, rgba(255,255,255,0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    border-radius: 20px;
}

.gallery-item:hover::before {
    opacity: 1;
}

.gallery-item:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.3),
        0 0 40px rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}

.gallery-image {
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05));
    transition: all 0.6s ease;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.3);
}

.demo-before {
    background: linear-gradient(45deg, rgba(120,120,120,0.3), rgba(80,80,80,0.3));
}

.demo-before::after {
    content: '📷';
}

.demo-after-1 {
    background: linear-gradient(45deg, rgba(255,255,255,0.15), rgba(255,255,255,0.08));
}

.demo-after-1::after {
    content: '';
}

.demo-after-2 {
    background: linear-gradient(45deg, rgba(255,255,255,0.12), rgba(255,255,255,0.06));
}

.demo-after-2::after {
    content: '';
}

.demo-after-3 {
    background: linear-gradient(45deg, rgba(255,255,255,0.18), rgba(255,255,255,0.1));
}

.demo-after-3::after {
    content: '🌟';
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.8) 50%, rgba(0,0,0,0.95) 100%);
    color: white;
    padding: 30px 25px;
    transform: translateY(100%);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    backdrop-filter: blur(10px);
}

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

.gallery-label {
    font-weight: 500;
    font-size: 1.2rem;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

/* 功能应用区域 - 黑白极简风格 */
.app-section {
    padding: 120px 0;
    background: linear-gradient(180deg, #0a0a0a 0%, #000 100%);
    color: white;
    position: relative;
}

.app-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
}

.app-container {
    max-width: 900px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 30px;
    padding: 60px 50px;
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.3),
        0 0 40px rgba(255, 255, 255, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    position: relative;
}

.app-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.08) 0%, transparent 50%, rgba(255,255,255,0.03) 100%);
    border-radius: 30px;
    pointer-events: none;
}

/* 区域切换 */
.main-content section {
    display: none;
}

.main-content section.active-section {
    display: block;
}

/* 输入区域样式 */
.input-section {
    margin-bottom: 50px;
    position: relative;
    z-index: 2;
}

.input-mode-tabs {
    display: flex;
    margin-bottom: 40px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 6px;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.tab-btn {
    flex: 1;
    padding: 18px 25px;
    border: none;
    background: transparent;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    font-weight: 500;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
}

.tab-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0.05) 100%);
    border-radius: 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tab-btn:hover::before {
    opacity: 1;
}

.tab-btn.active {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    box-shadow: 
        0 4px 20px rgba(255, 255, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.tab-btn:hover {
    color: white;
    transform: translateY(-2px);
}

.input-mode {
    display: none;
}

.input-mode.active {
    display: block;
}

.drop-zone {
    border: 2px dashed rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    padding: 80px 40px;
    text-align: center;
    background: rgba(255, 255, 255, 0.03);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    margin-bottom: 40px;
    position: relative;
    backdrop-filter: blur(10px);
}

.drop-zone::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 50%, rgba(255,255,255,0.05) 100%);
    border-radius: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.drop-zone:hover::before,
.drop-zone.dragover::before {
    opacity: 1;
}

.drop-zone:hover,
.drop-zone.dragover {
    border-color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.2),
        0 0 40px rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.upload-icon {
    font-size: 5rem;
    margin-bottom: 25px;
    color: rgba(255, 255, 255, 0.6);
    transition: all 0.3s ease;
}

.drop-zone:hover .upload-icon {
    color: white;
    transform: scale(1.1);
}

.drop-content h3 {
    font-size: 1.8rem;
    color: white;
    margin-bottom: 20px;
    font-weight: 300;
}

.drop-content p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 25px;
}

.file-select-btn {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 15px 30px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    backdrop-filter: blur(10px);
}

.file-select-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.drop-content small {
    color: rgba(255, 255, 255, 0.5);
    font-size: 1rem;
}

.image-preview {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    margin-bottom: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.preview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.preview-header h4 {
    font-size: 1.5rem;
    color: white;
    margin: 0;
    font-weight: 300;
}

.change-btn {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.change-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

.preview-content img {
    max-width: 100%;
    max-height: 300px;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.image-info {
    margin-top: 20px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 1rem;
}

.input-group {
    margin-bottom: 35px;
}

.input-group label {
    display: block;
    font-size: 1.3rem;
    font-weight: 300;
    color: white;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

.input-field {
    width: 100%;
    padding: 20px 25px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    font-size: 1.1rem;
    background: rgba(255, 255, 255, 0.05);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    color: white;
    backdrop-filter: blur(10px);
}

.input-field::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.input-field:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: 
        0 0 0 3px rgba(255, 255, 255, 0.1),
        0 0 20px rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

.input-hint {
    display: block;
    margin-top: 12px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 1rem;
    line-height: 1.6;
}

.convert-btn {
    width: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0.1) 100%);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 25px 40px;
    border-radius: 18px;
    font-size: 1.4rem;
    font-weight: 300;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
    letter-spacing: 1px;
}

.convert-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.convert-btn:hover::before {
    left: 100%;
}

.convert-btn:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.3),
        0 0 40px rgba(255, 255, 255, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    background: linear-gradient(135deg, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0.15) 100%);
}

.convert-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    background: rgba(255, 255, 255, 0.1);
}

.convert-btn:disabled:hover {
    transform: none;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.result-section {
    margin-top: 50px;
}

.loading {
    text-align: center;
    padding: 80px 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 25px;
    margin-bottom: 40px;
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    /* 确保内容居中 */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
}

.loading:not(.hidden) {
    opacity: 1;
    transform: translateY(0);
}

/* 新的加载动画 - 机器人+圆环 */
.loading-spinner-container {
    position: relative;
    display: inline-block;
    width: 140px;
    height: 140px;
    margin-bottom: 30px;
}

.spinner-ring {
    position: absolute;
    top: 0;
    left: 0;
    width: 140px;
    height: 140px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top: 3px solid rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    animation: ringRotate 2s linear infinite;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.1);
}

.robot-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3.5rem;
    animation: robotPulse 2s ease-in-out infinite;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.loading-text {
    font-size: 1.4rem;
    color: white;
    font-weight: 300;
    text-align: center;
    margin: 0;
    letter-spacing: 1px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

@keyframes ringRotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes robotPulse {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        transform: translate(-50%, -50%) scale(1.2);
    }
}

.result {
    text-align: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 25px;
    padding: 50px 40px;
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    margin-bottom: 40px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
}

.result:not(.hidden) {
    opacity: 1;
    transform: translateY(0);
}

.result h3 {
    font-size: 2rem;
    color: white;
    margin-bottom: 30px;
    font-weight: 300;
    letter-spacing: 1px;
}

.image-container {
    margin-bottom: 35px;
}

.result-image {
    max-width: 100%;
    max-height: 500px;
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease;
}

.result-image:hover {
    transform: scale(1.02);
}

.result-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.download-btn,
.new-task-btn {
    padding: 15px 30px;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 300;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    backdrop-filter: blur(10px);
    letter-spacing: 0.5px;
}

.download-btn {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.download-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.new-task-btn {
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.new-task-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.4);
}

.error {
    text-align: center;
    background: rgba(255, 100, 100, 0.1);
    border: 1px solid rgba(255, 100, 100, 0.3);
    border-radius: 25px;
    padding: 50px 40px;
    margin-bottom: 40px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    backdrop-filter: blur(20px);
}

.error:not(.hidden) {
    opacity: 1;
    transform: translateY(0);
}

.error h3 {
    font-size: 1.8rem;
    color: #ff6b6b;
    margin-bottom: 20px;
    font-weight: 300;
}

.error p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 25px;
    line-height: 1.6;
}

.retry-btn {
    background: rgba(255, 107, 107, 0.2);
    color: #ff6b6b;
    border: 1px solid rgba(255, 107, 107, 0.4);
    padding: 15px 30px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 300;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    backdrop-filter: blur(10px);
}

.retry-btn:hover {
    background: rgba(255, 107, 107, 0.3);
    transform: translateY(-3px);
    border-color: rgba(255, 107, 107, 0.6);
    color: white;
}

.hidden {
    display: none !important;
}

/* 页脚 */
.footer {
    background: #1a1a1a;
    color: white;
    padding: 60px 0 20px;
}

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

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.footer-section p {
    color: #ccc;
    margin-bottom: 10px;
}

.footer-section a {
    color: var(--primary-purple);
    text-decoration: none;
}

.footer-section a:hover {
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333;
    color: #999;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 50px;
        transition: var(--transition-fast);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-features {
        justify-content: center;
    }

    .section-title {
        font-size: 2rem;
    }

    .section-subtitle {
        font-size: 1.1rem;
    }

    .hero-actions {
        justify-content: center;
        flex-wrap: wrap;
    }

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

    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    .app-container {
        padding: 30px 20px;
    }

    .result-actions {
        flex-direction: column;
        align-items: center;
    }

    .download-btn,
    .new-task-btn {
        width: 100%;
        max-width: 200px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* 3D 画廊样式 */
.gallery-stage, 
.gallery-ring, 
.gallery-img {
    transform-style: preserve-3d;
    user-select: none;
}

/* 3D 画廊舞台 */
.gallery-stage {
    width: 100%;
    height: 100vh; /* 保持全屏高度 */
    overflow: hidden;
    background: #000;
    position: relative;
    /* 确保画廊占据首屏 */
    flex-shrink: 0;
}

.gallery-container {
    perspective: 2000px;
    width: 300px;
    height: 400px;
    position: absolute;
    left: 50%;
    top: 45%; /* 稍微向上一点，为标题留出空间 */
    transform: translate(-50%, -50%);
    /* 阻止拖拽时的意外滚动 */
    touch-action: none;
    user-select: none;
}

/* 画廊信息 - 位于容器下方 */
.gallery-info {
    position: absolute;
    left: 50%;
    top: 70%; /* 稍微向下调整，原来是65% */
    transform: translateX(-50%);
    text-align: center;
    color: white;
    z-index: 10;
    pointer-events: none;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
}

.gallery-info h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #fff 0%, #ccc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 2px;
    position: relative;
}

.gallery-info h1::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.6), transparent);
    transform: translateX(-50%);
}

.gallery-info p {
    font-size: 1.4rem;
    opacity: 0.8;
    font-weight: 300;
    letter-spacing: 1px;
    margin-top: 15px;
}

/* 响应式调整 */
@media (max-width: 1200px) {
    .gallery-container {
        width: 350px;
        height: 450px;
        perspective: 1800px;
    }
    
    .gallery-info h1 {
        font-size: 2.5rem;
    }
    
    .gallery-info p {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .gallery-container {
        width: 300px;
        height: 400px;
        perspective: 1500px;
    }
    
    .gallery-info {
        bottom: 40px;
    }
    
    .gallery-info h1 {
        font-size: 2rem;
    }
    
    .gallery-info p {
        font-size: 1rem;
    }
    
    /* 移动端减少光晕效果以提升性能 */
    .gallery-container::before {
        display: none;
    }
}

.gallery-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    cursor: grab;
    transition: cursor 0.3s ease;
}

.gallery-ring:active {
    cursor: grabbing;
}

.gallery-img {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover; /* 填满容器，避免黑色间隙 */
    background-position: center; /* 以居中为基础，JavaScript会在此基础上微调 */
    background-repeat: no-repeat;
    border-radius: 15px;
    transform-style: preserve-3d;
    backface-visibility: hidden;
    box-shadow: 0 20px 40px rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    overflow: hidden;
    top: 0;
    left: 0;
}

.gallery-img::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 50%, rgba(255,255,255,0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    border-radius: 18px;
}

.gallery-img:hover::before {
    opacity: 1;
}

.gallery-img:hover {
    box-shadow: 0 25px 50px rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateZ(20px);
}

/* 添加光晕效果 */
.gallery-container::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255,255,255,0.03) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    pointer-events: none;
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { 
        transform: translate(-50%, -50%) scale(1); 
        opacity: 0.5;
    }
    50% { 
        transform: translate(-50%, -50%) scale(1.1); 
        opacity: 0.8;
    }
}

/* 功能介绍区域 - 黑白极简风格 */
.features-intro {
    background: linear-gradient(180deg, #000 0%, #1a1a1a 100%);
    color: white;
    padding: 120px 0;
    position: relative;
}

.features-intro::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
}

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

/* 主要功能样式 */
.main-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 80px;
    margin-bottom: 120px;
}

.feature-main {
    position: relative;
    padding: 60px 0;
    transition: transform 0.3s ease;
}

.feature-main:hover {
    transform: translateY(-10px);
}

.feature-number {
    font-size: 6rem;
    font-weight: 100;
    color: rgba(255, 255, 255, 0.1);
    position: absolute;
    top: -20px;
    left: -20px;
    z-index: 1;
    transition: color 0.3s ease;
}

.feature-main:hover .feature-number {
    color: rgba(255, 255, 255, 0.2);
}

.feature-main h3 {
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 24px;
    letter-spacing: 1px;
    position: relative;
    z-index: 2;
}

.feature-main p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 300;
    max-width: 400px;
    position: relative;
    z-index: 2;
}

/* 主要功能区域响应式设计 */
@media (max-width: 1024px) {
    .main-features {
        grid-template-columns: 1fr;
        gap: 60px;
        margin-bottom: 80px;
    }
    
    .feature-main h3 {
        font-size: 2rem;
    }
    
    .feature-number {
        font-size: 4rem;
    }
}

@media (max-width: 768px) {
    .features-intro {
        padding: 80px 0;
    }
    
    .features-container {
        padding: 0 20px;
    }
    
    .main-features {
        gap: 40px;
        margin-bottom: 60px;
    }
    
    .feature-main h3 {
        font-size: 1.8rem;
    }
    
    .feature-main p {
        font-size: 1.1rem;
    }
}

/* 作品画廊区域 - 复古胶卷风格 */
.vintage-gallery-section {
    padding: 120px 0;
    background: #2c1810;
    color: #f4e4c1;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
}

/* 添加细微的噪点纹理 */
.vintage-gallery-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 1px 1px, rgba(244, 228, 193, 0.15) 1px, transparent 0);
    background-size: 20px 20px;
    opacity: 0.3;
    pointer-events: none;
}

/* 添加划痕纹理 */
.vintage-gallery-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(244, 228, 193, 0.05) 2%, 
        transparent 3%,
        transparent 48%,
        rgba(244, 228, 193, 0.03) 50%,
        transparent 52%,
        transparent 78%,
        rgba(244, 228, 193, 0.06) 80%,
        transparent 82%,
        transparent 100%);
    pointer-events: none;
}

/* 添加复古装饰边框 */
.vintage-gallery-section .filmstrip-container::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    border: 2px dashed rgba(244, 228, 193, 0.3);
    border-radius: 15px;
    pointer-events: none;
    z-index: 1;
}

/* 添加复古胶片边框装饰 */
.vintage-gallery-section .filmstrip-container::after {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border: 1px solid rgba(244, 228, 193, 0.2);
    border-radius: 20px;
    pointer-events: none;
    z-index: 1;
}

.filmstrip-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 60px;
    position: relative;
    z-index: 2;
}

/* 胶片齿孔装饰 - 增强版 */
.filmstrip-holes {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 50px;
    z-index: 1;
}

.filmstrip-holes::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 25px;
    height: 100%;
    background: linear-gradient(to bottom,
        #f4e4c1 0%,
        #f4e4c1 6%,
        transparent 6%,
        transparent 10%,
        #f4e4c1 10%,
        #f4e4c1 16%,
        transparent 16%,
        transparent 20%,
        #f4e4c1 20%,
        #f4e4c1 26%,
        transparent 26%,
        transparent 30%,
        #f4e4c1 30%,
        #f4e4c1 36%,
        transparent 36%,
        transparent 40%,
        #f4e4c1 40%,
        #f4e4c1 46%,
        transparent 46%,
        transparent 50%,
        #f4e4c1 50%,
        #f4e4c1 56%,
        transparent 56%,
        transparent 60%,
        #f4e4c1 60%,
        #f4e4c1 66%,
        transparent 66%,
        transparent 70%,
        #f4e4c1 70%,
        #f4e4c1 76%,
        transparent 76%,
        transparent 80%,
        #f4e4c1 80%,
        #f4e4c1 86%,
        transparent 86%,
        transparent 90%,
        #f4e4c1 90%,
        #f4e4c1 96%,
        transparent 96%,
        transparent 100%
    );
    background-size: 25px 30px;
    opacity: 0.7;
    box-shadow: 
        2px 0 10px rgba(244, 228, 193, 0.2),
        -2px 0 10px rgba(244, 228, 193, 0.2);
}

/* 添加胶片齿孔内侧阴影 */
.filmstrip-holes::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 15px;
    height: 100%;
    background: linear-gradient(to bottom,
        rgba(44, 24, 16, 0.4) 0%,
        rgba(44, 24, 16, 0.4) 6%,
        transparent 6%,
        transparent 10%,
        rgba(44, 24, 16, 0.4) 10%,
        rgba(44, 24, 16, 0.4) 16%,
        transparent 16%,
        transparent 20%,
        rgba(44, 24, 16, 0.4) 20%,
        rgba(44, 24, 16, 0.4) 26%,
        transparent 26%,
        transparent 30%,
        rgba(44, 24, 16, 0.4) 30%,
        rgba(44, 24, 16, 0.4) 36%,
        transparent 36%,
        transparent 40%,
        rgba(44, 24, 16, 0.4) 40%,
        rgba(44, 24, 16, 0.4) 46%,
        transparent 46%,
        transparent 50%,
        rgba(44, 24, 16, 0.4) 50%,
        rgba(44, 24, 16, 0.4) 56%,
        transparent 56%,
        transparent 60%,
        rgba(44, 24, 16, 0.4) 60%,
        rgba(44, 24, 16, 0.4) 66%,
        transparent 66%,
        transparent 70%,
        rgba(44, 24, 16, 0.4) 70%,
        rgba(44, 24, 16, 0.4) 76%,
        transparent 76%,
        transparent 80%,
        rgba(44, 24, 16, 0.4) 80%,
        rgba(44, 24, 16, 0.4) 86%,
        transparent 86%,
        transparent 90%,
        rgba(44, 24, 16, 0.4) 90%,
        rgba(44, 24, 16, 0.4) 96%,
        transparent 96%,
        transparent 100%
    );
    background-size: 15px 30px;
}

.left-holes {
    left: -10px;
}

.right-holes {
    right: -10px;
}

/* 画廊标题 - 增强复古效果 */
.gallery-header {
    text-align: center;
    margin-bottom: 100px;
    position: relative;
    z-index: 3;
}

/* 添加复古装饰框 */
.gallery-header::before {
    content: '';
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 4px;
    background: linear-gradient(90deg, 
        transparent, 
        #f4e4c1 20%, 
        #f4e4c1 80%, 
        transparent);
    box-shadow: 0 2px 8px rgba(244, 228, 193, 0.3);
}

.gallery-header::after {
    content: '✦ ◆ ✦';
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    color: #f4e4c1;
    font-size: 1.2rem;
    letter-spacing: 8px;
    opacity: 0.6;
}

.vintage-title {
    font-size: 4rem;
    font-weight: 300;
    color: #f4e4c1;
    margin-bottom: 20px;
    letter-spacing: 4px;
    text-shadow: 
        0 2px 4px rgba(44, 24, 16, 0.8),
        0 0 20px rgba(244, 228, 193, 0.3),
        0 0 40px rgba(244, 228, 193, 0.2);
    position: relative;
    font-family: 'Times New Roman', serif;
}

/* 复古打字机效果 */
.vintage-title::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(244, 228, 193, 0.1) 50%, 
        transparent 100%);
    animation: vintageTypewriter 3s ease-in-out infinite;
}

@keyframes vintageTypewriter {
    0%, 100% { opacity: 0; transform: translateX(-100%); }
    50% { opacity: 1; transform: translateX(100%); }
}

.vintage-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 3px;
    background: linear-gradient(90deg, 
        transparent, 
        #f4e4c1 30%, 
        #f4e4c1 70%, 
        transparent);
    opacity: 0.8;
    box-shadow: 0 0 10px rgba(244, 228, 193, 0.4);
}

.vintage-subtitle {
    font-size: 1.4rem;
    color: rgba(244, 228, 193, 0.8);
    font-weight: 300;
    letter-spacing: 2px;
    font-family: 'Times New Roman', serif;
    font-style: italic;
    margin-top: 10px;
}

/* 2x2 网格布局 - 增大间距给标签留空间 */
.gallery-grid-2x2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 160px; /* 从80px增加到160px */
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 3;
    padding-bottom: 130px; /* 增加底部边距为风格说明留出更多空间 */
}

/* 轮播画框 - 增强复古效果 */
.carousel-frame {
    position: relative;
    aspect-ratio: 1;
    background: #2c1810;
    border: 10px solid #f4e4c1;
    border-radius: 20px;
    overflow: visible; /* 改为visible以显示风格说明文字 */
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 
        0 15px 40px rgba(0, 0, 0, 0.6),
        inset 0 0 0 6px rgba(244, 228, 193, 0.3),
        inset 0 0 0 12px rgba(44, 24, 16, 0.8);
}

/* 复古相框装饰 */
.carousel-frame::before {
    content: '';
    position: absolute;
    top: -25px;
    left: -25px;
    right: -25px;
    bottom: -25px;
    background: radial-gradient(circle, rgba(244, 228, 193, 0.4) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    z-index: -1;
    border-radius: 30px;
    box-shadow: 0 0 60px rgba(244, 228, 193, 0.3);
}

/* 添加复古相框边角装饰 */
.carousel-frame::after {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border: 2px solid rgba(244, 228, 193, 0.4);
    border-radius: 25px;
    background: linear-gradient(45deg, 
        rgba(244, 228, 193, 0.1) 0%, 
        transparent 25%, 
        transparent 75%, 
        rgba(244, 228, 193, 0.1) 100%);
    pointer-events: none;
}

.carousel-frame:hover::before {
    opacity: 1;
}

.carousel-frame:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 
        0 25px 60px rgba(0, 0, 0, 0.7),
        0 0 50px rgba(244, 228, 193, 0.5),
        inset 0 0 0 6px rgba(244, 228, 193, 0.5),
        inset 0 0 0 12px rgba(44, 24, 16, 0.8);
    border-color: rgba(244, 228, 193, 1);
}

/* 轮播容器 */
.carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 12px;
}

/* 轮播图片容器 */
.carousel-images {
    position: relative;
    width: 100%;
    height: 100%;
}

/* 轮播图片 - 添加复古滤镜 */
.carousel-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    border-radius: 10px;
    filter: sepia(10%) contrast(110%) brightness(105%);
}

.carousel-image.active {
    opacity: 1;
}

/* 轮播按钮 - 复古设计 */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    background: rgba(244, 228, 193, 0.3);
    border: 3px solid rgba(244, 228, 193, 0.7);
    border-radius: 50%;
    color: #f4e4c1;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 10;
    backdrop-filter: blur(15px);
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    user-select: none;
    box-shadow: 
        0 4px 15px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(244, 228, 193, 0.3);
}

.carousel-frame:hover .carousel-btn {
    opacity: 1;
}

.prev-btn {
    left: 15px;
}

.next-btn {
    right: 15px;
}

.carousel-btn:hover {
    background: rgba(244, 228, 193, 0.5);
    border-color: #f4e4c1;
    transform: translateY(-50%) scale(1.15);
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.5),
        0 0 30px rgba(244, 228, 193, 0.5),
        inset 0 1px 0 rgba(244, 228, 193, 0.5);
    text-shadow: 0 0 10px rgba(244, 228, 193, 0.8);
}

.carousel-btn:active {
    transform: translateY(-50%) scale(1.05);
}

/* 风格标签 - 更加突出的设计 */
.style-label {
    position: absolute;
    bottom: -65px;
    left: 0;
    right: 0;
    text-align: center;
    font-size: 1.4rem;
    font-weight: 500;
    color: #f4e4c1;
    letter-spacing: 2px;
    text-shadow: 
        0 3px 6px rgba(44, 24, 16, 0.9),
        0 0 20px rgba(244, 228, 193, 0.4);
    opacity: 1;
    transition: all 0.4s ease;
    font-family: 'Times New Roman', serif;
    background: rgba(44, 24, 16, 0.6);
    padding: 8px 16px;
    border-radius: 20px;
    border: 1px solid rgba(244, 228, 193, 0.3);
    backdrop-filter: blur(10px);
    margin: 0 auto;
    width: fit-content;
    max-width: 90%;
}

/* 添加装饰性边框 */
.style-label::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border: 1px solid rgba(244, 228, 193, 0.2);
    border-radius: 22px;
    background: linear-gradient(45deg, 
        rgba(244, 228, 193, 0.1) 0%, 
        transparent 50%, 
        rgba(244, 228, 193, 0.1) 100%);
    z-index: -1;
}

.carousel-frame:hover .style-label {
    transform: translateY(-8px);
    text-shadow: 
        0 3px 6px rgba(44, 24, 16, 0.9),
        0 0 25px rgba(244, 228, 193, 0.6),
        0 0 40px rgba(244, 228, 193, 0.3);
    border-color: rgba(244, 228, 193, 0.5);
    background: rgba(44, 24, 16, 0.8);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
}

/* 添加复古装饰点 */
.vintage-gallery-section .gallery-grid-2x2::before {
    content: '❋ ❋ ❋';
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(244, 228, 193, 0.4);
    font-size: 1.5rem;
    letter-spacing: 20px;
    text-shadow: 0 0 10px rgba(244, 228, 193, 0.3);
}

.vintage-gallery-section .gallery-grid-2x2::after {
    content: '❋ ❋ ❋';
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(244, 228, 193, 0.4);
    font-size: 1.5rem;
    letter-spacing: 20px;
    text-shadow: 0 0 10px rgba(244, 228, 193, 0.3);
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .filmstrip-container {
        padding: 0 40px;
    }
    
    .gallery-grid-2x2 {
        gap: 120px; /* 从60px增加到120px */
        max-width: 700px;
        padding-bottom: 120px;
    }
    
    .vintage-title {
        font-size: 3rem;
    }
    
    .style-label {
        font-size: 1.2rem;
        bottom: -55px;
    }
    
    .style-description {
        position: absolute;
        bottom: -125px; /* 从-105px调整到-125px */
        left: 0;
        right: 0;
        text-align: center;
        font-size: 0.9rem;
        font-weight: 300;
        color: rgba(244, 228, 193, 0.9);
        letter-spacing: 0.5px;
        line-height: 1.5;
        opacity: 1;
        transition: all 0.4s ease;
        font-family: 'Times New Roman', serif;
        font-style: italic;
        background: rgba(44, 24, 16, 0.6);
        padding: 6px 10px;
        border-radius: 15px;
        border: 1px solid rgba(244, 228, 193, 0.3);
        backdrop-filter: blur(8px);
        margin: 0 auto;
        width: fit-content;
        max-width: 90%;
        transform: translateY(0);
        z-index: 10;
    }
}

@media (max-width: 768px) {
    .vintage-gallery-section {
        padding: 80px 0;
    }
    
    .filmstrip-container {
        padding: 0 20px;
    }
    
    .gallery-grid-2x2 {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(4, 1fr);
        gap: 100px; /* 从70px增加到100px */
        max-width: 400px;
        padding-bottom: 110px;
    }
    
    .vintage-title {
        font-size: 2.5rem;
        letter-spacing: 2px;
    }
    
    .vintage-subtitle {
        font-size: 1.2rem;
    }
    
    .filmstrip-holes {
        width: 40px;
    }
    
    .style-label {
        font-size: 1.1rem;
        bottom: -45px;
        letter-spacing: 1px;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1.6rem;
    }
    
    .style-description {
        position: absolute;
        bottom: -110px; /* 从-95px调整到-110px */
        left: 0;
        right: 0;
        text-align: center;
        font-size: 0.85rem;
        font-weight: 300;
        color: rgba(244, 228, 193, 0.9);
        letter-spacing: 0.3px;
        line-height: 1.5;
        opacity: 1;
        transition: all 0.4s ease;
        font-family: 'Times New Roman', serif;
        font-style: italic;
        background: rgba(44, 24, 16, 0.6);
        padding: 5px 8px;
        border-radius: 15px;
        border: 1px solid rgba(244, 228, 193, 0.3);
        backdrop-filter: blur(8px);
        margin: 0 auto;
        width: fit-content;
        max-width: 95%;
        transform: translateY(0);
        z-index: 10;
    }
    
    /* 隐藏部分装饰元素以提升移动端性能 */
    .floating-decoration {
        display: none;
    }
}

@media (max-width: 480px) {
    .gallery-grid-2x2 {
        max-width: 300px;
        gap: 80px; /* 从50px增加到80px */
        padding-bottom: 100px;
    }
    
    .vintage-title {
        font-size: 2rem;
    }
    
    .filmstrip-holes {
        width: 35px;
    }
    
    .style-label {
        font-size: 1rem;
        bottom: -40px;
    }
    
    .style-description {
        position: absolute;
        bottom: -100px; /* 从-85px调整到-100px */
        left: 0;
        right: 0;
        text-align: center;
        font-size: 0.8rem;
        font-weight: 300;
        color: rgba(244, 228, 193, 0.9);
        letter-spacing: 0.3px;
        line-height: 1.5;
        opacity: 1;
        transition: all 0.4s ease;
        font-family: 'Times New Roman', serif;
        font-style: italic;
        background: rgba(44, 24, 16, 0.6);
        padding: 4px 6px;
        border-radius: 15px;
        border: 1px solid rgba(244, 228, 193, 0.3);
        backdrop-filter: blur(8px);
        margin: 0 auto;
        width: fit-content;
        max-width: 95%;
        transform: translateY(0);
        z-index: 10;
    }
}

/* 风格说明文字 */
.style-description {
    position: absolute;
    bottom: -140px; /* 从-115px调整到-140px，增加25px间距 */
    left: 0;
    right: 0;
    text-align: center;
    font-size: 0.95rem;
    font-weight: 300;
    color: rgba(244, 228, 193, 0.9);
    letter-spacing: 0.5px;
    line-height: 1.5;
    opacity: 1; /* 改为默认显示 */
    transition: all 0.4s ease;
    font-family: 'Times New Roman', serif;
    font-style: italic;
    background: rgba(44, 24, 16, 0.6);
    padding: 8px 12px;
    border-radius: 15px;
    border: 1px solid rgba(244, 228, 193, 0.3);
    backdrop-filter: blur(8px);
    margin: 0 auto;
    width: fit-content;
    max-width: 85%;
    transform: translateY(0); /* 改为默认位置 */
    z-index: 10; /* 确保显示在其他元素之上 */
}

/* 添加装饰性引号 */
.style-description::before {
    content: '"';
    position: absolute;
    top: -5px;
    left: 5px;
    font-size: 1.5rem;
    color: rgba(244, 228, 193, 0.4);
    font-family: serif;
}

.style-description::after {
    content: '"';
    position: absolute;
    bottom: -5px;
    right: 5px;
    font-size: 1.5rem;
    color: rgba(244, 228, 193, 0.4);
    font-family: serif;
}

/* 悬停时增强风格说明 */
.carousel-frame:hover .style-description {
    opacity: 1;
    background: rgba(44, 24, 16, 0.8);
    border-color: rgba(244, 228, 193, 0.5);
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.3);
    text-shadow: 0 1px 3px rgba(44, 24, 16, 0.8);
    transform: translateY(-5px);
}

/* =================== 洛可可风格艺术工坊样式 =================== */

/* 洛可可艺术工坊主容器 - 统一双色配色 */
.rococo-atelier {
    min-height: 100vh;
    background: #2c1810; /* 与画廊页面统一的深棕色背景 */
    position: relative;
    overflow: hidden;
    padding: 80px 0;
    color: #f4e4c1; /* 与画廊页面统一的浅金色文字 */
}

/* 浮动装饰粒子 - 统一色调 */
.floating-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.particle {
    position: absolute;
    font-size: 1.5rem;
    color: #f4e4c1;
    opacity: 0.4;
    animation: floatParticle 8s ease-in-out infinite;
    text-shadow: 0 0 8px rgba(244, 228, 193, 0.3);
}

.particle-1 { top: 15%; left: 10%; animation-delay: 0s; }
.particle-2 { top: 25%; right: 15%; animation-delay: 1.5s; }
.particle-3 { top: 50%; left: 5%; animation-delay: 3s; }
.particle-4 { top: 65%; right: 10%; animation-delay: 4.5s; }
.particle-5 { top: 80%; left: 20%; animation-delay: 6s; }
.particle-6 { top: 35%; right: 25%; animation-delay: 7.5s; }

@keyframes floatParticle {
    0%, 100% { 
        transform: translateY(0) rotate(0deg); 
        opacity: 0.4; 
    }
    50% { 
        transform: translateY(-30px) rotate(180deg); 
        opacity: 0.7; 
    }
}

/* 华丽背景装饰 - 统一色调 */
.rococo-bg-ornaments {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.ornament {
    position: absolute;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(244, 228, 193, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0.6;
    animation: ornamentGlow 6s ease-in-out infinite;
}

.ornament-tl { top: 10%; left: 10%; }
.ornament-tr { top: 10%; right: 10%; animation-delay: 2s; }
.ornament-bl { bottom: 10%; left: 10%; animation-delay: 4s; }
.ornament-br { bottom: 10%; right: 10%; animation-delay: 6s; }

@keyframes ornamentGlow {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.2); }
}

/* 艺术工坊主容器 */
.atelier-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
    position: relative;
    z-index: 2;
}

/* 艺术工坊标题 - 统一配色 */
.atelier-header {
    text-align: center;
    margin-bottom: 80px;
    position: relative;
}

.atelier-title {
    font-family: var(--rococo-title-font);
    font-size: 4rem;
    font-weight: 600;
    color: #f4e4c1;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(44, 24, 16, 0.8);
    letter-spacing: 3px;
    position: relative;
}

/* 华丽标题装饰效果 - 统一配色 */
.atelier-title::before {
    content: '';
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    background: linear-gradient(45deg, transparent, rgba(244, 228, 193, 0.1), transparent);
    z-index: -1;
    border-radius: 8px;
}

.atelier-title::after {
    content: '✦ ◆ ✦';
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.2rem;
    color: #f4e4c1;
    letter-spacing: 15px;
    opacity: 0.7;
    text-shadow: 0 0 10px rgba(244, 228, 193, 0.4);
}

.atelier-subtitle {
    font-family: var(--rococo-body-font);
    font-size: 1.4rem;
    color: #f4e4c1;
    font-style: italic;
    margin-bottom: 30px;
    line-height: 1.6;
    font-weight: 400;
    opacity: 0.8;
}

.title-decoration {
    font-size: 2rem;
    color: #f4e4c1;
    letter-spacing: 20px;
    animation: titleDecoBreathe 3s ease-in-out infinite;
    text-shadow: 0 0 15px rgba(244, 228, 193, 0.5);
}

@keyframes titleDecoBreathe {
    0%, 100% { opacity: 0.7; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.1); }
}

/* 双画板布局 */
.dual-canvas-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 80px;
}

/* 创作画板基础样式 */
.creation-canvas {
    position: relative;
    animation: canvasEntrance 1s ease-out forwards;
    opacity: 0;
    transform: translateY(50px);
}

.canvas-left { animation-delay: 0.2s; }
.canvas-right { animation-delay: 0.4s; }

@keyframes canvasEntrance {
    to { opacity: 1; transform: translateY(0); }
}

/* 画板框架 - 统一双色设计 */
.canvas-frame {
    background: rgba(244, 228, 193, 0.05);
    border: 2px solid rgba(244, 228, 193, 0.2);
    border-radius: 25px;
    padding: 40px 35px;
    position: relative;
    box-shadow: 0 8px 32px rgba(244, 228, 193, 0.1);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    backdrop-filter: blur(10px);
}

.canvas-frame::before {
    content: '';
    position: absolute;
    top: -2px; left: -2px; right: -2px; bottom: -2px;
    background: linear-gradient(45deg, 
        rgba(244, 228, 193, 0.3) 0%, 
        rgba(244, 228, 193, 0.1) 25%, 
        rgba(244, 228, 193, 0.3) 50%, 
        rgba(244, 228, 193, 0.1) 75%, 
        rgba(244, 228, 193, 0.3) 100%);
    border-radius: 25px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.canvas-frame:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 45px rgba(244, 228, 193, 0.2);
    border-color: rgba(244, 228, 193, 0.4);
}

.canvas-frame:hover::before {
    opacity: 1;
    animation: borderGlow 2s ease-in-out infinite;
}

@keyframes borderGlow {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

/* 画板装饰角花 - 统一配色 */
.frame-ornaments {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    pointer-events: none;
}

.corner-ornament {
    position: absolute;
    width: 20px;
    height: 20px;
    background: #f4e4c1;
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    opacity: 0.4;
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.corner-ornament.top-left { top: 15px; left: 15px; transform: rotate(45deg); }
.corner-ornament.top-right { top: 15px; right: 15px; transform: rotate(135deg); }
.corner-ornament.bottom-left { bottom: 15px; left: 15px; transform: rotate(-45deg); }
.corner-ornament.bottom-right { bottom: 15px; right: 15px; transform: rotate(-135deg); }

.canvas-frame:hover .corner-ornament {
    opacity: 0.8;
    animation: ornamentSpin 2s ease-in-out infinite;
}

@keyframes ornamentSpin {
    0%, 100% { transform: rotate(var(--initial-rotation)) scale(1); }
    50% { transform: rotate(calc(var(--initial-rotation) + 90deg)) scale(1.2); }
}

/* 画板标题 - 统一配色 */
.canvas-header {
    text-align: center;
    margin-bottom: 35px;
}

.canvas-title {
    font-family: var(--rococo-title-font);
    font-size: 2.2rem;
    color: #f4e4c1;
    margin-bottom: 12px;
    text-shadow: 2px 2px 4px rgba(44, 24, 16, 0.8);
    letter-spacing: 1px;
    position: relative;
}

/* 华丽标题下划线 - 统一配色 */
.canvas-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #f4e4c1, transparent);
    opacity: 0.8;
}

.canvas-subtitle {
    font-family: var(--rococo-script-font);
    font-size: 1.3rem;
    color: #f4e4c1;
    opacity: 0.7;
    font-weight: 400;
}

/* 魅惑输入组 - 统一配色 */
.enchanted-input-group {
    margin-bottom: 30px;
    position: relative;
}

.magical-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: var(--rococo-accent-font);
    font-size: 1.1rem;
    color: #f4e4c1;
    margin-bottom: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    opacity: 0.9;
}

/* 文本域容器 - 统一配色 */
.textarea-container, .input-container {
    position: relative;
}

.enchanted-textarea, .enchanted-input {
    width: 100%;
    padding: 18px 20px;
    border: 2px solid rgba(244, 228, 193, 0.3);
    border-radius: 15px;
    background: rgba(244, 228, 193, 0.05);
    font-family: var(--rococo-body-font);
    font-size: 1rem;
    color: #f4e4c1;
    resize: vertical;
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    backdrop-filter: blur(5px);
}

.enchanted-textarea::placeholder, .enchanted-input::placeholder {
    color: rgba(244, 228, 193, 0.5);
    font-style: italic;
}

.enchanted-textarea:focus, .enchanted-input:focus {
    outline: none;
    border-color: #f4e4c1;
    box-shadow: 0 0 0 3px rgba(244, 228, 193, 0.2), 0 0 20px rgba(244, 228, 193, 0.3);
    background: rgba(244, 228, 193, 0.08);
}

/* 魔法边框效果 - 统一配色 */
.magical-border {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border: 2px solid transparent;
    border-radius: 15px;
    background: linear-gradient(45deg, 
        rgba(244, 228, 193, 0.4) 0%, 
        rgba(244, 228, 193, 0.2) 25%, 
        rgba(244, 228, 193, 0.4) 50%, 
        rgba(244, 228, 193, 0.2) 75%, 
        rgba(244, 228, 193, 0.4) 100%);
    background-clip: border-box;
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    pointer-events: none;
}

.enchanted-textarea:focus + .magical-border,
.enchanted-input:focus + .magical-border {
    opacity: 0.6;
    animation: magicalFlow 3s ease-in-out infinite;
}

@keyframes magicalFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* 藤蔓装饰 - 统一配色 */
.vine-decoration {
    position: absolute;
    top: 50%;
    width: 15px;
    height: 15px;
    background: rgba(244, 228, 193, 0.6);
    border-radius: 50%;
    transform: translateY(-50%);
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 0 8px rgba(244, 228, 193, 0.4);
}

.vine-left { left: -25px; }
.vine-right { right: -25px; }

.enchanted-textarea:focus ~ .vine-decoration,
.enchanted-input:focus ~ .vine-decoration {
    opacity: 0.8;
    animation: vineGrow 2s ease-in-out infinite;
}

@keyframes vineGrow {
    0%, 100% { transform: translateY(-50%) scale(1); }
    50% { transform: translateY(-50%) scale(1.3); }
}

/* 输入徽章 - 统一配色 */
.input-badges {
    margin-bottom: 25px;
}

.badge-container {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.input-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 25px;
    background: rgba(244, 228, 193, 0.05);
    border: 2px solid rgba(244, 228, 193, 0.3);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    min-width: 80px;
    min-height: 80px;
    backdrop-filter: blur(5px);
}

.input-badge:hover {
    transform: translateY(-5px);
    border-color: #f4e4c1;
    box-shadow: 0 8px 25px rgba(244, 228, 193, 0.3);
    background: rgba(244, 228, 193, 0.08);
}

.input-badge.active {
    background: rgba(244, 228, 193, 0.1);
    border-color: #f4e4c1;
    box-shadow: 0 0 20px rgba(244, 228, 193, 0.4);
}

.badge-text {
    font-family: var(--rococo-accent-font);
    font-size: 0.9rem;
    color: #f4e4c1;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-top: 8px;
}

.badge-glow {
    position: absolute;
    top: -2px; left: -2px; right: -2px; bottom: -2px;
    background: linear-gradient(45deg, 
        rgba(244, 228, 193, 0.4) 0%, 
        rgba(244, 228, 193, 0.2) 25%, 
        rgba(244, 228, 193, 0.4) 50%, 
        rgba(244, 228, 193, 0.2) 75%, 
        rgba(244, 228, 193, 0.4) 100%);
    border-radius: 50%;
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: -1;
}

.input-badge.active .badge-glow {
    opacity: 0.6;
    animation: badgeGlow 3s ease-in-out infinite;
}

@keyframes badgeGlow {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 0.9; }
}

/* 魅惑拖拽区域 - 统一配色 */
.enchanted-drop-zone {
    border: 3px dashed rgba(244, 228, 193, 0.4);
    border-radius: 20px;
    padding: 50px 30px;
    text-align: center;
    background: rgba(244, 228, 193, 0.03);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    margin-bottom: 25px;
    backdrop-filter: blur(5px);
}

.enchanted-drop-zone:hover,
.enchanted-drop-zone.dragover {
    border-color: #f4e4c1;
    background: rgba(244, 228, 193, 0.08);
    transform: translateY(-3px);
    box-shadow: 0 8px 32px rgba(244, 228, 193, 0.2);
}

.drop-content h3 {
    font-family: var(--rococo-title-font);
    font-size: 1.3rem;
    color: #f4e4c1;
    margin-bottom: 15px;
    letter-spacing: 1px;
    opacity: 0.9;
}

.select-btn {
    background: #f4e4c1;
    color: #2c1810;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-family: var(--rococo-accent-font);
    font-weight: 600;
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    text-shadow: none;
}

.select-btn:hover {
    background: rgba(244, 228, 193, 0.8);
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(244, 228, 193, 0.4);
}

/* 魅惑预览 - 统一配色 */
.enchanted-preview {
    background: rgba(244, 228, 193, 0.05);
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 8px 32px rgba(244, 228, 193, 0.1);
    backdrop-filter: blur(5px);
    border: 2px solid rgba(244, 228, 193, 0.2);
}

.preview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.preview-header h4 {
    font-family: var(--rococo-title-font);
    color: #f4e4c1;
    font-size: 1.2rem;
    letter-spacing: 0.5px;
}

.change-btn {
    background: rgba(244, 228, 193, 0.2);
    color: #f4e4c1;
    border: 1px solid rgba(244, 228, 193, 0.4);
    padding: 6px 12px;
    border-radius: 15px;
    cursor: pointer;
    font-family: var(--rococo-accent-font);
    font-size: 0.9rem;
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.change-btn:hover {
    background: rgba(244, 228, 193, 0.3);
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(244, 228, 193, 0.3);
}

.preview-content img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(44, 24, 16, 0.3);
    border: 2px solid rgba(244, 228, 193, 0.2);
}

/* 魔法按钮 - 统一配色和增强交互 */
.magical-btn {
    width: 100%;
    padding: 20px 30px;
    border: none;
    border-radius: 25px;
    font-family: var(--rococo-title-font);
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    letter-spacing: 1px;
    border: 2px solid rgba(244, 228, 193, 0.3);
}

.btn-primary {
    background: rgba(244, 228, 193, 0.15);
    color: #f4e4c1;
    box-shadow: 0 8px 25px rgba(244, 228, 193, 0.2);
}

.btn-secondary {
    background: rgba(244, 228, 193, 0.1);
    color: #f4e4c1;
    box-shadow: 0 8px 25px rgba(244, 228, 193, 0.15);
}

.magical-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(244, 228, 193, 0.3);
    border-color: #f4e4c1;
    background: rgba(244, 228, 193, 0.2);
}

.btn-shimmer {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(244, 228, 193, 0.4), transparent);
    transition: left 0.6s ease;
}

.magical-btn:hover .btn-shimmer {
    left: 100%;
}

/* 魔法加载动画 - 统一配色 */
.magical-loading {
    text-align: center;
    padding: 80px 40px;
    background: rgba(244, 228, 193, 0.05);
    border-radius: 25px;
    box-shadow: 0 8px 32px rgba(244, 228, 193, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(244, 228, 193, 0.2);
}

.magic-circle {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 30px;
}

.circle-ring {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 3px solid transparent;
    border-radius: 50%;
    animation: magicSpin 3s linear infinite;
}

.ring-1 {
    border-top-color: #f4e4c1;
    animation-duration: 2s;
}

.ring-2 {
    border-right-color: rgba(244, 228, 193, 0.7);
    animation-duration: 3s;
    animation-direction: reverse;
}

.ring-3 {
    border-bottom-color: rgba(244, 228, 193, 0.5);
    animation-duration: 4s;
}

@keyframes magicSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-text {
    font-family: var(--rococo-title-font);
    font-size: 1.3rem;
    color: #f4e4c1;
    margin-bottom: 20px;
    letter-spacing: 1px;
    text-shadow: 2px 2px 4px rgba(44, 24, 16, 0.8);
}

/* 魔法结果 - 统一配色 */
.magical-result {
    background: rgba(244, 228, 193, 0.05);
    border-radius: 25px;
    padding: 40px;
    box-shadow: 0 8px 32px rgba(244, 228, 193, 0.1);
    text-align: center;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(244, 228, 193, 0.2);
}

.result-title {
    font-family: var(--rococo-title-font);
    font-size: 2rem;
    color: #f4e4c1;
    margin-bottom: 30px;
    text-shadow: 2px 2px 4px rgba(44, 24, 16, 0.8);
    letter-spacing: 1px;
}

.result-image {
    max-width: 100%;
    max-height: 400px;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(44, 24, 16, 0.4);
    border: 3px solid rgba(244, 228, 193, 0.3);
}

.image-frame-decoration {
    position: absolute;
    top: -10px; left: -10px; right: -10px; bottom: -10px;
    border: 3px solid rgba(244, 228, 193, 0.4);
    border-radius: 20px;
    opacity: 0.6;
    pointer-events: none;
}

.action-btn {
    padding: 15px 25px;
    border: none;
    border-radius: 20px;
    font-family: var(--rococo-accent-font);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    align-items: center;
    gap: 8px;
    backdrop-filter: blur(5px);
    letter-spacing: 0.5px;
    border: 2px solid rgba(244, 228, 193, 0.3);
}

.download-btn {
    background: rgba(244, 228, 193, 0.15);
    color: #f4e4c1;
    box-shadow: 0 6px 20px rgba(244, 228, 193, 0.2);
}

.new-task-btn, .retry-btn {
    background: rgba(244, 228, 193, 0.1);
    color: #f4e4c1;
    box-shadow: 0 6px 20px rgba(244, 228, 193, 0.15);
}

.action-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(244, 228, 193, 0.3);
    border-color: #f4e4c1;
    background: rgba(244, 228, 193, 0.2);
}

/* 魔法错误 - 统一配色 */
.magical-error {
    background: rgba(244, 228, 193, 0.08);
    border: 2px solid rgba(244, 228, 193, 0.3);
    border-radius: 25px;
    padding: 40px;
    text-align: center;
    backdrop-filter: blur(10px);
}

.error-title {
    font-family: var(--rococo-title-font);
    font-size: 1.8rem;
    color: #f4e4c1;
    margin-bottom: 20px;
    letter-spacing: 1px;
    opacity: 0.9;
}

.error-message {
    font-family: var(--rococo-body-font);
    font-size: 1.1rem;
    color: #f4e4c1;
    margin-bottom: 25px;
    line-height: 1.6;
    opacity: 0.8;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .dual-canvas-layout {
        gap: 40px;
    }
    
    .atelier-title {
        font-size: 3.2rem;
    }
}

@media (max-width: 992px) {
    .dual-canvas-layout {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .atelier-container {
        padding: 0 20px;
    }
    
    .atelier-title {
        font-size: 2.8rem;
    }
    
    .canvas-frame {
        padding: 30px 25px;
    }
}

@media (max-width: 768px) {
    .atelier-title {
        font-size: 2.4rem;
    }
    
    .atelier-subtitle {
        font-size: 1.2rem;
    }
    
    .canvas-title {
        font-size: 1.8rem;
    }
    
    .badge-container {
        gap: 15px;
    }
    
    .input-badge {
        min-width: 70px;
        min-height: 70px;
        padding: 15px 20px;
    }
    
    .result-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .action-btn {
        width: 200px;
    }
}

@media (max-width: 480px) {
    .rococo-atelier {
        padding: 60px 0;
    }
    
    .atelier-header {
        margin-bottom: 50px;
    }
    
    .atelier-title {
        font-size: 2rem;
    }
    
    .canvas-frame {
        padding: 25px 20px;
    }
    
    .magical-btn {
        font-size: 1.1rem;
        padding: 18px 25px;
    }
}

/* 通用隐藏类 */
.hidden {
    display: none !important;
}

/* 输入模式显示控制 */
.input-mode {
    display: none;
}

.input-mode.active {
    display: block;
    animation: fadeInMode 0.5s ease-in-out;
}

@keyframes fadeInMode {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* 增强小细节的艺术效果 */
.drop-content small {
    color: var(--rococo-warm-brown);
    opacity: 0.7;
    font-family: var(--rococo-body-font);
    font-style: italic;
}

.image-info {
    margin-top: 15px;
    color: var(--rococo-warm-brown);
    font-family: var(--rococo-body-font);
    font-size: 0.95rem;
    opacity: 0.8;
    font-style: italic;
}

/* 为按钮添加华丽的悬停效果 */
.magical-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.6s ease;
    pointer-events: none;
}

.magical-btn:hover::before {
    width: 300px;
    height: 300px;
}

/* 装饰性分割线 */
.magical-result-area::before {
    content: '';
    display: block;
    width: 200px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--rococo-gold), transparent);
    margin: 40px auto;
    opacity: 0.6;
}

/* 华丽的文本选择高亮 */
::selection {
    background: rgba(184, 134, 11, 0.3);
    color: var(--rococo-warm-brown);
}

::-moz-selection {
    background: rgba(184, 134, 11, 0.3);
    color: var(--rococo-warm-brown);
}

/* 滚动条美化 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--rococo-cream);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--rococo-gold), var(--rococo-sage));
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--rococo-deep-gold), var(--rococo-lavender));
}

/* 功能应用区域 - 黑白极简风格 */
.magical-result-area {
    margin-top: 60px;
}

/* 结果显示相关 */
.result-frame {
    position: relative;
}

.result-image-container {
    position: relative;
    margin-bottom: 30px;
    display: inline-block;
}

.result-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* 增强小细节的艺术效果 - 统一配色 */
.drop-content small {
    color: #f4e4c1;
    opacity: 0.6;
    font-family: var(--rococo-body-font);
    font-style: italic;
}

.image-info {
    margin-top: 15px;
    color: #f4e4c1;
    font-family: var(--rococo-body-font);
    font-size: 0.95rem;
    opacity: 0.7;
    font-style: italic;
}

/* 为按钮添加华丽的悬停效果 - 统一配色 */
.magical-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(244, 228, 193, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.6s ease;
    pointer-events: none;
}

.magical-btn:hover::before {
    width: 300px;
    height: 300px;
}

/* 装饰性分割线 - 统一配色 */
.magical-result-area::before {
    content: '';
    display: block;
    width: 200px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #f4e4c1, transparent);
    margin: 40px auto;
    opacity: 0.4;
}

/* 华丽的文本选择高亮 - 统一配色 */
.rococo-atelier ::selection {
    background: rgba(244, 228, 193, 0.3);
    color: #2c1810;
}

.rococo-atelier ::-moz-selection {
    background: rgba(244, 228, 193, 0.3);
    color: #2c1810;
}

/* 增强交互细节 */
.canvas-frame:hover .canvas-title::after {
    width: 120px;
    opacity: 1;
    background: linear-gradient(90deg, transparent, #f4e4c1, #f4e4c1, transparent);
}

.enchanted-input-group:hover .magical-label {
    color: #f4e4c1;
    opacity: 1;
}

.input-badge:active {
    transform: translateY(-3px) scale(0.95);
}

.magical-btn:active {
    transform: translateY(-3px) scale(0.98);
}

/* 微妙的噪点纹理效果 - 统一配色 */
.rococo-atelier::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 1px 1px, rgba(244, 228, 193, 0.1) 1px, transparent 0);
    background-size: 20px 20px;
    opacity: 0.2;
    pointer-events: none;
    z-index: 0;
}

/* 添加微妙的划痕纹理 */
.rococo-atelier::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(244, 228, 193, 0.03) 2%, 
        transparent 3%,
        transparent 48%,
        rgba(244, 228, 193, 0.02) 50%,
        transparent 52%,
        transparent 78%,
        rgba(244, 228, 193, 0.04) 80%,
        transparent 82%,
        transparent 100%);
    pointer-events: none;
    z-index: 0;
}

/* 增强悬停状态的视觉反馈 */
.canvas-frame:hover {
    background: rgba(244, 228, 193, 0.08);
}

.enchanted-drop-zone:hover h3 {
    color: #f4e4c1;
    opacity: 1;
    text-shadow: 0 0 10px rgba(244, 228, 193, 0.3);
}

.input-badge:hover .badge-text {
    color: #f4e4c1;
    opacity: 1;
    text-shadow: 0 0 8px rgba(244, 228, 193, 0.4);
}

/* 焦点状态增强 */
.enchanted-textarea:focus,
.enchanted-input:focus {
    background: rgba(244, 228, 193, 0.1);
}

/* 按钮禁用状态 */
.magical-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    background: rgba(244, 228, 193, 0.05);
    border-color: rgba(244, 228, 193, 0.2);
}

.magical-btn:disabled:hover {
    transform: none;
    box-shadow: 0 8px 25px rgba(244, 228, 193, 0.1);
    border-color: rgba(244, 228, 193, 0.2);
}