* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
    background: linear-gradient(to bottom, #fef5f8 0%, #fff 50%);
    min-height: 100vh;
}

/* 头部样式 */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    color: #333;
    padding: 0;
    box-shadow: 0 2px 20px rgba(255, 107, 157, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 107, 157, 0.1);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 40px;
}

.logo {
    font-size: 132px;
    font-weight: 700;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #ff6b9d 0%, #ff4757 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 1px;
}

.logo::before {
    content: "";
    width: 332px;
    -webkit-text-fill-color: initial;
}

nav {
    display: flex;
    gap: 8px;
}

nav a {
    color: #555;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    padding: 10px 22px;
    border-radius: 25px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

nav a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #ff6b9d 0%, #ff4757 100%);
    opacity: 0;
    transition: opacity 0.4s;
    z-index: -1;
    border-radius: 25px;
}

nav a:hover {
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 157, 0.3);
}

nav a:hover::before {
    opacity: 1;
}

/* Banner样式 */
.banner {
    background: linear-gradient(135deg, #ff6b9d 0%, #ff4757 50%, #ff8c7a 100%);
    color: white;
    text-align: center;
    padding: 100px 20px;
    position: relative;
    overflow: hidden;
}

.banner::before {
    content: "";
    position: absolute;
    top: -30%;
    right: -5%;
    width: 600px;
    height: 600px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.banner::after {
    content: "";
    position: absolute;
    bottom: -20%;
    left: -5%;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite reverse;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-30px) rotate(10deg);
    }
}

.banner h1 {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
    letter-spacing: 2px;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.banner p {
    font-size: 26px;
    position: relative;
    z-index: 1;
    font-weight: 300;
    letter-spacing: 1px;
    opacity: 0.95;
}

/* 主要内容区域 */
.main-content {
    max-width: 1400px;
    margin: 50px auto;
    display: flex;
    gap: 40px;
    padding: 0 40px;
}

/* 左侧会员列表 */
.members-section {
    flex: 1;
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(255, 107, 157, 0.08);
    border: 1px solid rgba(255, 107, 157, 0.1);
}

.members-section h2 {
    color: #333;
    margin-bottom: 35px;
    font-size: 28px;
    font-weight: 700;
    position: relative;
    padding-left: 20px;
}

.members-section h2::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 30px;
    background: linear-gradient(135deg, #ff6b9d 0%, #ff4757 100%);
    border-radius: 10px;
}

.member-card {
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 16px;
    padding: 25px;
    margin-bottom: 25px;
    display: flex;
    gap: 25px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.member-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 107, 157, 0.03) 0%, rgba(255, 71, 87, 0.03) 100%);
    opacity: 0;
    transition: opacity 0.4s;
}

.member-card:hover {
    box-shadow: 0 15px 45px rgba(255, 107, 157, 0.15);
    transform: translateY(-5px);
    border-color: rgba(255, 107, 157, 0.3);
}

.member-card:hover::before {
    opacity: 1;
}

.member-avatar {
    width: 110px;
    height: 110px;
    border-radius: 20px;
    background: linear-gradient(135deg, #ff6b9d, #ff4757);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    flex-shrink: 0;
    box-shadow: 0 8px 25px rgba(255, 107, 157, 0.3);
    position: relative;
    z-index: 1;
}

.member-info {
    flex: 1;
    position: relative;
    z-index: 1;
}

.member-name {
    font-size: 22px;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.member-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    color: #666;
    font-size: 14px;
    margin-bottom: 18px;
}

.member-details span {
    padding: 8px 12px;
    background: #f8f9fa;
    border-radius: 8px;
    transition: all 0.3s;
}

.member-details span:hover {
    background: #fff0f3;
    color: #ff4757;
}

.detail-btn {
    background: linear-gradient(135deg, #ff6b9d 0%, #ff4757 100%);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 5px 20px rgba(255, 107, 157, 0.3);
    position: relative;
    overflow: hidden;
}

.detail-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.detail-btn:hover::before {
    width: 300px;
    height: 300px;
}

.detail-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 107, 157, 0.4);
}

/* 右侧登录区域 */
.login-section {
    width: 420px;
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(255, 107, 157, 0.08);
    height: fit-content;
    /* position: sticky; */
    top: 100px;
    border: 1px solid rgba(255, 107, 157, 0.1);
}

.login-section h2 {
    text-align: center;
    color: #333;
    margin-bottom: 35px;
    font-size: 28px;
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
}

.login-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, #ff6b9d 0%, #ff4757 100%);
    border-radius: 2px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    color: #333;
    font-size: 14px;
    font-weight: 600;
}

