
:root {
    --cream: #fff7ea;
    --cream-2: #fffdf7;
    --navy: #16213e;
    --navy-2: #27345f;
    --orange: #ff8a3d;
    --orange-soft: #ffbf8a;
    --purple: #8a72d6;
    --purple-soft: #ece7ff;
    --ink: #24304f;
    --muted: #68718f;
    --line: #eadfcf;
    --card: rgba(255, 255, 255, .86);
    --shadow: 0 24px 70px rgba(22, 33, 62, .12);
    --radius: 28px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    color: var(--ink);
    background:
        radial-gradient(circle at 9% 9%, rgba(255, 138, 61, .22), transparent 28%),
        radial-gradient(circle at 86% 6%, rgba(138, 114, 214, .22), transparent 30%),
        linear-gradient(180deg, var(--cream), var(--cream-2) 42%, #f5f0ff 100%);
    line-height: 1.72;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
.container { width: min(1180px, calc(100% - 36px)); margin: 0 auto; }
.skip-link { position: absolute; left: -999px; top: 12px; background: var(--navy); color: white; padding: 10px 14px; border-radius: 12px; z-index: 99; }
.skip-link:focus { left: 16px; }
.site-header {
    position: sticky; top: 0; z-index: 20;
    backdrop-filter: blur(18px);
    background: rgba(255, 247, 234, .82);
    border-bottom: 1px solid rgba(234, 223, 207, .82);
}
.nav-wrap { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: 220px; }
.brand-mark {
    display: grid; place-items: center; width: 48px; height: 48px; border-radius: 16px;
    color: white; font-weight: 900; font-size: 23px;
    background: linear-gradient(135deg, var(--navy), var(--purple) 56%, var(--orange));
    box-shadow: 0 14px 30px rgba(22, 33, 62, .22);
}
.brand small { display: block; color: var(--muted); font-size: 12px; margin-top: -2px; }
.site-nav { display: flex; align-items: center; justify-content: flex-end; gap: 6px; flex-wrap: wrap; }
.site-nav a { padding: 10px 13px; border-radius: 999px; color: var(--navy-2); font-weight: 700; font-size: 14px; }
.site-nav a:hover, .site-nav a.active { background: var(--navy); color: white; }
.nav-toggle { display: none; border: 0; background: var(--navy); color: white; width: 42px; height: 42px; border-radius: 14px; font-size: 21px; }
main { overflow: hidden; }
.hero { padding: 72px 0 44px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(320px, .96fr); gap: 34px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--orange); font-weight: 900; letter-spacing: .04em; }
.eyebrow::before { content: ""; width: 34px; height: 3px; border-radius: 999px; background: var(--orange); }
h1, h2, h3 { color: var(--navy); line-height: 1.18; margin: 0; }
h1 { font-size: clamp(34px, 6vw, 72px); letter-spacing: -0.055em; margin: 12px 0 18px; }
h2 { font-size: clamp(27px, 4vw, 46px); letter-spacing: -0.035em; }
h3 { font-size: 21px; }
p { margin: 0; }
.lead { font-size: 18px; color: var(--muted); max-width: 740px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 28px 0; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 46px; border-radius: 999px; padding: 0 20px; border: 1px solid transparent; font-weight: 900; cursor: pointer; transition: .2s ease; }
.btn-primary { background: var(--navy); color: white; box-shadow: 0 16px 38px rgba(22, 33, 62, .2); }
.btn-primary:hover { transform: translateY(-2px); background: #0f1731; }
.btn-ghost { background: rgba(255,255,255,.6); border-color: var(--line); color: var(--navy); }
.btn-ghost:hover { background: white; transform: translateY(-2px); }
.hero-card, .panel, .section-card, .list-card, .topic-card, .rating-card, .comment, .feed-card, .faq-card, .video-card, .contact-card {
    background: var(--card); border: 1px solid rgba(234, 223, 207, .9); box-shadow: var(--shadow); border-radius: var(--radius);
}
.hero-card { padding: 18px; position: relative; }
.hero-card .floating-note { position: absolute; right: 8px; bottom: 20px; background: white; padding: 12px 14px; border-radius: 18px; box-shadow: 0 18px 32px rgba(22,33,62,.12); max-width: 210px; color: var(--muted); font-size: 13px; }
.stats-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; max-width: 680px; }
.stat { padding: 15px; border-radius: 22px; background: rgba(255,255,255,.62); border: 1px solid rgba(234,223,207,.72); }
.stat strong { display: block; color: var(--navy); font-size: 24px; }
.stat span { color: var(--muted); font-size: 13px; }
.section { padding: 46px 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.section-head p { color: var(--muted); max-width: 620px; margin-top: 10px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.list-card, .topic-card, .rating-card, .video-card, .contact-card, .section-card { padding: 20px; }
.cover { border-radius: 22px; overflow: hidden; margin-bottom: 16px; background: var(--purple-soft); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.tag { display: inline-flex; align-items: center; border-radius: 999px; padding: 5px 10px; background: var(--purple-soft); color: var(--navy-2); font-size: 12px; font-weight: 800; }
.tag.orange { background: #fff0df; color: #b85518; }
.card-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.action-pill { border: 1px solid var(--line); background: rgba(255,255,255,.72); border-radius: 999px; padding: 7px 10px; color: var(--muted); font-size: 13px; font-weight: 800; }
.topic-card { position: relative; overflow: hidden; min-height: 220px; }
.topic-card::after { content: ""; position: absolute; width: 160px; height: 160px; border-radius: 50%; background: rgba(255, 138, 61, .15); right: -60px; top: -50px; }
.topic-meta { display: flex; gap: 10px; flex-wrap: wrap; color: var(--muted); font-size: 13px; margin-top: 16px; }
.rating-stars { letter-spacing: 2px; color: #f59e0b; font-size: 22px; margin: 10px 0; }
.score { font-size: 42px; font-weight: 950; color: var(--navy); line-height: 1; }
.progress { height: 11px; border-radius: 999px; background: #efe7da; overflow: hidden; margin: 12px 0; }
.progress span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--orange), var(--purple)); }
.circles { display: flex; flex-wrap: wrap; gap: 12px; }
.circle { display: inline-flex; align-items: center; gap: 8px; border-radius: 20px; padding: 12px; background: rgba(255,255,255,.7); border: 1px solid var(--line); font-weight: 900; }
.circle i { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 12px; background: var(--navy); color: white; font-style: normal; }
.challenge { display: grid; grid-template-columns: .9fr 1.1fr; gap: 24px; align-items: center; padding: 24px; }
.challenge ol { margin: 14px 0 0; padding-left: 22px; color: var(--muted); }
.comment { padding: 18px; }
.comment-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.avatar { width: 44px; height: 44px; border-radius: 50%; overflow: hidden; flex: none; background: var(--purple-soft); }
.comment small, .muted { color: var(--muted); }
.feed-card { padding: 18px; display: grid; grid-template-columns: 54px 1fr; gap: 12px; }
.feed-card .feed-body { min-width: 0; }
.feed-line { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.join-box { display: grid; grid-template-columns: 1.1fr .9fr; gap: 24px; align-items: center; padding: 26px; background: linear-gradient(135deg, rgba(22,33,62,.96), rgba(73,58,129,.94)); color: white; border-radius: 34px; overflow: hidden; position: relative; }
.join-box h2 { color: white; }
.join-box p { color: rgba(255,255,255,.78); margin-top: 12px; }
.domain-box { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 16px; border-radius: 22px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.2); margin-top: 18px; }
.domain-box strong { color: white; overflow-wrap: anywhere; }
.faq-list { display: grid; gap: 14px; }
.faq-card { padding: 18px; }
.faq-card h3 { margin-bottom: 8px; font-size: 18px; }
.page-hero { padding: 58px 0 28px; }
.page-hero .panel { padding: 28px; display: grid; grid-template-columns: 1.2fr .8fr; gap: 24px; align-items: center; }
.breadcrumb { color: var(--muted); font-weight: 800; margin-bottom: 12px; font-size: 13px; }
.rich-text { color: var(--muted); }
.rich-text p + p { margin-top: 12px; }
.info-list { display: grid; gap: 12px; margin-top: 16px; }
.info-item { display: grid; grid-template-columns: 32px 1fr; gap: 12px; padding: 14px; border-radius: 20px; background: rgba(255,255,255,.65); border: 1px solid var(--line); }
.info-item b { display: block; color: var(--navy); }
.info-item i { width: 32px; height: 32px; border-radius: 12px; display: grid; place-items: center; background: var(--orange); color: white; font-style: normal; font-weight: 900; }
.timeline { display: grid; gap: 14px; }
.timeline-item { padding-left: 22px; border-left: 3px solid var(--orange-soft); position: relative; }
.timeline-item::before { content: ""; position: absolute; left: -8px; top: 3px; width: 13px; height: 13px; border-radius: 50%; background: var(--orange); }
.video-card { display: grid; grid-template-columns: 150px 1fr; gap: 16px; align-items: center; }
.video-thumb { border-radius: 22px; overflow: hidden; background: var(--purple-soft); }
.table-wrap { overflow-x: auto; border-radius: 24px; border: 1px solid var(--line); background: rgba(255,255,255,.66); }
table { width: 100%; border-collapse: collapse; min-width: 640px; }
th, td { padding: 15px; border-bottom: 1px solid var(--line); text-align: left; }
th { color: var(--navy); background: rgba(236,231,255,.8); }
tr:last-child td { border-bottom: 0; }
.contact-form { display: grid; gap: 12px; }
.contact-form label { font-weight: 900; color: var(--navy); }
.contact-form input, .contact-form textarea, .contact-form select { width: 100%; border: 1px solid var(--line); border-radius: 16px; padding: 12px 14px; font: inherit; background: rgba(255,255,255,.78); color: var(--ink); }
.contact-form textarea { min-height: 128px; resize: vertical; }
.notice { padding: 14px 16px; border-radius: 20px; background: #fff2df; color: #7c3f12; border: 1px solid #ffd9ad; font-weight: 800; }
.site-footer { margin-top: 48px; padding: 42px 0; background: var(--navy); color: rgba(255,255,255,.78); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 24px; }
.footer-brand { color: white; font-size: 26px; font-weight: 950; margin-bottom: 8px; }
.site-footer h3 { color: white; font-size: 18px; margin-bottom: 10px; }
[data-current-host] { font-weight: 900; color: white; overflow-wrap: anywhere; }
.badge { display:inline-flex; align-items:center; gap:8px; padding:8px 11px; border-radius:999px; background:rgba(255,255,255,.72); border:1px solid var(--line); color:var(--muted); font-size:13px; font-weight:800; }
@media (max-width: 900px) {
    .nav-toggle { display: block; }
    .site-nav { position: absolute; left: 18px; right: 18px; top: 76px; display: none; flex-direction: column; align-items: stretch; background: rgba(255, 253, 247, .98); border: 1px solid var(--line); border-radius: 24px; padding: 12px; box-shadow: var(--shadow); }
    .site-nav.open { display: flex; }
    .site-nav a { width: 100%; }
    .hero-grid, .page-hero .panel, .join-box, .challenge, .grid-2 { grid-template-columns: 1fr; }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
    .container { width: min(100% - 24px, 1180px); }
    .hero { padding-top: 42px; }
    .stats-row, .grid-3 { grid-template-columns: 1fr; }
    .section-head { display: block; }
    .hero-card .floating-note { position: static; margin-top: 12px; }
    .video-card { grid-template-columns: 1fr; }
    .feed-card { grid-template-columns: 44px 1fr; }
    .brand small { display: none; }
    .brand { min-width: unset; }
    .brand-mark { width: 42px; height: 42px; }
}
