/* 基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-pink: #ff6b9d;
    --secondary-pink: #ffa8c5;
    --light-pink: #fff0f5;
    --deep-pink: #e91e63;
    --purple: #9c27b0;
    --light-purple: #e1bee7;
    --gold: #ffd700;
    --white: #ffffff;
    --dark: #333333;
    --gray: #666666;
    --light-gray: #f5f5f5;
    --gradient-romantic: linear-gradient(135deg, #ff6b9d 0%, #c44569 50%, #9c27b0 100%);
    --gradient-soft: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
    --shadow-soft: 0 10px 40px rgba(255, 107, 157, 0.2);
    --shadow-card: 0 5px 20px rgba(0, 0, 0, 0.1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'ZCOOL XiaoWei', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--light-pink);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* 可爱浪漫字体样式 */
.intro-title,
.final-title,
.hero-title,
.section-title {
    font-family: 'ZCOOL KuaiLe', 'ZCOOL XiaoWei', cursive;
}

.intro-sub,
.final-subtitle,
.hero-subtitle,
.scene-text {
    font-family: 'Ma Shan Zheng', 'ZCOOL XiaoWei', cursive;
}

.enter-btn,
.tab-btn,
.nav-brand {
    font-family: 'ZCOOL KuaiLe', 'ZCOOL XiaoWei', cursive;
}

/* ==================== 进入动画样式 ==================== */
.intro-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, #1a1a3e 0%, #0c0c1e 50%, #050510 100%);
    z-index: 10000;
    overflow: hidden;
}

/* 磨砂玻璃蒙版 */
.intro-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(255, 107, 157, 0.03) 0%,
        rgba(156, 39, 176, 0.05) 25%,
        rgba(102, 126, 234, 0.03) 50%,
        rgba(255, 107, 157, 0.05) 75%,
        rgba(156, 39, 176, 0.03) 100%
    );
    backdrop-filter: blur(1px);
    -webkit-backdrop-filter: blur(1px);
    z-index: 1;
    pointer-events: none;
}

/* 高级感光晕层 */
.intro-overlay::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at 20% 30%, rgba(255, 107, 157, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 70%, rgba(102, 126, 234, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(156, 39, 176, 0.05) 0%, transparent 60%);
    z-index: 2;
    pointer-events: none;
    animation: glowShift 8s ease-in-out infinite;
}

@keyframes glowShift {
    0%, 100% { 
        opacity: 0.8;
        transform: scale(1);
    }
    50% { 
        opacity: 1;
        transform: scale(1.05);
    }
}

.intro-overlay.fade-out {
    animation: overlayFadeOut 1.5s ease forwards;
}

@keyframes overlayFadeOut {
    0% { opacity: 1; }
    100% { opacity: 0; pointer-events: none; }
}

.intro-overlay.hidden {
    display: none;
}

#starsCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/* 场景通用样式 */
.scene {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    z-index: 1;
}

.scene.active {
    opacity: 1;
    pointer-events: auto;
}

.scene-content {
    text-align: center;
    z-index: 2;
    padding: 20px;
    width: 100%;
    max-width: 1200px;
}

.scene-content.full-screen {
    width: 100%;
    height: 100%;
    max-width: none;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* 场景1: 宇宙开场 */
.scene-1 .scene-content {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.galaxy-ring {
    position: fixed;
    width: 500px;
    height: 500px;
    border: 2px solid rgba(255, 107, 157, 0.3);
    border-radius: 50%;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    animation: galaxySpin 20s linear infinite, galaxyPulse 3s ease-in-out infinite;
    pointer-events: none;
}

.galaxy-ring.ring-2 {
    width: 700px;
    height: 700px;
    border-color: rgba(156, 39, 176, 0.2);
    animation: galaxySpin 30s linear infinite reverse, galaxyPulse 4s ease-in-out infinite;
}

@keyframes galaxySpin {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes galaxyPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.8; }
}

.center-glow {
    position: fixed;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 107, 157, 0.4) 0%, transparent 70%);
    border-radius: 50%;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    animation: centerGlow 2s ease-in-out infinite;
    pointer-events: none;
}

@keyframes centerGlow {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
    50% { transform: translate(-50%, -50%) scale(1.3); opacity: 1; }
}

.intro-title {
    font-size: 4rem;
    font-weight: 300;
    color: white;
    letter-spacing: 10px;
    margin-bottom: 30px;
    position: relative;
    z-index: 3;
    text-align: center;
}

.intro-title .char {
    display: inline-block;
    opacity: 0;
    transform: translateY(50px) rotateX(90deg);
    animation: charReveal 0.8s ease forwards;
}

@keyframes charReveal {
    to { opacity: 1; transform: translateY(0) rotateX(0deg); }
}

.intro-sub {
    font-size: 1.5rem;
    color: rgba(255, 168, 197, 0.8);
    letter-spacing: 5px;
    opacity: 0;
    animation: fadeInUp 1s ease 1.5s forwards;
}

/* 场景2: 时间显示 */
.scene-2 .scene-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.date-display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-bottom: 50px;
}

.date-year {
    font-size: 8rem;
    font-weight: 100;
    color: white;
    opacity: 0;
    transform: scale(0.5);
    animation: dateZoom 1s ease forwards;
}

.date-divider {
    width: 3px;
    height: 100px;
    background: linear-gradient(to bottom, transparent, #ff6b9d, transparent);
    opacity: 0;
    animation: fadeIn 0.5s ease 0.5s forwards;
}

.date-month {
    font-size: 6rem;
    font-weight: 300;
    color: #ff6b9d;
    opacity: 0;
    transform: scale(0.5);
    animation: dateZoom 1s ease 0.3s forwards;
}

@keyframes dateZoom {
    to { opacity: 1; transform: scale(1); }
}

.clock-container {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto 30px;
}

.clock-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 3px solid rgba(255, 107, 157, 0.5);
    border-radius: 50%;
    animation: clockPulse 1s ease infinite;
}

@keyframes clockPulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 1; }
}

.clock-time {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    font-weight: 300;
    color: white;
    font-family: 'Courier New', monospace;
}

.scene-text {
    font-size: 1.8rem;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 3px;
    opacity: 0;
    animation: fadeInUp 1s ease 1s forwards;
}

