/* ============================================
   Like Girl — 首页全新样式 (LG-NewUi Style)
   ============================================ */

/* 保留基础样式导入 */
@import url(content.css?LikeGirl=v5.2.0);
@import url(small-x.css?LikeGirl=v5.2.0) only screen and (max-width: 768px);
@import url(small.css?LikeGirl=v5.2.0) only screen and (min-width: 768px);
@import url(medium.css?LikeGirl=v5.2.0) only screen and (min-width: 960px);
@import url(big.css?LikeGirl=v5.2.0) only screen and (min-width: 1200px);

/* ============================================
   CSS Variables
   ============================================ */
:root {
    --primary: #f16b4f;
    --primary-light: #ff9e8a;
    --accent: #6c5ce7;
    --success: #00b894;
    --warning: #fdcb6e;
    --text-dark: #2d3436;
    --text-body: #636e72;
    --text-light: #b2bec3;
    --bg-white: #ffffff;
    --bg-light: #f8f9fa;
    --bg-card: #ffffff;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 28px;
    --section-pad: 5rem 0;
    --inner-width: 1100px;
    --font-serif: 'Noto Serif SC', serif;
    --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
}

/* ============================================
   全局重置 & 基础
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-sans);
    color: var(--text-body);
    line-height: 1.6;
    background: var(--bg-light) !important;
    background-image: none !important;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

.section-inner {
    max-width: var(--inner-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* ============================================
   Hero 区域 — 全屏背景 + 计时器
   ============================================ */

/* 让 head.php 输出的 bg-wrap 成为全屏 Hero */
.bg-wrap {
    position: relative;
    z-index: 1;
}

.bg-img {
    min-height: 100vh !important;
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 6rem !important;
    padding-bottom: 0 !important;
    position: relative;
    background-attachment: fixed !important;
}

/* 半透明渐变遮罩 */
.bg-img::before {
    content: "" !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.25) 0%,
        rgba(0, 0, 0, 0.15) 40%,
        rgba(0, 0, 0, 0.3) 100%
    ) !important;
    z-index: 0 !important;
}

/* 头像区域在 Hero 中的样式 */
.bg-img .middle {
    position: relative !important;
    z-index: 2 !important;
    margin-bottom: 2rem !important;
    backdrop-filter: blur(20px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
    background: rgba(255, 255, 255, 0.18) !important;
    border: 1px solid rgba(255, 255, 255, 0.35) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15) !important;
}

.bg-img .middle .img-male span,
.bg-img .middle .img-female span {
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

/* 波浪在 Hero 底部 */
.bg-img .waves {
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100% !important;
    z-index: 3 !important;
    margin-top: 0 !important;
}

/* ============================================
   Hero 计时器区域
   ============================================ */
.hero-timer-section {
    text-align: center;
    padding: 3rem 2rem 5rem;
    margin-top: -6rem;
    position: relative;
    z-index: 4;
    background: transparent;
}

.hero-subtitle {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-weight: 400;
    color: #fff;
    text-shadow: 0 2px 12px rgba(0,0,0,0.4);
    letter-spacing: 0.3rem;
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeSlideUp 1s ease 0.3s forwards;
}

.hero-timer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    opacity: 0;
    animation: fadeSlideUp 1s ease 0.5s forwards;
}

.timer-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-md);
    padding: 1.5rem 2rem;
    min-width: 100px;
    transition: transform 0.3s ease, background 0.3s ease;
}

.timer-unit:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.3);
}

.timer-unit b {
    font-family: var(--font-serif);
    font-size: 3.5rem;
    font-weight: 700;
    color: #fff;
    line-height: 1;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.timer-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
    margin-top: 0.5rem;
    letter-spacing: 0.15rem;
    font-weight: 500;
}

.timer-sep {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 300;
    padding-bottom: 1.5rem;
}

.timer-caption {
    display: block;
    margin-top: 1.5rem;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.2rem;
    font-family: var(--font-serif);
}

/* ============================================
   统计仪表盘
   ============================================ */
.stats-dashboard {
    padding: var(--section-pad);
    background: var(--bg-white);
    position: relative;
}

