/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 25%, #e6f3ff 75%, #87ceeb 100%);
    min-height: 100vh;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 160px 20px 20px;
}

/* 网站标题样式 */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    text-align: center;
    padding: 25px 20px 20px;
    background: linear-gradient(135deg, #ff6b9d 0%, #c44faf 50%, #8b5cf6 100%);
    color: white;
    box-shadow: 0 10px 30px rgba(255, 107, 157, 0.3);
}

.site-title {
    font-size: 3rem;
    font-weight: 700;
    margin: 0 0 10px 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    letter-spacing: 2px;
}

.site-subtitle {
    font-size: 1.1rem;
    margin: 0;
    opacity: 0.9;
    font-weight: 300;
    letter-spacing: 1px;
}

/* 筛选区域样式 */
.filter-section {
    margin-bottom: 30px;
    text-align: center;
}

.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 20px 30px;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(255, 182, 193, 0.3);
    border: 2px solid rgba(255, 192, 203, 0.2);
    max-width: 600px;
    margin: 0 auto;
}

.filter-btn {
    background: linear-gradient(45deg, #ff6b9d, #ff8fab);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 157, 0.3);
}

.filter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 157, 0.4);
    background: linear-gradient(45deg, #ff8fab, #ffa8cc);
}

.filter-btn.active {
    background: linear-gradient(45deg, #e91e63, #f06292);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(233, 30, 99, 0.5);
}

/* 男生按钮 - 蓝色调 */
.filter-btn[data-filter="male"] {
    background: linear-gradient(45deg, #4169e1, #6495ed);
    box-shadow: 0 4px 15px rgba(65, 105, 225, 0.3);
}

.filter-btn[data-filter="male"]:hover {
    background: linear-gradient(45deg, #6495ed, #87ceeb);
    box-shadow: 0 6px 20px rgba(65, 105, 225, 0.4);
}

.filter-btn[data-filter="male"].active {
    background: linear-gradient(45deg, #1e90ff, #4682b4);
    box-shadow: 0 6px 20px rgba(30, 144, 255, 0.5);
}

/* 用户列表 */
.user-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(600px, 1fr));
    gap: 25px;
    margin-top: 30px;
    clear: both;
}

/* 用户卡片样式 - 默认（女性粉色） */
.user-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 25px;
    display: flex;
    gap: 20px;
    box-shadow: 0 8px 32px rgba(255, 182, 193, 0.4);
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 192, 203, 0.2);
}

.user-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(255, 182, 193, 0.6);
    border-color: rgba(255, 192, 203, 0.4);
}

/* 男性用户卡片 - 浅蓝色主题 */
.user-card[data-gender="male"] {
    box-shadow: 0 8px 32px rgba(173, 216, 230, 0.4);
    border: 2px solid rgba(135, 206, 235, 0.2);
}

.user-card[data-gender="male"]:hover {
    box-shadow: 0 15px 40px rgba(173, 216, 230, 0.6);
    border-color: rgba(135, 206, 235, 0.4);
}

/* 用户头像 - 心形 */
.user-avatar {
    flex-shrink: 0;
    position: relative;
    width: 90px;
    height: 82px;
}

/* 心形描边背景 - 女性粉色 */
.user-avatar::before {
    content: '';
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90px;
    height: 82px;
    background: linear-gradient(45deg, #ff6b9d, #ff8fab);
    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%
    );
    z-index: 1;
    transition: all 0.3s ease;
}

/* 男性用户心形描边 - 蓝色 */
.user-card[data-gender="male"] .user-avatar::before {
    background: linear-gradient(45deg, #4169e1, #6495ed);
}

/* 头像样式 - 心形裁剪 */
.user-avatar img {
    position: relative;
    z-index: 2;
    width: 80px;
    height: 72px;
    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%
    );
    transition: all 0.3s ease;
}

.user-avatar:hover::before {
    /*transform: scale(1.1);*/
    /*filter: brightness(1.1);*/
}

.user-avatar:hover img {
    transform: scale(1.05);
}

/* 用户信息区域 */
.user-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* 第一行：昵称和状态 */
.row-1 {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 5px;
}

.nickname {
    font-size: 1.4rem;
    font-weight: 600;
    color: #d63384;
}

