/* ==========================================================================
   电竞邦首页 — 品牌色见 /static/css/djb-theme.css
   ========================================================================== */
.home { color: #444; }
.home img { max-width: 100%; }
.home .djb-wechat-qr-block img {
  width: 200px;
  height: 200px;
  max-width: 200px;
  object-fit: contain;
  aspect-ratio: 1 / 1;
}

/* ---------- Hero（科技霓虹 + 玻璃面板） ---------- */
.home .hero {
	color: #fff; padding: 72px 20px 48px; text-align: center; position: relative; overflow: hidden;
	background: #070b14;
}
.home .hero::before {
	content: ""; position: absolute; inset: 0; pointer-events: none;
	background-image:
		linear-gradient(rgba(56, 189, 248, .06) 1px, transparent 1px),
		linear-gradient(90deg, rgba(56, 189, 248, .06) 1px, transparent 1px);
	background-size: 40px 40px;
	-webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 20%, transparent 75%);
	mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 20%, transparent 75%);
}
.home .hero-orb {
	position: absolute; border-radius: 50%; filter: blur(80px); pointer-events: none; opacity: .55;
	animation: hero-orb-float 12s ease-in-out infinite alternate;
}
.home .hero-orb--violet { width: 420px; height: 420px; top: -120px; left: -80px; background: rgba(124, 58, 237, .45); }
.home .hero-orb--cyan { width: 360px; height: 360px; top: -60px; right: -100px; background: rgba(56, 189, 248, .35); animation-delay: -4s; }
.home .hero-grid-glow {
	position: absolute; inset: 0; pointer-events: none;
	background: radial-gradient(600px 320px at 50% 0%, rgba(124, 58, 237, .22), transparent 70%);
}
@keyframes hero-orb-float {
	0% { transform: translate(0, 0) scale(1); }
	100% { transform: translate(24px, 16px) scale(1.06); }
}
.home .hero-inner { max-width: 820px; margin: 0 auto; position: relative; z-index: 1; padding: 0; }
.home .hero-eyebrow {
	display: inline-flex; align-items: center; gap: 8px; margin-bottom: 20px;
	padding: 6px 14px 6px 10px; border-radius: 999px;
	font-size: 12px; letter-spacing: .12em; text-transform: uppercase;
	color: rgba(255, 255, 255, .75);
	background: rgba(56, 189, 248, .08); border: 1px solid rgba(56, 189, 248, .25);
}
.home .hero-eyebrow-pulse {
	width: 8px; height: 8px; border-radius: 50%; background: #38bdf8;
	box-shadow: 0 0 12px #38bdf8;
	animation: hero-pulse 2s ease-in-out infinite;
}
@keyframes hero-pulse {
	0%, 100% { opacity: 1; transform: scale(1); }
	50% { opacity: .5; transform: scale(.85); }
}
.home .hero-title {
	display: flex; flex-direction: column; align-items: center; gap: 10px;
	margin: 0 0 18px; line-height: 1.2;
}
.home .hero-title-brand {
	font-size: clamp(36px, 6vw, 52px); font-weight: 800; letter-spacing: 4px;
	background: linear-gradient(135deg, #fff 0%, #c4b5fd 45%, #38bdf8 100%);
	-webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
	filter: drop-shadow(0 4px 24px rgba(124, 58, 237, .35));
}
.home .hero-title-slogan {
	font-size: clamp(17px, 2.8vw, 22px); font-weight: 500; letter-spacing: 2px; opacity: .9;
	color: rgba(255, 255, 255, .92);
}
.home .hero-sub {
	font-size: 15px; line-height: 1.85; opacity: .78; margin: 0 auto 22px; max-width: 520px;
}
.home .hero-pills {
	display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 26px;
}
.home .hero-pill {
	display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px;
	font-size: 13px; font-weight: 600; letter-spacing: .5px;
	background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14);
	-webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}