.stats-dashboard::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--primary);
    border-radius: 2px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    padding: 1.8rem;
    background: var(--bg-white);
    border-radius: var(--radius-md);
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: var(--shadow-sm);
    transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    text-decoration: none;
    color: inherit;
    position: relative;
    overflow: hidden;
}

.stat-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: var(--radius-md);
    opacity: 0;
    transition: opacity 0.35s ease;
    background: linear-gradient(135deg, rgba(241, 107, 79, 0.05), rgba(108, 92, 231, 0.05));
}

.stat-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.stat-card:hover::after {
    opacity: 1;
}

.stat-icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(241, 107, 79, 0.1), rgba(241, 107, 79, 0.05));
}

.stat-icon svg {
    width: 28px;
    height: 28px;
}

.stat-info {
    position: relative;
    z-index: 1;
}

.stat-number {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.2;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 0.2rem;
    letter-spacing: 0.05rem;
}

.stat-sub {
    font-size: 0.75rem;
    color: var(--text-light);
    margin-top: 0.15rem;
    opacity: 0.7;
}

/* ============================================
   运行天数
   ============================================ */
.running-days-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--primary) 0%, #e55039 50%, #eb4d4b 100%);
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.running-days-section::before {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    background: rgba(255,255,255,0.06);
    border-radius: 50%;
    top: -100px;
    right: -100px;
}

.running-days-section::after {
    content: "";
    position: absolute;
    width: 200px;
    height: 200px;
    background: rgba(255,255,255,0.04);
    border-radius: 50%;
    bottom: -60px;
    left: -60px;
}

.running-title {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 400;
    letter-spacing: 0.4rem;
    opacity: 0.9;
    margin-bottom: 1rem;
}

.running-number-wrapper {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.8rem;
}

.running-number {
    font-family: var(--font-serif);
    font-size: 5rem;
    font-weight: 700;
    line-height: 1;
    text-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.running-unit {
    font-size: 1.5rem;
    font-weight: 300;
    letter-spacing: 0.3rem;
    opacity: 0.8;
}

.running-desc {
    font-size: 1rem;
    margin-top: 0.8rem;
    opacity: 0.75;
    letter-spacing: 0.2rem;
}

/* ============================================
   通用内容区块
   ============================================ */
.content-section {
    padding: var(--section-pad);
    background: var(--bg-white);
}

.content-section.alt-bg {
    background: var(--bg-light);
}

.section-title {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 3rem;
    letter-spacing: 0.15rem;
    position: relative;
}

.section-title::after {
    content: "";
    display: block;
    width: 50px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
    margin: 0.8rem auto 0;
}

.title-icon {
    font-size: 1.4rem;
    margin-right: 0.5rem;
}

.view-all-btn {
    display: block;
    text-align: center;
    margin-top: 2.5rem;
    padding: 0.8rem 2rem;
    font-size: 0.95rem;
    color: var(--primary);
    border: 1.5px solid var(--primary);
    border-radius: 50px;
    transition: all 0.3s ease;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    letter-spacing: 0.05rem;
}

.view-all-btn:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(241, 107, 79, 0.3);
}

/* ============================================
   最新清单
   ============================================ */
.lovelist-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.lovelist-card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: var(--shadow-sm);
    transition: all 0.35s ease;
    text-decoration: none;
    color: inherit;
    display: block;
}

.lovelist-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.lovelist-img {
    width: 100%;
    height: 160px;
    overflow: hidden;
    background: linear-gradient(135deg, #f5f5f5, #eee);
}

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

.lovelist-card:hover .lovelist-img img {
    transform: scale(1.08);
}

.lovelist-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

.lovelist-img-placeholder svg {
    width: 48px;
    height: 48px;
    opacity: 0.4;
}

.lovelist-info {
    padding: 1.2rem;
}

.lovelist-info h3 {
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.lovelist-status {
    font-size: 0.8rem;
    padding: 0.25rem 0.8rem;
    border-radius: 20px;
    display: inline-block;
}

.lovelist-status.done {
    background: rgba(0, 184, 148, 0.1);
    color: var(--success);
}

.lovelist-status.todo {
    background: rgba(178, 190, 195, 0.15);
    color: var(--text-light);
}

/* ============================================
   最新点滴
   ============================================ */
.article-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.article-card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    padding: 2rem;
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: var(--shadow-sm);
    transition: all 0.35s ease;
    text-decoration: none;
    color: inherit;
    display: block;
    position: relative;
    overflow: hidden;
}

.article-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--accent), #a29bfe);
    border-radius: 0 2px 2px 0;
}

