/* 详情页样式 */

/* 返回导航 */
.back-nav {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 20px;
    border-bottom: 1px solid rgba(255, 192, 203, 0.3);
    position: sticky;
    top: 0;
    z-index: 100;
}

.back-btn {
    color: #d63384;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.back-btn:hover {
    color: #b02a5b;
    transform: translateX(-5px);
}

/* 详情页容器 */
.detail-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 30px 20px;
}

/* 卡片基础样式 */
.detail-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 8px 32px rgba(255, 182, 193, 0.4);
    border: 2px solid rgba(255, 192, 203, 0.2);
    transition: all 0.3s ease;
}

.detail-card[data-gender="male"] {
    box-shadow: 0 8px 32px rgba(173, 216, 230, 0.4);
    border: 2px solid rgba(135, 206, 235, 0.2);
}

.detail-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(255, 182, 193, 0.5);
}

.detail-card[data-gender="male"]:hover {
    box-shadow: 0 12px 40px rgba(173, 216, 230, 0.5);
}

/* 主信息卡片 */
.main-info {
    display: flex;
    gap: 30px;
    align-items: center;
    margin-bottom: 30px;
}

.detail-avatar {
    flex-shrink: 0;
}

.detail-avatar img {
    width: 120px;
    height: 108px;
    object-fit: cover;
    /* 心形裁剪 */
    clip-path: polygon(
        50% 20%, 
        57% 12%, 
        63% 7%, 
        70% 5%, 
        77% 7%, 
        83% 12%, 
        87% 20%, 
        88% 28%, 
        87% 36%, 
        84% 44%, 
        79% 51%, 
        73% 57%, 
        65% 64%, 
        56% 72%, 
        50% 80%, 
        44% 72%, 
        35% 64%, 
        27% 57%, 
        21% 51%, 
        16% 44%, 
        13% 36%, 
        12% 28%, 
        13% 20%, 
        17% 12%, 
        23% 7%, 
        30% 5%, 
        37% 7%, 
        43% 12%
    );
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(255, 107, 157, 0.3);
}

.detail-card[data-gender="male"] .detail-avatar img {
    box-shadow: 0 5px 15px rgba(65, 105, 225, 0.3);
}

.basic-info {
    flex: 1;
}

.customer-name {
    font-size: 2.2rem;
    font-weight: 700;
    color: #d63384;
    margin: 0 0 15px 0;
}

.detail-card[data-gender="male"] .customer-name {
    color: #1e90ff;
}

.status-badge {
    margin-bottom: 15px;
}

