/* ============================================================
   base.css — 全站共享基础样式
   所有页面均引用此文件
   ============================================================ */

/* ── 全局重置 & 基础排版 ─────────────────────────────────── */
body {
    background-color: #ffffff;
    color: #111111;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ── 隐藏滚动条（保留滚动功能） ──────────────────────────── */
.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

/* ── 进入动画 ────────────────────────────────────────────── */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.delay-100 { animation-delay: 100ms; }
.delay-200 { animation-delay: 200ms; }
.delay-300 { animation-delay: 300ms; }
.delay-500 { animation-delay: 500ms; }

/* ── 大字背景品牌文字（描边风格） ───────────────────────── */
.giant-text {
    font-size: clamp(60px, 12vw, 160px);
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1px #e5e7eb;
}

/* ── details/summary 折叠组件 ───────────────────────────── */
details > summary { list-style: none; }
details > summary::-webkit-details-marker { display: none; }
details[open] summary ~ * { animation: sweep 0.3s ease-in-out; }

@keyframes sweep {
    0%   { opacity: 0; transform: translateY(-5px); }
    100% { opacity: 1; transform: translateY(0); }
}