.article-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.article-day-badge {
    display: inline-block;
    padding: 0.3rem 0.9rem;
    background: linear-gradient(135deg, var(--accent), #a29bfe);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 20px;
    letter-spacing: 0.1rem;
    margin-bottom: 1rem;
}

.article-card h3 {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.6rem;
    line-height: 1.4;
}

.article-excerpt {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--text-light);
}

.article-author {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.meta-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
}

.article-time {
    font-size: 0.78rem;
    opacity: 0.7;
}

/* ============================================
   最新相册 — 瀑布流网格
   ============================================ */
.photo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.photo-card {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s ease;
    cursor: pointer;
    aspect-ratio: 4/3;
}

/* 交替高度模拟瀑布流 */
.photo-card-1 { aspect-ratio: 4/3; }
.photo-card-2 { aspect-ratio: 3/4; }
.photo-card-3 { aspect-ratio: 1/1; }

.photo-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.photo-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.photo-card:hover img {
    transform: scale(1.08);
}

.photo-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem 1.2rem 1rem;
    background: linear-gradient(transparent, rgba(0,0,0,0.6));
    color: #fff;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.35s ease;
}

.photo-card:hover .photo-overlay {
    opacity: 1;
    transform: translateY(0);
}

.photo-text {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.photo-date {
    font-size: 0.75rem;
    opacity: 0.8;
    font-style: normal;
}

/* ============================================
   最新留言
   ============================================ */
.message-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 800px;
    margin: 0 auto;
}

.message-item {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.message-item:hover {
    transform: translateX(6px);
    box-shadow: var(--shadow-md);
    border-color: rgba(241, 107, 79, 0.2);
}

.msg-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.msg-body {
    flex: 1;
    min-width: 0;
}

.msg-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.msg-name {
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-dark);
}

.msg-time {
    font-size: 0.75rem;
    color: var(--text-light);
}

.msg-text {
    font-size: 0.9rem;
    color: var(--text-body);
    line-height: 1.6;
    margin-bottom: 0.4rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.msg-location {
    font-size: 0.75rem;
    color: var(--text-light);
}

/* ============================================
   Love Day 纪念日
   ============================================ */
.loveday-section {
    background: linear-gradient(135deg, #fff5f5 0%, #ffeaa7 50%, #fff5f5 100%) !important;
}

.loveday-section .section-title::after {
    background: var(--primary);
}

.loveday-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.5rem;
}

.loveday-card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    padding: 2rem 1.5rem;
    text-align: center;
    border: 1px solid rgba(241, 107, 79, 0.15);
    box-shadow: var(--shadow-sm);
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
}

.loveday-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
}

.loveday-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.loveday-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
}

.loveday-card h3 {
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.4rem;
}

.loveday-desc {
    font-size: 0.8rem;
    color: var(--text-light);
}

/* ============================================
   动画
   ============================================ */
@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animated {
    animation-duration: 0.8s;
    animation-fill-mode: both;
}

.fadeInUp {
    animation-name: fadeInUp;
}

.delay-1 {
    animation-delay: 0.15s;
}

.delay-2 {
    animation-delay: 0.3s;
}

