/* ========== css/style.css ========== */
/* 清新·另类视觉风格，动静结合，毛玻璃与自然渐变，自适应所有设备 */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', 'Poppins', system-ui, -apple-system, 'Inter', sans-serif;
}

body {
    background: radial-gradient(circle at 10% 20%, rgba(205, 235, 255, 0.5), rgba(235, 248, 255, 0.9));
    overflow-x: hidden;
    position: relative;
}

/* 动态波浪背景 (动静结合) */
.wave-bg {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient( transparent 0px, transparent 29px, rgba(124, 195, 255, 0.08) 30px);
    pointer-events: none;
    z-index: -2;
    animation: slowDrift 18s infinite linear;
}

@keyframes slowDrift {
    0% { background-position: 0 0; }
    100% { background-position: 0 60px; }
}

.page-wrapper {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 1.5rem;
    position: relative;
    z-index: 2;
}

/* 玻璃拟态头部 */
.glass-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 1rem 2rem;
    margin: 1.5rem 0 1rem 0;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(12px);
    border-radius: 3rem;
    border: 1px solid rgba(255,255,240,0.6);
    box-shadow: 0 10px 25px -8px rgba(0,0,0,0.05);
}

.logo-area {
    font-size: 1.7rem;
    font-weight: 800;
    background: linear-gradient(135deg, #1f4e7a, #2c7da0);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: flex;
    align-items: center;
    gap: 10px;
}
.logo-area i {
    background: none;
    color: #1f6392;
    font-size: 2rem;
    -webkit-background-clip: unset;
    background-clip: unset;
    color: #0077be;
}
.logo-area .dot {
    width: 6px;
    height: 6px;
    background: #3c9eff;
    display: inline-block;
    border-radius: 50%;
    margin-left: 4px;
}

.premium-link {
    background: rgba(0, 119, 190, 0.9);
    color: white;
    padding: 0.5rem 1.2rem;
    border-radius: 2rem;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
    box-shadow: 0 6px 12px -5px rgba(0,100,200,0.3);
}
.premium-link:hover {
    background: #005f8c;
    transform: scale(1.02);
}

/* hero 区域 */
.hero {
    background: rgba(240, 248, 255, 0.7);
    backdrop-filter: blur(4px);
    margin: 1rem 0 2rem;
    padding: 2rem 1.5rem;
    border-radius: 3rem;
    text-align: center;
    border: 1px solid rgba(255,255,245,0.8);
}
.hero h1 {
    font-size: 2.3rem;
    font-weight: 700;
    letter-spacing: -0.3px;
    background: linear-gradient(130deg, #235b7c, #45b7d1);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.hero-wave {
    display: inline-block;
    animation: wave 2s infinite ease;
}
@keyframes wave {
    0% { transform: translateY(0px);}
    50% { transform: translateY(-5px);}
    100% { transform: translateY(0px);}
}
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 1rem 0;
    flex-wrap: wrap;
    font-weight: 500;
}
.hero-stats span i {
    margin-right: 6px;
    color: #0f6b9c;
}
.extra-link {
    margin-top: 15px;
    background: #eef4fc;
    display: inline-block;
    padding: 0.5rem 1.4rem;
    border-radius: 60px;
}
.glow-link {
    color: #0a5580;
    font-weight: bold;
    text-decoration: underline;
}

/* 网格区域：一排4个 自适应 */
.section-title {
    font-size: 1.6rem;
    margin: 2.5rem 0 1rem 0;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    color: #1c4e70;
}
.title-line {
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, #7fc9e2, transparent);
}
.card-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.8rem;
    margin-bottom: 4rem;
}

/* 卡片样式 (清新另类) */
.card {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(8px);
    border-radius: 28px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.15, 0.85, 0.35, 1);
    box-shadow: 0 15px 35px -12px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255,255,250,0.9);
}
.card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 28px 35px -15px rgba(0, 80, 120, 0.25);
}
.card-img {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9比例 */
    overflow: hidden;
}
.card-img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.card:hover .card-img img {
    transform: scale(1.05);
}
.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.25s;
    color: white;
    text-decoration: none;
    backdrop-filter: blur(2px);
}
.play-overlay i {
    font-size: 3.2rem;
    filter: drop-shadow(0 2px 5px black);
}
.play-text {
    font-size: 0.8rem;
    margin-top: 6px;
    font-weight: 500;
}
.card-img:hover .play-overlay {
    opacity: 1;
}
.card-info {
    padding: 1rem 1.2rem 1.3rem;
}
.card-info h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
}
.article-link {
    text-decoration: none;
    color: #1a5d7a;
    transition: 0.2s;
    background: linear-gradient(120deg, #eef5ff, transparent);
    padding: 0 4px;
    border-radius: 16px;
}
.article-link:hover {
    color: #003153;
    text-decoration: underline;
}
.keyword-actions {
    margin: 0.5rem 0 0.8rem;
}
.keyword-actions a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f0f9ff;
    padding: 0.3rem 0.9rem;
    border-radius: 50px;
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 500;
    color: #005e85;
    transition: 0.2s;
    border: 0.5px solid #cde3f0;
}
.keyword-actions a i {
    font-size: 0.7rem;
}
.keyword-actions a:hover {
    background: #d4e9ff;
    color: #002c41;
    border-color: #89bedb;
}
.video-meta {
    display: flex;
    gap: 12px;
    font-size: 0.7rem;
    color: #466b81;
    border-top: 1px dashed #bdd9ec;
    padding-top: 8px;
    margin-top: 6px;
}
.video-meta i {
    margin-right: 3px;
}

/* footer 高密度关键词 */
.glass-footer {
    background: rgba(240, 248, 255, 0.85);
    backdrop-filter: blur(8px);
    border-radius: 2rem 2rem 1rem 1rem;
    margin-top: 2rem;
    padding: 1.5rem;
}
.footer-inner {
    text-align: center;
}
.keyword-cloud {
    margin: 1rem 0;
    font-size: 0.85rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}
.keyword-cloud a {
    background: rgba(60, 130, 180, 0.1);
    padding: 3px 10px;
    border-radius: 20px;
    text-decoration: none;
    color: #1f6b93;
    transition: 0.2s;
}
.keyword-cloud a:hover {
    background: #2b7fa3;
    color: white;
}
.copyright {
    margin-top: 1rem;
    font-size: 0.75rem;
    opacity: 0.8;
}
.footer-links a {
    color: #1c6d8f;
    margin: 0 8px;
    text-decoration: none;
}

/* 移动端适配 */
@media (max-width: 1100px) {
    .card-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.3rem;
    }
}
@media (max-width: 750px) {
    .card-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .hero h1 {
        font-size: 1.6rem;
    }
    .glass-header {
        flex-direction: column;
        gap: 12px;
    }
}
@media (max-width: 480px) {
    .card-grid {
        grid-template-columns: 1fr;
    }
    .page-wrapper {
        padding: 0 1rem;
    }
}