/* 美妆技巧页面样式 - 增强版 */
    max-width: 100%;
    box-sizing: border-box;
    max-width: 100%;
    box-sizing: border-box;

/* 精选技巧文章 */
.featured-tip {
    padding: 60px 0;
    background: linear-gradient(135deg, #fff5f8, #ffe0eb);
}

.featured-card {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    align-items: center;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.featured-image {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: linear-gradient(135deg, #ff6b9d, #ff3d7f);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
    box-shadow: 0 3px 10px rgba(255, 107, 157, 0.4);
}

.featured-content {
    padding: 40px 40px 40px 0;
}

.featured-content .tip-category {
    display: inline-block;
    background: #fff5f8;
    color: #ff6b9d;
    padding: 6px 15px;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.featured-content h2 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 20px;
    line-height: 1.4;
}

.featured-content p {
    color: #555;
    line-height: 2;
    margin-bottom: 20px;
}

.article-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    color: #999;
    font-size: 0.95rem;
}

.article-meta i {
    color: #ff6b9d;
    margin-right: 5px;
}

.btn-read {
    display: inline-block;
    padding: 12px 35px;
    background: linear-gradient(135deg, #ff6b9d, #ff3d7f);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-read:hover {
    transform: translateY(-3px);
    max-width: 100%;
    box-sizing: border-box;
    box-shadow: 0 8px 20px rgba(255, 107, 157, 0.4);
}

/* 技巧分类标签 */
.tips-categories {
    padding: 40px 0 80px;
}

.category-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 12px 30px;
    border: 2px solid #ff6b9d;
    background: white;
    color: #ff6b9d;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s;
}

.tab-btn:hover {
    background: #ff6b9d;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 157, 0.3);
}

    max-width: 100%;
    box-sizing: border-box;
.tab-btn.active {
    background: #ff6b9d;
    color: white;
}

/* 技巧卡片网格 */
.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.tip-card {
    background: white;
    padding: 35px 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    display: flex;
    gap: 20px;
}

.tip-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #ff6b9d, #ff3d7f);
    transform: translateX(-100%);
    transition: transform 0.3s;
}

.tip-card:hover::before {
    transform: translateX(0);
}

.tip-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.tip-icon {
    width: 60px;
    height: 60px;
    min-width: 60px;
    background: linear-gradient(135deg, #fff5f8, #ffe0eb);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 5px;
}

.tip-icon i {
    font-size: 1.5rem;
    color: #ff6b9d;
}

.tip-content {
    flex: 1;
}

.tip-category {
    display: inline-block;
    background: #fff5f8;
    color: #ff6b9d;
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.tip-content h3 {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 12px;
    line-height: 1.4;
}

.tip-content p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.tip-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    color: #999;
    font-size: 0.85rem;
}

.tip-meta i {
    color: #ff6b9d;
    margin-right: 3px;
}

.read-more {
    color: #ff6b9d;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s;
    font-size: 0.95rem;
    max-width: 100%;
    box-sizing: border-box;
}

.read-more:hover {
    color: #ff3d7f;
    gap: 8px;
}

/* 视频教程推荐 */
.video-tips-section {
    padding: 80px 0;
    background: #fff5f8;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.video-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s;
}

.video-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.video-thumbnail {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.video-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #333, #555);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    gap: 10px;
}

.video-placeholder i {
    font-size: 3rem;
    opacity: 0.8;
}

.video-placeholder span {
    background: rgba(0,0,0,0.7);
    padding: 5px 15px;
    border-radius: 5px;
    font-size: 0.9rem;
}

.video-info {
    padding: 20px;
}

.video-info h4 {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 8px;
}

.video-info p {
    color: #666;
    max-width: 100%;
    box-sizing: border-box;
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.video-info span {
    color: #999;
    font-size: 0.85rem;
}

/* 专家问答部分 */
.qa-section {
    padding: 80px 0;
}

.qa-list {
    max-width: 900px;
    margin: 0 auto;
}

.qa-item {
    background: white;
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: all 0.3s;
    cursor: pointer;
}

.qa-item:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.qa-item h3 {
    font-size: 1.3rem;
    color: #333;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.qa-item h3 i {
    color: #ff6b9d;
    font-size: 1.5rem;
}

.answer {
    display: none;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
    margin-top: 15px;
    color: #555;
    line-height: 1.8;
}

.answer.active {
    display: block;
    animation: slideDown 0.3s ease;
}

.answer p {
    margin-bottom: 15px;
}

.answer ol,
.answer ul {
    margin-left: 20px;
    margin-bottom: 15px;
}

.answer li {
    margin-bottom: 10px;
    line-height: 1.6;
}

.answer li strong {
    color: #333;
    max-width: 100%;
    box-sizing: border-box;
}

.answer .note {
    background: #fff5f8;
    padding: 12px 15px;
    border-radius: 10px;
    border-left: 3px solid #ff6b9d;
    margin-top: 15px;
    font-size: 0.95rem;
}

/* 动画 */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 响应式设计 */
@media (max-width: 968px) {
    .featured-card {
        grid-template-columns: 1fr;
    }

    .featured-image {
        height: 250px;
    }

    .featured-content {
        padding: 30px;
    }

    .featured-content h2 {
        font-size: 1.6rem;
    }
}

@media (max-width: 768px) {
    .category-tabs {
        gap: 10px;
    }

    .tab-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .tips-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .tip-card {
        padding: 25px 20px;
    }

    .video-grid {
        grid-template-columns: 1fr;
    }

    .qa-item {
        padding: 20px;
    }

    .qa-item h3 {
        font-size: 1.1rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .page-header h1 {
        font-size: 2rem;
    }

    .tip-icon {
        width: 50px;
        height: 50px;
        min-width: 50px;
    }

    .tip-icon i {
        font-size: 1.3rem;
    }

    .tip-content h3 {
        font-size: 1.1rem;
    }
}