* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
}

body {
    background: #0a0a14;
    min-height: 100vh;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #f0f0f0;
    background-image: url('../images/bj.png'); /* 修改这一行 */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}
.container {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 4px 15px 10px;
}

.top-banner {
    width: 100%;
    height: 225px;
    border-radius: 12px;
    overflow: hidden;
    margin: 0 0 4px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
    position: relative;
}

.top-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.top-banner:hover img {
    transform: scale(1.03);
}

.banner-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.85), transparent);
    color: white;
}

.banner-content h1 {
    font-size: 1.8rem;
    margin-bottom: 6px;
    text-shadow: 0 2px 6px rgba(0,0,0,0.7);
    font-weight: 700;
}

.banner-content p {
    font-size: 0.95rem;
    opacity: 0.9;
    line-height: 1.4;
    max-width: 600px;
}

.marquee-container {
    width: 100%;
    height: 34px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    display: flex;
    align-items: center;
    overflow: hidden;
    border-radius: 6px;
    margin: 4px 0;
    border: 1px solid #ff6b6b;
}

.marquee {
    white-space: nowrap;
    animation: marquee 40s linear infinite;
    font-size: 0.95rem;
    padding-left: 100%;
    display: inline-block;
}

.marquee i {
    color: #ff6b6b;
    margin: 0 10px;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(375px, 1fr));
    gap: 5px;
    margin-top: -3px;
}

.card {
    width: 100%;
    height: 120px;
    background: transparent;
    border-radius: 10px;
    display: flex;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.card-image {
    flex: 0 0 85px;
    height: 120px;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.card-image img {
    width: 100%;
    height: 53%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.card-content {
    flex: 1;
    padding: 0px 18px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: rgba(0 0 0 / 0%);
    border-radius: 0 10px 10px 0;
}

.card h3 {
    font-size: 1.15rem;
    margin-bottom: 5px;
    color: white;
    position: relative;
    display: inline-block;
}

.card h3:after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 35px;
    height: 2px;
    background: linear-gradient(90deg, #ff6bb3, #ffa5d8);
    border-radius: 1px;
}

.card p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.8rem;
    line-height: 1.3;
    margin-bottom: 5px;
}

.appointment-range {
    display: flex;
    align-items: center;
    margin-top: 5px;
    padding: 4px 8px;
    background: rgba(255, 107, 179, 0.15);
    border-radius: 3px;
    width: fit-content;
}

.appointment-range i {
    color: #ff6bb3;
    margin-right: 5px;
    font-size: 0.8rem;
}

.appointment-range span {
    color: #ff6bb3;
    font-size: 0.78rem;
    font-weight: 500;
}

.jump-links {
    position: absolute;
    right: 12px;
    bottom: 10px;
    display: flex;
    gap: 8px;
}

.jump-link {
    display: inline-flex;
    align-items: center;
    padding: 5px 12px;
    color: white;
    text-decoration: none;
    border-radius: 16px;
    font-weight: 500;
    font-size: 0.8rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}

.jump-link.detail {
    background: #3b82f6;
    border: none;
}

.jump-link.detail:hover {
    background: #2563eb;
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 3px 8px rgba(59, 130, 246, 0.4);
}

.jump-link.secondary {
    background: #10b981;
    border: none;
}

.jump-link.secondary:hover {
    background: #059669;
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 3px 8px rgba(16, 185, 129, 0.4);
}

.card:hover {
    transform: translateY(-4px) scale(1.02);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.5);
    background: rgba(255, 255, 255, 0.05);
}

.card:hover .card-image img {
    transform: scale(1.1);
}

footer {
    margin-top: 20px;
    text-align: center;
    padding: 15px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 12px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
}

.section-title {
    text-align: center;
    margin: 4px 0 4px;
    position: relative;
    padding-bottom: 8px;
}

.section-title h2 {
    display: inline-block;
    background: rgba(255, 107, 179, 0.15);
    padding: 5px 75px;
    border-radius: 25px;
    font-size: 1.3rem;
    color: #ff6bb3;
    border: 1px solid rgba(255, 107, 179, 0.3);
    box-shadow: 0 3px 10px rgba(255, 107, 179, 0.2);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 25%;
    right: 25%;
    height: 2px;
    background: linear-gradient(to right, transparent, #ff6bb3, transparent);
    border-radius: 1px;
}

.floating-icons {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.floating-icon {
    position: absolute;
    color: rgba(255, 107, 179, 0.1);
    font-size: 1.2rem;
    animation: float 8s infinite ease-in-out;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(8px, -12px) rotate(8deg); }
    50% { transform: translate(-8px, 12px) rotate(-8deg); }
    75% { transform: translate(12px, 8px) rotate(4deg); }
}

.card-content:hover {
    background: rgba(40, 40, 60, 0.8);
}

.appointment-range:hover {
    background: rgba(255, 107, 179, 0.25);
}

.jump-link:hover {
    transform: translateY(-2px) scale(1.05);
}

.card h3, .card p {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.card:hover {
    z-index: 10;
}

.mobile-indicator {
    position: fixed;
    top: 10px;
    left: 10px;
    background: rgba(255, 107, 179, 0.7);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    z-index: 100;
    display: none;
}

/* 跳转状态指示器 */
.jump-status {
    position: fixed;
    top: 50px;
    left: 20px;
    background: rgba(255, 107, 179, 0.9);
    color: white;
    padding: 15px;
    border-radius: 10px;
    font-size: 1rem;
    z-index: 1000;
    box-shadow: 0 0 15px rgba(255, 107, 179, 0.5);
    max-width: 300px;
    display: none;
}

.jump-status.visible {
    display: block;
    animation: fadeInOut 3s forwards;
}

@keyframes fadeInOut {
    0% { opacity: 0; transform: translateY(-20px); }
    20% { opacity: 1; transform: translateY(0); }
    80% { opacity: 1; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(-20px); }
}

.jump-status h3 {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.jump-status p {
    margin: 5px 0;
    font-size: 0.9rem;
}

.status-icon {
    font-size: 1.2rem;
    margin-right: 8px;
}

@media (max-width: 600px) {
    .mobile-indicator {
        display: block;
    }
    
    body {
        padding: 0;
    }
    
    .container {
        padding: 4px 10px 8px;
    }
    
    .top-banner {
        height: 155px;
        margin: 0 0 4px;
    }
    
    body::before {
        content: '';
        display: block;
        height: 4px;
    }
    
    .marquee-container {
        height: 30px;
        margin: 4px 0;
    }
    
    .marquee {
        font-size: 0.8rem;
    }
    
    .card {
        height: 110px;
    }
    
    .card-image {
        flex: 0 0 75px;
        height: 110px;
    }
    
    .card h3 {
        font-size: 1.05rem;
    }
    
    .section-title {
        margin: 4px 0 4px;
    }
    
    .section-title h2 {
        padding: 4px 45px;
        font-size: 1.15rem;
    }
    
    .banner-content {
        padding: 10px 15px;
    }
    
    .banner-content h1 {
        font-size: 1.3rem;
    }
    
    .banner-content p {
        font-size: 0.85rem;
    }
    
    .jump-links {
        right: 8px;
        bottom: 8px;
        gap: 6px;
    }
    
    .jump-link {
        padding: 4px 10px;
        font-size: 0.75rem;
    }
}

@media (max-width: 900px) {
    .top-banner {
        height: 185px;
    }
    
    .card-grid {
        grid-template-columns: 1fr;
        gap: 6px;
    }
    
    .banner-content h1 {
        font-size: 1.5rem;
    }
}