/* style.css 精简并优化底部模块，保留热门合集与标签云，排版更美观 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    background: linear-gradient(135deg, #ffd6e7 0%, #ffebf3 50%, #e6f2ff 100%);
    color: #5a4a6a;
    line-height: 1.6;
    padding: 0 15px;
    max-width: 500px;
    margin: 0 auto;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* 樱花星星 */
.sakura {
    position: absolute;
    top: -50px;
    width: 15px;
    height: 15px;
    background: #ffb6c1;
    border-radius: 50% 0 50% 0;
    opacity: 0.7;
    animation: fall linear forwards;
    z-index: 0;
}
@keyframes fall {
    to {
        transform: translateY(100vh) rotate(360deg);
        opacity: 0;
    }
}
.star {
    position: absolute;
    background: white;
    border-radius: 50%;
    animation: twinkle 3s infinite;
    z-index: 0;
}
@keyframes twinkle {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

/* 顶部徽章 */
.site-badge {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 245, 250, 0.8);
    backdrop-filter: blur(4px);
    padding: 8px 12px;
    border-radius: 40px;
    margin: 12px 0 8px;
    border: 1px solid #ffd9e5;
    box-shadow: 0 2px 8px rgba(255,150,180,0.2);
    font-size: 13px;
    z-index: 2;
    position: relative;
}
.badge-owner i, .badge-update i {
    color: #ff8da1;
    margin-right: 4px;
}
.badge-owner { font-weight: 600; color: #b94b6f; }
.badge-update {
    background: white;
    padding: 4px 12px;
    border-radius: 30px;
    color: #8a6fa3;
    border: 1px solid #ffc0cb;
    font-size: 11px;
}

/* 个人感言 */
.personal-note {
    text-align: center;
    font-size: 14px;
    color: #936e8f;
    background: rgba(255,215,225,0.5);
    padding: 8px 16px;
    border-radius: 50px;
    margin: 5px 0 10px;
    border-left: 3px solid #ffafc2;
    border-right: 3px solid #ffafc2;
    backdrop-filter: blur(2px);
    font-style: italic;
    letter-spacing: 0.5px;
    z-index: 1;
    position: relative;
}
.personal-note i { color: #ff7b9c; margin: 0 5px; font-size: 12px; }

/* 三个按钮 (不变) */
.buttons-container {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin: 20px 0 15px;
    position: relative;
    z-index: 1;
}
.btn-wrapper { flex: 1; display: flex; flex-direction: column; align-items: center; }
.btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    text-align: center;
    padding: 12px 10px;
    border-radius: 16px;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    transition: all 0.3s;
    box-shadow: 0 6px 12px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
    min-height: 80px;
    border: 2px solid transparent;
    z-index: 1;
}
.btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent);
    transition: 0.5s;
    z-index: -1;
}
.btn:hover:before { left: 100%; }
.btn-qq {
    background: linear-gradient(135deg, #ff9eb5, #ff6b93);
    color: white;
    border-color: #ffd1dc;
}
.btn-free {
    background: linear-gradient(135deg, #a2d2ff, #6a9eff);
    color: white;
    border-color: #bde0fe;
}
.btn-resource {
    background: linear-gradient(135deg, #cdb4db, #a882c1);
    color: white;
    border-color: #e0c3f7;
}
.btn:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}
.btn i { font-size: 20px; margin-bottom: 8px; text-shadow: 1px 1px 2px rgba(0,0,0,0.2); }
.btn-tip {
    font-size: 11px;
    font-weight: normal;
    margin-top: 6px;
    opacity: 0.9;
    text-align: center;
    line-height: 1.4;
    background: rgba(255, 255, 255, 0.7);
    padding: 4px 8px;
    border-radius: 10px;
    color: #8a6fa3;
    width: 100%;
}

/* 网格头部 */
.grid-header {
    display: flex;
    justify-content: space-between;
    margin: 5px 0 10px;
    font-size: 12px;
    background: rgba(255,220,230,0.6);
    padding: 6px 12px;
    border-radius: 30px;
    backdrop-filter: blur(2px);
    border: 1px solid #ffb6c9;
    z-index: 1;
    position: relative;
}
.grid-tag i, .grid-count i { color: #ff708d; margin-right: 4px; }
.grid-count {
    background: white;
    padding: 2px 12px;
    border-radius: 30px;
    color: #5f4b68;
}

/* 视频网格 (2列10行) */
.video-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 10px 0 20px;
    position: relative;
    z-index: 5;
}
.video-card {
    border-radius: 16px;
    overflow: hidden;
    background: transparent;
    box-shadow: 0 6px 14px rgba(255, 107, 147, 0.2);
    border: 2px solid #ffe2eb;
    transition: transform 0.2s;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}
.video-card:hover { transform: scale(1.01); }
.video-thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background-color: #ffd9e8;
    border-radius: 14px;
}
.video-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}
.video-card:hover img { transform: scale(1.03); }
.play-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    pointer-events: none;
}
.play-btn-blur {
    width: 44px; height: 44px;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(6px);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    border: 1.5px solid rgba(255,255,255,0.6);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}