/* 场景3: 聊天气泡 */
.scene-3 .scene-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.chat-bubbles {
    position: relative;
    min-height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.bubble {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    opacity: 0;
    transform: translateX(100px);
    animation: bubbleSlide 0.8s ease forwards;
}

@keyframes bubbleSlide {
    to { opacity: 1; transform: translateX(0); }
}

.bubble-avatar {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #ff6b9d, #c44569);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.bubble-content {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px 20px 20px 5px;
    padding: 25px 35px;
    max-width: 400px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.typing-text {
    font-size: 2.5rem;
    color: white;
    font-weight: 500;
}

.cursor {
    animation: blink 0.8s infinite;
    color: #ff6b9d;
    font-weight: 300;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.ripple-effect {
    position: fixed;
    width: 300px;
    height: 300px;
    border: 2px solid rgba(255, 107, 157, 0.5);
    border-radius: 50%;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) scale(0);
    animation: ripple 2s ease-out infinite;
    pointer-events: none;
}

@keyframes ripple {
    0% { transform: translate(-50%, -50%) scale(0); opacity: 1; }
    100% { transform: translate(-50%, -50%) scale(3); opacity: 0; }
}

/* 场景4: 数据爆发 */
.scene-4 .scene-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.data-explosion {
    margin-bottom: 50px;
    text-align: center;
}

.big-number {
    font-size: 12rem;
    font-weight: 700;
    background: linear-gradient(135deg, #ff6b9d, #ffa8c5, #ff6b9d);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 2s linear infinite;
    line-height: 1;
}

@keyframes shimmer {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

.number-label {
    font-size: 2.5rem;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 10px;
    margin-top: -20px;
}

.data-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

.stats-row {
    display: flex;
    justify-content: center;
    gap: 80px;
    margin-top: 50px;
}

.mini-stat {
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
}

.mini-stat:nth-child(1) { animation-delay: 0.5s; }
.mini-stat:nth-child(2) { animation-delay: 0.7s; }
.mini-stat:nth-child(3) { animation-delay: 0.9s; }

.mini-num {
    display: block;
    font-size: 4rem;
    font-weight: 300;
    color: white;
}

.mini-label {
    font-size: 1.2rem;
    color: rgba(255, 168, 197, 0.8);
    letter-spacing: 3px;
}

/* 场景5: 心形相遇 */
.scene-5 .scene-content.full-screen {
    width: 100vw;
    height: 100vh;
    position: relative;
}

.heart-journey {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.journey-heart {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.heart-him {
    left: 10%;
    top: 50%;
    transform: translateY(-50%);
}

.heart-her {
    right: 10%;
    top: 50%;
    transform: translateY(-50%);
}

.heart-shape {
    font-size: 6rem;
    filter: drop-shadow(0 0 30px currentColor);
    animation: heartFloat 2s ease-in-out infinite;
}

@keyframes heartFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.heart-name {
    font-size: 1.5rem;
    color: white;
    letter-spacing: 3px;
}

.heart-trail {
    position: absolute;
    width: 200px;
    height: 4px;
    top: 50%;
    opacity: 0.5;
}

.heart-him .heart-trail {
    right: -200px;
    background: linear-gradient(90deg, #667eea, transparent);
}

.heart-her .heart-trail {
    left: -200px;
    background: linear-gradient(90deg, transparent, #ff6b9d);
}

.merged-heart-big {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) scale(0);
    text-align: center;
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.heart-glow {
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 107, 157, 0.6) 0%, transparent 70%);
    border-radius: 50%;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    animation: glowPulse 1.5s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.6; }
    50% { transform: translate(-50%, -50%) scale(1.5); opacity: 1; }
}

.heart-icon {
    font-size: 10rem;
    position: relative;
    z-index: 2;
    animation: heartBeat 1s ease-in-out infinite;
}

@keyframes heartBeat {
    0%, 100% { transform: scale(1); }
    25% { transform: scale(1.1); }
    50% { transform: scale(1); }
    75% { transform: scale(1.15); }
}

.heart-text {
    font-size: 2rem;
    color: white;
    letter-spacing: 10px;
    margin-top: 20px;
}

.fireworks {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

@keyframes flyFromLeft {
    0% { left: -10%; opacity: 0; transform: translateY(-50%) scale(0.5) rotate(-20deg); }
    30% { opacity: 1; }
    100% { left: 45%; opacity: 1; transform: translateY(-50%) scale(1) rotate(0deg); }
}

@keyframes flyFromRight {
    0% { right: -10%; opacity: 0; transform: translateY(-50%) scale(0.5) rotate(20deg); }
    30% { opacity: 1; }
    100% { right: 45%; opacity: 1; transform: translateY(-50%) scale(1) rotate(0deg); }
}

/* 场景6: 最终页面 */
.scene-6 .scene-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.final-title {
    font-size: 5rem;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.name-him {
    color: #667eea;
    font-weight: 300;
    opacity: 0;
    transform: translateX(-50px);
    animation: nameSlide 1s ease forwards;
}

.name-her {
    color: #ff6b9d;
    font-weight: 300;
    opacity: 0;
    transform: translateX(50px);
    animation: nameSlide 1s ease 0.3s forwards;
}

@keyframes nameSlide {
    to { opacity: 1; transform: translateX(0); }
}

.heart-between {
    color: #ff6b9d;
    font-size: 4rem;
    opacity: 0;
    animation: heartPulse 1s ease-in-out infinite, fadeIn 0.5s ease 0.6s forwards;
}

@keyframes heartPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.3); }
}

.final-subtitle {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 5px;
    margin-bottom: 50px;
    opacity: 0;
    animation: fadeInUp 1s ease 0.8s forwards;
}

.enter-btn {
    position: relative;
    padding: 25px 70px;
    font-size: 1.4rem;
    font-weight: 500;
    color: white;
    background: linear-gradient(135deg, #ff6b9d 0%, #c44569 50%, #9c27b0 100%);
    background-size: 200% auto;
    border: none;
    border-radius: 60px;
    cursor: pointer;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px) scale(0.9);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 20px 60px rgba(255, 107, 157, 0.5);
    animation: btnAppear 1s ease 1s forwards;
}

@keyframes btnAppear {
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.enter-btn:hover {
    transform: translateY(-8px) scale(1.08);
    box-shadow: 0 30px 80px rgba(255, 107, 157, 0.7);
    background-position: right center;
}

.btn-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: shine 2s infinite;
}

@keyframes shine {
    0% { left: -100%; }
    50%, 100% { left: 100%; }
}

.skip-hint {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.9rem;
    letter-spacing: 2px;
}

/* 进度条 */
.progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    z-index: 100;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #ff6b9d, #9c27b0);
    width: 0%;
    transition: width 0.3s ease;
}

/* 跳过按钮 */
.skip-btn {
    position: absolute;
    top: 30px;
    right: 30px;
    padding: 12px 25px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 30px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    cursor: pointer;
    z-index: 101;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.skip-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    transform: translateX(5px);
}

/* 通用动画 */
@keyframes fadeIn {
    to { opacity: 1; }
}

@keyframes fadeInUp {
    to { opacity: 1; transform: translateY(0); }
}

/* 页面隐藏状态 */
.navbar.hidden, .hero.hidden, .section.hidden {
    opacity: 0;
}

.navbar.show, .hero.show, .section.show {
    animation: pageReveal 1s ease forwards;
}

@keyframes pageReveal {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}


/* ==================== 主页面样式 ==================== */

/* 浮动爱心背景 */
.hearts-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.floating-heart {
    position: absolute;
    font-size: 20px;
    animation: floatHeart 15s linear infinite;
    opacity: 0.3;
}

@keyframes floatHeart {
    0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
    10% { opacity: 0.3; }
    90% { opacity: 0.3; }
    100% { transform: translateY(-100px) rotate(720deg); opacity: 0; }
}

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-brand {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-romantic);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--gray);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary-pink);
}

