.panorama-card {
    position: relative;
    aspect-ratio: 16 / 9;
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
}

.panorama-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* LQIP 低质量占位图 - 模糊背景 */
.panorama-card img.lqip-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0;
    filter: blur(20px);
    transform: scale(1.1);
    z-index: 0;
    transition: opacity 0.4s ease;
}

.panorama-card img.lqip-bg.fade-out {
    opacity: 0;
}

/* 主图 */
.panorama-card img.card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: 0;
    transition: opacity 0.5s ease, transform 0.7s ease;
}

.panorama-card img.card-img.loaded {
    opacity: 1;
}

.panorama-card:hover img.card-img {
    transform: scale(1.05);
}

.panorama-card .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.15) 100%);
    z-index: 1;
}

.panorama-card .content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
}

@media (min-width: 1024px) {
    .panorama-card .content {
        padding: 2.5rem;
    }
}

.panorama-card .card-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.panorama-card .card-title {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.3;
}

@media (min-width: 1024px) {
    .panorama-card .card-title {
        font-size: 1.75rem;
    }
}

.panorama-card .card-desc {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
    line-height: 1.6;
    max-width: 560px;
}

@media (min-width: 1024px) {
    .panorama-card .card-desc {
        font-size: 1rem;
    }
}

.panorama-card .card-tag {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.9);
}

html {
    scroll-behavior: smooth;
}
