* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #2a1b2e 0%, #3d2645 30%, #2e1f3d 70%, #1f1528 100%);
    color: #fff;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* 添加柔和的背景光晕效果 */
body::before {
    content: '';
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 40%, rgba(255, 107, 157, 0.12) 0%, transparent 50%),
                radial-gradient(circle at 70% 60%, rgba(255, 139, 171, 0.10) 0%, transparent 50%),
                radial-gradient(circle at 50% 50%, rgba(255, 182, 193, 0.05) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
    animation: glow-move 20s ease-in-out infinite;
}

@keyframes glow-move {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    33% {
        transform: translate(-5%, -5%) rotate(120deg);
    }
    66% {
        transform: translate(5%, 5%) rotate(240deg);
    }
}

.container {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 1;
}

/* 语言切换器 */
.language-switcher {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    gap: 10px;
}

.lang-btn {
    background: rgba(61, 38, 69, 0.6);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 107, 157, 0.35);
    color: #ffc2d1;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 157, 0.2);
}

.lang-btn:hover {
    background: rgba(255, 107, 157, 0.2);
    border-color: #ff6b9d;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 157, 0.3);
}

.lang-btn.active {
    background: rgba(255, 107, 157, 0.3);
    border-color: #ff6b9d;
    color: #ff6b9d;
    box-shadow: 0 0 20px rgba(255, 107, 157, 0.4);
}

/* 背景漂浮爱心 */
.background-hearts {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.heart {
    position: absolute;
    bottom: -50px;
    font-size: 2rem;
    animation: float-up 8s infinite ease-in;
    opacity: 0.15;
    left: var(--left);
    animation-delay: var(--delay);
}

@keyframes float-up {
    0% {
        bottom: -50px;
        opacity: 0;
        transform: translateX(0) rotate(0deg);
    }
    50% {
        opacity: 0.15;
    }
    100% {
        bottom: 110vh;
        opacity: 0;
        transform: translateX(100px) rotate(360deg);
    }
}

/* 主内容 */
.content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 700px;
    width: 100%;
}

/* Logo 部分 */
.logo-section {
    margin-bottom: 1.5rem;
    animation: fade-in-down 1s ease-out;
}

.logo {
    font-size: 4rem;
    font-weight: bold;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 20px rgba(255, 105, 135, 0.5);
}

.logo .x {
    color: #ff6b9d;
    animation: pulse-x 2s infinite alternate;
}

.logo .o {
    color: #ff8fab;
    animation: pulse-o 2s infinite alternate;
}

.logo .ca {
    color: #ffc2d1;
    font-size: 0.6em;
    opacity: 0.9;
}

@keyframes pulse-x {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

@keyframes pulse-o {
    0% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.tagline {
    font-size: 1.2rem;
    color: #ffc2d1;
    font-style: italic;
    opacity: 0.9;
}

/* 消息框 */
.message-box {
    background: rgba(61, 38, 69, 0.5);
    backdrop-filter: blur(15px);
    border: 2px solid rgba(255, 107, 157, 0.4);
    border-radius: 20px;
    padding: 2rem 1.8rem;
    margin-bottom: 1.5rem;
    animation: fade-in-up 1s ease-out 0.3s both;
    box-shadow: 0 8px 32px rgba(255, 107, 157, 0.3),
                inset 0 1px 0 rgba(255, 107, 157, 0.15);
    transition: all 0.3s ease;
}

.message-box h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #ff6b9d;
    text-shadow: 0 0 10px rgba(255, 107, 157, 0.5);
}

.description {
    font-size: 1.15rem;
    line-height: 1.6;
    margin-bottom: 1.2rem;
    color: #e0e0e0;
}

.highlight {
    color: #ff6b9d;
    font-weight: bold;
    position: relative;
    padding: 0 5px;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #ff6b9d, transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* 提示框 */
/* 动态文案轮播 */
.rotating-text {
    position: relative;
    height: 40px;
    margin: 1.2rem 0;
    overflow: hidden;
}

.rotate-item {
    position: absolute;
    width: 100%;
    text-align: center;
    font-size: 1rem;
    color: #ffc2d1;
    font-weight: 500;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
    font-style: italic;
}

.rotate-item.active {
    opacity: 1;
    transform: translateY(0);
}

.hint-box {
    background: rgba(255, 107, 157, 0.1);
    border-left: 4px solid #ff6b9d;
    padding: 1rem 1.2rem;
    margin: 1.2rem 0;
    border-radius: 10px;
    text-align: left;
    box-shadow: 0 2px 10px rgba(255, 107, 157, 0.15);
}

.hint-box p {
    margin: 0.4rem 0;
    font-size: 1rem;
}

.whisper {
    font-size: 0.9rem !important;
    color: #ff8fab;
    font-style: italic;
    opacity: 0.8;
}

.easter-egg-hint {
    font-size: 0.8rem !important;
    color: #ff6b9d;
    opacity: 0.6;
    margin-top: 0.8rem !important;
    animation: blink 2s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 0.3; }
}

/* 倒计时部分 */
.countdown-section {
    margin-top: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
}

.countdown-label {
    font-size: 1rem;
    color: #ffc2d1;
    font-weight: 600;
}

.pulse-dot {
    width: 12px;
    height: 12px;
    background: #ff6b9d;
    border-radius: 50%;
    animation: pulse-dot 1.5s infinite;
    box-shadow: 0 0 10px #ff6b9d;
}

@keyframes pulse-dot {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.5);
        opacity: 0.5;
    }
}

