/* Template 27: Bento Interface — 便当界面 · 暖琥珀金 */
:root {
  --amber: #f59e0b;
  --amber-light: #fef3c7;
  --amber-glow: rgba(245, 158, 11, 0.35);
  --bg: #1c1917;
  --surface: #292524;
  --surface-hover: #35302d;
  --border: rgba(245, 158, 11, 0.2);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --text: #fafaf9;
  --text-muted: #a8a29e;
  --radius: 16px;
  --radius-capsule: 9999px;
}
* { margin:0; padding:0; box-sizing:border-box; }
body { background:var(--bg); color:var(--text); font-family:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", sans-serif; line-height:1.65; overflow-x:hidden; }
a { color:inherit; text-decoration:none; transition:all .25s; }
.container { max-width:1180px; margin:0 auto; padding:0 1.5rem; }

/* Capsule Header */
.bento-nav-capsule { position:fixed; top:1.25rem; left:0; right:0; z-index:100; padding:0 1.5rem; }
.bento-capsule-inner { max-width:1080px; margin:0 auto; background:rgba(41, 37, 36, 0.9); backdrop-filter:blur(16px); border:1px solid var(--border); border-radius:var(--radius-capsule); padding:.6rem 1.8rem; display:flex; align-items:center; justify-content:space-between; box-shadow:0 10px 30px rgba(0,0,0,0.3); }
.bento-logo { font-size:1.4rem; font-weight:800; color:#fff; display:flex; align-items:center; gap:.4rem; }
.bento-logo span { color:var(--amber); }
.bento-nav-links { display:flex; gap:1.8rem; list-style:none; }
.bento-nav-links a { color:var(--text-muted); font-size:.9rem; font-weight:500; }
.bento-nav-links a:hover, .bento-nav-links a.active { color:var(--amber); }
.btn-bento-amber { background:linear-gradient(135deg, var(--amber), #d97706); color:#1c1917; font-weight:800; padding:.55rem 1.4rem; border-radius:var(--radius-capsule); font-size:.88rem; display:inline-flex; align-items:center; gap:.5rem; box-shadow:0 4px 15px var(--amber-glow); }
.btn-bento-amber:hover { transform:translateY(-2px); box-shadow:0 6px 22px var(--amber-glow); }

/* Bento Hero Layout */
.bento-hero { padding:8.5rem 0 4.5rem; }
.bento-hero-grid { display:grid; grid-template-columns:1.4fr 0.8fr; gap:1.25rem; }
.bento-box { background:var(--surface); border:1px solid var(--border-subtle); border-radius:var(--radius); padding:2.5rem; transition:all .3s; display:flex; flex-direction:column; justify-content:center; }
.bento-box:hover { border-color:var(--border); background:var(--surface-hover); transform:translateY(-3px); box-shadow:0 10px 30px rgba(0,0,0,0.2); }
.bento-badge { display:inline-flex; align-items:center; gap:.5rem; background:rgba(245,158,11,.15); color:var(--amber); padding:.4rem 1.1rem; border-radius:var(--radius-capsule); font-size:.82rem; font-weight:700; margin-bottom:1.2rem; width:fit-content; }
.bento-box h1 { font-size:clamp(2.3rem, 4.5vw, 3.8rem); font-weight:800; line-height:1.2; margin-bottom:1.2rem; }
.bento-box h1 .amber { color:var(--amber); }
.bento-desc { color:var(--text-muted); font-size:1.05rem; line-height:1.8; margin-bottom:2rem; }
.bento-actions { display:flex; gap:1.2rem; flex-wrap:wrap; }
.btn-bento-outline { border:1px solid var(--border); color:#fff; padding:.65rem 1.8rem; border-radius:var(--radius-capsule); font-weight:600; font-size:.9rem; }
.btn-bento-outline:hover { background:rgba(245,158,11,.1); border-color:var(--amber); color:var(--amber); }

/* Sections */
.bento-section { padding:5rem 0; }
.bento-sec-head { text-align:center; max-width:650px; margin:0 auto 3.5rem; }
.bento-sec-head h2 { font-size:2.2rem; font-weight:800; margin-bottom:.8rem; }
.bento-sec-head p { color:var(--text-muted); font-size:1rem; }

/* Bento Modular Grid */
.bento-grid-layout { display:grid; grid-template-columns:repeat(3, 1fr); gap:1.25rem; }
.bento-grid-layout .bento-box:nth-child(1) { grid-column:span 2; }
.bento-grid-layout .bento-box:nth-child(4) { grid-column:span 2; }
.bento-icon { width:48px; height:48px; border-radius:12px; background:rgba(245,158,11,.15); color:var(--amber); display:flex; align-items:center; justify-content:center; font-size:1.4rem; margin-bottom:1.2rem; }
.bento-box h3 { font-size:1.25rem; font-weight:700; margin-bottom:.6rem; }
.bento-box p { color:var(--text-muted); font-size:.92rem; line-height:1.7; }

/* Download Bento Grid */
.bento-dl-grid { display:grid; grid-template-columns:repeat(3, 1fr); gap:1.25rem; }
.bento-dl-box { background:var(--surface); border:1px solid var(--border-subtle); border-radius:var(--radius); padding:2.2rem; text-align:center; }
.bento-dl-box:hover { border-color:var(--border); }
.bento-dl-box i { font-size:2.6rem; color:var(--amber); margin-bottom:1.2rem; display:block; }
.bento-dl-box h4 { font-size:1.15rem; font-weight:700; margin-bottom:.5rem; }
.bento-dl-box p { color:var(--text-muted); font-size:.88rem; margin-bottom:1.8rem; }

/* Club Bento */
.bento-club-grid { display:grid; grid-template-columns:repeat(3, 1fr); gap:1.25rem; }
.bento-club-card { background:var(--surface); border:1px solid var(--border-subtle); border-radius:var(--radius); padding:1.8rem; display:flex; gap:1.2rem; align-items:center; }
.bento-club-avatar { width:48px; height:48px; border-radius:12px; background:rgba(245,158,11,.15); color:var(--amber); font-weight:800; font-size:1.2rem; display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.bento-club-card h4 { font-size:1.05rem; font-weight:700; margin-bottom:.2rem; }
.bento-club-card span { font-size:.82rem; color:var(--text-muted); }

/* FAQ Bento */
.bento-faq-grid { display:grid; grid-template-columns:repeat(2, 1fr); gap:1.25rem; max-width:920px; margin:0 auto; }
.bento-faq-item { background:var(--surface); border:1px solid var(--border-subtle); border-radius:var(--radius); padding:1.75rem; }
.bento-faq-item h4 { font-size:1.05rem; font-weight:700; color:var(--amber); margin-bottom:.6rem; }
.bento-faq-item p { color:var(--text-muted); font-size:.92rem; line-height:1.7; }

/* Bento CTA Box */
.bento-cta-banner { background:linear-gradient(135deg, #292524, #1c1917); border:1px solid var(--border); border-radius:var(--radius); padding:4rem 2rem; text-align:center; max-width:850px; margin:0 auto; }
.bento-cta-banner h2 { font-size:2.2rem; font-weight:800; margin-bottom:1rem; }
.bento-cta-banner p { color:var(--text-muted); font-size:1rem; margin-bottom:2rem; }

/* Bento Footer */
.bento-footer { background:#141210; border-top:1px solid var(--border-subtle); padding:4rem 0 2rem; }
.bento-footer-grid { display:grid; grid-template-columns:1.5fr 1fr 1fr; gap:3rem; margin-bottom:3rem; }
.bento-footer h4 { color:var(--amber); font-size:1.05rem; margin-bottom:1rem; }
.bento-footer p { color:var(--text-muted); font-size:.88rem; line-height:1.8; }
.bento-footer ul { list-style:none; }
.bento-footer li { margin-bottom:.5rem; }
.bento-footer a { color:var(--text-muted); font-size:.88rem; }
.bento-footer a:hover { color:var(--amber); }
.bento-footer-bottom { border-top:1px solid var(--border-subtle); padding-top:1.5rem; text-align:center; font-size:.82rem; color:#78716c; }

/* Subpage */
.bento-subpage { padding:7.5rem 0 5rem; min-height:80vh; }
.bento-sub-box { background:var(--surface); border:1px solid var(--border); border-radius:var(--radius); padding:3rem; }
.bento-sub-box h1 { font-size:2.2rem; font-weight:800; margin-bottom:1.5rem; color:var(--amber); }
.breadcrumb { font-size:.88rem; color:var(--text-muted); margin-bottom:1.5rem; }
.breadcrumb a { color:var(--amber); font-weight:600; }

@media (max-width:900px) {
  .bento-hero-grid { grid-template-columns:1fr; }
  .bento-nav-links { display:none; }
  .bento-grid-layout { grid-template-columns:1fr; }
  .bento-grid-layout .bento-box:nth-child(1), .bento-grid-layout .bento-box:nth-child(4) { grid-column:auto; }
  .bento-dl-grid, .bento-club-grid, .bento-faq-grid, .bento-footer-grid { grid-template-columns:1fr; }
}