.home .hero-pill-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.home .hero-pill-dot--violet { background: #a78bfa; box-shadow: 0 0 10px rgba(167, 139, 250, .8); }
.home .hero-pill-dot--cyan { background: #38bdf8; box-shadow: 0 0 10px rgba(56, 189, 248, .8); }
.home .hero-pill-dot--pink { background: #f472b6; box-shadow: 0 0 10px rgba(244, 114, 182, .7); }
.home .hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 36px; }
.home .hero-metrics {
	display: inline-flex; align-items: stretch; gap: 0; padding: 6px 12px; border-radius: 20px;
	background: rgba(255, 255, 255, .06);
}
.home .hero-metric {
	display: flex; flex-direction: column; align-items: center; justify-content: center;
	min-width: 120px; padding: 18px 28px;
}
.home .hero-metric strong {
	font-size: clamp(28px, 4vw, 36px); font-weight: 800; line-height: 1.15;
	background: linear-gradient(135deg, #fff, #bae6fd);
	-webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.home .hero-metric span { font-size: 14px; opacity: .72; margin-top: 8px; letter-spacing: 1px; }
.home .hero-metric-divider { width: 1px; align-self: center; height: 48px; background: rgba(255, 255, 255, .15); flex-shrink: 0; }

/* ---------- 首页热门游戏横条（白底） ---------- */
.home .hero-games-marquee {
	position: relative; overflow: hidden; padding: 22px 0;
	background: #fff;
}
.home .hero-games-marquee-edge {
	position: absolute; top: 0; bottom: 0; width: 80px; z-index: 2; pointer-events: none;
}
.home .hero-games-marquee-edge--left {
	left: 0; background: linear-gradient(90deg, #fff 0%, transparent 100%);
}
.home .hero-games-marquee-edge--right {
	right: 0; background: linear-gradient(270deg, #fff 0%, transparent 100%);
}
.home .hero-games-track { overflow: hidden; }
.home .hero-games-scroll {
	display: flex; align-items: center; gap: 14px; width: max-content;
	animation: hero-games-marquee 50s linear infinite;
}
.home .hero-games-scroll:hover { animation-play-state: paused; }
@keyframes hero-games-marquee {
	0% { transform: translateX(0); }
	100% { transform: translateX(-50%); }
}
.home .hero-game-chip {
	display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0;
	padding: 10px 18px 10px 10px; border-radius: 14px; text-decoration: none; color: #3d3850;
	background: #f8f6fc; border: 1px solid #ece8f4;
	transition: border-color .2s ease, background .2s ease, transform .2s ease, box-shadow .2s ease;
}
.home .hero-game-chip:hover {
	border-color: var(--djb-primary-soft); background: #fff;
	transform: translateY(-2px); box-shadow: 0 8px 24px rgba(var(--djb-primary-rgb), .12);
	color: var(--djb-primary-dark);
}
.home .hero-game-icon {
	width: 44px; height: 44px; border-radius: 10px; object-fit: cover; flex-shrink: 0;
}
.home .hero-game-icon--placeholder {
	display: inline-flex; align-items: center; justify-content: center;
	background: linear-gradient(135deg, var(--djb-primary), var(--djb-gradient-end));
	font-size: 14px; font-weight: 700; color: #fff;
}
.home .hero-game-name { font-size: 14px; font-weight: 600; white-space: nowrap; max-width: 150px; overflow: hidden; text-overflow: ellipsis; }

@media (prefers-reduced-motion: reduce) {
	.home .hero-orb, .home .hero-eyebrow-pulse, .home .hero-games-scroll { animation: none; }
}

.home .hero-badge {
	display: inline-block; padding: 7px 18px; margin: 0 0 24px; font-size: 13px; letter-spacing: 1px;
	border-radius: 30px; background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.22);
	-webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.home .hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.home .hbtn { display: inline-block; padding: 13px 28px; border-radius: 999px; text-decoration: none; font-size: 15px; font-weight: 600; transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .2s ease, border-color .2s ease; }
.home .hbtn-fill { background: linear-gradient(135deg, var(--djb-gradient-start) 0%, var(--djb-primary) 100%); color: #fff; box-shadow: 0 8px 24px rgba(var(--djb-primary-rgb), .35); border: 1px solid transparent; }
.home .hbtn-fill:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(var(--djb-primary-rgb), .45); }
.home .hbtn-accent { background: linear-gradient(135deg, #0ea5e9 0%, #38bdf8 100%); color: #fff; box-shadow: 0 8px 24px rgba(14, 165, 233, .28); border: 1px solid rgba(255,255,255,.15); }
.home .hbtn-accent:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(14, 165, 233, .38); }
.home .hbtn-glass { background: rgba(255,255,255,.12); border: 1.5px solid rgba(255,255,255,.45); color: #fff; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); box-shadow: none; }
.home .hbtn-glass:hover { background: rgba(255,255,255,.2); border-color: rgba(255,255,255,.65); transform: translateY(-2px); }
.home .hbtn-outline { border: 1.5px solid rgba(255,255,255,.6); color: #fff; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.home .hbtn-outline:hover { background: rgba(255,255,255,.14); transform: translateY(-3px); }
.home .hbtn-light { background: #fff; color: var(--djb-primary); }
.home .hbtn-light:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(0,0,0,.25); }

/* ---------- 通用 section ---------- */
.home .hsec { padding: 64px 20px; }
.home .hsec-alt { background: var(--djb-bg); }
.home .wrap { max-width: 1080px; margin: 0 auto; }
.home .sec-title { text-align: center; font-size: 30px; color: #584f60; margin: 0 0 10px; font-weight: 700; }
.home .sec-desc { text-align: center; color: #9b93a3; font-size: 16px; margin: 0 0 46px; }

/* ---------- 服务模式卡片 ---------- */
.home .mode-grid { display: flex; gap: 26px; flex-wrap: wrap; }
.home .mode-card { flex: 1 1 280px; background: #fff; border: 1px solid #efe9f1; border-radius: 14px; padding: 38px 28px; text-align: center; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.home .mode-card:hover { transform: translateY(-5px); box-shadow: 0 16px 34px rgba(var(--djb-primary-rgb), .15); border-color: var(--djb-primary-soft); }
.home .mode-card img { width: 78px; height: 78px; object-fit: contain; }
.home .mode-card h3 { font-size: 22px; color: var(--djb-primary); margin: 18px 0 12px; }
.home .mode-card p { color: #7c7c7c; font-size: 15px; line-height: 1.85; margin: 0; }

/* ---------- 服务流程 ---------- */
.home .flow-grid { display: flex; gap: 22px; flex-wrap: wrap; }
.home .flow-step { flex: 1 1 200px; text-align: center; position: relative; }
.home .flow-icon { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; box-shadow: 0 8px 20px rgba(var(--djb-primary-rgb), .2); transition: transform .25s ease, box-shadow .25s ease; }
.home .flow-step:hover .flow-icon { transform: translateY(-4px); box-shadow: 0 14px 28px rgba(var(--djb-primary-rgb), .28); }
.home .flow-step h3 { font-size: 18px; color: #584f60; margin: 18px 0 8px; }
.home .flow-step p { color: #8a8a8a; font-size: 14px; margin: 0; line-height: 1.7; }
@media (min-width: 769px) {
	.home .flow-step:not(:last-child)::after { content: "→"; position: absolute; top: 48px; right: -14px; transform: translateY(-50%); font-size: 26px; line-height: 1; font-weight: 700; color: #c4b3d2; }
}

/* ---------- 服务范围 地图 + 城市 ---------- */
.home .region-img { text-align: center; margin: 0 auto 36px; }
.home .region-img img { max-width: 720px; width: 100%; }
.home .cities-row { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.home .cities-row a { display: inline-block; padding: 9px 22px; border-radius: 22px; background: var(--djb-primary-light); border: 1px solid var(--djb-primary-soft); color: var(--djb-primary); text-decoration: none; font-size: 15px; transition: all .2s ease; }
.home .cities-row a:hover { background: var(--djb-primary); color: #fff; border-color: var(--djb-primary); box-shadow: 0 4px 12px rgba(var(--djb-primary-rgb), .28); }
.home .cities-row a.more { background: transparent; border-color: transparent; font-weight: bold; }
.home .cities-row a.more:hover { background: transparent; color: var(--djb-primary-dark); box-shadow: none; }

/* ---------- CTA ---------- */
.home .cta-band {
	color: #fff; text-align: center; padding: 64px 20px; position: relative; overflow: hidden;
	background:
		radial-gradient(680px 360px at 82% 16%, rgba(var(--djb-primary-rgb), .4), transparent 60%),
		radial-gradient(600px 320px at 12% 92%, rgba(var(--djb-primary-rgb), .35), transparent 60%),
		linear-gradient(135deg, var(--djb-primary-dark) 0%, var(--djb-primary) 100%);
}
.home .cta-band h2 { font-size: 28px; margin: 0 0 12px; font-weight: 700; }
.home .cta-band p { opacity: .85; margin: 0 0 28px; font-size: 16px; }

/* ---------- 响应式 ---------- */
@media screen and (max-width: 768px) {
	.home .hero { padding: 48px 16px 36px; }
	.home .hero-metric { min-width: 96px; padding: 14px 16px; }
	.home .hero-metric strong { font-size: 26px; }
	.home .hero-metric span { font-size: 13px; }
	.home .hero-metric-divider { height: 40px; }
	.home .hero-cta { gap: 10px; }
	.home .hbtn { padding: 12px 22px; font-size: 14px; }
	.home .hero-games-marquee-edge { width: 40px; }
	.home .region-img { margin-bottom: 28px; }
	.home .hsec { padding: 46px 16px; }
	.home .sec-title { font-size: 24px; }
	.home .sec-desc { font-size: 15px; margin-bottom: 32px; }
	.home .mode-grid { gap: 16px; }
	.home .mode-card { flex: 1 1 100%; padding: 30px 24px; }
	.home .flow-grid { gap: 26px 10px; }
	.home .flow-step { flex: 1 1 42%; }
	.home .topic-hero-head { gap: 12px; }
	.home .topic-game-icon { width: 64px; height: 64px; }
	.home .hero-compact .hero-title { font-size: 26px; }
	.home .games-hub-jump { width: 100%; justify-content: center; margin-top: 6px; }
	.home .games-hub-pager { gap: 8px; }
	.home .cta-band { padding: 44px 18px; }
	.home .cta-band h2 { font-size: 22px; }
}

/* ---------- 专题页 / FAQ ---------- */
.home .hero-compact { padding: 56px 20px 48px; }
.home .hero-compact .hero-title { font-size: 34px; }
.home .topic-hero-inner {
	display: flex; flex-direction: column; align-items: center; text-align: center;
}
.home .topic-hero-head {
	display: flex; flex-direction: column; align-items: center; gap: 14px; margin-bottom: 16px;
}
.home .topic-hero-text { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.home .topic-game-icon {
	display: block; width: 72px; height: 72px; border-radius: 16px; object-fit: cover;
	box-shadow: 0 8px 24px rgba(0,0,0,.22);
}
.home .topic-pricing { list-style: none; margin: 0; padding: 0; max-width: 640px; margin-left: auto; margin-right: auto; }
.home .topic-pricing li {
	padding: 14px 20px; margin-bottom: 10px; background: #fff; border: 1px solid #efe9f1;
	border-radius: 12px; color: #584f60; font-size: 15px; line-height: 1.7;
}
.home .faq-list { max-width: 720px; margin: 0 auto; }
.home .faq-item { margin-bottom: 20px; padding: 20px 24px; background: #fff; border: 1px solid #efe9f1; border-radius: 14px; }
.home .faq-item dt { font-size: 17px; font-weight: 700; color: var(--djb-primary); margin: 0 0 10px; }
.home .faq-item dd { margin: 0; color: #7c7c7c; font-size: 15px; line-height: 1.85; }
.home .hint { color: #9b93a3; font-size: 14px; }
.home .mode-card .hbtn { display: inline-block; margin: 4px 6px 0; }

/* ---------- 游戏库 SEO 目录 ---------- */
.home .games-hub-search { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; max-width: 640px; margin: 0 auto 24px; }
.home .games-hub-search input[type="search"] {
	flex: 1 1 280px; min-width: 0; padding: 12px 16px; border-radius: 12px; border: 1px solid #e8e0ea;
	background: #fff; font-size: 15px;
}
.home .games-hub-search .games-hub-search-btn {
	box-shadow: none; border: none; outline: none;
}
.home .games-hub-search .games-hub-clear {
	border-color: #e8e0ea; color: var(--djb-primary); background: #fff;
}
.home .games-hub-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; margin-top: 28px; }
.home .games-hub-card {
	display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: #fff;
	border: 1px solid #efe9f1; border-radius: 12px; text-decoration: none; color: inherit;
	transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.home .games-hub-card:hover { border-color: var(--djb-primary-soft); box-shadow: 0 8px 20px rgba(var(--djb-primary-rgb), .12); transform: translateY(-2px); }
.home .games-hub-icon { width: 48px; height: 48px; border-radius: 10px; object-fit: cover; flex-shrink: 0; }
.home .games-hub-card h3 { margin: 0 0 4px; font-size: 16px; color: #584f60; }
.home .games-hub-card p { margin: 0; font-size: 13px; color: #9b93a3; }
.home .games-hub-letters {
	display: flex; flex-wrap: nowrap; gap: 5px; justify-content: center;
	margin: 0 auto 8px; max-width: 100%; overflow-x: auto; padding: 2px 4px 6px;
	-webkit-overflow-scrolling: touch; scrollbar-width: thin;
}
.home .games-hub-letters::-webkit-scrollbar { height: 4px; }
.home .games-hub-letters::-webkit-scrollbar-thumb { background: #d8d0e0; border-radius: 4px; }
.home .games-hub-letter {
	flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center;
	min-width: 30px; height: 30px; padding: 0 8px; border-radius: 8px; text-decoration: none;
	color: var(--djb-primary); background: var(--djb-primary-light); font-size: 13px; line-height: 1;
}
.home .games-hub-letter.is-active, .home .games-hub-letter:hover { background: var(--djb-primary); color: #fff; }
.home .games-hub-pager {
	display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 32px; flex-wrap: wrap;
}
.home .games-hub-page-nums { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; justify-content: center; }
.home .games-hub-page-num,
.home .games-hub-page-btn {
	display: inline-flex; align-items: center; justify-content: center; min-width: 36px; height: 36px; padding: 0 10px;
	border-radius: 10px; border: 1px solid #e8e0ea; background: #fff; color: #584f60; text-decoration: none;
	font-size: 14px; cursor: pointer; transition: border-color .2s ease, color .2s ease, background .2s ease;
}
.home .games-hub-page-num:hover,
.home .games-hub-page-btn:hover:not(.is-disabled) {
	border-color: var(--djb-primary-soft); color: var(--djb-primary); background: var(--djb-primary-light);
}
.home .games-hub-page-num.is-active {
	background: var(--djb-primary); border-color: var(--djb-primary); color: #fff; font-weight: 600;
}
.home .games-hub-page-btn.is-disabled { opacity: .45; cursor: not-allowed; }
.home .games-hub-page-ellipsis { color: #9b93a3; padding: 0 4px; }
.home .games-hub-jump { display: inline-flex; align-items: center; gap: 8px; margin: 0; }
.home .games-hub-jump-label { display: inline-flex; align-items: center; gap: 6px; color: #7c7c7c; font-size: 14px; }
.home .games-hub-jump-input {
	width: 56px; padding: 7px 8px; border-radius: 8px; border: 1px solid #e8e0ea; text-align: center; font-size: 14px;
}
.home .games-hub-pager-info { width: 100%; margin: 12px 0 0; text-align: center; color: #9b93a3; font-size: 14px; }

.home .topic-about {
	max-width: 760px; margin: 0 auto; color: #5c5878; font-size: 16px; line-height: 1.95; text-align: justify;
}
.home .topic-geo {
	max-width: 760px; margin: 0 auto; color: #5c5878; font-size: 15px; line-height: 1.9; text-align: justify;
}
.home .topic-seo-tags {
	display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; max-width: 820px; margin: 0 auto; padding: 0; list-style: none;
}
.home .topic-seo-tags li {
	display: inline-block; padding: 6px 14px; border-radius: 999px; font-size: 13px; color: #6b5f7a;
	background: #faf8fc; border: 1px solid #efe9f1; line-height: 1.4;
}

/* ---------- 专题页价目底部 ---------- */
.home .topic-pricing-footer {
	max-width: 640px; margin: 20px auto 0; display: flex; flex-direction: column; gap: 12px;
}
.home .topic-pricing-note {
	display: flex; align-items: flex-start; gap: 12px; padding: 14px 18px;
	background: #faf8fc; border: 1px solid #efe9f1; border-radius: 12px;
}
.home .topic-pricing-note-icon {
	flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%;
	background: var(--djb-primary-light); color: var(--djb-primary);
	font-size: 13px; font-weight: 700; font-style: normal; line-height: 22px; text-align: center;
}
.home .topic-pricing-note p { margin: 0; color: #7c7c7c; font-size: 14px; line-height: 1.7; }
.home .topic-pricing-more {
	display: flex; align-items: center; justify-content: space-between; gap: 16px;
	padding: 16px 20px; background: #fff; border: 1px solid #efe9f1; border-radius: 12px;
	text-decoration: none; color: inherit; transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.home .topic-pricing-more:hover {
	border-color: var(--djb-primary-soft); box-shadow: 0 8px 20px rgba(var(--djb-primary-rgb), .12); transform: translateY(-2px);
}
.home .topic-pricing-more-text { display: flex; flex-direction: column; gap: 4px; text-align: left; }
.home .topic-pricing-more-text strong { font-size: 15px; color: var(--djb-primary); }
.home .topic-pricing-more-text small { font-size: 13px; color: #9b93a3; line-height: 1.5; }
.home .topic-pricing-more-arrow { font-size: 20px; color: var(--djb-primary); flex-shrink: 0; }
