/* ==========================================================================
   闪收卡 前台样式 — 基础变量、通用组件、页面框架（导航/页脚/悬浮栏）、首页
   ========================================================================== */
:root {
  --primary: #1287fb; --primary-dark: #0b6fd6; --primary-bg: #eaf4ff; --primary-border: #bfe0ff;
  --orange: #ff6000; --orange-text: #ff7a1a;
  --green: #08c58b; --red: #f5222d; --yellow: #faad14;
  --text: #333; --text-2: #666; --text-3: #999;
  --border: #ebebeb; --bg: #f5f7fa;
  --shadow: 0 4px 20px rgba(35, 60, 120, .08);
  --radius: 12px;
  --font: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Helvetica Neue", Arial, sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { min-width: 1240px; font: 14px/1.6 var(--font); color: var(--text); background: #fff; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--primary); }
ul, ol { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; outline: 0; }
button { cursor: pointer; border: 0; background: none; }
img { max-width: 100%; display: block; }
dl, dd, dt { margin: 0; }
.container { width: 1200px; margin: 0 auto; }

/* ---------- 图标 ---------- */
.ico { width: 1em; height: 1em; display: inline-block; vertical-align: -.15em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.spin { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
[data-icon] { display: inline-flex; align-items: center; justify-content: center; }
[data-icon] > .ico { width: 1em; height: 1em; }

/* ---------- 通用工具 ---------- */
.text-primary { color: var(--primary) !important; } .text-orange { color: var(--orange-text) !important; } .text-green { color: var(--green) !important; } .text-red { color: var(--red) !important; }
.text-2 { color: var(--text-2) !important; } .text-3 { color: var(--text-3) !important; }
.fw-b { font-weight: 600; }
.mt-8 { margin-top: 8px; } .mt-12 { margin-top: 12px; } .mt-16 { margin-top: 16px; } .mt-20 { margin-top: 20px; } .mt-24 { margin-top: 24px; }
.flex { display: flex; } .flex-between { display: flex; justify-content: space-between; align-items: center; } .flex-center { display: flex; align-items: center; }
.num { font-variant-numeric: tabular-nums; }

/* ---------- 按钮 ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 40px; padding: 0 22px; border-radius: 20px; font-size: 15px; transition: .2s; white-space: nowrap; border: 1px solid transparent; }
.btn-primary { color: #fff; background: linear-gradient(0deg, #339afb, #35adfd); }
.btn-primary:hover { color: #fff; box-shadow: 0 4px 14px rgba(18, 135, 251, .4); transform: translateY(-1px); }
.btn-orange { color: #fff; background: linear-gradient(135deg, #ff8a00, #ff5100); }
.btn-orange:hover { color: #fff; box-shadow: 0 6px 18px rgba(255, 96, 0, .35); transform: translateY(-1px); }
.btn-outline { color: var(--primary); border-color: var(--primary); }
.btn-outline:hover { background: var(--primary-bg); }
.btn-ghost { border-color: #d9d9d9; color: var(--text-2); }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }
.btn-danger { color: #fff; background: #f5222d; }
.btn-danger:hover { color: #fff; background: #ff4d4f; }
.btn-sm { height: 30px; padding: 0 14px; font-size: 13px; border-radius: 15px; }
.btn-lg { height: 48px; padding: 0 38px; font-size: 18px; }
.btn-block { width: 100%; }
.btn[disabled], .btn.disabled { opacity: .5; cursor: not-allowed !important; transform: none !important; box-shadow: none !important; }

/* ---------- 表单 ---------- */
.input, .select, .textarea { width: 100%; height: 40px; padding: 0 12px; border: 1px solid #dcdfe6; border-radius: 6px; background: #fff; transition: .2s; color: var(--text); }
.textarea { height: auto; padding: 10px 12px; resize: vertical; line-height: 1.6; }
.input:focus, .select:focus, .textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(18, 135, 251, .15); }
.input::placeholder, .textarea::placeholder { color: #bbb; }
.input[readonly] { background: #f7f8fa; }
.select { appearance: none; -webkit-appearance: none; padding-right: 30px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 10px center; }
input[type=checkbox], input[type=radio] { accent-color: var(--primary); }

/* ---------- 标签 / 徽标 ---------- */
.tag { display: inline-block; padding: 0 8px; height: 22px; line-height: 22px; font-size: 12px; border-radius: 4px; background: #f2f3f5; color: var(--text-2); white-space: nowrap; }
.tag-blue { background: var(--primary-bg); color: var(--primary); }
.tag-green { background: #e8faf3; color: #08a574; }
.tag-orange { background: #fff3e8; color: var(--orange-text); }
.tag-red { background: #ffefef; color: var(--red); }
.tag-purple { background: #f5edff; color: #9b5cf6; }
.tag-gray { background: #f2f3f5; color: #999; }

/* ---------- 卡券 Logo 块 ---------- */
.p-logo { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 14px; color: #fff; font-weight: 700; line-height: 1.15; letter-spacing: 0; text-align: center; white-space: nowrap; box-shadow: 0 6px 14px rgba(0, 0, 0, .12); flex-shrink: 0; }
.p-logo.sm { width: 30px; height: 30px; border-radius: 8px; box-shadow: none; }
.p-logo.lg { width: 76px; height: 76px; border-radius: 18px; }

/* ---------- 头像 ---------- */
.avatar { width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg, #35adfd, #7a5cff); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 600; flex-shrink: 0; }
.avatar.lg { width: 56px; height: 56px; font-size: 22px; }

/* ---------- 弹窗 / 提示 ---------- */
.mask { position: fixed; left: 0; right: 0; top: 0; bottom: 0; background: rgba(0, 0, 0, .5); z-index: 1000; display: flex; align-items: center; justify-content: center; animation: fade .15s ease-out; }
.modal { width: 520px; max-width: 92vw; background: #fff; border-radius: 16px; overflow: hidden; animation: pop .2s ease-out; margin: 20px; }
.modal-head { padding: 18px 24px; font-size: 18px; font-weight: 600; display: flex; justify-content: space-between; align-items: center; }
.modal-x { width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 18px; color: #999; }
.modal-x:hover { background: #f2f3f5; color: #333; }
.modal-body { padding: 0 24px 10px; max-height: 70vh; overflow: auto; }
.modal-foot { padding: 16px 24px 22px; display: flex; justify-content: flex-end; gap: 12px; }
.confirm-body { display: flex; gap: 14px; padding: 6px 0 14px; font-size: 15px; line-height: 1.8; }
.confirm-ico { font-size: 26px; color: var(--primary); margin-top: 2px; }
.confirm-ico.danger { color: var(--orange-text); }
@keyframes pop { from { transform: scale(.94); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.toast-wrap { position: fixed; top: 80px; left: 50%; transform: translateX(-50%); z-index: 2000; display: flex; flex-direction: column; gap: 10px; align-items: center; pointer-events: none; }
.toast { padding: 10px 20px; background: #fff; border-radius: 8px; box-shadow: 0 6px 24px rgba(0, 0, 0, .15); display: flex; align-items: center; gap: 8px; animation: pop .2s; max-width: 80vw; font-size: 14px; transition: .25s; }
.toast .ico { font-size: 18px; }
.toast-ok .ico { color: var(--green); } .toast-err .ico { color: var(--red); } .toast-warn .ico { color: var(--orange-text); }

/* ---------- 表格 ---------- */
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th { background: #f9fafb; color: var(--text-2); font-weight: 600; text-align: left; padding: 12px 10px; white-space: nowrap; }
.table td { padding: 12px 10px; border-bottom: 1px solid #f2f2f2; vertical-align: middle; }
.table tbody tr:hover td { background: #fafcff; }
.table .r { text-align: right; }
.empty { text-align: center; padding: 50px 0; color: var(--text-3); }
.empty .ico { font-size: 48px; color: #d9dee8; display: block; margin: 0 auto 10px; stroke-width: 1.5; }
.pager { display: flex; justify-content: flex-end; gap: 6px; margin-top: 16px; }
.pager a, .pager span { min-width: 32px; height: 32px; padding: 0 10px; line-height: 30px; text-align: center; border: 1px solid #e5e5e5; border-radius: 6px; font-size: 13px; color: var(--text-2); cursor: pointer; }
.pager .cur { background: var(--primary); border-color: var(--primary); color: #fff; cursor: default; }
.pager a:hover { border-color: var(--primary); color: var(--primary); }
.pager a.disabled { color: #ccc; cursor: default; border-color: #f0f0f0; }

/* ==========================================================================
   顶部导航
   ========================================================================== */
.site-header { position: fixed; top: 0; left: 0; right: 0; height: 64px; background: #fff; box-shadow: 0 2px 12px rgba(0, 0, 0, .06); z-index: 100; }
.header-inner { width: 1200px; margin: 0 auto; height: 64px; display: flex; align-items: center; }
.logo { display: flex; align-items: center; gap: 10px; margin-right: 36px; }
.logo:hover { color: inherit; }
.logo-mark { width: 38px; height: 38px; border-radius: 10px; background: linear-gradient(135deg, #35adfd, #7a5cff); display: inline-flex; align-items: center; justify-content: center; color: #fff; font-size: 22px; box-shadow: 0 4px 10px rgba(18, 135, 251, .35); flex-shrink: 0; }
.logo-text b { display: block; font-size: 21px; line-height: 1.15; letter-spacing: 1px; color: inherit; }
.logo-text i { display: block; font-style: normal; font-size: 12px; color: var(--text-3); transform: scale(.9); transform-origin: left; white-space: nowrap; }
.nav { display: flex; align-items: center; height: 64px; flex: 1; }
.nav > a, .nav-item > a { display: flex; align-items: center; gap: 4px; padding: 0 18px; height: 64px; font-size: 15px; transition: color .2s; white-space: nowrap; }
.nav > a:hover, .nav > a.active, .nav-item:hover > a, .nav-item > a.active { color: var(--primary); }
.arrow { display: inline-block; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: .2s; }
.nav-item:hover .arrow { transform: rotate(225deg) translateY(-2px); }

.has-drop { position: relative; }
.drop { position: absolute; top: 100%; background: #fff; border-radius: 0 0 12px 12px; box-shadow: 0 10px 40px rgba(50, 50, 50, .18); opacity: 0; visibility: hidden; transition: .2s; z-index: 99; }
.drop:before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.center-drop { left: 50%; transform: translateX(-50%) translateY(8px); }
.right-drop { right: 0; transform: translateY(8px); border-radius: 12px; }
.has-drop:hover .drop, .has-drop.open .drop { opacity: 1; visibility: visible; }
.has-drop:hover .center-drop, .has-drop.open .center-drop { transform: translateX(-50%) translateY(0); }
.has-drop:hover .right-drop, .has-drop.open .right-drop { transform: translateY(0); }

/* 导航：分类下拉 */
.nav-cats { padding: 14px; width: 720px; }
.nav-cats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.cat-tile { position: relative; height: 88px; border-radius: 12px; padding: 14px 12px; color: #fff; display: flex; flex-direction: column; justify-content: center; transition: .25s; overflow: hidden; }
.cat-tile:hover { transform: translateY(-3px); color: #fff; box-shadow: 0 8px 20px rgba(0, 0, 0, .18); }
.cat-tile .tico { position: absolute; right: 10px; top: 12px; font-size: 30px; opacity: .4; }
.cat-tile h3 { font-size: 17px; }
.cat-tile span { font-size: 12px; opacity: .92; margin-top: 2px; white-space: nowrap; }
.nav-cats .hot-search { margin-top: 12px; padding-top: 10px; border-top: 1px dashed #e5e5e5; font-size: 13px; color: var(--text-3); }
.nav-cats .hot-search a { color: var(--text-2); margin-right: 14px; }
.nav-cats .hot-search a:hover { color: var(--primary); }

/* 导航右侧操作区 */
.header-ops { display: flex; align-items: center; gap: 4px; }
.icon-btn { width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 20px; color: var(--text); transition: .2s; }
.icon-btn:hover { color: var(--primary); background: var(--primary-bg); }
.auth-btn { display: inline-block; height: 38px; line-height: 36px; padding: 0 20px; border: 1px solid #d5d5d5; border-radius: 19px; color: var(--primary); margin-left: 10px; transition: .2s; font-size: 15px; }
.auth-btn:hover { color: #fff; background: var(--primary); border-color: var(--primary); box-shadow: 0 0 12px rgba(18, 135, 251, .4); }
.user-entry { display: flex; align-items: center; gap: 8px; height: 64px; padding: 0 10px; cursor: pointer; margin-left: 10px; }
.uname { max-width: 110px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 15px; }
.user-drop { width: 300px; overflow: hidden; }
.user-drop .top { background: linear-gradient(135deg, #519cff, #bb71ff); color: #fff; padding: 18px; display: flex; align-items: center; gap: 14px; }
.user-drop .avatar { border: 2px solid rgba(255, 255, 255, .7); }
.user-drop .ui b { display: block; font-size: 17px; }
.user-drop .ui span { font-size: 13px; opacity: .92; }
.user-drop .links { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 12px; }
.user-drop .links a { display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px; border-radius: 8px; color: var(--text-2); font-size: 14px; }
.user-drop .links a:hover { background: var(--primary-bg); color: var(--primary); }
.user-drop .logout { border-top: 1px solid #f0f0f0; padding: 8px 12px; }
.user-drop .logout a { display: flex; align-items: center; gap: 8px; height: 36px; padding: 0 12px; color: var(--text-3); font-size: 14px; border-radius: 8px; }
.user-drop .logout a:hover { color: var(--red); background: #fff1f0; }

/* 搜索下拉 */
.search-drop { width: 480px; padding: 0; }
.sd-input { display: flex; padding: 14px 14px 8px; }
.sd-input input { flex: 1; height: 42px; border: 1px solid #d5d5d5; border-radius: 8px; padding: 0 12px; }
.sd-input input:focus { border-color: var(--primary); }
.sd-btn { width: 90px; height: 42px; margin-left: 8px; border-radius: 8px; background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center; gap: 4px; font-size: 14px; }
.sd-btn:hover { background: var(--primary-dark); }
.sd-results { max-height: 300px; overflow: auto; }
.sd-results:empty { display: none; }
.sd-results a { display: flex; justify-content: space-between; align-items: center; padding: 8px 16px; }
.sd-results a span:first-child { display: flex; align-items: center; gap: 8px; }
.sd-results a:hover, .sd-results a.hl { background: #f0f3fd; color: #315efb; }
.sd-results .r { color: var(--orange-text); font-weight: 600; font-size: 13px; }
.sd-empty { padding: 20px; text-align: center; color: var(--text-3); font-size: 13px; }
.sd-words { padding: 6px 14px 14px; color: var(--text-3); font-size: 13px; }
.sd-words a { display: inline-block; background: #f2f2f2; color: var(--text-2); padding: 2px 10px; border-radius: 12px; margin: 4px 8px 0 0; }
.sd-words a:hover { background: var(--primary-bg); color: var(--primary); }

/* 客服下拉 */
.service-drop { width: 176px; padding: 10px 14px; }
.service-drop a { display: flex; align-items: center; gap: 8px; height: 34px; font-size: 14px; color: var(--text-2); }
.service-drop a:hover { color: var(--primary); }
.service-drop .tel { margin-top: 8px; padding-top: 8px; border-top: 1px solid #eee; text-align: center; color: var(--orange-text); font-weight: 600; font-size: 15px; }
.service-drop .wt { color: var(--text-3); font-weight: 400; font-size: 12px; }
.site-header.plain .back-home { display: flex; align-items: center; gap: 4px; color: rgba(255, 255, 255, .85); font-size: 15px; }
.site-header.plain .back-home:hover { color: #fff; }

/* ==========================================================================
   首页 Banner
   ========================================================================== */
.banner { position: relative; padding: 84px 0 170px; background: linear-gradient(165deg, #0a0d43 0%, #2531b0 60%, #593db9 100%); overflow: hidden; color: #fff; }
.shape { position: absolute; border-radius: 50%; pointer-events: none; }
.shape-1 { width: 520px; height: 520px; right: -120px; top: -160px; background: radial-gradient(circle, rgba(255, 106, 0, .85), rgba(255, 106, 0, 0) 70%); }
.shape-2 { width: 620px; height: 620px; left: -180px; bottom: -280px; background: radial-gradient(circle, rgba(31, 196, 255, .75), rgba(31, 196, 255, 0) 70%); }
.shape-3 { width: 280px; height: 280px; left: 16%; top: 10%; background: radial-gradient(circle, rgba(195, 103, 255, .7), rgba(195, 103, 255, 0) 70%); animation: float 8s ease-in-out infinite; }
.shape-4 { width: 200px; height: 200px; right: 18%; bottom: 16%; background: radial-gradient(circle, rgba(255, 200, 0, .6), rgba(255, 200, 0, 0) 70%); animation: float 10s ease-in-out infinite reverse; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-18px); } }
.hero { position: relative; z-index: 2; text-align: center; }
.hero-notice { display: inline-flex; align-items: center; gap: 8px; max-width: 760px; padding: 5px 16px 5px 12px; border-radius: 20px; background: rgba(255, 255, 255, .14); font-size: 13px; color: rgba(255, 255, 255, .92); margin-bottom: 24px; transition: .2s; }
.hero-notice:hover { background: rgba(255, 255, 255, .24); color: #fff; }
.hero-notice .ico { color: #ffd66b; }
.hero-notice span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hero h1 { font-size: 46px; letter-spacing: 4px; line-height: 1.3; text-shadow: 0 4px 20px rgba(0, 0, 0, .25); }
.hero .sub { font-size: 19px; color: rgba(255, 255, 255, .8); margin-top: 12px; letter-spacing: 1px; }
.hero .sub b { color: #ffd66b; font-weight: 600; }
.hero-search { width: 760px; margin: 30px auto 0; position: relative; }
.search-frame { display: flex; padding: 8px; border-radius: 14px; background: linear-gradient(135deg, #fdf3e1, #fcd9a4); box-shadow: 0 10px 40px rgba(0, 0, 0, .2); }
.search-frame input { flex: 1; height: 52px; border: 0; padding: 0 18px; font-size: 16px; border-radius: 10px; background: #fff; color: var(--text); }
.search-frame button { width: 150px; height: 52px; border-radius: 10px; color: #fff; font-size: 17px; background: linear-gradient(135deg, #ff9a44, #ff3128); display: flex; align-items: center; justify-content: center; gap: 6px; letter-spacing: 1px; }
.search-frame button:hover { filter: brightness(1.06); }
.search-suggest { position: absolute; left: 8px; right: 8px; top: 68px; background: #fff; border-radius: 12px; padding: 6px; box-shadow: 0 10px 40px rgba(0, 0, 0, .2); z-index: 5; }
.search-suggest a { display: flex; justify-content: space-between; align-items: center; padding: 9px 14px; border-radius: 8px; color: var(--text); }
.search-suggest a span:first-child { display: flex; align-items: center; gap: 8px; }
.search-suggest a:hover, .search-suggest a.hl { background: #f0f3fd; color: #315efb; }
.search-suggest .r { color: var(--orange-text); font-weight: 600; font-size: 13px; }
.hot-words { margin-top: 16px; font-size: 14px; color: rgba(255, 255, 255, .78); }
.hot-words .hw-label { margin-right: 4px; }
.hot-words a { color: #fff; margin: 0 12px; opacity: .85; }
.hot-words a:hover { opacity: 1; text-decoration: underline; }
.hero-btns { margin-top: 34px; display: flex; justify-content: center; gap: 20px; }
.hero-btn { height: 58px; padding: 0 64px; font-size: 24px; letter-spacing: 4px; color: #fff; background: #ff6000; border-radius: 10px; box-shadow: 0 10px 30px rgba(255, 96, 0, .4); transition: .3s; display: inline-flex; align-items: center; }
.hero-btn:hover { transform: scale(1.08); color: #fff; }
.hero-btn.ghost { background: rgba(255, 255, 255, .14); box-shadow: none; font-size: 20px; padding: 0 40px; border: 1px solid rgba(255, 255, 255, .5); }
.hero-btn.ghost:hover { background: rgba(255, 255, 255, .24); transform: scale(1.04); }
.hero-trust { margin-top: 22px; display: flex; justify-content: center; gap: 34px; font-size: 14px; color: rgba(255, 255, 255, .85); }
.hero-trust span { display: inline-flex; align-items: center; gap: 6px; }
.hero-trust .ico { color: #7dffb8; }

/* 四步流程卡 */
.steps-wrap { margin-top: -112px; position: relative; z-index: 3; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 52px; }
.step-card { position: relative; background: #fff; border-radius: 24px; padding: 30px 22px 26px; text-align: center; box-shadow: 0 10px 40px rgba(40, 60, 140, .12); transition: .3s; }
.step-card:hover { transform: translateY(-6px); box-shadow: 0 18px 50px rgba(40, 60, 140, .18); }
.step-num { position: absolute; left: 18px; top: 14px; font-size: 34px; font-weight: 700; color: #eef2f8; line-height: 1; }
.step-ico { width: 62px; height: 62px; border-radius: 50%; margin: 0 auto 14px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 30px; }
.step-ico.c1 { background: linear-gradient(135deg, #5ab0ff, #1287fb); box-shadow: 0 8px 18px rgba(18, 135, 251, .35); }
.step-ico.c2 { background: linear-gradient(135deg, #ff9a44, #ff5100); box-shadow: 0 8px 18px rgba(255, 96, 0, .35); }
.step-ico.c3 { background: linear-gradient(135deg, #7a5cff, #bb71ff); box-shadow: 0 8px 18px rgba(140, 90, 255, .35); }
.step-ico.c4 { background: linear-gradient(135deg, #35d6a4, #08c58b); box-shadow: 0 8px 18px rgba(8, 201, 139, .35); }
.step-card h3 { font-size: 21px; }
.step-card p { color: var(--text-3); font-size: 14px; margin-top: 6px; }
.step-card:after { content: ""; position: absolute; right: -38px; top: 50%; width: 12px; height: 12px; border-top: 3px solid #c9d6ee; border-right: 3px solid #c9d6ee; transform: translateY(-50%) rotate(45deg); }
.step-card:last-child:after { display: none; }

/* ==========================================================================
   首页各区块
   ========================================================================== */
.section { padding: 60px 0; }
.section-title { text-align: center; margin-bottom: 34px; }
.section-title h2 { font-size: 30px; letter-spacing: 2px; display: inline-flex; align-items: center; gap: 16px; }
.section-title h2:before, .section-title h2:after { content: ""; width: 60px; height: 2px; background: linear-gradient(90deg, transparent, #129efb); }
.section-title h2:after { background: linear-gradient(90deg, #129efb, transparent); }
.section-title p { color: var(--text-3); margin-top: 8px; font-size: 15px; }
.section-more { text-align: center; margin-top: 30px; }

/* 分类标签 */
.cat-tabs { display: flex; justify-content: center; gap: 8px; margin-bottom: 28px; }
.cat-tab { position: relative; display: flex; align-items: center; gap: 8px; padding: 12px 24px; border-radius: 30px; font-size: 16px; color: var(--text); transition: .25s; cursor: pointer; white-space: nowrap; }
.cat-tab .ico { font-size: 20px; color: var(--c); }
.cat-tab:hover { background: #f2f6fb; color: var(--text); }
.cat-tab.active { color: var(--primary); background: var(--primary-bg); font-weight: 600; }

/* 卡券网格 */
.card-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.p-card { position: relative; background: #fff; border: 2px solid transparent; border-radius: 12px; padding: 22px 10px 16px; text-align: center; box-shadow: 0 0 16px rgba(223, 227, 245, .75); transition: .3s; }
.p-card:hover { border-color: var(--primary); transform: translateY(-4px); box-shadow: 0 12px 30px rgba(18, 135, 251, .15); }
.p-card .p-logo { margin: 0 auto 10px; }
.p-name { height: 24px; line-height: 24px; font-size: 16px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.p-card:hover .p-name { color: var(--primary); }
.p-rate { margin-top: 4px; font-size: 24px; font-weight: 700; color: var(--orange-text); line-height: 1.3; }
.p-rate small { font-size: 12px; font-weight: 400; color: var(--text-3); margin-left: 4px; }
.p-speed { font-size: 12px; color: var(--text-3); margin-top: 2px; }
.p-btn { display: inline-block; margin-top: 10px; height: 32px; line-height: 30px; padding: 0 26px; border: 1px solid #dcdfe6; border-radius: 16px; font-size: 14px; color: var(--text-2); transition: .2s; }
.p-btn:hover, .p-card:hover .p-btn { background: var(--primary); border-color: var(--primary); color: #fff; }
.hot-flag { position: absolute; top: -8px; right: -8px; width: 36px; height: 20px; border-radius: 10px; background: linear-gradient(135deg, #ff8a00, #ff3128); color: #fff; font-size: 10px; font-weight: 700; display: flex; align-items: center; justify-content: center; letter-spacing: 1px; box-shadow: 0 4px 10px rgba(255, 60, 0, .4); }

/* 我们的服务 */
.services { background: linear-gradient(180deg, #fff, #f3f8ff); }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.service-card { background: #fff; border-radius: 20px; padding: 36px 32px; box-shadow: var(--shadow); position: relative; overflow: hidden; transition: .3s; }
.service-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(40, 60, 140, .14); }
.service-card .s-ico { width: 66px; height: 66px; border-radius: 18px; background: var(--c); color: #fff; font-size: 32px; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 20px rgba(0, 0, 0, .12); }
.service-card h3 { font-size: 22px; margin-top: 16px; }
.service-card p { color: var(--text-2); margin-top: 10px; line-height: 1.9; }
.service-card:after { content: ""; position: absolute; right: -40px; top: -40px; width: 150px; height: 150px; border-radius: 50%; background: var(--c); opacity: .07; }

/* 平台优势 */
.advantages { background: #eef7fd; }
.adv-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.adv-item { text-align: center; padding: 20px 10px; border-radius: 16px; transition: .25s; }
.adv-item:hover { background: #fff; box-shadow: var(--shadow); transform: translateY(-4px); }
.adv-item .a-ico { width: 60px; height: 60px; margin: 0 auto; border-radius: 50%; background: #fff; color: var(--primary); font-size: 28px; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 16px rgba(18, 135, 251, .18); }
.adv-item b { display: block; font-size: 26px; color: var(--primary); margin-top: 10px; line-height: 1.3; }
.adv-item h4 { font-size: 17px; }
.adv-item p { font-size: 13px; color: var(--text-3); margin-top: 6px; }

/* 资讯 */
.news-cols { display: grid; grid-template-columns: 1fr 1fr; }
.news-col { padding: 0 40px; }
.news-col + .news-col { border-left: 1px dashed #d9d9d9; }
.news-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.news-head h3 { font-size: 20px; display: flex; align-items: center; gap: 8px; }
.news-head h3:before { content: ""; width: 4px; height: 18px; border-radius: 2px; background: var(--primary); }
.news-head a { font-size: 13px; color: var(--text-3); }
.news-list li { display: flex; align-items: center; gap: 10px; height: 44px; border-bottom: 1px dashed #f0f0f0; }
.news-list li:last-child { border-bottom: 0; }
.news-list li:before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: #c9d6ee; flex-shrink: 0; }
.news-list a { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 15px; }
.news-list .date { color: var(--text-3); font-size: 13px; }

/* 热门卡种回收指南 */
.guides { background: var(--bg); }
.guide-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.guide-col { background: #fff; border: 1px solid #eef0f4; border-radius: 14px; padding: 18px 20px; transition: .25s; }
.guide-col:hover { border-color: var(--primary-border); box-shadow: var(--shadow); transform: translateY(-3px); }
.guide-col h4 { font-size: 16px; display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.guide-col a { display: block; height: 32px; line-height: 32px; color: var(--text-2); font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.guide-col a:before { content: "·"; margin-right: 8px; color: #bbb; }
.guide-col a:hover { color: var(--primary); }

/* 关于我们 */
.about-blurb { text-align: center; padding: 56px 0 70px; background: linear-gradient(180deg, #eef7fd, #fff); }
.about-blurb h2 { font-size: 30px; letter-spacing: 2px; }
.about-blurb p { max-width: 980px; margin: 18px auto 28px; color: var(--text-2); line-height: 2.1; font-size: 15px; }

/* ==========================================================================
   页脚 / 悬浮栏 / 面包屑
   ========================================================================== */
.footer { background: #353638; color: #c4c4c4; }
.footer a:hover { color: #fff; }
.footer-top { display: flex; padding: 36px 0; }
.footer-col { padding: 0 34px; border-right: 1px solid #4a4b4d; }
.footer-col:first-child { padding-left: 0; }
.footer-col:last-child { border-right: 0; }
.footer-col dt { font-size: 17px; color: #fff; margin-bottom: 12px; }
.footer-col dd { line-height: 32px; font-size: 14px; }
.footer-about { width: 380px; flex-shrink: 0; }
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer .logo-mark { box-shadow: none; }
.footer .logo-text b { color: #fff; }
.footer-intro { line-height: 1.9; font-size: 13px; color: #a9aaac; }
.footer-contact dd { display: flex; align-items: center; gap: 8px; }
.footer-contact .ico { color: #9a9b9d; }
.kf-btn { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 24px; border-radius: 8px; color: #fff; font-weight: 600; background: linear-gradient(90deg, #488cff, #66b1ff); margin-top: 10px; transition: .25s; }
.kf-btn:hover { color: #fff; transform: translateY(-2px); }
.footer-bottom { background: #2d2e30; padding: 16px 0; text-align: center; font-size: 13px; color: #979292; line-height: 1.9; }
.footer-bottom a { margin: 0 8px; color: #979292; }

.float-bar { position: fixed; right: 0; bottom: 12%; z-index: 90; background: #fff; border-radius: 8px 0 0 8px; box-shadow: 0 5px 35px rgba(50, 50, 50, .2); list-style: none; }
.float-bar li { position: relative; width: 60px; height: 60px; border-top: 1px dashed #e6e6e6; text-align: center; cursor: pointer; }
.float-bar li:first-child { border-top: 0; }
.float-bar li > .ico { display: block; font-size: 22px; margin: 10px auto 2px; color: #555; }
.float-bar li span { font-size: 11px; color: #666; white-space: nowrap; }
.float-bar li:hover > .ico, .float-bar li:hover span { color: var(--primary); }
.float-bar .sell { background: linear-gradient(135deg, #ff8a00, #ff5100); border-radius: 8px 0 0 8px; }
.float-bar .sell a { display: block; color: #fff; }
.float-bar .sell .ico { display: block; font-size: 22px; margin: 10px auto 2px; }
.float-bar .sell .ico, .float-bar .sell span { color: #fff; }
.float-bar .sell:hover { filter: brightness(1.06); }
.float-bar .pop { position: absolute; right: 66px; top: -10px; width: 230px; background: #fff; border-radius: 8px; box-shadow: 0 5px 35px rgba(50, 50, 50, .2); padding: 16px 14px; text-align: center; opacity: 0; visibility: hidden; transition: .25s; transform: translateX(8px); font-size: 13px; color: var(--text-2); }
.float-bar li:hover .pop { opacity: 1; visibility: visible; transform: none; }
.float-bar .pop b { display: block; font-size: 16px; color: var(--text); margin-bottom: 4px; }
.float-bar .pop .wt { color: var(--text-3); font-size: 12px; margin-bottom: 10px; }
.float-bar .pop .btn { margin-top: 4px; }
.float-bar .qr { width: 140px; height: 140px; margin: 0 auto 8px; background: repeating-conic-gradient(#222 0 25%, #fff 0 50%) 0 0 / 16px 16px; border: 6px solid #fff; outline: 1px solid #ddd; }
.float-bar .sell:hover .ico, .float-bar .sell:hover span { color: #fff; }

.crumb { padding-top: 84px; font-size: 13px; color: var(--text-3); }
.crumb a:hover { color: var(--primary); }
.crumb .sep { margin: 0 8px; color: #ccc; font-style: normal; }

/* ---------- 首页：公告轮播 / 实时成交 / 导航补充链接 ---------- */
.hero-notice span { transition: opacity .25s; }
.hero-live { margin-top: 18px; display: inline-flex; align-items: center; gap: 10px; max-width: 760px; padding: 6px 16px; border-radius: 18px; background: rgba(255, 255, 255, .12); font-size: 13px; color: rgba(255, 255, 255, .9); }
.hero-live .lb { color: #7dffb8; font-weight: 600; display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.hero-live .txt { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; transition: opacity .3s; }
.hero-live b { color: #ffd66b; font-weight: 600; }
.nav-cats .hot-search .more { float: right; color: var(--primary); }
.nav-cats .hot-search .more:hover { text-decoration: underline; }
.section-more .btn + .btn { margin-left: 12px; }
.friend-links { margin-bottom: 6px; font-size: 13px; color: #979292; line-height: 2; }
.friend-links a { margin: 0 8px; color: #979292; }
.friend-links a:hover { color: #fff; }
/* 窄屏（如 1280 宽的笔记本）下悬浮栏会压住页面右栏，隐藏 */
@media (max-width: 1339px) { .float-bar { display: none; } }
