:root {
    --primary-color: #ff2e63;
    --secondary-color: #08d9d6;
    --bg-dark: #1a1a2e;
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --text-color: #ffffff;
    --card-width: 900px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-dark);
    font-family: 'Poppins', 'Segoe UI', sans-serif;
    color: var(--text-color);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
}

/* 动态背景圆形 */
.background-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.8;
    animation: moveCircles 20s infinite alternate;
}

.circle-1 {
    width: 400px;
    height: 400px;
    background: var(--primary-color);
    top: -100px;
    right: -100px;
}

.circle-2 {
    width: 300px;
    height: 300px;
    background: var(--secondary-color);
    bottom: -50px;
    left: -50px;
    animation-delay: -5s;
}

.circle-3 {
    width: 200px;
    height: 200px;
    background: #eaeaea;
    top: 40%;
    left: 40%;
    opacity: 0.3;
    animation-duration: 25s;
}

@keyframes moveCircles {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(50px, 50px) scale(1.2);
    }
}

/* Glass Card 容器 */
.container {
    padding: 20px;
    perspective: 1000px;
}

.glass-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: var(--card-width);
    max-width: 100%;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 50px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    transform-style: preserve-3d;
    transition: transform 0.5s;
}

.content {
    flex: 1;
    padding-right: 40px;
    transform: translateZ(30px);
    /* 3D 浮动效果 */
}

.subtitle {
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin-bottom: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    font-family: 'Zcool XiaoWei', serif;
    /* 如果中文字体加载失败，回退到 serif */
}

.title .highlight {
    background: linear-gradient(to right, var(--secondary-color), var(--primary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.description {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.8);
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.image-area {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: translateZ(50px);
    /* 让图片更突出 */
}

.img-wrapper {
    width: 350px;
    height: 350px;
    border-radius: 20px;
    overflow: hidden;
    border: 5px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    position: relative;
    /* 可选：添加一些形状变换 */
    /* border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; */
}

.img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.glass-card:hover .img-wrapper img {
    transform: scale(1.1);
}

/* 响应式适配 */
@media (max-width: 900px) {
    .glass-card {
        flex-direction: column-reverse;
        padding: 30px;
        text-align: center;
    }

    .content {
        padding-right: 0;
        margin-top: 30px;
    }

    .title {
        font-size: 2.5rem;
    }

    .img-wrapper {
        width: 250px;
        height: 250px;
    }
}

/* 漂浮表情包特效 */
.confetti {
    position: fixed;
    top: -50px;
    z-index: 9999;
    user-select: none;
    pointer-events: none;
    animation: fall linear forwards;
}

@keyframes fall {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
    }

    100% {
        transform: translateY(110vh) rotate(360deg);
        opacity: 0;
    }
}