.delay-3 {
    animation-delay: 0.45s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   响应式 — 平板 (≤ 1024px)
   ============================================ */
@media screen and (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .lovelist-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .photo-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .article-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   响应式 — 手机 (≤ 768px)
   ============================================ */
@media screen and (max-width: 768px) {
    :root {
        --section-pad: 3rem 0;
        --inner-width: 100%;
    }

    .section-inner {
        padding: 0 1.2rem;
    }

    /* Hero */
    .bg-img {
        min-height: 100svh !important;
        padding-top: 5rem !important;
    }

    .bg-img .middle {
        flex-direction: column;
        gap: 1.5rem;
        padding: 2.5rem 2rem !important;
    }

    .bg-img .middle img {
        width: 7rem !important;
        height: 7rem !important;
    }

    .bg-img .middle .love-icon img {
        width: 4rem !important;
        height: 4rem !important;
    }

    /* Timer */
    .hero-timer-section {
        padding: 2rem 1rem 3rem;
        margin-top: -4rem;
    }

    .hero-timer {
        gap: 0.3rem;
    }

    .timer-unit {
        padding: 1rem 0.8rem;
        min-width: 60px;
        border-radius: 14px;
    }

    .timer-unit b {
        font-size: 2rem;
    }

    .timer-label {
        font-size: 0.7rem;
    }

    .timer-sep {
        font-size: 1.5rem;
        padding-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        letter-spacing: 0.15rem;
    }

    /* Stats */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .stat-card {
        padding: 1.2rem;
    }

    .stat-icon {
        width: 42px;
        height: 42px;
        border-radius: 12px;
    }

    .stat-icon svg {
        width: 22px;
        height: 22px;
    }

    .stat-number {
        font-size: 1.4rem;
    }

    .stat-label {
        font-size: 0.75rem;
    }

    .stat-sub {
        display: none;
    }

    /* Running days */
    .running-number {
        font-size: 3.5rem;
    }

    .running-unit {
        font-size: 1.2rem;
    }

    .running-title {
        font-size: 1.1rem;
    }

    /* Lovelist */
    .lovelist-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .lovelist-img {
        height: 120px;
    }

    .lovelist-info {
        padding: 1rem;
    }

    .lovelist-info h3 {
        font-size: 0.9rem;
    }

    /* Articles */
    .article-card {
        padding: 1.5rem;
    }

    .article-card h3 {
        font-size: 1rem;
    }

    /* Photos */
    .photo-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }

    .photo-card {
        border-radius: var(--radius-sm);
    }

    /* Messages */
    .message-item {
        padding: 1rem;
    }

    .msg-avatar {
        width: 40px;
        height: 40px;
    }

    .msg-name {
        font-size: 0.85rem;
    }

    .msg-text {
        font-size: 0.85rem;
    }

    /* Love Day */
    .loveday-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .loveday-card {
        padding: 1.5rem 1rem;
    }

    .section-title {
        font-size: 1.3rem;
        margin-bottom: 2rem;
    }

    .view-all-btn {
        font-size: 0.85rem;
        padding: 0.7rem 1.5rem;
    }

    /* 波浪在手机端隐藏 */
    .bg-img .waves {
        display: none !important;
    }

    /* 侧边栏在手机端隐藏 */
    .lg-sidebar {
        display: none !important;
    }
}

/* ============================================
   响应式 — 小手机 (≤ 480px)
   ============================================ */
@media screen and (max-width: 480px) {
    .hero-timer-section {
        padding: 1.5rem 0.8rem 2.5rem;
    }

    .timer-unit {
        padding: 0.8rem 0.5rem;
        min-width: 52px;
    }

    .timer-unit b {
        font-size: 1.6rem;
    }

    .timer-sep {
        font-size: 1.2rem;
    }

    .hero-subtitle {
        font-size: 0.85rem;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.8rem;
    }

    .stat-card {
        padding: 1rem;
        gap: 0.8rem;
    }

    .stat-number {
        font-size: 1.2rem;
    }

    .lovelist-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.8rem;
    }

    .lovelist-img {
        height: 100px;
    }

    .photo-grid {
        grid-template-columns: 1fr 1fr;
    }

    .loveday-grid {
        grid-template-columns: 1fr;
    }

    .running-number {
        font-size: 2.8rem;
    }
}

/* ============================================
   打印样式
   ============================================ */
@media print {
    .bg-wrap,
    .hero-timer-section,
    .lg-sidebar {
        display: none;
    }
}
