@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);

/* ========== 恋爱计时区域 ========== */
.love-timer-section {
    padding: 3rem 0;
    text-align: center;
}

.love-timer-section .section-title {
    font-size: 1.4rem;
    color: #666;
    margin-bottom: 1rem;
    font-family: 'Noto Serif SC', serif;
}

.love-timer-section .section-title span {
    background: linear-gradient(90deg, #ff6b6b, #feca57, #48dbfb, #ff9ff3);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 700;
}

.timer-display {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.timer-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 1rem;
    min-width: 80px;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.timer-item:nth-child(2) {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    box-shadow: 0 4px 15px rgba(245, 87, 108, 0.3);
}

.timer-item:nth-child(3) {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    box-shadow: 0 4px 15px rgba(79, 172, 254, 0.3);
}

.timer-item:nth-child(4) {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    box-shadow: 0 4px 15px rgba(67, 233, 123, 0.3);
}

.timer-item .number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    font-family: 'Noto Serif SC', serif;
    line-height: 1;
}

.timer-item .label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 0.3rem;
}

/* ========== 信息统计区域 ========== */
.stats-section {
    padding: 2rem 0;
}

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

.stat-card {
    padding: 1.5rem 1rem;
    border-radius: 1rem;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.stat-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.stat-card:nth-child(1) { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); }
.stat-card:nth-child(2) { background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%); }
.stat-card:nth-child(3) { background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%); }
.stat-card:nth-child(4) { background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%); }
.stat-card:nth-child(5) { background: linear-gradient(135deg, #fa709a 0%, #fee140 100%); }
.stat-card:nth-child(6) { background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%); color: #666; }

.stat-card .stat-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.stat-card .stat-number {
    font-size: 2rem;
    font-weight: 700;
    font-family: 'Noto Serif SC', serif;
}

.stat-card .stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-top: 0.3rem;
}

/* ========== 纪念日区域 ========== */
.anniversary-section {
    padding: 2rem 0;
}

.anniversary-section .section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    padding: 0 0.5rem;
}

