/* ============================================================
   喜登 HIDDEN · 电脑宣传页共享样式
   Tokens 与小程序 design-tokens.scss 1:1（街头骨架×果冻马卡龙）
   ============================================================ */

@font-face { font-family: 'Archivo'; src: url('../fonts/archivo-latin-900-normal.woff2') format('woff2'); font-weight: 900; }
@font-face { font-family: 'Archivo'; src: url('../fonts/archivo-latin-700-normal.woff2') format('woff2'); font-weight: 700; }
@font-face { font-family: 'Baloo2'; src: url('../fonts/baloo-2-latin-800-normal.woff2') format('woff2'); font-weight: 800; }
@font-face { font-family: 'Baloo2'; src: url('../fonts/baloo-2-latin-700-normal.woff2') format('woff2'); font-weight: 700; }

:root {
    --ink: #3A2F46; --ink-soft: #6A5A80; --ink-faint: #9A8FAE;
    --paper: #FBF4FF; --paper-2: #FFFFFF;
    --hot: #FF7FB0; --c-blue: #7FA8FF; --c-purple: #A986FF;
    --c-green: #5CD6A8; --c-yellow: #FFD24D; --c-peach: #FFA987;
    --t-pink: #FFD9EC; --t-sky: #DCEBFF; --t-lemon: #FFF0C4;
    --t-lav: #EBDCFF; --t-mint: #D3F3E4; --t-peach: #FFE0D6;
    --r-ur: #FF7FB0; --r-ssr: #FFC24D; --r-sr: #A986FF; --r-r: #7FA8FF; --r-n: #B7AEC6;
    --bd: 3px solid var(--ink); --bd-thin: 2px solid var(--ink);
    --r-card: 21px; --r-inner: 13px;
    --shadow: 6px 6px 0 var(--ink); --shadow-sm: 4px 4px 0 var(--ink);
    --ff-display: 'Archivo', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    --ff-round: 'Baloo2', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    --ff-body: 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--ff-body);
    color: var(--ink);
    background: var(--paper);
    background-image:
        linear-gradient(rgba(58, 47, 70, .045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(58, 47, 70, .045) 1px, transparent 1px);
    background-size: 19px 19px;
    overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.wrap { max-width: 1280px; margin: 0 auto; padding: 0 40px; }

/* ================= 通用构件 ================= */
.eyebrow { font-family: var(--ff-display); font-weight: 700; font-size: 13px; letter-spacing: 3px; color: var(--ink-faint); text-transform: uppercase; }
.street-card { background: var(--paper-2); border: var(--bd); border-radius: var(--r-card); box-shadow: var(--shadow); }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border: var(--bd-thin); border-radius: 999px; background: var(--paper-2); box-shadow: var(--shadow-sm); font-size: 13px; font-weight: 700; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 15px 28px; border: var(--bd); border-radius: 999px; box-shadow: var(--shadow-sm); font-family: var(--ff-round); font-weight: 800; font-size: 16px; cursor: pointer; transition: transform .08s ease, box-shadow .08s ease; }
.btn:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--ink); }
.btn--hot { background: var(--hot); color: #fff; }
.btn--yellow { background: var(--c-yellow); color: var(--ink); }
.btn--ghost { background: var(--paper-2); color: var(--ink); }

/* ================= 顶部导航 ================= */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(251,244,255,.9); backdrop-filter: blur(10px); border-bottom: var(--bd-thin); }
.nav__inner { max-width: 1280px; margin: 0 auto; padding: 14px 40px; display: flex; align-items: center; justify-content: space-between; }
.nav__brand { display: flex; align-items: center; gap: 12px; }
.nav__logo { height: 66px; width: auto; object-fit: contain; display: block; }
.nav__name { font-family: var(--ff-round); font-weight: 800; font-size: 20px; line-height: 1; }
.nav__name small { display: block; margin-top: 3px; font-family: var(--ff-display); font-weight: 700; font-size: 10px; letter-spacing: 4px; color: var(--ink-faint); }
.nav__right { display: flex; align-items: center; gap: 14px; }
.nav__link { font-size: 14px; font-weight: 700; color: var(--ink-soft); padding: 8px 4px; }
.nav__link:hover { color: var(--ink); }
.nav__cta { padding: 10px 20px; font-size: 14px; }

/* ================= 黑色跑马灯 ================= */
.ticker { border-top: var(--bd-thin); border-bottom: var(--bd-thin); background: var(--ink); overflow: hidden; padding: 14px 0; }
.ticker__track { display: flex; gap: 44px; white-space: nowrap; animation: ticker 26s linear infinite; font-family: var(--ff-display); font-weight: 700; font-size: 15px; letter-spacing: 2px; color: #FBF4FF; }
.ticker__track span b { color: var(--c-yellow); }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ================= 区块头 ================= */
.sec { padding: 76px 0 0; }
.sec__head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 30px; }
.sec__title { font-family: var(--ff-round); font-weight: 800; font-size: 34px; }
.sec__title small { display: block; margin-top: 4px; font-family: var(--ff-display); font-weight: 700; font-size: 12px; letter-spacing: 4px; color: var(--ink-faint); }
.sec__more { font-size: 14px; font-weight: 700; color: var(--ink-soft); }

/* ================= 扫码引导弹层（点抽赏动作时弹出） ================= */
.qr-modal { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; background: rgba(58,47,70,.62); backdrop-filter: blur(6px); }
.qr-modal.is-open { display: flex; }
.qr-modal__card { position: relative; width: 400px; padding: 34px 34px 30px; text-align: center; background: linear-gradient(165deg, #fff 0%, var(--t-pink) 100%); transform: rotate(-1.5deg); animation: qrpop .24s cubic-bezier(.2,1.4,.4,1); }
@keyframes qrpop { from { transform: scale(.86) rotate(-4deg); opacity: 0; } to { transform: scale(1) rotate(-1.5deg); opacity: 1; } }
.qr-modal__tape { position: absolute; top: -15px; left: 50%; transform: translateX(-50%) rotate(-3deg); padding: 8px 24px; background: var(--c-yellow); border: var(--bd-thin); border-radius: 10px; box-shadow: var(--shadow-sm); font-family: var(--ff-round); font-weight: 800; font-size: 15px; }
.qr-modal__close { position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; border: var(--bd-thin); border-radius: 10px; background: var(--paper-2); box-shadow: 3px 3px 0 var(--ink); font-weight: 900; cursor: pointer; }
.qr-modal__close:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.qr-modal__img { width: 250px; height: 250px; margin: 18px auto 0; border: var(--bd-thin); border-radius: var(--r-inner); background: #fff; object-fit: contain; }
.qr-modal__title { margin-top: 16px; font-family: var(--ff-round); font-weight: 800; font-size: 20px; }
.qr-modal__hint { margin-top: 8px; font-size: 13px; line-height: 1.8; color: var(--ink-soft); }
.qr-modal__hint b { color: var(--hot); }

/* ================= 页脚 ================= */
.footer { margin-top: 76px; border-top: var(--bd-thin); background: var(--paper-2); padding: 26px 0; }
.footer__inner { max-width: 1280px; margin: 0 auto; padding: 0 40px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 13px; color: var(--ink-faint); }
.footer__links { display: flex; gap: 18px; }
.footer__links a { font-weight: 700; color: var(--ink-soft); }
.footer__links a:hover { color: var(--ink); }

@media (max-width: 960px) {
    .wrap { padding: 0 20px; }
    .nav__inner { padding: 12px 20px; }
    .footer__inner { padding: 0 20px; }
}
