/* AI Beauty 统一主题样式 */

:root {
    --primary: #ff477e;
    --primary-light: #ff6b9d;
    --secondary: #ff8a65;
    --accent: #ffd93d;
    --dark: #1a1a2e;
    --light: #fafbfc;
    --glass: rgba(255,255,255,0.25);
    --glass-border: rgba(255,255,255,0.3);
    --shadow: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-hover: 0 20px 40px rgba(255,71,126,0.25);
    --gradient-primary: linear-gradient(135deg, #ff477e 0%, #ff6b9d 50%, #ff8a65 100%);
    --gradient-overlay: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.7) 100%);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    background: linear-gradient(135deg, #fdfbf7 0%, #f5f0eb 50%, #eee5e0 100%);
    min-height: 100vh;
    color: var(--dark);
    overflow-x: hidden;
}

/* 装饰背景 */
.bg-decoration {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.bg-circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.35;
}

.bg-circle-1 {
    width: 350px;
    height: 350px;
    background: var(--gradient-primary);
    top: -80px;
    right: -80px;
    animation: float 10s ease-in-out infinite;
}

.bg-circle-2 {
    width: 250px;
    height: 250px;
    background: linear-gradient(135deg, #ffd93d 0%, #ffb347 100%);
    bottom: 15%;
    left: -40px;
    animation: float 12s ease-in-out infinite reverse;
}

.bg-circle-3 {
    width: 180px;
    height: 180px;
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
    top: 50%;
    right: 15%;
    animation: float 14s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(5deg); }
}

/* 通用按钮 */
.btn-primary {
    background: var(--gradient-primary);
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(255,71,126,0.3);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

/* 通用卡片 */
.card {
    background: rgba(255,255,255,0.8);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 20px;
    box-shadow: var(--shadow);
}

/* 通用输入框 */
input, textarea {
    font-family: 'Outfit', sans-serif;
    width: 100%;
    padding: 14px 18px;
    border: 2px solid rgba(0,0,0,0.08);
    border-radius: 12px;
    font-size: 1rem;
    background: rgba(255,255,255,0.9);
    transition: all 0.3s ease;
}

input:focus, textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(255,71,126,0.1);
}

/* 通用标题 */
h1, h2, h3 {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

/* 标签 */
.tag {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    background: linear-gradient(135deg, rgba(255,71,126,0.12), rgba(255,138,101,0.12));
    color: var(--primary);
}

/* 入场动画 */
@keyframes cardFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: cardFadeIn 0.5s ease-out backwards;
}
