/* 朋友页面样式 */
.page-hero {
    height: 300px;
    background: linear-gradient(135deg, #ff80ab, #fce4ec);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/hero-bg.jpg') no-repeat center center/cover;
    opacity: 0.15;
    z-index: 0;
}

.page-hero h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
    color: #fff;
    background: linear-gradient(to right, #ff80ab, #ff4081);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
}

.page-hero p {
    font-size: 1.1rem;
    position: relative;
    z-index: 1;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.content-section {
    padding: 60px 0;
}

.friends-container {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.friend-card {
    background-color: var(--card-background);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
    transition: var(--transition);
}

.friend-card:target {
    box-shadow: 0 15px 30px rgba(255, 128, 171, 0.2);
    transform: translateY(-5px);
}

.friend-header {
    display: flex;
    align-items: center;
    padding: 30px;
    background: linear-gradient(135deg, rgba(255, 128, 171, 0.1), rgba(255, 182, 193, 0.2));
    border-bottom: 1px solid rgba(255, 182, 193, 0.2);
}

.friend-avatar {
    flex: 0 0 100px;
    margin-right: 25px;
}

.friend-avatar img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.friend-info {
    flex: 1;
}

.friend-info h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.subtitle {
    color: var(--light-text);
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.friend-social {
    display: flex;
    gap: 10px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    background-color: #f0f0f0;
    border-radius: 50%;
    transition: var(--transition);
}

.social-link i {
    color: var(--primary-color);
    font-size: 0.9rem;
}

.social-link:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.social-link:hover i {
    color: white;
}

.friend-body {
    padding: 30px;
}

.friend-section {
    margin-bottom: 30px;
}

.friend-section:last-child {
    margin-bottom: 0;
}

.friend-section h4 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--primary-color);
    padding-bottom: 8px;
    border-bottom: 1px solid #eee;
}

.friend-section h4 i {
    margin-right: 8px;
}

.friend-section p {
    margin-bottom: 15px;
    line-height: 1.6;
    color: var(--light-text);
}

.memory-card {
    display: flex;
    background-color: rgba(255, 182, 193, 0.05);
    border-radius: var(--border-radius);
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(255, 128, 171, 0.1);
    transition: var(--transition);
    border: 1px solid rgba(255, 182, 193, 0.1);
}

.memory-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 128, 171, 0.15);
}

.memory-image {
    flex: 0 0 200px;
}

.memory-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.memory-content {
    flex: 1;
    padding: 20px;
}

.memory-content h5 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.memory-content p {
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.memory-date {
    display: inline-block;
    font-size: 0.85rem;
    color: #999;
    font-style: italic;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .friend-header {
        flex-direction: column;
        text-align: center;
        padding: 25px;
    }
    
    .friend-avatar {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .friend-social {
        justify-content: center;
    }
    
    .memory-card {
        flex-direction: column;
    }
    
    .memory-image {
        flex: 0 0 auto;
        height: 200px;
    }
}

@media (max-width: 576px) {
    .page-hero {
        height: 200px;
    }
    
    .page-hero h2 {
        font-size: 2rem;
    }
    
    .friend-body {
        padding: 20px;
    }
} 