/* 英雄区域 */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-romantic);
    position: relative;
    overflow: hidden;
}

.hero-content {
    text-align: center;
    color: var(--white);
    z-index: 1;
    padding: 20px;
}

.couple-avatars {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    border: 3px solid rgba(255, 255, 255, 0.5);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.heart-connector {
    width: 80px;
    height: 80px;
    color: var(--white);
    animation: heartbeat 1s ease-in-out infinite;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 50px;
}

.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 30px;
    height: 30px;
    border-right: 3px solid var(--white);
    border-bottom: 3px solid var(--white);
    transform: rotate(45deg);
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(10px); }
}

/* 通用区块样式 */
.section {
    padding: 100px 20px;
    position: relative;
    z-index: 1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 60px;
    background: var(--gradient-romantic);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* 概览统计 */
.overview-section {
    background: var(--white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.stat-card {
    background: var(--light-pink);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-soft);
}

.stat-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-pink);
    margin-bottom: 10px;
}

.stat-label {
    color: var(--gray);
    font-size: 1.1rem;
}

.message-ratio {
    background: var(--light-pink);
    border-radius: 20px;
    padding: 40px;
}

.message-ratio h3 {
    text-align: center;
    margin-bottom: 30px;
    color: var(--dark);
}

.ratio-bar {
    display: flex;
    height: 50px;
    border-radius: 25px;
    overflow: hidden;
}

.ratio-fill {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 600;
}

.ratio-him {
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
}

.ratio-her {
    background: linear-gradient(90deg, #f093fb 0%, #f5576c 100%);
}

.ratio-insight {
    text-align: center;
    margin-top: 20px;
    color: var(--gray);
    font-style: italic;
}

/* 情感分析 */
.emotions-section {
    background: linear-gradient(180deg, var(--white) 0%, var(--light-pink) 100%);
}

.emotion-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.emotion-card {
    background: var(--white);
    border-radius: 20px;
    padding: 30px;
    box-shadow: var(--shadow-card);
}

.emotion-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.emotion-icon {
    font-size: 2.5rem;
}

.emotion-header h3 {
    font-size: 1.2rem;
    color: var(--dark);
}

.emotion-meter {
    height: 12px;
    background: var(--light-gray);
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 15px;
}

.meter-fill {
    height: 100%;
    border-radius: 6px;
    transition: width 1.5s ease-out;
}

.positive .meter-fill {
    background: linear-gradient(90deg, #11998e 0%, #38ef7d 100%);
}

.chemistry .meter-fill {
    background: linear-gradient(90deg, #f093fb 0%, #f5576c 100%);
}

.trust .meter-fill {
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
}

.emotion-score {
    font-weight: 600;
    color: var(--primary-pink);
    margin-bottom: 10px;
}

.emotion-desc {
    color: var(--gray);
    font-size: 0.95rem;
}

/* 关系阶段 */
.relationship-stage {
    background: var(--white);
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--shadow-card);
}

.relationship-stage h3 {
    text-align: center;
    margin-bottom: 40px;
    color: var(--dark);
}

.stage-timeline {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    margin-bottom: 30px;
}

.stage-timeline::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 10%;
    right: 10%;
    height: 4px;
    background: var(--light-gray);
    z-index: 0;
}

.stage {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    z-index: 1;
}

.stage-dot {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--light-gray);
    border: 3px solid var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.stage.completed .stage-dot {
    background: var(--primary-pink);
}

.stage.current .stage-dot {
    background: var(--deep-pink);
    box-shadow: 0 0 0 5px rgba(233, 30, 99, 0.3);
    animation: stagePulse 1.5s infinite;
}

@keyframes stagePulse {
    0%, 100% { box-shadow: 0 0 0 5px rgba(233, 30, 99, 0.3); }
    50% { box-shadow: 0 0 0 15px rgba(233, 30, 99, 0.1); }
}

.stage span {
    font-size: 0.9rem;
    color: var(--gray);
}

.stage.current span {
    color: var(--deep-pink);
    font-weight: 600;
}

.stage-desc {
    text-align: center;
    color: var(--gray);
}

.stage-desc strong {
    color: var(--deep-pink);
}

/* 甜蜜瞬间 */
.highlights-section {
    background: var(--gradient-romantic);
    color: var(--white);
}

.highlights-section .section-title {
    -webkit-text-fill-color: var(--white);
}

.highlights-carousel {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    padding: 20px 0;
    scroll-snap-type: x mandatory;
}

.highlights-carousel::-webkit-scrollbar {
    display: none;
}

.highlight-card {
    min-width: 350px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    scroll-snap-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.highlight-quote {
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: 20px;
    line-height: 1.6;
    position: relative;
    padding-left: 20px;
}

.highlight-quote::before {
    content: '"';
    position: absolute;
    left: 0;
    top: -10px;
    font-size: 3rem;
    opacity: 0.5;
}

.highlight-context {
    font-size: 0.95rem;
    opacity: 0.8;
    margin-bottom: 15px;
}

.highlight-date {
    font-size: 0.85rem;
    opacity: 0.6;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
}

.carousel-dot.active {
    background: var(--white);
    transform: scale(1.3);
}

/* 人物画像 */
.profiles-section {
    background: var(--white);
}

.profiles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
}

.profile-card {
    background: var(--light-pink);
    border-radius: 30px;
    padding: 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.profile-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    border-radius: 30px 30px 0 0;
}

.profile-card.him::before {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.profile-card.her::before {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.profile-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    margin: 0 auto 20px;
    position: relative;
    z-index: 1;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.profile-card.him .profile-avatar {
    color: #764ba2;
}

.profile-card.her .profile-avatar {
    color: #f5576c;
}

.profile-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--dark);
}

.profile-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 25px;
}

.tag {
    background: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--gray);
}

.profile-traits {
    text-align: left;
    margin-bottom: 20px;
}

.trait {
    margin-bottom: 15px;
}

.trait-name {
    display: block;
    font-size: 0.9rem;
    color: var(--gray);
    margin-bottom: 5px;
}

.trait-bar {
    height: 8px;
    background: var(--white);
    border-radius: 4px;
    overflow: hidden;
}

