/* 全局重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 20px;
}

.container {
    max-width: 1000px;
    width: 100%;
    text-align: center;
}

/* 标题区域 */
.header {
    margin-bottom: 50px;
}

.header h1 {
    font-size: 42px;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    letter-spacing: 2px;
}

.header p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.85);
    margin-top: 12px;
    font-weight: 300;
}

/* 卡片网格 */
.card-grid {
    display: flex;
    justify-content: center;
    gap: 36px;
    flex-wrap: wrap;
}

/* 单个卡片 */
.card {
    background: #ffffff;
    border-radius: 20px;
    padding: 44px 38px;
    width: 260px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: block;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25);
}

.card:active {
    transform: scale(0.97);
}

/* 卡片图标 */
.card-icon {
    font-size: 64px;
    margin-bottom: 18px;
    line-height: 1;
}

/* 卡片标题 */
.card-title {
    font-size: 24px;
    font-weight: 650;
    color: #1a237e;
    margin-bottom: 8px;
}

/* 卡片描述 */
.card-desc {
    font-size: 15px;
    color: #666;
    line-height: 1.5;
}

/* 社区系统图标颜色 */
.card-community .card-icon {
    color: #667eea;
}

/* 短视频系统图标颜色 */
.card-video .card-icon {
    color: #e91e63;
}

/* 健身房预约系统图标颜色 */
.card-gym .card-icon {
    color: #f97316;
}

/* Xinsugar 系统图标颜色（新增） */
.card-xinsugar .card-icon {
    color: #ff6b9d;
}

/* ========== 个人技术测试声明 ========== */
.disclaimer {
    margin-top: 50px;
    padding: 14px 22px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 10px;
    backdrop-filter: blur(6px);
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}

.disclaimer p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

/* ========== 页脚 / 备案 ========== */
.footer {
    margin-top: 30px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    line-height: 1.8;
}

.footer .copyright {
    margin-bottom: 6px;
}

.footer .beian-links {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

.footer .beian-links a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: color 0.2s;
}

.footer .beian-links a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.footer .beian-links .sep {
    color: rgba(255, 255, 255, 0.4);
    margin: 0 4px;
}

.footer .beian-icon {
    width: 16px;
    height: 16px;
    vertical-align: middle;
    margin-right: 4px;
    border-radius: 2px;
}

/* 响应式 */
@media (max-width: 768px) {
    .header h1 {
        font-size: 30px;
    }

    .card {
        width: 230px;
        padding: 34px 28px;
    }

    .card-grid {
        gap: 24px;
    }

    .disclaimer {
        margin-top: 36px;
        padding: 12px 16px;
    }

    .disclaimer p {
        font-size: 13px;
    }
}