/* 状态标签样式 */
.status {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* 女性状态标签 - 粉色系 */
.status.single {
    background: linear-gradient(45deg, #ff6b9d, #ff8fab);
}

.status.dating {
    background: linear-gradient(45deg, #f06292, #ec407a);
}

.status.married {
    background: linear-gradient(45deg, #e91e63, #ad1457);
}

/* 男性状态标签 - 蓝色系 */
.detail-card[data-gender="male"] .status.single {
    background: linear-gradient(45deg, #4169e1, #6495ed);
}

.detail-card[data-gender="male"] .status.dating {
    background: linear-gradient(45deg, #1e90ff, #4682b4);
}

.detail-card[data-gender="male"] .status.married {
    background: linear-gradient(45deg, #0066cc, #003d7a);
}

.basic-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.basic-tags .info-tag {
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    color: white;
    background: linear-gradient(45deg, #ff6b9d, #ff8fab);
    box-shadow: 0 3px 10px rgba(255, 107, 157, 0.3);
}

.detail-card[data-gender="male"] .basic-tags .info-tag {
    background: linear-gradient(45deg, #4169e1, #6495ed);
    box-shadow: 0 3px 10px rgba(65, 105, 225, 0.3);
}

/* 信息区域 */
.detail-sections {
    margin-bottom: 30px;
}

.section-title {
    color: #d63384;
    font-size: 1.4rem;
    font-weight: 600;
    margin: 0 0 20px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(255, 192, 203, 0.3);
}

.detail-card[data-gender="male"] .section-title {
    color: #1e90ff;
    border-bottom-color: rgba(135, 206, 235, 0.3);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.info-item.full-width {
    grid-column: 1 / -1;
}

.info-item label {
    font-size: 14px;
    font-weight: 600;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-item span, .info-item p {
    font-size: 15px;
    color: #333;
    background: rgba(255, 182, 193, 0.1);
    padding: 10px 15px;
    border-radius: 10px;
    border: 1px solid rgba(255, 192, 203, 0.2);
    margin: 0;
    line-height: 1.5;
}

.detail-card[data-gender="male"] .info-item span,
.detail-card[data-gender="male"] .info-item p {
    background: rgba(173, 216, 230, 0.1);
    border-color: rgba(135, 206, 235, 0.2);
}

/* 生活照片画廊 */
.life-photos-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
}

.photo-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(255, 107, 157, 0.2);
    transition: all 0.3s ease;
}

.detail-card[data-gender="male"] .photo-item {
    box-shadow: 0 5px 15px rgba(65, 105, 225, 0.2);
}

.photo-item:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(255, 107, 157, 0.4);
}

.detail-card[data-gender="male"] .photo-item:hover {
    box-shadow: 0 8px 25px rgba(65, 105, 225, 0.4);
}

.photo-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    cursor: pointer;
    transition: all 0.3s ease;
}

.photo-item:hover img {
    transform: scale(1.1);
}

/* 底部浮动联系红娘按钮 */
.floating-contact {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
}

.floating-contact-btn {
    background: linear-gradient(45deg, #ff6b9d, #ff8fab);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(255, 107, 157, 0.4);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    backdrop-filter: blur(10px);
}

.floating-contact-btn[data-gender="male"] {
    background: linear-gradient(45deg, #4169e1, #6495ed);
    box-shadow: 0 5px 20px rgba(65, 105, 225, 0.4);
}

.floating-contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 157, 0.6);
}

.floating-contact-btn[data-gender="male"]:hover {
    box-shadow: 0 8px 25px rgba(65, 105, 225, 0.6);
}

.phone-icon {
    font-size: 16px;
    display: inline-block;
}

/* 二维码模态框 */
.qr-content {
    text-align: center;
    max-width: 350px;
    padding: 30px;
}

.qr-content h3 {
    color: #d63384;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.qr-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.qr-container img {
    width: 200px;
    height: 200px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.qr-container p {
    margin: 0;
    color: #666;
    font-size: 16px;
    font-weight: 500;
}

.qr-tip {
    font-size: 14px !important;
    color: #999 !important;
    font-style: italic;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .detail-container {
        padding: 20px 15px;
    }
    
    .main-info {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .detail-avatar img {
        width: 100px;
        height: 90px;
    }
    
    .customer-name {
        font-size: 1.8rem;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .life-photos-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .floating-contact {
        bottom: 15px;
        left: 15px;
        right: 15px;
        transform: none;
    }
    
    .floating-contact-btn {
        width: 100%;
        justify-content: center;
        padding: 12px 20px;
        font-size: 15px;
    }
    
    .qr-content {
        padding: 20px;
        max-width: 300px;
    }
    
    .qr-container img {
        width: 180px;
        height: 180px;
    }
}

@media (max-width: 480px) {
    .back-nav {
        padding: 12px 15px;
    }
    
    .detail-card {
        padding: 20px;
        margin-bottom: 20px;
    }
    
    .customer-name {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 1.2rem;
    }
    
    .basic-tags .info-tag {
        font-size: 12px;
        padding: 6px 12px;
    }
    
    .life-photos-gallery {
        grid-template-columns: 1fr;
    }
    
    .photo-item img {
        height: 200px;
    }
} 