.anniversary-section .section-header h2 {
    font-size: 1.3rem;
    color: #333;
    font-family: 'Noto Serif SC', serif;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.anniversary-section .section-header h2::before {
    content: '';
    width: 4px;
    height: 1.3rem;
    background: linear-gradient(180deg, #667eea, #764ba2);
    border-radius: 2px;
}

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

.anniversary-card {
    background: #fff;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
}

.anniversary-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
}

.anniversary-card .card-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.anniversary-card .card-icon.countdown {
    background: linear-gradient(135deg, #ff6b6b, #feca57);
}

.anniversary-card .card-icon.memorial {
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.anniversary-card .card-content {
    flex: 1;
}

.anniversary-card .card-title {
    font-size: 1rem;
    color: #333;
    font-weight: 600;
    margin-bottom: 0.3rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.anniversary-card .card-date {
    font-size: 0.85rem;
    color: #999;
}

.anniversary-card .card-days {
    text-align: right;
}

.anniversary-card .days-number {
    font-size: 1.8rem;
    font-weight: 700;
    font-family: 'Noto Serif SC', serif;
    background: linear-gradient(90deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.anniversary-card .days-label {
    font-size: 0.8rem;
    color: #999;
}

/* ========== 留言展示区域 ========== */
.messages-section {
    padding: 2rem 0;
}

.messages-section .section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    padding: 0 0.5rem;
}

.messages-section .section-header h2 {
    font-size: 1.3rem;
    color: #333;
    font-family: 'Noto Serif SC', serif;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.messages-section .section-header h2::before {
    content: '';
    width: 4px;
    height: 1.3rem;
    background: linear-gradient(180deg, #4facfe, #00f2fe);
    border-radius: 2px;
}

.messages-section .view-more {
    font-size: 0.9rem;
    color: #667eea;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

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

.message-card {
    background: #fff;
    border-radius: 1rem;
    padding: 1.2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.message-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.message-card .msg-header {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
}

.message-card .msg-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.message-card .msg-info {
    flex: 1;
}

.message-card .msg-name {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
}

.message-card .msg-time {
    font-size: 0.8rem;
    color: #999;
}

.message-card .msg-content {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ========== 时间轴区域 ========== */
.timeline-section {
    padding: 2rem 0;
}

.timeline-section .section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    padding: 0 0.5rem;
}

.timeline-section .section-header h2 {
    font-size: 1.3rem;
    color: #333;
    font-family: 'Noto Serif SC', serif;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.timeline-section .section-header h2::before {
    content: '';
    width: 4px;
    height: 1.3rem;
    background: linear-gradient(180deg, #43e97b, #38f9d7);
    border-radius: 2px;
}


.timeline-container {
    position: relative;
    padding-left: 30px;
}

.timeline-container::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, #667eea, #764ba2, #4facfe, #43e97b);
}

.timeline-item {
    position: relative;
    padding-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -24px;
    top: 5px;
    width: 12px;
    height: 12px;
    background: #fff;
    border: 3px solid #667eea;
    border-radius: 50%;
}

.timeline-item:nth-child(2)::before { border-color: #f5576c; }
.timeline-item:nth-child(3)::before { border-color: #4facfe; }
.timeline-item:nth-child(4)::before { border-color: #43e97b; }

.timeline-item .timeline-date {
    font-size: 0.85rem;
    color: #999;
    margin-bottom: 0.3rem;
}

.timeline-item .timeline-content {
    background: #fff;
    padding: 1rem 1.2rem;
    border-radius: 0.8rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.timeline-item .timeline-title {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.3rem;
}

.timeline-item .timeline-desc {
    font-size: 0.9rem;
    color: #666;
}

/* ========== 功能卡片优化 ========== */
.nav-cards-section {
    padding: 2rem 0;
}

.nav-cards-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
}

.nav-card {
    background: #fff;
    border-radius: 1rem;
    padding: 1.5rem 1rem;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    cursor: pointer;
}

.nav-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.nav-card .nav-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 0.8rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.5s ease;
}

.nav-card:hover .nav-icon {
    transform: rotate(360deg);
}

.nav-card .nav-icon img {
    width: 30px;
    height: 30px;
}

.nav-card:nth-child(1) .nav-icon { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); }
.nav-card:nth-child(2) .nav-icon { background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%); }
.nav-card:nth-child(3) .nav-icon { background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%); }
.nav-card:nth-child(4) .nav-icon { background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%); }
.nav-card:nth-child(5) .nav-icon { background: linear-gradient(135deg, #fa709a 0%, #fee140 100%); }

.nav-card .nav-title {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.3rem;
}

.nav-card .nav-desc {
    font-size: 0.8rem;
    color: #999;
}

/* ========== 响应式适配 ========== */
@media screen and (max-width: 1200px) {
    .nav-cards-grid {
        grid-template-columns: repeat(5, 1fr);
    }
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .central {
        padding: 0 1rem;
    }
}

@media screen and (max-width: 960px) {
    .nav-cards-grid {
        grid-template-columns: repeat(5, 1fr);
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px) {
    .timer-display {
        gap: 0.8rem;
    }
    .timer-item {
        padding: 0.8rem 1rem;
        min-width: 65px;
    }
    .timer-item .number {
        font-size: 1.8rem;
    }
    .nav-cards-grid {
        grid-template-columns: repeat(5, 1fr);
    }
    .nav-card {
        padding: 1rem 0.5rem;
    }
    .nav-card .nav-title {
        font-size: 0.85rem;
    }
    .nav-card .nav-desc {
        display: none;
    }
    .nav-card .nav-icon {
        width: 40px;
        height: 40px;
    }
    .nav-card .nav-icon img {
        width: 22px;
        height: 22px;
    }
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .stat-card {
        padding: 1rem 0.5rem;
    }
    .stat-card .stat-number {
        font-size: 1.5rem;
    }
    .stat-card .stat-label {
        font-size: 0.75rem;
    }
    .anniversary-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .anniversary-card {
        padding: 1rem;
    }
    .anniversary-card .card-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    .anniversary-card .card-title {
        font-size: 0.9rem;
    }
    .anniversary-card .days-number {
        font-size: 1.5rem;
    }
    .messages-grid {
        grid-template-columns: 1fr;
    }
    .section-header h2 {
        font-size: 1.1rem;
    }
}

@media screen and (max-width: 480px) {
    .nav-cards-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 0.5rem;
    }
    .nav-card {
        padding: 0.8rem 0.3rem;
    }
    .nav-card .nav-icon {
        width: 35px;
        height: 35px;
        margin-bottom: 0.5rem;
    }
    .nav-card .nav-icon img {
        width: 18px;
        height: 18px;
    }
    .nav-card .nav-title {
        font-size: 0.75rem;
    }
    .timer-item {
        padding: 0.6rem 0.8rem;
        min-width: 55px;
    }
    .timer-item .number {
        font-size: 1.5rem;
    }
    .timer-item .label {
        font-size: 0.75rem;
    }
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
    }
    .stat-card {
        padding: 0.8rem 0.3rem;
        border-radius: 0.8rem;
    }
    .stat-card .stat-icon {
        font-size: 1.5rem;
        margin-bottom: 0.3rem;
    }
    .stat-card .stat-number {
        font-size: 1.3rem;
    }
    .stat-card .stat-label {
        font-size: 0.7rem;
    }
    .anniversary-grid {
        grid-template-columns: 1fr;
    }
    .love-timer-section {
        padding: 2rem 0;
    }
    .love-timer-section .section-title {
        font-size: 1.1rem;
    }
}

/* ========== 暂无数据提示 ========== */
.empty-tip {
    text-align: center;
    padding: 3rem 1rem;
    color: #999;
}

.empty-tip img {
    width: 120px;
    opacity: 0.5;
    margin-bottom: 1rem;
}

.empty-tip p {
    font-size: 0.95rem;
}

/* ========== 查看更多按钮 ========== */
.view-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border-radius: 2rem;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.view-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
    color: #fff;
}
