* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Noto Sans SC', sans-serif;
}

body {
    background-color: #f8f9fa;
    color: #333;
    padding-bottom: 60px;
}

.container {
    max-width: 480px;
    margin: 0 auto;
    background: #fff;
    min-height: 100vh;
    box-shadow: 0 0 20px rgba(0,0,0,0.05);
    position: relative;
}

/* 顶部导航 */
.top-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: linear-gradient(135deg, #4361ee, #3a0ca3);
    color: white;
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo i {
    font-size: 28px;
}

.site-url {
    font-size: 12px;
    background: rgba(255,255,255,0.15);
    padding: 4px 10px;
    border-radius: 20px;
}

/* 轮播图 */
.slider-container {
    position: relative;
    height: 140px;
    overflow: hidden;
    margin: 10px 15px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.slider {
    display: flex;
    transition: transform 0.5s ease;
    height: 100%;
}

.slide {
    min-width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.slider-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
}

.dot.active {
    background: white;
}

.marquee {
    display: inline-block;
    padding-left: 100%;
    animation: marquee 15s linear infinite;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

/* 页面内容 */
.page {
    display: none;
    padding: 15px 15px 80px;
    min-height: calc(100vh - 60px);
}

.page.active {
    display: block;
}

.section-title {
    font-size: 20px;
    font-weight: 700;
    margin: 15px 0 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #4361ee;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* 首页品牌卡片 */
.brand-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.brand-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    cursor: pointer;
}

.brand-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}

.brand-img {
    width: 100%;
    height: 100px;
    background-size: cover;
    background-position: center;
}

.brand-name {
    padding: 10px 5px;
    text-align: center;
    font-size: 13px;
    font-weight: 500;
}

/* 反馈区样式 */
.feed-container {
    margin-top: 20px;
}

.feed-form {
    background: #fff;
    border-radius: 15px;
    padding: 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    margin-bottom: 25px;
}

.feed-form textarea {
    width: 100%;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 12px;
    font-size: 14px;
    resize: none;
    height: 80px;
    margin-bottom: 10px;
}

.feed-form textarea:focus {
    outline: none;
    border-color: #4361ee;
}

.upload-area {
    margin: 10px 0;
    position: relative;
    height: 120px;
    border: 2px dashed #ccc;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s;
}

.upload-area:hover {
    border-color: #4361ee;
    background: #f0f7ff;
}

.upload-area i {
    font-size: 36px;
    color: #4361ee;
    margin-bottom: 10px;
}

.upload-text {
    font-size: 14px;
    color: #666;
}

.upload-preview {
    display: flex;
    gap: 10px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.preview-item {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.preview-item .remove-btn {
    position: absolute;
    top: 0;
    right: 0;
    background: rgba(0,0,0,0.5);
    color: white;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0 0 0 8px;
    cursor: pointer;
}

.feed-form button {
    background: #4361ee;
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    display: block;
    margin-left: auto;
    transition: background 0.3s;
}

.feed-form button:hover {
    background: #3a0ca3;
}

.feed-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feed-item {
    background: #fff;
    border-radius: 15px;
    padding: 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    position: relative;
}

.pending-tag {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #ff9800;
    color: white;
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 10px;
}

.feed-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.feed-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-size: cover;
}

.feed-user {
    font-weight: 500;
}

.feed-time {
    font-size: 12px;
    color: #888;
}

.feed-content {
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 10px;
}

.feed-images {
    display: flex;
    gap: 10px;
    margin: 10px 0;
    flex-wrap: wrap;
}

.feed-image {
    width: 100px;
    height: 100px;
    border-radius: 8px;
    object-fit: cover;
}

.feed-actions {
    display: flex;
    gap: 15px;
    padding-top: 10px;
    border-top: 1px solid #f0f0f0;
}

.feed-action {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    color: #666;
}

/* 福利区样式 */
.benefit-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 20px;
}

.benefit-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.benefit-img {
    height: 140px;
    background-size: cover;
    background-position: center;
}

.benefit-content {
    padding: 15px;
}

.benefit-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}

.benefit-desc {
    font-size: 13px;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.4;
}

.benefit-button {
    background: linear-gradient(to right, #f72585, #b5179e);
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    width: 100%;
    cursor: pointer;
    transition: opacity 0.3s;
}

.benefit-button:hover {
    opacity: 0.9;
}

/* 个人中心样式 - 修改版 */
.profile-header {
    background: linear-gradient(135deg, #4361ee, #3a0ca3);
    padding: 30px 20px 60px;
    text-align: center;
    color: white;
    border-radius: 0 0 20px 20px;
    margin-bottom: 30px;
    position: relative;
}

.profile-avatar {
    position: absolute;
    top: 15px;
    left: 15px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 3px solid rgba(255,255,255,0.3);
    background-size: cover;
    z-index: 10;
}

.profile-name {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 5px;
}

.profile-bio {
    font-size: 14px;
    opacity: 0.9;
    max-width: 280px;
    margin: 0 auto;
}

.profile-stats {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 20px;
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-size: 18px;
    font-weight: 700;
}

.stat-label {
    font-size: 13px;
    opacity: 0.8;
}

.profile-menu {
    padding: 0 15px;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin: 20px 0;
}

.menu-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 12px;
    padding: 20px 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    text-align: center;
    transition: all 0.3s;
    cursor: pointer;
}

.menu-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

.menu-btn i {
    font-size: 32px;
    margin-bottom: 12px;
    color: #4361ee;
}

.menu-btn .btn-title {
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 5px;
}

.menu-btn .btn-desc {
    font-size: 12px;
    color: #666;
}

.menu-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px 15px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 16px;
    color: #444;
    transition: background 0.3s;
}

.menu-item:hover {
    background: #f5f7ff;
}

.menu-item i {
    width: 24px;
    text-align: center;
    font-size: 18px;
    color: #4361ee;
}

/* 底部导航 */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    display: flex;
    box-shadow: 0 -4px 12px rgba(0,0,0,0.05);
    z-index: 100;
    max-width: 480px;
    margin: 0 auto;
}

.nav-item {
    flex: 1;
    text-align: center;
    padding: 12px 5px;
    color: #888;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-item.active {
    color: #4361ee;
}

.nav-item i {
    display: block;
    font-size: 20px;
    margin-bottom: 4px;
}

.nav-item:hover {
    color: #3a0ca3;
}

/* 管理员编辑按钮 */
.admin-edit {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(67, 97, 238, 0.1);
    color: #4361ee;
    border: none;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 12px;
    cursor: pointer;
}
/* 修复字体颜色和底部线条 */
.card-link {
    display: block;
    text-decoration: none; /* 移除下划线 */
    color: #222; /* 设置文本颜色为深灰色 */
}

.brand-name {
    padding: 2px 20px;
    text-align: center;
    font-size: 0.8rem;
    font-weight: 700;
    color: #222; /* 确保文本为黑色 */
    text-decoration: none; /* 再次确保没有下划线 */
    border: none; /* 移除任何边框 */
}

/* 移除可能存在的伪元素下划线 */
.brand-name::after {
    display: none;
}