.form-group input {
    width: 100%;
    padding: 15px 18px;
    border: 2px solid #f0f0f0;
    border-radius: 12px;
    font-size: 15px;
    transition: all 0.3s;
    background: #fafafa;
}

.form-group input:focus {
    outline: none;
    border-color: #ff6b9d;
    background: white;
    box-shadow: 0 0 0 4px rgba(255, 107, 157, 0.1);
}

.login-btn {
    width: 100%;
    background: linear-gradient(135deg, #ff6b9d 0%, #ff4757 100%);
    color: white;
    border: none;
    padding: 16px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 10px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 5px 20px rgba(255, 107, 157, 0.3);
    position: relative;
    overflow: hidden;
}

.login-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.login-btn:hover::before {
    width: 400px;
    height: 400px;
}

.login-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255, 107, 157, 0.4);
}

.login-links {
    text-align: center;
    margin-top: 25px;
    font-size: 14px;
}

.login-links a {
    color: #ff6b9d;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.login-links a:hover {
    text-decoration: underline;
    color: #ff4757;
}

/* 底部样式 */
footer {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: white;
    text-align: center;
    padding: 40px 20px;
    margin-top: 80px;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ff6b9d 0%, #ff4757 50%, #ff6b9d 100%);
}

footer p {
    margin: 8px 0;
    font-size: 14px;
    opacity: 0.9;
}

footer p:first-child {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 20px;
        padding: 15px 20px;
    }

    nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    .banner {
        padding: 60px 20px;
    }

    .banner h1 {
        font-size: 36px;
    }

    .banner p {
        font-size: 18px;
    }

    .main-content {
        flex-direction: column;
        padding: 0 20px;
    }

    .login-section {
        width: 100%;
        position: static;
        top: 0;
    }

    .member-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 20px;
    }

    .member-details {
        grid-template-columns: 1fr;
    }

    .members-section h2,
    .login-section h2 {
        font-size: 24px;
    }
}