/* 进度条 */
.progress-container {
    margin-top: 1.2rem;
    padding-top: 1.2rem;
    border-top: 1px solid rgba(255, 107, 157, 0.2);
}

.progress-label {
    font-size: 0.85rem;
    color: #ffc2d1;
    margin-bottom: 0.6rem;
    text-align: center;
}

.progress-bar {
    position: relative;
    width: 100%;
    height: 25px;
    background: rgba(31, 21, 40, 0.6);
    border-radius: 15px;
    overflow: hidden;
    border: 2px solid rgba(255, 107, 157, 0.35);
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.4);
}

.progress-fill {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #ff6b9d, #ff8fab, #ff6b9d);
    background-size: 200% 100%;
    animation: progress-shimmer 2s infinite;
    border-radius: 15px;
    box-shadow: 0 0 20px rgba(255, 107, 157, 0.6);
    transition: width 0.1s ease;
}

.progress-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 0.9rem;
    font-weight: bold;
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 107, 157, 0.8);
    z-index: 1;
}

@keyframes progress-shimmer {
    0%, 100% {
        background-position: 0% 0%;
    }
    50% {
        background-position: 100% 0%;
    }
}

/* 页脚 */
.footer {
    animation: fade-in 1s ease-out 0.6s both;
    opacity: 0.7;
}

.contact-email {
    margin-bottom: 1rem;
    font-size: 0.95rem;
    color: #c0c0c0;
}

.email-link {
    color: #ff8fab;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.email-link:hover {
    color: #ff6b9d;
    border-bottom-color: #ff6b9d;
    text-shadow: 0 0 8px rgba(255, 107, 157, 0.6);
}

.footer p {
    margin: 0.5rem 0;
    font-size: 0.9rem;
    color: #a0a0a0;
}

.footer-note {
    color: #ff8fab;
    font-size: 0.85rem !important;
    font-weight: 500;
}

/* 动画 */
@keyframes fade-in-down {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fade-in {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* 鼠标点击爱心特效 */
.click-heart {
    position: fixed;
    font-size: 1.5rem;
    pointer-events: none;
    z-index: 9999;
    animation: float-away 2s ease-out forwards;
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes float-away {
    0% {
        opacity: 1;
        transform: translate(0, 0) scale(0) rotate(0deg);
    }
    50% {
        opacity: 1;
        transform: translate(0, -50px) scale(1.2) rotate(180deg);
    }
    100% {
        opacity: 0;
        transform: translate(0, -100px) scale(0.8) rotate(360deg);
    }
}

/* 鼠标光标特效 */
body {
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><text y="20" font-size="20">💖</text></svg>'), auto;
}

.lang-btn, .logo, .message-box {
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><text y="20" font-size="20">👆</text></svg>'), pointer;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .language-switcher {
        top: 15px;
        right: 15px;
        gap: 8px;
    }
    
    .lang-btn {
        padding: 6px 12px;
        font-size: 0.85rem;
    }
    
    .logo {
        font-size: 3rem;
    }
    
    .logo-section {
        margin-bottom: 1.2rem;
    }
    
    .tagline {
        font-size: 1rem;
    }
    
    .message-box {
        padding: 1.5rem 1.3rem;
    }
    
    .message-box h2 {
        font-size: 1.6rem;
        margin-bottom: 0.8rem;
    }
    
    .description {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    
    .rotating-text {
        height: 35px;
        margin: 1rem 0;
    }
    
    .rotate-item {
        font-size: 0.9rem;
    }
    
    .hint-box {
        padding: 0.9rem 1rem;
        margin: 1rem 0;
    }
    
    .hint-box p {
        font-size: 0.9rem;
    }
    
    .progress-container {
        margin-top: 1rem;
        padding-top: 1rem;
    }
}

@media (max-width: 480px) {
    .language-switcher {
        top: 10px;
        right: 10px;
        gap: 6px;
    }
    
    .lang-btn {
        padding: 5px 10px;
        font-size: 0.8rem;
        border-radius: 15px;
    }
    
    .logo {
        font-size: 2.5rem;
    }
    
    .logo-section {
        margin-bottom: 1rem;
    }
    
    .tagline {
        font-size: 0.95rem;
    }
    
    .message-box {
        padding: 1.2rem 1rem;
    }
    
    .message-box h2 {
        font-size: 1.4rem;
        margin-bottom: 0.7rem;
    }
    
    .description {
        font-size: 0.95rem;
        margin-bottom: 0.9rem;
    }
    
    .rotating-text {
        height: 30px;
        margin: 0.8rem 0;
    }
    
    .rotate-item {
        font-size: 0.85rem;
    }
    
    .hint-box {
        padding: 0.8rem;
        margin: 0.8rem 0;
    }
    
    .hint-box p {
        font-size: 0.85rem;
    }
    
    .progress-bar {
        height: 22px;
    }
    
    .progress-text {
        font-size: 0.8rem;
    }
    
    .contact-email {
        font-size: 0.85rem;
    }
    
    .email-link {
        word-break: break-all;
    }
}