.trait-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 1s ease-out;
}

.profile-card.him .trait-fill {
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
}

.profile-card.her .trait-fill {
    background: linear-gradient(90deg, #f093fb 0%, #f5576c 100%);
}

.profile-summary {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* 建议指导 */
.advice-section {
    background: linear-gradient(180deg, var(--light-pink) 0%, var(--white) 100%);
}

.advice-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 15px 30px;
    border: none;
    background: var(--white);
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 500;
    color: var(--gray);
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: var(--shadow-card);
}

.tab-btn:hover {
    transform: translateY(-3px);
}

.tab-btn.active {
    background: var(--gradient-romantic);
    color: var(--white);
}

.advice-panel {
    display: none;
}

.advice-panel.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.advice-item {
    background: var(--white);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 20px;
    display: flex;
    gap: 20px;
    box-shadow: var(--shadow-card);
}

.advice-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.advice-text h4 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--dark);
}

.advice-text ul, .advice-text ol {
    padding-left: 20px;
    color: var(--gray);
}

.advice-text li {
    margin-bottom: 10px;
    line-height: 1.6;
}

.advice-item.positive { border-left: 4px solid #38ef7d; }
.advice-item.improve { border-left: 4px solid #f5576c; }
.advice-item.action { border-left: 4px solid #667eea; }
.advice-item.compatibility { border-left: 4px solid var(--gold); }
.advice-item.warning { border-left: 4px solid #ff9800; }
.advice-item.future { border-left: 4px solid #9c27b0; }

.compatibility-score {
    display: flex;
    justify-content: center;
    margin: 20px 0;
}

.score-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: var(--gradient-romantic);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.score-number {
    font-size: 2.5rem;
    font-weight: 700;
}

.score-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* 时间线 */
.timeline-section {
    background: var(--white);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: var(--gradient-romantic);
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    width: 50%;
    padding: 20px 40px;
}

.timeline-item.left {
    left: 0;
    text-align: right;
}

.timeline-item.right {
    left: 50%;
    text-align: left;
}

.timeline-item::before {
    content: '';
    position: absolute;
    top: 30px;
    width: 20px;
    height: 20px;
    background: var(--primary-pink);
    border-radius: 50%;
    border: 4px solid var(--white);
    box-shadow: 0 0 0 4px var(--primary-pink);
}

.timeline-item.left::before {
    right: -10px;
}

.timeline-item.right::before {
    left: -10px;
}

.timeline-content {
    background: var(--light-pink);
    border-radius: 15px;
    padding: 25px;
}

.timeline-date {
    font-size: 0.85rem;
    color: var(--primary-pink);
    font-weight: 600;
    margin-bottom: 10px;
}

.timeline-content h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--dark);
}

.timeline-content p {
    color: var(--gray);
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.timeline-tag {
    display: inline-block;
    background: var(--white);
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 0.85rem;
    color: var(--primary-pink);
}

/* 祝福区域 */
.blessing-section {
    background: var(--gradient-romantic);
    color: var(--white);
    text-align: center;
}

.blessing-card {
    max-width: 700px;
    margin: 0 auto;
    padding: 60px 40px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.blessing-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.blessing-card h2 {
    font-size: 2rem;
    margin-bottom: 30px;
}

.blessing-text {
    font-size: 1.1rem;
    line-height: 2;
    opacity: 0.95;
    margin-bottom: 40px;
}

.countdown {
    margin-top: 30px;
}

.countdown-label {
    display: block;
    font-size: 1rem;
    opacity: 0.8;
    margin-bottom: 20px;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.countdown-item {
    background: rgba(255, 255, 255, 0.2);
    padding: 20px;
    border-radius: 15px;
    min-width: 80px;
}

.countdown-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
}

.countdown-unit {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* 页脚 */
.footer {
    background: var(--dark);
    color: var(--white);
    text-align: center;
    padding: 40px 20px;
}

.footer p {
    margin-bottom: 10px;
}

.footer-note {
    opacity: 0.6;
    font-size: 0.9rem;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .navbar {
        padding: 15px 20px;
        flex-direction: column;
        gap: 15px;
    }
    
    .nav-links {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .couple-avatars {
        flex-direction: column;
    }
    
    .heart-connector {
        transform: rotate(90deg);
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        width: 100%;
        left: 0 !important;
        text-align: left !important;
        padding-left: 60px;
        padding-right: 20px;
    }
    
    .timeline-item::before {
        left: 10px !important;
        right: auto !important;
    }
    
    .profiles-grid {
        grid-template-columns: 1fr;
    }
    
    .advice-item {
        flex-direction: column;
    }
    
    .countdown-timer {
        flex-wrap: wrap;
    }
    
    .countdown-item {
        min-width: 60px;
        padding: 15px;
    }
    
    .countdown-number {
        font-size: 1.8rem;
    }
    
    .intro-title {
        font-size: 2.5rem;
        letter-spacing: 8px;
    }
    
    .date-year {
        font-size: 4rem;
    }
    
    .date-month {
        font-size: 3rem;
    }
    
    .big-number {
        font-size: 6rem;
    }
    
    .number-label {
        font-size: 1.5rem;
    }
    
    .final-title {
        font-size: 2.5rem;
        flex-direction: column;
        gap: 15px;
    }
    
    .heart-shape {
        font-size: 4rem;
    }
    
    .heart-icon {
        font-size: 6rem;
    }
    
    .stats-row {
        gap: 30px;
    }
    
    .mini-num {
        font-size: 2.5rem;
    }
    
    .galaxy-ring {
        width: 300px;
        height: 300px;
    }
    
    .galaxy-ring.ring-2 {
        width: 400px;
        height: 400px;
    }
}


/* ==================== 问答验证弹窗 - 横屏布局 ==================== */
.quiz-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(12, 12, 30, 0.95);
    backdrop-filter: blur(20px);
    z-index: 10001;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.quiz-overlay.active {
    display: flex;
    opacity: 1;
}

.quiz-modal {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    padding: 35px 50px;
    max-width: 800px;
    width: 90%;
    text-align: center;
    position: relative;
    box-shadow: 0 20px 60px rgba(255, 107, 157, 0.3);
    animation: modalAppear 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

@keyframes modalAppear {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(50px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.quiz-header {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.quiz-icon {
    font-size: 2.5rem;
    margin-bottom: 8px;
    animation: heartBeat 1s ease-in-out infinite;
}

.quiz-header h2 {
    font-size: 1.8rem;
    color: white;
    margin-bottom: 8px;
    background: linear-gradient(90deg, #ff6b9d, #ffa8c5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.quiz-header p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    letter-spacing: 2px;
}

.quiz-progress {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
    margin-bottom: 25px;
    padding: 15px 30px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.quiz-hearts {
    display: flex;
    gap: 12px;
}

.quiz-heart {
    font-size: 1.8rem;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.quiz-heart.correct {
    animation: heartPop 0.5s ease;
}

@keyframes heartPop {
    0% { transform: scale(1); }
    50% { transform: scale(1.5); }
    100% { transform: scale(1); }
}

.quiz-score {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 300;
}

.quiz-score span {
    color: #ff6b9d;
    font-weight: 700;
    font-size: 1.4rem;
}

.quiz-content {
    margin-bottom: 20px;
}

.question-number {
    font-size: 0.85rem;
    color: rgba(255, 168, 197, 0.8);
    letter-spacing: 3px;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.question-text {
    font-size: 1.3rem;
    color: white;
    line-height: 1.6;
    margin-bottom: 25px;
    min-height: auto;
    font-weight: 500;
}

/* 横屏选项布局 - 2x2网格 */
.options-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    max-width: 650px;
    margin: 0 auto;
}

.option-btn {
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    color: white;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.option-btn:hover {
    background: rgba(255, 107, 157, 0.2);
    border-color: rgba(255, 107, 157, 0.5);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 107, 157, 0.3);
}

.option-btn.correct {
    background: rgba(56, 239, 125, 0.3);
    border-color: #38ef7d;
    animation: correctPulse 0.5s ease;
}

.option-btn.wrong {
    background: rgba(245, 87, 108, 0.3);
    border-color: #f5576c;
    animation: wrongShake 0.5s ease;
}

@keyframes correctPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

@keyframes wrongShake {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-10px); }
    40%, 80% { transform: translateX(10px); }
}

.option-btn.disabled {
    pointer-events: none;
    opacity: 0.6;
}

.quiz-result {
    display: none;
    padding: 30px;
}

.quiz-result.show {
    display: block;
    animation: fadeInUp 0.5s ease;
}

.result-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.result-text {
    font-size: 1.2rem;
    color: white;
    margin-bottom: 25px;
    line-height: 1.8;
}

.retry-btn {
    padding: 15px 45px;
    background: linear-gradient(135deg, #ff6b9d 0%, #c44569 100%);
    border: none;
    border-radius: 30px;
    color: white;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(255, 107, 157, 0.4);
}

.retry-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(255, 107, 157, 0.6);
}

.quiz-footer {
    margin-top: 15px;
}

.hint-text {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    letter-spacing: 2px;
}

/* 成功进入动画 */
.quiz-overlay.success {
    animation: successFade 1.5s ease forwards;
}

@keyframes successFade {
    0% { opacity: 1; }
    50% { opacity: 1; background: rgba(56, 239, 125, 0.3); }
    100% { opacity: 0; pointer-events: none; }
}

/* 响应式 - 小屏幕恢复竖屏布局 */
@media (max-width: 768px) {
    .quiz-modal {
        padding: 25px 20px;
        border-radius: 20px;
        max-width: 95%;
    }
    
    .quiz-header h2 {
        font-size: 1.5rem;
    }
    
    .quiz-icon {
        font-size: 2rem;
    }
    
    .question-text {
        font-size: 1.1rem;
    }
    
    .options-container {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .option-btn {
        padding: 14px 18px;
        font-size: 0.95rem;
        text-align: left;
    }
    
    .option-btn:hover {
        transform: translateX(5px);
    }
    
    .quiz-heart {
        font-size: 1.5rem;
    }
    
    .quiz-progress {
        padding: 10px 20px;
        gap: 15px;
    }
}

/* ==================== 祝福触发区域 ==================== */
.blessing-trigger-section {
    background: linear-gradient(135deg, #fff0f5 0%, #ffeef8 50%, #fff5f8 100%);
    padding: 80px 20px;
}

.blessing-trigger-card {
    background: white;
    border-radius: 30px;
    padding: 60px 40px;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: 0 20px 60px rgba(255, 107, 157, 0.15);
    position: relative;
    overflow: hidden;
}

.blessing-trigger-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #ff6b9d, #ffa8c5, #ff6b9d);
}

.trigger-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    animation: heartBeat 1.5s ease-in-out infinite;
}

.blessing-trigger-card h2 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #ff6b9d, #c44569);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.blessing-trigger-card p {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.blessing-btn {
    padding: 18px 50px;
    font-size: 1.2rem;
    background: linear-gradient(135deg, #ff6b9d 0%, #c44569 50%, #9c27b0 100%);
    background-size: 200% auto;
    color: white;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(255, 107, 157, 0.4);
}

.blessing-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(255, 107, 157, 0.5);
    background-position: right center;
}

/* ==================== 祝福弹窗 ==================== */
.blessing-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(12, 12, 30, 0.9);
    backdrop-filter: blur(15px);
    z-index: 10002;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.blessing-overlay.active {
    display: flex;
    opacity: 1;
}

.blessing-modal {
    background: linear-gradient(145deg, #fff 0%, #fff5f8 100%);
    border-radius: 24px;
    max-width: 950px;
    width: 95%;
    max-height: 90vh;
    overflow: hidden;
    display: flex;
    position: relative;
    box-shadow: 0 30px 80px rgba(255, 107, 157, 0.3);
    animation: modalSlideIn 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(30px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.blessing-close {
    position: absolute;
    top: 15px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: rgba(255, 107, 157, 0.1);
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    color: #ff6b9d;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.blessing-close:hover {
    background: #ff6b9d;
    color: white;
    transform: rotate(90deg);
}

/* 左侧祝福内容 */
.blessing-left {
    flex: 1;
    padding: 40px;
    background: linear-gradient(180deg, #fff 0%, #fff5f8 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.blessing-header {
    text-align: center;
    margin-bottom: 30px;
}

.blessing-icon-big {
    font-size: 3.5rem;
    margin-bottom: 15px;
}

.blessing-header h2 {
    font-size: 1.8rem;
    color: #333;
    line-height: 1.5;
    background: linear-gradient(135deg, #ff6b9d, #c44569);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.blessing-story {
    text-align: center;
    margin-bottom: 30px;
}

.blessing-story p {
    color: #666;
    font-size: 1rem;
    line-height: 2;
    margin: 0;
}

.blessing-story .highlight-line {
    color: #ff6b9d;
    font-weight: 500;
}

.countdown-section {
    background: linear-gradient(135deg, rgba(255, 107, 157, 0.1), rgba(156, 39, 176, 0.1));
    border-radius: 20px;
    padding: 25px;
    text-align: center;
}

.countdown-title {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 15px;
}

.countdown-timer-modal {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.countdown-item-modal {
    background: white;
    border-radius: 12px;
    padding: 12px 18px;
    min-width: 60px;
    box-shadow: 0 4px 15px rgba(255, 107, 157, 0.15);
}

.countdown-num {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: #ff6b9d;
}

.countdown-label-modal {
    font-size: 0.8rem;
    color: #999;
}

/* 右侧海报区域 */
.blessing-right {
    flex: 1;
    padding: 40px;
    background: linear-gradient(180deg, #ffeef8 0%, #fff0f5 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.poster-preview {
    width: 100%;
    max-width: 280px;
    aspect-ratio: 9/16;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(255, 107, 157, 0.3);
    margin-bottom: 25px;
}

.poster-content {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #fff5f8 0%, #ffeef8 30%, #ffe4f0 60%, #ffd6e8 100%);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 25px 15px 18px;
    border-radius: 24px;
    overflow: hidden;
}

.poster-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 20%, rgba(255, 107, 157, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(156, 39, 176, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.poster-hearts {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.poster-hearts span {
    position: absolute;
    font-size: 1.2rem;
    opacity: 0.3;
    animation: floatHeart 8s ease-in-out infinite;
}

.poster-hearts span:nth-child(1) { top: 10%; left: 10%; animation-delay: 0s; }
.poster-hearts span:nth-child(2) { top: 20%; right: 15%; animation-delay: 1s; }
.poster-hearts span:nth-child(3) { top: 60%; left: 8%; animation-delay: 2s; }
.poster-hearts span:nth-child(4) { top: 75%; right: 10%; animation-delay: 3s; }
.poster-hearts span:nth-child(5) { top: 40%; left: 5%; animation-delay: 4s; }
.poster-hearts span:nth-child(6) { top: 85%; left: 20%; animation-delay: 5s; }

.poster-main {
    position: relative;
    z-index: 2;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    padding: 0 10px;
}

.poster-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #ff6b9d;
    margin-bottom: 8px;
    text-shadow: 0 2px 10px rgba(255, 107, 157, 0.3);
}

.poster-subtitle {
    font-size: 0.9rem;
    color: #999;
    margin-bottom: 18px;
    letter-spacing: 2px;
}

.poster-divider {
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #ff6b9d, transparent);
    margin: 0 auto 18px;
}

.poster-stats {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-bottom: 20px;
}

.poster-stat {
    text-align: center;
}

.poster-stat .stat-num {
    display: block;
    font-size: 1.6rem;
    font-weight: 700;
    color: #c44569;
}

.poster-stat .stat-text {
    font-size: 0.75rem;
    color: #999;
    margin-top: 2px;
}

.poster-quote {
    font-size: 0.95rem;
    color: #666;
    font-style: italic;
    margin-bottom: 6px;
    padding: 0 15px;
    line-height: 1.5;
}

.poster-quote-author {
    font-size: 0.8rem;
    color: #bbb;
    margin-bottom: 12px;
    font-style: italic;
}

.poster-date {
    font-size: 0.75rem;
    color: #bbb;
    letter-spacing: 2px;
}

.poster-footer {
    position: relative;
    z-index: 2;
    width: 100%;
    text-align: center;
    padding-top: 8px;
}

.poster-footer span {
    font-size: 0.7rem;
    color: #ccc;
    letter-spacing: 1px;
}

.poster-actions {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.action-btn {
    padding: 12px 25px;
    border: none;
    border-radius: 25px;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.download-btn {
    background: linear-gradient(135deg, #ff6b9d, #c44569);
    color: white;
    box-shadow: 0 8px 20px rgba(255, 107, 157, 0.3);
}

.download-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(255, 107, 157, 0.4);
}

.share-btn {
    background: white;
    color: #ff6b9d;
    border: 2px solid #ff6b9d;
}

.share-btn:hover {
    background: #ff6b9d;
    color: white;
    transform: translateY(-3px);
}

.poster-tip {
    font-size: 0.8rem;
    color: #999;
}

/* 响应式 */
@media (max-width: 768px) {
    .blessing-modal {
        flex-direction: column;
        max-height: 95vh;
        overflow-y: auto;
    }
    
    .blessing-left,
    .blessing-right {
        padding: 30px 20px;
    }
    
    .blessing-header h2 {
        font-size: 1.5rem;
    }
    
    .poster-preview {
        max-width: 220px;
    }
    
    .poster-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .action-btn {
        width: 100%;
        justify-content: center;
    }
    
    .countdown-timer-modal {
        gap: 10px;
    }
    
    .countdown-item-modal {
        padding: 10px 12px;
        min-width: 50px;
    }
    
    .countdown-num {
        font-size: 1.4rem;
    }
}


/* ==================== 生日专区 - 粉白风格 ==================== */
.birthday-section {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(180deg, #fff5f8 0%, #ffeef5 30%, #fff0f5 60%, #fff8fa 100%);
    overflow: hidden;
    padding: 80px 20px;
}

.birthday-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background: 
        radial-gradient(ellipse at 20% 20%, rgba(255, 107, 157, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(255, 168, 197, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(255, 192, 203, 0.08) 0%, transparent 60%);
}

.birthday-stars {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, rgba(255, 107, 157, 0.4), transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(255, 168, 197, 0.5), transparent),
        radial-gradient(1px 1px at 90px 40px, rgba(255, 107, 157, 0.3), transparent),
        radial-gradient(2px 2px at 130px 80px, rgba(196, 69, 105, 0.4), transparent),
        radial-gradient(1px 1px at 160px 120px, rgba(255, 168, 197, 0.5), transparent);
    background-size: 200px 200px;
    animation: twinkle 4s ease-in-out infinite;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

.birthday-particles {
    position: absolute;
    width: 100%;
    height: 100%;
}

.birthday-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

/* 顶部装饰 */
.birthday-decoration {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
}

.birthday-decoration span {
    font-size: 2rem;
    animation: floatDecoration 3s ease-in-out infinite;
}

.deco-heart { animation-delay: 0s; }
.deco-star { animation-delay: 0.5s; }
.deco-flower { animation-delay: 1s; }

@keyframes floatDecoration {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* 主标题 */
.birthday-header {
    text-align: center;
    margin-bottom: 40px;
}

.birthday-crown {
    font-size: 3rem;
    margin-bottom: 15px;
    animation: crownBounce 2s ease-in-out infinite;
}

@keyframes crownBounce {
    0%, 100% { transform: translateY(0) rotate(-5deg); }
    50% { transform: translateY(-10px) rotate(5deg); }
}

.birthday-title {
    margin-bottom: 20px;
}

.title-line {
    display: block;
    font-size: 1.5rem;
    color: #999;
    letter-spacing: 5px;
    margin-bottom: 10px;
}

.title-name {
    display: block;
    font-size: 4rem;
    font-weight: 700;
    background: linear-gradient(135deg, #ff6b9d, #c44569, #ff6b9d);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s linear infinite;
}

.birthday-date-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: white;
    border: 2px solid rgba(255, 107, 157, 0.3);
    border-radius: 50px;
    padding: 10px 25px;
    box-shadow: 0 5px 20px rgba(255, 107, 157, 0.15);
}

.date-icon {
    font-size: 1.5rem;
}

.date-text {
    color: #ff6b9d;
    font-size: 1.2rem;
    letter-spacing: 3px;
    font-weight: 500;
}

/* 倒计时卡片 */
.birthday-countdown-card {
    background: white;
    border-radius: 30px;
    padding: 40px;
    margin-bottom: 50px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(255, 107, 157, 0.15);
    border: 1px solid rgba(255, 107, 157, 0.1);
}

.countdown-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 107, 157, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.countdown-heading {
    text-align: center;
    color: #666;
    font-size: 1.2rem;
    letter-spacing: 3px;
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
}

.birthday-timer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    position: relative;
    z-index: 1;
}

.timer-item {
    text-align: center;
}

.timer-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: #ff6b9d;
    background: linear-gradient(180deg, #fff5f8, #ffeef5);
    border-radius: 15px;
    padding: 15px 25px;
    min-width: 90px;
    box-shadow: 0 8px 25px rgba(255, 107, 157, 0.15);
    border: 1px solid rgba(255, 107, 157, 0.15);
}

.timer-label {
    color: #999;
    font-size: 0.9rem;
    margin-top: 10px;
    letter-spacing: 2px;
}

.timer-separator {
    font-size: 2.5rem;
    color: #ffa8c5;
    font-weight: 300;
    animation: blink 1s ease-in-out infinite;
}

/* 生日祝福卡片 */
.birthday-wishes {
    margin-bottom: 50px;
}

.wish-card {
    background: white;
    border: 1px solid rgba(255, 107, 157, 0.2);
    border-radius: 25px;
    padding: 40px;
    display: flex;
    gap: 30px;
    align-items: flex-start;
    box-shadow: 0 15px 50px rgba(255, 107, 157, 0.1);
}

.wish-icon {
    font-size: 3rem;
    flex-shrink: 0;
}

.wish-content h4 {
    color: #ff6b9d;
    font-size: 1.3rem;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.wish-text {
    color: #666;
    font-size: 1.1rem;
    line-height: 2;
    margin-bottom: 20px;
}

.wish-text strong {
    color: #c44569;
    font-size: 1.2rem;
}

.wish-signature {
    text-align: right;
    color: #ffa8c5;
    font-style: italic;
    font-size: 1rem;
}

/* 愿望清单 */
.birthday-wishes-list {
    margin-bottom: 50px;
}

.wishes-title {
    text-align: center;
    color: #333;
    font-size: 1.5rem;
    margin-bottom: 30px;
    letter-spacing: 3px;
}

.wishes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.wish-item {
    background: white;
    border: 1px solid rgba(255, 107, 157, 0.15);
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: default;
    box-shadow: 0 5px 20px rgba(255, 107, 157, 0.08);
}

.wish-item:hover {
    background: linear-gradient(180deg, #fff, #fff5f8);
    border-color: rgba(255, 107, 157, 0.4);
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(255, 107, 157, 0.2);
}

.wish-emoji {
    display: block;
    font-size: 2rem;
    margin-bottom: 10px;
}

.wish-name {
    color: #666;
    font-size: 0.95rem;
}

/* 底部祝福 */
.birthday-footer-wish {
    text-align: center;
    padding: 40px;
    background: white;
    border-radius: 30px;
    box-shadow: 0 15px 50px rgba(255, 107, 157, 0.1);
    border: 1px solid rgba(255, 107, 157, 0.1);
}

.footer-hearts {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 25px;
}

.footer-hearts span {
    font-size: 1.8rem;
    animation: heartFloat 2s ease-in-out infinite;
}

.footer-hearts span:nth-child(1) { animation-delay: 0s; }
.footer-hearts span:nth-child(2) { animation-delay: 0.2s; }
.footer-hearts span:nth-child(3) { animation-delay: 0.4s; }
.footer-hearts span:nth-child(4) { animation-delay: 0.6s; }
.footer-hearts span:nth-child(5) { animation-delay: 0.8s; }

@keyframes heartFloat {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-10px) scale(1.1); }
}

.footer-text {
    color: #666;
    font-size: 1.2rem;
    line-height: 2;
}

.footer-text strong {
    display: block;
    margin-top: 15px;
    font-size: 1.5rem;
    color: #ff6b9d;
}

/* 响应式 */
@media (max-width: 768px) {
    .birthday-section {
        padding: 60px 15px;
    }
    
    .title-name {
        font-size: 2.5rem;
    }
    
    .birthday-timer {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .timer-number {
        font-size: 2rem;
        padding: 12px 18px;
        min-width: 65px;
    }
    
    .timer-separator {
        display: none;
    }
    
    .wish-card {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }
    
    .wishes-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .wish-item {
        padding: 15px;
    }
    
    .wish-emoji {
        font-size: 1.5rem;
    }
    
    .wish-name {
        font-size: 0.85rem;
    }
    
    .footer-text {
        font-size: 1rem;
    }
    
    .footer-text strong {
        font-size: 1.2rem;
    }
}


/* 导航栏生日链接特殊样式 */
.nav-birthday {
    background: linear-gradient(135deg, #ff6b9d, #c44569);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
    position: relative;
}

.nav-birthday::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #ff6b9d, #c44569);
    border-radius: 2px;
    animation: navGlow 2s ease-in-out infinite;
}

@keyframes navGlow {
    0%, 100% { opacity: 0.5; transform: scaleX(0.8); }
    50% { opacity: 1; transform: scaleX(1); }
}


/* 导航栏祝福链接样式 */
.nav-blessing {
    background: linear-gradient(135deg, #ff6b9d, #ffa8c5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
    position: relative;
    cursor: pointer;
}

.nav-blessing:hover {
    animation: blessingPulse 0.5s ease;
}

@keyframes blessingPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* 海报引言作者样式 */
.poster-quote-author {
    font-size: 0.7rem;
    color: #bbb;
    margin-top: 5px;
    font-style: italic;
}


/* 海报二维码样式 */
.poster-qrcode {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 15px 0;
}

.qrcode-box {
    width: 85px;
    height: 85px;
    background: white;
    border-radius: 12px;
    padding: 6px;
    box-shadow: 0 5px 15px rgba(255, 107, 157, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.qrcode-box canvas {
    width: 73px !important;
    height: 73px !important;
    border-radius: 6px;
}

.qrcode-box img {
    width: 73px !important;
    height: 73px !important;
    border-radius: 6px;
    object-fit: contain;
}

.qrcode-tip {
    font-size: 0.65rem;
    color: #bbb;
    margin-top: 8px;
    letter-spacing: 1px;
}


/* ==================== 生日祝福锁定状态 ==================== */
.wish-locked {
    text-align: center;
    padding: 30px 20px;
}

.lock-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    animation: lockShake 2s ease-in-out infinite;
}

@keyframes lockShake {
    0%, 100% { transform: rotate(-5deg); }
    50% { transform: rotate(5deg); }
}

.lock-text {
    font-size: 1.1rem;
    color: #999;
    margin-bottom: 10px;
}

.lock-hint {
    font-size: 0.9rem;
    color: #ff6b9d;
    font-weight: 500;
}

.wish-unlocked {
    animation: unlockReveal 1s ease forwards;
}

@keyframes unlockReveal {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ==================== 生日愿望盲盒 ==================== */
.birthday-blindbox {
    margin-bottom: 50px;
    text-align: center;
}

.blindbox-title {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 30px;
    letter-spacing: 3px;
}

.blindbox-container {
    display: flex;
    justify-content: center;
    margin-bottom: 25px;
}

.blindbox-box {
    position: relative;
    width: 150px;
    height: 150px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.blindbox-box:hover {
    transform: scale(1.05);
}

.blindbox-box.locked {
    cursor: not-allowed;
    filter: grayscale(30%);
}

.blindbox-box.locked:hover {
    transform: none;
}

.box-ribbon {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2.5rem;
    z-index: 3;
}

.box-body {
    width: 100%;
    height: 100%;
    background: linear-gradient(145deg, #fff, #fff5f8);
    border: 3px solid #ff6b9d;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 15px 40px rgba(255, 107, 157, 0.25);
    position: relative;
    overflow: hidden;
}

.box-body::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -10%;
    right: -10%;
    height: 20px;
    background: linear-gradient(90deg, #ff6b9d, #ffa8c5, #ff6b9d);
    transform: translateY(-50%);
}

.box-body::after {
    content: '';
    position: absolute;
    top: -10%;
    bottom: -10%;
    left: 50%;
    width: 20px;
    background: linear-gradient(180deg, #ff6b9d, #ffa8c5, #ff6b9d);
    transform: translateX(-50%);
}

.box-icon {
    font-size: 3rem;
    position: relative;
    z-index: 2;
    animation: boxBounce 2s ease-in-out infinite;
}

@keyframes boxBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.box-shadow {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 20px;
    background: radial-gradient(ellipse, rgba(0,0,0,0.15) 0%, transparent 70%);
}

.blindbox-hint {
    color: #666;
    font-size: 1rem;
    margin-bottom: 10px;
}

.blindbox-date {
    color: #ff6b9d;
    font-size: 0.9rem;
    font-weight: 500;
}

.blindbox-btn {
    padding: 15px 40px;
    font-size: 1.1rem;
    background: linear-gradient(135deg, #ff6b9d 0%, #c44569 100%);
    color: white;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(255, 107, 157, 0.4);
    animation: btnPulse 2s ease-in-out infinite;
}

@keyframes btnPulse {
    0%, 100% { box-shadow: 0 10px 30px rgba(255, 107, 157, 0.4); }
    50% { box-shadow: 0 15px 40px rgba(255, 107, 157, 0.6); }
}

.blindbox-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 107, 157, 0.5);
}

.blindbox-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    animation: none;
    box-shadow: none;
}

.blindbox-tip {
    color: #999;
    font-size: 0.9rem;
    margin-top: 15px;
}

/* 盲盒开启动画 */
.blindbox-box.opening {
    animation: boxOpen 1s ease forwards;
}

@keyframes boxOpen {
    0% { transform: scale(1) rotate(0deg); }
    25% { transform: scale(1.1) rotate(-5deg); }
    50% { transform: scale(1.2) rotate(5deg); }
    75% { transform: scale(1.1) rotate(-3deg); }
    100% { transform: scale(0) rotate(0deg); opacity: 0; }
}

/* 抽取结果 */
.blindbox-result {
    animation: resultReveal 0.8s ease forwards;
}

@keyframes resultReveal {
    from { opacity: 0; transform: scale(0.5); }
    to { opacity: 1; transform: scale(1); }
}

.result-card {
    background: white;
    border-radius: 25px;
    padding: 40px;
    max-width: 350px;
    margin: 0 auto 20px;
    box-shadow: 0 20px 50px rgba(255, 107, 157, 0.2);
    border: 2px solid rgba(255, 107, 157, 0.3);
    position: relative;
    overflow: hidden;
}

.result-sparkles {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 1.5rem;
    animation: sparkle 1s ease-in-out infinite;
}

@keyframes sparkle {
    0%, 100% { opacity: 1; transform: scale(1) rotate(0deg); }
    50% { opacity: 0.5; transform: scale(1.2) rotate(180deg); }
}

.result-emoji {
    font-size: 4rem;
    margin-bottom: 15px;
}

.result-wish {
    font-size: 1.3rem;
    color: #ff6b9d;
    font-weight: 600;
    margin-bottom: 15px;
}

.result-message {
    font-size: 0.95rem;
    color: #999;
}

.result-hint {
    color: #666;
    font-size: 0.9rem;
}


/* 庆祝粒子动画 */
@keyframes celebrationFloat {
    0% {
        opacity: 1;
        transform: translateY(0) scale(1) rotate(0deg);
    }
    100% {
        opacity: 0;
        transform: translateY(-150px) scale(0.5) rotate(360deg);
    }
}


/* ==================== 建议指导密码保护 ==================== */
.advice-lock {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
}

.lock-card {
    background: white;
    border-radius: 30px;
    padding: 50px 60px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(255, 107, 157, 0.15);
    max-width: 450px;
    width: 100%;
}

.lock-icon-big {
    font-size: 4rem;
    margin-bottom: 20px;
}

.lock-card h3 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 10px;
}

.lock-card > p {
    color: #999;
    margin-bottom: 30px;
}

.password-input-group {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.password-input-group input {
    flex: 1;
    padding: 15px 20px;
    border: 2px solid #eee;
    border-radius: 15px;
    font-size: 1.1rem;
    outline: none;
    transition: border-color 0.3s ease;
    text-align: center;
    letter-spacing: 3px;
}

.password-input-group input:focus {
    border-color: #ff6b9d;
}

.unlock-btn {
    padding: 15px 30px;
    background: linear-gradient(135deg, #ff6b9d, #c44569);
    color: white;
    border: none;
    border-radius: 15px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.unlock-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 107, 157, 0.4);
}

.password-hint {
    font-size: 0.9rem;
    color: #ff6b9d;
    min-height: 20px;
}

.password-hint.error {
    color: #f5576c;
    animation: shake 0.5s ease;
}

.password-hint.success {
    color: #38ef7d;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-10px); }
    40%, 80% { transform: translateX(10px); }
}

.advice-unlocked {
    animation: fadeInUp 0.8s ease;
}
