* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", Arial;
}

/* 🌈 页面背景 */
body {
    min-height: 100vh;
    width: 100%;
    margin: 0;

    background: radial-gradient(circle at top, #ffe3ee, #ffffff);
    overflow-x: hidden;

    /* 允许滚动，不压缩卡片 */
    display: block;
    padding: 40px 0 60px;
}

/* 🌸 背景光 */
.bg {
    position: fixed;
    inset: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(255,120,170,0.22), transparent 45%),
        radial-gradient(circle at 80% 70%, rgba(255,180,210,0.22), transparent 45%);
    filter: blur(80px);
    z-index: -1;
}

/* 📱 居中容器 */
.app {
    width: 92%;
    max-width: 420px;
    margin: 0 auto;

    min-height: calc(100vh - 120px);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 💕 主卡片 */
.main-card {
    width: 100%;
    text-align: center;
    padding: 22px;
    border-radius: 28px;

    background: rgba(255,255,255,0.88);
    backdrop-filter: blur(20px);
    box-shadow: 0 25px 70px rgba(0,0,0,0.08);

    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* logo */
.logo {
    font-size: 46px;
}

/* 标题 */
h1 {
    font-size: 26px;
}

/* 副标题 */
.subtitle {
    font-size: 13px;
    color: #666;
}

/* 在线人数 */
.online {
    font-size: 13px;
    color: #444;
}

/* 🔥 按钮基础 */
.big-btn {
    display: block;
    padding: 16px;
    border-radius: 20px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: 0.2s;
}

/* 🔥 主按钮（强呼吸 + 粉渐变） */
.big-btn.primary {
    background: linear-gradient(135deg,#ff4d7d,#ff9ac1);
    color: white;
    box-shadow: 0 18px 40px rgba(255,77,125,0.35);
    animation: pulse 2.2s infinite;
}

/* 👥 同城按钮（弱呼吸 + 次级渐变） */
.big-btn:not(.primary) {
    background: linear-gradient(135deg, #ffffff, #f7f7ff);
    color: #333;
    box-shadow: 0 10px 25px rgba(0,0,0,0.06);
    animation: pulseSoft 3.8s ease-in-out infinite;
}

/* hint */
.hint {
    margin-top: 6px;
    font-size: 13px;
    color: #666;
}

/* stats */
.stats {
    margin-top: 6px;
    padding: 12px;
    border-radius: 16px;
    background: rgba(255,255,255,0.6);
    font-size: 12px;
    color: #444;
    line-height: 1.6;
}

/* 💓 强呼吸 */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.03); }
    100% { transform: scale(1); }
}

/* 🌿 弱呼吸 */
@keyframes pulseSoft {
    0% { transform: scale(1); }
    50% { transform: scale(1.015); }
    100% { transform: scale(1); }
}