* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', sans-serif;
    background: #fff8e7;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(255, 200, 150, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 180, 200, 0.15) 0%, transparent 50%);
    min-height: 100vh;
    color: #333;
}

.container {
    width: 100%;
    min-height: 100vh;
}

/* 顶部标题栏 */
.page-header {
    background: linear-gradient(90deg, #f5d199 0%, #f8c896 50%, #f5d199 100%);
    padding: 18px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border-bottom: 3px solid #fff;
}

.home-icon {
    width: 45px;
    height: 45px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.header-title {
    font-size: 26px;
    color: #fff;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(180, 100, 50, 0.5);
    letter-spacing: 3px;
    flex: 1;
    text-align: left;
    margin-left: 20px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.back-icon {
    font-size: 22px;
    color: #c4623d;
    cursor: pointer;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.user-icon {
    font-size: 22px;
    width: 40px;
    height: 40px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.username {
    color: #e85a5a;
    font-size: 14px;
    font-weight: bold;
}

/* 主内容区 */
.main-content {
    padding: 35px 50px;
}

/* 标题 */
.section-title {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 35px;
    background: #fff;
    padding: 10px 25px;
    border-radius: 10px;
    border: 2px solid #ff6b6b;
    box-shadow: 3px 3px 0 #ff6b6b;
}

.title-text {
    font-size: 26px;
    font-weight: bold;
    color: #ff6b6b;
    letter-spacing: 4px;
}

.title-dot {
    width: 10px;
    height: 10px;
    background: #ffa500;
    border-radius: 50%;
}

/* 卡片网格 */
.card-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1400px;
}

/* 卡片基础样式 */
.care-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    display: flex;
    height: 200px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.care-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.care-card.disabled {
    cursor: not-allowed;
    opacity: 0.85;
}

.care-card.disabled:hover {
    transform: translateY(-3px);
}

/* 左侧彩色文字区 */
.card-label {
    width: 35%;
    padding: 25px 0;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    writing-mode: vertical-rl;
    text-orientation: upright;
    letter-spacing: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1.4;
}

/* 右侧图片区 */
.card-image {
    flex: 1;
    overflow: hidden;
    background: #f0f0f0;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.care-card:hover .card-image img {
    transform: scale(1.08);
}

/* 颜色主题 */
.color-purple .card-label {
    background: #b8a4d4;
}

.color-pink .card-label {
    background: #e88d8d;
}

.color-cyan .card-label {
    background: #7ec5c1;
}

.color-orange .card-label {
    background: #e89556;
}

/* 响应式 */
@media (max-width: 1200px) {
    .card-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .card-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .header-title {
        font-size: 20px;
        letter-spacing: 1px;
    }
    .main-content {
        padding: 20px;
    }
}

@media (max-width: 600px) {
    .card-grid {
        grid-template-columns: 1fr;
    }
}