/* ============================================
   common.css —— 积木世界三页共用样式
   （积木时间 / 积木计划 / 积木学习）
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft Yahei", "PingFang SC", system-ui, sans-serif;
}
body {
    background: linear-gradient(135deg, #eaffdc 0%, #f6fff0 45%, #ffffff 100%);
    min-height: 100vh;
    padding: 28px 16px 80px;
    color: #222;
    position: relative;
    overflow-x: hidden;
}
/* 柔和背景光斑 */
body::before,
body::after {
    content: "";
    position: fixed;
    border-radius: 50%;
    filter: blur(70px);
    z-index: 0;
    pointer-events: none;
}
body::before {
    width: 380px;
    height: 380px;
    background: rgba(146, 221, 110, 0.18);
    top: -120px;
    right: -80px;
}
body::after {
    width: 300px;
    height: 300px;
    background: rgba(115, 196, 84, 0.12);
    bottom: -100px;
    left: -60px;
}
.page-container {
    max-width: 1140px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* ===== 顶部导航条（三页共用） ===== */
.top-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px);
    border-radius: 18px;
    padding: 4px 18px;
    margin-bottom: 20px;
    box-shadow: 0 6px 20px rgba(128, 200, 90, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.6);
}
.top-nav-left {
    display: flex;
    align-items: center;
    gap: 22px;
}
.top-nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: bold;
    color: #3b8f2a;
}
.top-nav-brand img {
    height: 48px;
    object-fit: contain;
}
.top-nav-links {
    display: flex;
    align-items: center;
    gap: 6px;
}
.top-nav-links a {
    padding: 8px 18px;
    border-radius: 10px;
    text-decoration: none;
    color: #4f6a47;
    font-size: 15px;
    transition: all 0.2s ease;
}
.top-nav-links a.active {
    background: linear-gradient(135deg, #83ce62, #55b43a);
    color: #fff;
    box-shadow: 0 4px 12px rgba(115, 196, 84, 0.35);
}
.top-nav-links a:not(.active):hover {
    background: #eef9e6;
}

/* ===== 通用白色卡片（占位页用） ===== */
.panel {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px);
    border-radius: 28px;
    padding: 60px 40px;
    text-align: center;
    box-shadow: 0 16px 40px rgba(128, 200, 90, 0.14), 0 2px 8px rgba(128, 200, 90, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.6);
}
.panel h1 {
    font-size: 34px;
    color: #1f2a1c;
    margin-bottom: 14px;
}
.panel p {
    color: #6d8f63;
    font-size: 16px;
    line-height: 1.9;
}
.panel .badge {
    display: inline-block;
    background: #f2ffe4;
    color: #3b8f2a;
    font-size: 14px;
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 18px;
}

/* ===== 页脚（三页共用） ===== */
.footer-text {
    text-align: center;
    color: #999;
    font-size: 14px;
    margin-top: 32px;
}