/* 筛选区域 */
.tip_bi {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.tip_xuz {
    flex: 1;
    min-width: 120px;
    background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
    border: 2px solid #f0f0f0;
    border-radius: 12px;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    color: #555;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 下拉选择框样式 */
.select-box {
    width: 100%;
    padding: 12px 15px;
    background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
    border: none;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    color: #555;
    cursor: pointer;
    outline: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23555' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 20px;
    padding-right: 35px;
}

.select-box:hover {
    background: linear-gradient(135deg, #fff5f8 0%, #fff 100%);
    color: #ff4757;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff4757' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 20px;
}

.select-box:focus {
    border-color: #ff6b9d;
    background: white;
    color: #ff4757;
    box-shadow: 0 0 0 3px rgba(255, 107, 157, 0.1);
}

.select-box option {
    padding: 10px;
    background: white;
    color: #333;
}

/* 查询按钮样式 */
.search-btn {
    width: 100%;
    padding: 12px 20px;
    background: linear-gradient(135deg, #ff6b9d 0%, #ff4757 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.search-btn:hover {
    background: linear-gradient(135deg, #ff4757 0%, #ff3838 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 71, 87, 0.4);
}

.search-btn:active {
    transform: translateY(0);
}

.tip_xuz:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 157, 0.15);
}

/* 在线统计 */
.zliner {
    background: linear-gradient(135deg, #fff0f3 0%, #ffe8ed 100%);
    padding: 15px 20px;
    border-radius: 12px;
    text-align: center;
    font-size: 15px;
    font-weight: 600;
    color: #ff4757;
    margin-bottom: 25px;
    border: 1px solid rgba(255, 107, 157, 0.2);
}

/* 会员列表容器 */
.renlist {
    margin-top: 20px;
}

.sf_txt {
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* 会员卡片 */
.qymi {
    display: flex;
    padding: 20px;
    background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.qymi::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 107, 157, 0.05) 0%, rgba(255, 71, 87, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s;
}

.qymi:hover::before {
    opacity: 1;
}

.qymi:not(:last-child) {
    border-bottom: 2px solid #f5f5f5;
    margin-bottom: 15px;
    padding-bottom: 20px;
}

.qymi:hover {
    transform: translateX(5px);
    background: white;
    box-shadow: -5px 0 0 0 #ff6b9d, 0 5px 20px rgba(255, 107, 157, 0.1);
}

.qyavver {
    width: 90px;
    margin-right: 20px;
    flex-shrink: 0;
}

.qyavver img {
    vertical-align: middle;
    width: 90px;
    height: 90px;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.qymi:hover .qyavver img {
    transform: scale(1.05);
}

.qy_txt {
    flex: 1;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.qy_title {
    font-size: 18px;
    font-weight: 700;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.qy_xm {
    color: #333;
    display: flex;
    align-items: center;
}

.qy_xm span {
    display: inline-block;
    font-size: 12px;
    margin-left: 8px;
    padding: 2px 10px;
    border-radius: 10px;
    font-weight: 600;
    background: linear-gradient(135deg, #ff6b9d 0%, #ff4757 100%);
    color: white;
}

.qy_sm {
    flex: 1;
    margin-top: 8px;
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    word-wrap: break-word;
}

.sji {
    margin-top: 8px;
    color: #999;
    font-size: 13px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    word-wrap: break-word;
}

.qy_fs {
    display: flex;
    gap: 8px;
}

.qy_fs a {
    font-size: 13px;
    color: #fff;
    padding: 6px 15px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    white-space: nowrap;
}

.qy_fs a:first-child {
    background: linear-gradient(135deg, #52c41a 0%, #73d13d 100%);
    box-shadow: 0 3px 10px rgba(82, 196, 26, 0.3);
}

.qy_fs a:first-child:hover {
    background: linear-gradient(135deg, #389e0d 0%, #52c41a 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(82, 196, 26, 0.4);
}

.qy_fs a:last-child {
    background: linear-gradient(135deg, #eb2f96 0%, #f759ab 100%);
    box-shadow: 0 3px 10px rgba(235, 47, 150, 0.3);
}

.qy_fs a:last-child:hover {
    background: linear-gradient(135deg, #c41d7f 0%, #eb2f96 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(235, 47, 150, 0.4);
}

/* 响应式优化 */
@media (max-width: 768px) {
    .tip_bi {
        gap: 10px;
    }

    .tip_xuz {
        min-width: 100px;
        padding: 10px 15px;
        font-size: 13px;
    }

    .qymi {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .qyavver {
        margin-right: 0;
        margin-bottom: 15px;
    }

    .qy_title {
        flex-direction: column;
        gap: 10px;
    }

    .qy_fs {
        justify-content: center;
    }
}

/* 红娘在线版块 */
.matchmaker-section {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(255, 107, 157, 0.08);
    border: 1px solid rgba(255, 107, 157, 0.1);
    margin-top: 30px;
}

.matchmaker-section h3 {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f5f5f5;
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
}

.matchmaker-section h3::before {
    content: '💝';
    font-size: 22px;
}

.matchmaker-section h3::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 80px;
    height: 2px;
    background: linear-gradient(135deg, #ff6b9d 0%, #ff4757 100%);
}

.matchmaker-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.matchmaker-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: linear-gradient(135deg, #fafafa 0%, #fff 100%);
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #f0f0f0;
    cursor: pointer;
}

.matchmaker-item:hover {
    background: linear-gradient(135deg, #fff0f3 0%, #ffe8ed 100%);
    border-color: rgba(255, 107, 157, 0.3);
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(255, 107, 157, 0.1);
}

.matchmaker-avatar {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 3px 10px rgba(255, 107, 157, 0.2);
    border: 2px solid #fff;
    position: relative;
}

.matchmaker-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.matchmaker-info {
    flex: 1;
}

.matchmaker-name {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
}

.matchmaker-desc {
    font-size: 12px;
    color: #999;
}

.matchmaker-status {
    font-size: 12px;
    color: #52c41a;
    background: rgba(82, 196, 26, 0.1);
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: 600;
}

.matchmaker-contact {
    margin-top: 20px;
    padding: 15px;
    background: linear-gradient(135deg, #ff6b9d 0%, #ff4757 100%);
    border-radius: 12px;
    text-align: center;
}

.matchmaker-contact p {
    color: white;
    font-size: 14px;
    margin-bottom: 10px;
    font-weight: 500;
}

.matchmaker-contact a {
    display: inline-block;
    background: white;
    color: #ff4757;
    padding: 10px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.matchmaker-contact a:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

/* 右侧容器调整 */
.right-sidebar {
    width: 420px;
    display: flex;
    flex-direction: column;
}

@media (max-width: 768px) {
    .right-sidebar {
        width: 100%;
    }

    .matchmaker-section {
        margin-top: 20px;
    }
}

/* 城市相亲角样式 */
.city-dating-corner {
    max-width: 1400px;
    margin: 0 auto 70px;
    padding: 0 40px;
}

.city-corner-container {
    background: white;
    border-radius: 24px;
    padding: 50px;
    box-shadow: 0 10px 50px rgba(255, 107, 157, 0.08);
    border: 1px solid rgba(255, 107, 157, 0.1);
}

.city-corner-header {
    text-align: center;
    margin-bottom: 40px;
}

.city-corner-title {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    margin-bottom: 12px;
}

.city-corner-subtitle {
    font-size: 15px;
    color: #999;
}

.city-images-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.city-card {
    position: relative;
    display: block;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 3/4;
    text-decoration: none;
}

.city-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.city-card:hover .city-image {
    transform: scale(1.1);
}

.city-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px 15px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: padding 0.3s;
}

.city-card:hover .city-overlay {
    padding-bottom: 25px;
}

.city-name {
    font-size: 20px;
    font-weight: 700;
    color: white;
    margin-bottom: 5px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.city-count {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 107, 157, 0.8);
    padding: 4px 12px;
    border-radius: 20px;
}

.city-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: linear-gradient(135deg, #ff6b9d 0%, #ff4757 100%);
    color: white;
    font-size: 11px;
    font-weight: 600;
    padding: 5px 10px;
    border-radius: 20px;
    box-shadow: 0 3px 10px rgba(255, 71, 87, 0.4);
}

.city-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 107, 157, 0.2);
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 1;
}

.city-card:hover::before {
    opacity: 1;
}

.city-card:hover {
    box-shadow: 0 20px 50px rgba(255, 107, 157, 0.25);
    transform: translateY(-8px);
}

.city-more {
    text-align: center;
    margin-top: 35px;
}

.more-cities-btn {
    display: inline-block;
    padding: 14px 40px;
    background: linear-gradient(135deg, #ff6b9d 0%, #ff4757 100%);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 5px 20px rgba(255, 107, 157, 0.3);
}

.more-cities-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 107, 157, 0.4);
}

@media (max-width: 1200px) {
    .city-images-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .city-dating-corner {
        padding: 0 20px;
    }

    .city-corner-container {
        padding: 30px 20px;
    }

    .city-corner-title {
        font-size: 24px;
    }

    .city-images-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .city-name {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .city-images-grid {
        grid-template-columns: 1fr;
    }
}

/* 弹窗样式 */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.modal-content {
    position: relative;
    background: linear-gradient(135deg, #fff 0%, #fef5f8 100%);
    margin: 8% auto;
    padding: 0;
    border: none;
    border-radius: 20px;
    width: 90%;
    max-width: 480px;
    box-shadow: 0 15px 60px rgba(255, 107, 157, 0.3);
    animation: slideDown 0.4s ease;
    overflow: hidden;
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-close {
    position: absolute;
    right: 20px;
    top: 20px;
    color: #999;
    font-size: 32px;
    font-weight: 300;
    cursor: pointer;
    z-index: 10;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.modal-close:hover {
    color: #ff4757;
    background: rgba(255, 71, 87, 0.1);
    transform: rotate(90deg);
}

.modal-body {
    padding: 50px 40px 40px;
    text-align: center;
}

.modal-title {
    font-size: 26px;
    color: #333;
    margin-bottom: 35px;
    font-weight: 600;
    background: linear-gradient(135deg, #ff6b9d 0%, #ff4757 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.qrcode-section {
    margin: 30px 0;
}

.qrcode-box {
    width: 220px;
    height: 220px;
    margin: 0 auto 20px;
    padding: 15px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(255, 107, 157, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.qrcode-box::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #ff6b9d, #ff4757);
    border-radius: 15px;
    z-index: -1;
    opacity: 0.3;
}

.qrcode-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.qrcode-tip {
    font-size: 18px;
    color: #666;
    margin: 10px 0 5px;
    font-weight: 500;
}

.qrcode-desc {
    font-size: 22px;
    color: #ff4757;
    font-weight: 600;
    margin-bottom: 30px;
}

.modal-actions {
    margin: 25px 0;
}

.btn-login {
    background: linear-gradient(135deg, #ff6b9d 0%, #ff4757 100%);
    color: #fff;
    border: none;
    padding: 15px 80px;
    font-size: 18px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(255, 71, 87, 0.3);
}

.btn-login:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 71, 87, 0.4);
}

.btn-login:active {
    transform: translateY(-1px);
}

.modal-note {
    font-size: 14px;
    color: #999;
    margin-top: 20px;
    line-height: 1.6;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 20% auto;
    }

    .modal-body {
        padding: 40px 25px 30px;
    }

    .modal-title {
        font-size: 22px;
        margin-bottom: 25px;
    }

    .qrcode-box {
        width: 180px;
        height: 180px;
    }

    .btn-login {
        padding: 14px 60px;
        font-size: 16px;
    }
}