/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-color: #e6f4f9;
    --orange-color: #ff6d00;
    --blue-color: #2196f3;
    --purple-color: #9c27b0;
    --text-dark: #333333;
    --text-light: #666666;
    --card-bg: #ffffff;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    background: var(--bg-color);
    min-height: 100vh;
    overflow-x: hidden;
}

/* 顶部导航 */
.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: transparent;
}

.back-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: var(--text-dark);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.back-btn:hover {
    opacity: 0.7;
}

.contact-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.9rem;
    transition: opacity 0.3s ease;
}

.contact-btn:hover {
    opacity: 0.7;
}

/* 主内容区 */
.main-content {
    padding: 20px;
    max-width: 750px;
    margin: 0 auto;
}

/* 欢迎区域 */
.welcome-section {
    padding: 30px 0 40px;
}

.welcome-title {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--text-dark);
    line-height: 1.4;
    margin-bottom: 12px;
}

.welcome-desc {
    font-size: 0.95rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 6px;
}

.red-packet {
    font-size: 1.1rem;
}

/* 选项卡片容器 */
.options-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* 选项卡片 */
.option-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--card-bg);
    border-radius: 16px;
    padding: 28px 24px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    cursor: pointer;
}

.option-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.option-card:active {
    transform: scale(0.98);
}

.option-content {
    flex: 1;
}

.option-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 8px;
}

.option-desc {
    font-size: 0.95rem;
    color: var(--text-light);
}

.option-arrow {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-left: 16px;
}

.option-arrow svg {
    width: 24px;
    height: 24px;
}

/* 橙色主题 - 找代练 */
.option-card.orange .option-title {
    color: var(--orange-color);
}

.option-card.orange .option-arrow {
    background: linear-gradient(135deg, #ff6d00, #ff9100);
    color: white;
}

/* 蓝色主题 - 做代练 */
.option-card.blue .option-title {
    color: var(--blue-color);
}

.option-card.blue .option-arrow {
    background: linear-gradient(135deg, #1976d2, #2196f3);
    color: white;
}

/* 紫色主题 - 成为商户 */
.option-card.purple .option-title {
    color: var(--purple-color);
}

.option-card.purple .option-arrow {
    background: linear-gradient(135deg, #7b1fa2, #9c27b0);
    color: white;
}

/* 响应式优化 */
@media (max-width: 375px) {
    .welcome-title {
        font-size: 1.5rem;
    }

    .option-card {
        padding: 24px 20px;
    }

    .option-title {
        font-size: 1.3rem;
    }
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.option-card {
    animation: fadeInUp 0.5s ease forwards;
}

.option-card:nth-child(1) {
    animation-delay: 0.1s;
}

.option-card:nth-child(2) {
    animation-delay: 0.2s;
}

.option-card:nth-child(3) {
    animation-delay: 0.3s;
}