.nickname-link {
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.nickname-link:hover {
    color: #b02a5b;
    transform: translateY(-1px);
}

.nickname-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background: linear-gradient(45deg, #ff6b9d, #ff8fab);
    transition: width 0.3s ease;
}

.nickname-link:hover::after {
    width: 100%;
}

/* 男性昵称颜色 */
.user-card[data-gender="male"] .nickname {
    color: #1e90ff;
}

.user-card[data-gender="male"] .nickname-link:hover {
    color: #0066cc;
}

.user-card[data-gender="male"] .nickname-link::after {
    background: linear-gradient(45deg, #4169e1, #6495ed);
}

.status {
    padding: 6px 15px;
    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);
}

/* 男性状态标签 - 蓝色系 */
.user-card[data-gender="male"] .status.single {
    background: linear-gradient(45deg, #4169e1, #6495ed);
}

.user-card[data-gender="male"] .status.dating {
    background: linear-gradient(45deg, #1e90ff, #4682b4);
}

.user-card[data-gender="male"] .status.married {
    background: linear-gradient(45deg, #0066cc, #003d7a);
}

/* 第二行：年龄和职业 - 小标签布局 */
.row-2 {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-start;
}

/* 年龄职业小标签 - 圆角胶囊样式 */
.tag {
    font-size: 14px;
    font-weight: 500;
    color: white;
    padding: 6px 12px;
    border-radius: 15px;
    display: inline-block;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.tag.number {
    background: linear-gradient(45deg, #e91e63, #ad1457);
    box-shadow: 0 2px 8px rgba(233, 30, 99, 0.3);
    font-weight: 600;
    min-width: 24px;
    text-align: center;
}

.tag.age {
    background: linear-gradient(45deg, #ff6b9d, #ff8fab);
    box-shadow: 0 2px 8px rgba(255, 107, 157, 0.3);
}

.tag.job {
    background: linear-gradient(45deg, #f06292, #ec407a);
    box-shadow: 0 2px 8px rgba(240, 98, 146, 0.3);
}

.tag:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 107, 157, 0.4);
}

/* 男性年龄职业标签 */
.user-card[data-gender="male"] .tag.number {
    background: linear-gradient(45deg, #0d47a1, #1565c0);
    box-shadow: 0 2px 8px rgba(13, 71, 161, 0.3);
}

.user-card[data-gender="male"] .tag.age {
    background: linear-gradient(45deg, #4169e1, #6495ed);
    box-shadow: 0 2px 8px rgba(65, 105, 225, 0.3);
}

.user-card[data-gender="male"] .tag.job {
    background: linear-gradient(45deg, #1e90ff, #4682b4);
    box-shadow: 0 2px 8px rgba(30, 144, 255, 0.3);
}

.user-card[data-gender="male"] .tag:hover {
    box-shadow: 0 4px 12px rgba(65, 105, 225, 0.4);
}

/* 第三行：详细信息 - 小标签布局 */
.row-3 {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 2px;
    justify-content: flex-start;
}

/* 详细信息小标签 - 边框贴纸样式 */
.info-tag {
    font-size: 12px;
    font-weight: 500;
    padding: 4px 8px;
    border-radius: 8px;
    display: inline-block;
    border: 1.5px solid;
    background: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
    position: relative;
}

/* 不同类型的标签颜色 - 女性 */
.info-tag.education {
    color: #e91e63;
    border-color: #f8bbd9;
    background: rgba(248, 187, 217, 0.3);
}

.info-tag.marital {
    color: #ad1457;
    border-color: #ffb6c1;
    background: rgba(255, 182, 193, 0.3);
}

.info-tag.height {
    color: #c2185b;
    border-color: #ffc1cc;
    background: rgba(255, 193, 204, 0.3);
}

.info-tag.house {
    color: #880e4f;
    border-color: #ff8a95;
    background: rgba(255, 138, 149, 0.3);
}

.info-tag.car {
    color: #4a148c;
    border-color: #ce93d8;
    background: rgba(206, 147, 216, 0.3);
}

.info-tag.income {
    color: #6a1b9a;
    border-color: #ba68c8;
    background: rgba(186, 104, 200, 0.3);
}

.info-tag:hover {
    transform: translateY(-1px) scale(1.05);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
}

/* 男性详细信息标签 */
.user-card[data-gender="male"] .info-tag.education {
    color: #1565c0;
    border-color: #81d4fa;
    background: rgba(129, 212, 250, 0.3);
}

.user-card[data-gender="male"] .info-tag.marital {
    color: #0277bd;
    border-color: #4fc3f7;
    background: rgba(79, 195, 247, 0.3);
}

.user-card[data-gender="male"] .info-tag.height {
    color: #01579b;
    border-color: #29b6f6;
    background: rgba(41, 182, 246, 0.3);
}

.user-card[data-gender="male"] .info-tag.house {
    color: #0d47a1;
    border-color: #039be5;
    background: rgba(3, 155, 229, 0.3);
}

.user-card[data-gender="male"] .info-tag.car {
    color: #1a237e;
    border-color: #3f51b5;
    background: rgba(63, 81, 181, 0.3);
}

.user-card[data-gender="male"] .info-tag.income {
    color: #311b92;
    border-color: #5c6bc0;
    background: rgba(92, 107, 192, 0.3);
}

/* 第四行：择偶要求 */
.row-4 {
    margin-top: 5px;
}

.mate-requirement {
    font-size: 14px;
    color: #ad1457;
    font-style: italic;
    line-height: 1.4;
    padding: 8px 12px;
    background: rgba(255, 182, 193, 0.2);
    border-radius: 10px;
    border-left: 3px solid #ff6b9d;
}

/* 男性择偶要求样式 */
.user-card[data-gender="male"] .mate-requirement {
    color: #4682b4;
    background: rgba(173, 216, 230, 0.2);
    border-left: 3px solid #4169e1;
}

/* 第五行：生活照片 */
.row-5 {
    margin-top: 10px;
}

.life-photos {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.life-photos img {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    object-fit: cover;
    border: 2px solid #ffb6c1;
    box-shadow: 0 2px 8px rgba(255, 107, 157, 0.2);
    transition: all 0.3s ease;
    cursor: pointer;
}

.life-photos img:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 4px 15px rgba(255, 107, 157, 0.4);
}

/* 男性生活照片边框 */
.user-card[data-gender="male"] .life-photos img {
    border: 2px solid #87ceeb;
    box-shadow: 0 2px 8px rgba(65, 105, 225, 0.2);
}

.user-card[data-gender="male"] .life-photos img:hover {
    box-shadow: 0 4px 15px rgba(65, 105, 225, 0.4);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .container {
        padding: 170px 15px 15px;
    }
    
    .site-header {
        padding: 30px 15px 25px;
        margin: 0px -20px 25px -20px;
    }
    
    .site-title {
        font-size: 2.2rem;
    }
    
    .site-subtitle {
        font-size: 1rem;
    }
    
    .filter-buttons {
        /* 手机端按钮横放 - 保持水平排列，但允许换行 */
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .filter-btn {
        flex: 0 0 auto;
        min-width: 80px;
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .user-list {
        grid-template-columns: 1fr;
    }
    
    .user-card {
        flex-direction: column;
        text-align: center;
    }
    
    .user-avatar {
        align-self: center;
    }
    
    .row-1 {
        justify-content: center;
    }
    
    .row-2 {
        justify-content: center;
    }
    
    .row-3 {
        justify-content: center;
    }
    
    .life-photos {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .site-title {
        font-size: 1.8rem;
    }
    
    .site-subtitle {
        font-size: 0.9rem;
    }
    
    .filter-buttons {
        /* 超小屏幕也保持横排 */
        flex-direction: row;
        gap: 8px;
    }
    
    .filter-btn {
        min-width: 70px;
        padding: 8px 16px;
        font-size: 13px;
    }
    
    .user-card {
        padding: 20px;
    }
    
    .nickname {
        font-size: 1.2rem;
    }
    
    .row-2 {
        font-size: 1rem;
    }
    
    .row-3, .mate-requirement {
        font-size: 13px;
    }
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.user-card {
    animation: fadeInUp 0.6s ease forwards;
}

.user-card:nth-child(1) { animation-delay: 0.1s; }
.user-card:nth-child(2) { animation-delay: 0.2s; }
.user-card:nth-child(3) { animation-delay: 0.3s; }
.user-card:nth-child(4) { animation-delay: 0.4s; }

/* 图片模态框样式 */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    animation: fadeIn 0.3s ease-in-out;
}

.modal-content {
    position: relative;
    margin: auto;
    padding: 0;
    width: 90%;
    max-width: 800px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #ffffff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1001;
    transition: all 0.3s ease;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5);
}

.close:hover,
.close:focus {
    color: #ff69b4;
    background: rgba(0, 0, 0, 0.8);
    transform: scale(1.1);
}

/* 生活照片添加鼠标悬停效果 */
.life-photo {
    cursor: pointer;
    transition: all 0.3s ease;
}

.life-photo:hover {
    transform: scale(1.05);
    opacity: 0.8;
    filter: brightness(1.1);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* 移动端模态框调整 */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        padding: 20px 0;
    }
    
    .close {
        top: 10px;
        right: 15px;
        font-size: 30px;
        width: 40px;
        height: 40px;
    }
    
    .modal-content img {
        max-height: 80vh;
    }
    
    /* 移动端Footer样式 */
    .site-footer {
        margin-top: 40px;
        padding: 40px 0 25px;
    }
    
    .footer-container {
        padding: 0 15px;
    }
    
    .footer-main {
        flex-direction: column;
        gap: 30px;
        margin-bottom: 30px;
    }
    
    .footer-brand-section {
        min-width: auto;
        text-align: center;
    }
    
    .footer-logo {
        font-size: 24px;
    }
    
    .footer-slogan {
        font-size: 14px;
        text-align: center;
        padding-left: 0;
    }
    
    .footer-slogan::before {
        display: none;
    }
    
    .footer-info {
        justify-content: center;
        gap: 40px;
        text-align: center;
    }
    
    .footer-column {
        min-width: 120px;
    }
    
    .footer-column h4 {
        font-size: 15px;
    }
    
    .footer-column p {
        font-size: 13px;
    }
    
    .footer-copyright {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .footer-record, .footer-rights {
        font-size: 12px;
    }
}



/* Footer样式 */
.site-footer {
    background: linear-gradient(135deg, 
        rgba(255, 182, 193, 0.15) 0%, 
        rgba(173, 216, 230, 0.15) 50%, 
        rgba(255, 192, 203, 0.15) 100%);
    border-top: 1px solid rgba(255, 105, 180, 0.2);
    margin-top: 60px;
    padding: 50px 0 30px;
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, 
        rgba(255, 105, 180, 0.6) 0%, 
        rgba(135, 206, 235, 0.6) 50%, 
        rgba(255, 105, 180, 0.6) 100%);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-main {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-brand-section {
    flex: 1;
    min-width: 300px;
}

.footer-logo {
    color: #d63384;
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 15px 0;
    text-shadow: 0 2px 4px rgba(214, 51, 132, 0.1);
}

.footer-slogan {
    color: #666;
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
    font-style: italic;
    position: relative;
    padding-left: 20px;
}

.footer-slogan::before {
    content: '💕';
    position: absolute;
    left: 0;
    top: 0;
    font-size: 18px;
}

.footer-info {
    display: flex;
    gap: 60px;
    flex-wrap: wrap;
}

.footer-column {
    min-width: 150px;
}

.footer-column h4 {
    color: #555;
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 15px 0;
    position: relative;
    padding-bottom: 8px;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, #ff69b4, #87ceeb);
    border-radius: 1px;
}

.footer-column p {
    color: #777;
    font-size: 14px;
    line-height: 1.8;
    margin: 0 0 8px 0;
    transition: color 0.3s ease;
}

.footer-column p:hover {
    color: #d63384;
}

.footer-contact, .footer-phone {
    font-weight: 500;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 105, 180, 0.15);
    padding-top: 25px;
}

.footer-divider {
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 105, 180, 0.3) 20%, 
        rgba(135, 206, 235, 0.3) 50%, 
        rgba(255, 105, 180, 0.3) 80%, 
        transparent 100%);
    margin-bottom: 20px;
}

.footer-copyright {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-record, .footer-rights {
    color: #888;
    font-size: 13px;
}

.footer-rights {
    font-weight: 500;
}

 