.play-btn-blur i { color: white; font-size: 20px; text-shadow: 0 2px 4px rgba(0,0,0,0.3); margin-left: 3px; }
.badge-lock {
    position: absolute; top: 6px; left: 6px;
    background: rgba(255, 107, 147, 0.85);
    backdrop-filter: blur(2px);
    color: white; font-size: 10px; font-weight: bold;
    padding: 4px 8px; border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.5); line-height: 1; z-index: 2;
}
.badge-time {
    position: absolute; top: 6px; right: 6px;
    background: rgba(30, 30, 30, 0.6);
    backdrop-filter: blur(2px);
    color: #fff3cd; font-size: 9px;
    padding: 3px 6px; border-radius: 20px;
    border: 1px solid rgba(255,215,0,0.4);
    display: flex; align-items: center; gap: 3px; z-index: 2;
}
.badge-time i { font-size: 8px; }
.video-info-bar {
    position: absolute; bottom: 0; left: 0; right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    color: white; padding: 8px 6px 5px;
    display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px;
    font-size: 10px; font-weight: 500; backdrop-filter: blur(2px); z-index: 2;
}
.video-info-bar span {
    display: inline-flex; align-items: center; gap: 3px;
    background: rgba(0,0,0,0.3); padding: 2px 6px; border-radius: 30px;
    border: 0.5px solid rgba(255,255,255,0.2);
}
.video-views i, .video-duration i { font-size: 8px; opacity: 0.9; }
.video-vip {
    background: linear-gradient(145deg, #f9b81b, #ffd966) !important;
    color: #2d1f00; font-weight: bold; border: none !important; margin-left: auto;
}

/* ===== 精简后的底部模块 (热门合集 + 标签云) 排版更美观 ===== */
.more-sections {
    margin: 20px 0 10px;
    position: relative;
    z-index: 5;
}
.section-wrapper {
    background: rgba(255, 240, 245, 0.5);
    backdrop-filter: blur(4px);
    border-radius: 24px;
    padding: 12px 12px 10px;
    margin-bottom: 16px;
    border: 1px solid #ffd0dc;
    box-shadow: 0 4px 12px rgba(255, 160, 180, 0.15);
}
.section-title {
    font-size: 14px;
    font-weight: 600;
    color: #b94b6f;
    padding: 0 4px 8px 4px;
    border-bottom: 1.5px dashed #ffc1d0;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}
.section-title i {
    color: #ff7b9c;
    margin-right: 6px;
    font-size: 16px;
}

/* 横向滚动容器 (热门合集) */
.scroll-x-container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 6px;
    margin-bottom: 4px;
}
.scroll-x {
    display: flex;
    gap: 10px;
    width: max-content;
}
.hot-collection {
    background: white;
    border: 1.5px solid #ffc2d5;
    border-radius: 40px;
    padding: 8px 18px;
    font-size: 13px;
    font-weight: 500;
    color: #7d5d79;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(255,150,180,0.2);
    cursor: pointer;
    transition: 0.2s;
}
.hot-collection i { color: #ff7b9c; font-size: 14px; }
.hot-collection:hover {
    background: #ffe2ed;
    transform: scale(0.97);
}

/* 标签云区块 */
.tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    padding: 4px 0;
}
.tag-item {
    background: white;
    border: 1px solid #ffc2d5;
    border-radius: 40px;
    padding: 6px 16px;
    font-size: 12px;
    color: #a06586;
    box-shadow: 0 2px 6px rgba(255,180,200,0.15);
    cursor: pointer;
    transition: 0.1s;
}
.tag-item:hover {
    background: #ffedf2;
    transform: translateY(-2px);
}

/* 底部小众链接 */
.footer-links {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin: 20px 0 5px;
    font-size: 12px;
    background: rgba(255,240,245,0.7);
    padding: 8px 12px;
    border-radius: 40px;
    border: 1px solid #ffccd9;
    backdrop-filter: blur(2px);
}
.footer-links a {
    text-decoration: none;
    color: #a06586;
    font-weight: 500;
    transition: color 0.2s;
}
.footer-links a:hover {
    color: #ff6b93;
    text-decoration: underline wavy #ffb6c1;
}

/* 售后悬浮按钮 */
.floating-service-btn {
    position: fixed; right: 15px; top: 50%; transform: translateY(-50%);
    background: linear-gradient(135deg, #4CAF50, #2E7D32);
    color: white; text-decoration: none; padding: 12px 8px; border-radius: 25px;
    box-shadow: 0 6px 15px rgba(76, 175, 80, 0.3); z-index: 1000;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    font-size: 12px; font-weight: bold; transition: all 0.3s;
    border: 2px solid #fff; animation: float-service 3s ease-in-out infinite;
    width: 50px; text-align: center;
}
.floating-service-btn i { font-size: 18px; margin-bottom: 5px; }
@keyframes float-service {
    0%, 100% { transform: translateY(-50%); }
    50% { transform: translateY(-55%); }
}

/* 浮动动物 */
.floating-cat, .floating-bunny {
    position: absolute; font-size: 24px; z-index: 0; opacity: 0.7;
    animation: float 6s ease-in-out infinite;
}
.floating-cat { top: 10%; left: 5%; }
.floating-bunny { bottom: 15%; right: 5%; }
@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

/* 解锁弹窗 */
.unlock-modal {
    display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    z-index: 2000; align-items: center; justify-content: center;
}
.unlock-modal.active { display: flex; }
.modal-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.6); backdrop-filter: blur(4px);
}
.modal-card {
    position: relative; background: linear-gradient(145deg, #fff5f9, #ffffff);
    width: 280px; max-width: 85vw; border-radius: 32px;
    padding: 28px 20px 24px; box-shadow: 0 25px 40px rgba(255, 80, 140, 0.3);
    border: 2px solid #ffc0cb; text-align: center; z-index: 2001;
    animation: modalPop 0.2s ease;
}
@keyframes modalPop {
    0% { transform: scale(0.8); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}
.modal-close {
    position: absolute; top: 12px; right: 16px; background: none; border: none;
    font-size: 22px; color: #b297a6; cursor: pointer; padding: 4px;
}
.modal-close:hover { color: #ff6b93; }
.modal-icon {
    background: #ffe2ed; width: 60px; height: 60px; border-radius: 30px;
    display: flex; align-items: center; justify-content: center; margin: 0 auto 16px;
    font-size: 28px; color: #ff4d7a; border: 2px dashed #ff9eb5;
}
.modal-card h3 { font-size: 22px; color: #5a3e4f; margin-bottom: 8px; font-weight: 700; }
.modal-text { color: #7a6688; font-size: 14px; margin-bottom: 22px; }
.modal-btn {
    display: inline-block; background: linear-gradient(135deg, #a2d2ff, #6a9eff);
    color: white; text-decoration: none; padding: 14px 24px; border-radius: 50px;
    font-weight: bold; font-size: 16px; border: 2px solid white;
    box-shadow: 0 8px 16px rgba(106, 158, 255, 0.4); transition: all 0.3s;
    width: 100%; max-width: 220px; margin: 0 auto 14px;
}
.modal-btn i { margin-right: 6px; }
.modal-btn:hover { transform: scale(1.02); background: linear-gradient(135deg, #b1dcff, #7aacff); }
.modal-footnote { font-size: 11px; color: #b8a2b5; border-top: 1px dashed #ffd1dc; padding-top: 12px; }

footer {
    text-align: center; color: #a2a2d0; font-size: 12px; padding: 15px 0 10px;
    border-top: 2px dashed #ffd1dc; margin-top: 5px; position: relative; z-index: 1;
}

/* 响应式 */
@media (max-width: 480px) {
    h1 { font-size: 28px; }
    .btn { min-height: 75px; font-size: 13px; }
    .floating-service-btn { right: 10px; padding: 10px 6px; width: 45px; font-size: 11px; }
    .floating-service-btn i { font-size: 16px; }
    .badge-lock { font-size: 9px; padding: 3px 6px; }
    .badge-time { font-size: 8px; }
    .video-info-bar { font-size: 9px; padding: 5px 4px; }
    .site-badge { font-size: 11px; }
    .personal-note { font-size: 12px; }
    .hot-collection { padding: 6px 14px; font-size: 12px; }
    .tag-item { padding: 5px 12px; font-size: 11px; }
}