.main-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #fff; /* 保证置顶时有背景色 */
}
.nav-bar {
    width: 1024px;
    margin: 0 auto;
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    background: #fff;
    color: #222;
}
li{
    list-style:none;
}
a{
    text-decoration: none;
    color: #888;
    font-size: 1rem;

}

.banner {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    background: #f8f8f8;
}
.banner-bg {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
    filter: brightness(0.95);
}
.banner-content {
    position: absolute;
    right: 50px; bottom: 50px;
    /* box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    background: rgba(255, 255, 255, 0.5); */
    border-radius: 16px;
    display: flex;    
    flex-direction: column;
    align-items: center; 
}
.logo {
    height: 80px;
}
.slogan {
    font-size: 2.2rem;
    color: #e94e77;
    font-weight: bold;
    letter-spacing: 2px;
    text-shadow: 0 2px 8px #fff;
}
.features{
    margin: 30px 0;
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}
.feature{
    width: 18%;
    flex-direction: column;
    align-items: center;
    display: flex;
}
.feature img{
    width: 100px;
    height: 100px;
    border-radius: 16px;
}
.title{
    font-size: 1.2rem;
    color: #333;
    margin-top: 12px;
    font-weight: bold;
}
.desc{
    font-size: 0.8rem;
    color: #666;
    margin-top: 6px;
}
.qr {
    height: 100px;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.main-nav {
    background: rgb(255, 247, 247);
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    padding: 0 0 0 0;
    display: flex;
    justify-content: space-evenly;
}
.main-nav .logo{
    height: 55px;
}
.main-nav ul {
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 0;
    list-style: none;
}
.main-nav li {
    padding: 18px 40px;
    font-size: 1.1rem;
    color: #444;
    cursor: pointer;
    transition: color 0.2s;
}
.main-nav li:hover {
    color: #e94e77;
}

.members {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-evenly;
    max-width: 1100px;
    margin: 40px auto 0 auto;
    text-align: center;
    display: flex;
    flex-direction: row;
}
.members h2 {
    font-size: 2rem;
    margin-bottom: 18px;
    color: #e94e77;
}
.tags{
    margin-right: 12px;
    margin-bottom: 14px;
    position: relative;
    width: 300px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.el-tag__content {
    margin: 10px;
    padding: 5px;
    border-radius: 5px;
    background-color: rgb(248, 209, 209);
    transition: transform 0.22s cubic-bezier(.4,2,.6,1), box-shadow 0.22s, background 0.22s;
    cursor: pointer;
}
.el-tag__content:hover {
    transform: scale(1.12) rotate(-2deg);
    box-shadow: 0 4px 18px rgba(255,121,121,0.18);
    background-color: #ffeaea !important;
    z-index: 2;
}
.el-tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}
.member-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 10px;
    width: 350px;
    margin: 0 auto;
}
.member-list img {
    width: 100%;
    height: 110px;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: none;
    border: none;
    transition: transform 0.25s cubic-bezier(.4,2,.6,1), box-shadow 0.25s;
    z-index: 1;
}
.member-list img:hover {
    transform: scale(1.12) rotate(-2deg);
    box-shadow: 0 8px 32px rgba(255,121,121,0.18);
    z-index: 2;
}

.matchmaker-banner {
    max-width: 1100px;
    margin: 48px auto 0 auto;
    position: relative;
    text-align: center;
}
.matchmaker-banner img {
    width: 100%;
    max-height: 220px;
    object-fit: cover;
    border-radius: 12px;
}
.matchmaker-text {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 2rem;
    font-weight: bold;
    text-shadow: 0 2px 12px #222;
}

.service-steps {
    max-width: 1100px;
    margin: 48px auto 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 32px 24px;
    justify-content: space-around;
}
.service-steps ul{
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
}
.step {
    margin: 10px 0;
    background: #faf7fb;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(233,78,119,0.04);
    width: 330px;
    padding: 18px 12px 12px 12px;
    text-align: center;
    position: relative;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s cubic-bezier(.4,2,.6,1), transform 0.7s cubic-bezier(.4,2,.6,1);
}
.step.visible {
    opacity: 1;
    transform: translateY(0);
}
.step-num {
    position: absolute;
    left: 12px;
    top: 10px;
    font-size: 1.3rem;
    color: #bfa2e8;
    font-weight: bold;
}
.step img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 10px;
}
.step-desc {
    font-size: 1rem;
    color: #444;
}

.footer {
    background: #f8f8f8;
    margin-top: 48px;
    padding: 32px 0 16px 0;
    text-align: center;
    color: #888;
    font-size: 0.95rem;
}
.footer-content {
    max-width: 900px;
    margin: 0 auto;
}
.footer-qr {
    height: 70px;
    margin: 12px 0;
    border-radius: 8px;
}
.fooder-top{
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
}
.gzh {
    width: 100px;
    height: 100px;
}
.gzh-colum{
    display: flex;
    flex-direction: column;
    align-items: center;
}
.friend-url{
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
}
.friend-url a {
    margin: auto 10px;
}
@media (max-width: 1200px) {
    .banner-content, .members, .matchmaker-banner, .service-steps, .footer-content {
        padding-left: 16px;
        padding-right: 16px;
    }
}
@media (max-width: 900px) {
    .banner-content {
        flex-direction: column;
        align-items: center; 
        padding: 16px;
    }
    .slogan {
        margin: 16px 0;
        font-size: 1.3rem;
    }
    .qr {
        height: 70px;
    }
    .main-nav li {
        padding: 12px 16px;
        font-size: 1rem;
    }
    .service-steps {
        flex-direction: column;
        align-items: center;
    }
    .step {
        width: 90%;
        margin-bottom: 18px;
    }
}
@media (max-width: 600px) {
    .banner {
        height: 120px;
    }
    .banner-bg {
        height: 120px;
    }
    .logo {
        height: 40px;
    }
    .footer-qr {
        height: 40px;
    }
}

.banner-content .form {
    background: rgba(0,0,0,0.5);
    border-radius: 10px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.3);
    padding: 28px 24px 18px 24px;
    min-width: 340px;
    margin-top: 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.register-form h3 {
    text-align: center;
    color: #fff;
    margin-bottom: 8px;
    font-size: 1.2rem;
    font-weight: bold;
    letter-spacing: 1px;
}
.register-form hr {
    border: none;
    border-top: 1px solid #fff3;
    margin: 16px 0;
}
.register-form .form-group {
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    width: 100%;
    color: #fff;
    font-size: 1rem;
}
.register-form label {
    margin-right: 10px;
    color: #fff;
    font-size: 1rem;
}
.register-form input[type="text"] {
    background: rgba(255,255,255,0.8);
    border: none;
    border-radius: 6px;
    padding: 6px 10px;
    font-size: 1rem;
    margin-right: 6px;
    outline: none;
    width: auto;
    color: #333;
}
.register-form input[type="text"]:focus {
    background: #fff;
    box-shadow: 0 0 0 2px #a68cff44;
}
.register-form input[type="radio"] {
    accent-color: #ffd7d7;
    margin-right: 2px;
}
.register-btn-main {
    width: 100%;
    padding: 12px 0;
    background: rgb(250, 150, 150);
    color: #ffd7d7;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s;
    box-shadow: 0 2px 8px #a68cff33;
    letter-spacing: 2px;
}
.register-btn-main:hover {
    background: rgb(255 121 121);
} 