/* qy_horse · home.css · 马场棕 + 金鬃黄 */
.qyh-hero{position:relative;padding:90px 0 76px;background:radial-gradient(circle at 25% 30%,rgba(146,64,14,.5),transparent 60%),#1c1410;color:#fef3c7;overflow:hidden}
.qyh-hero-bg{position:absolute;inset:0;background:repeating-linear-gradient(0deg,rgba(245,158,11,.04) 0 1px,transparent 1px 80px),repeating-linear-gradient(90deg,rgba(245,158,11,.04) 0 1px,transparent 1px 80px);pointer-events:none}
.qyh-hero-inner{position:relative;z-index:2}
.qyh-tag{display:inline-flex;align-items:center;gap:6px;padding:6px 14px;border-radius:999px;background:rgba(146,64,14,.4);border:1px solid rgba(245,158,11,.4);color:#fbbf24;font-size:13px;margin-bottom:18px}
.qyh-title{font-size:46px;font-weight:800;line-height:1.18;color:#fef3c7;margin-bottom:18px}
.qyh-grad{background:linear-gradient(90deg,#f59e0b,#fbbf24,#fde68a);-webkit-background-clip:text;background-clip:text;color:transparent}
.qyh-desc{font-size:16px;color:#d6d3d1;line-height:1.8;margin-bottom:22px}
.qyh-bullets{list-style:none;padding:0;margin:0 0 28px}
.qyh-bullets li{padding:6px 0;color:#fbbf24;font-size:14px}
.qyh-bullets i{color:#f59e0b;margin-right:8px;width:20px}
.qyh-cta{display:flex;gap:14px;flex-wrap:wrap}
.qyh-btn-main{display:inline-flex;align-items:center;gap:10px;padding:14px 22px;border-radius:12px;background:linear-gradient(135deg,#92400e,#f59e0b);border:none;color:#fff!important;text-align:left;box-shadow:0 10px 28px rgba(146,64,14,.5)}
.qyh-btn-main i{font-size:22px}
.qyh-btn-main strong{display:block;font-size:15px}
.qyh-btn-main small{display:block;font-size:11px;opacity:.85}
.qyh-btn-sub{padding:14px 22px;border-radius:12px;border:1px solid rgba(251,191,36,.4);color:#fef3c7!important}

/* HERO 视觉 · 跑道 + 马卡 */
.qyh-stage{position:relative;height:480px}
.qyh-track{position:absolute;left:0;right:0;bottom:0;height:120px;background:radial-gradient(ellipse at center,rgba(245,158,11,.3),transparent 70%);border-top:2px dashed rgba(245,158,11,.5)}
.qyh-card{position:absolute;padding:18px 18px;border-radius:14px;background:linear-gradient(135deg,rgba(146,64,14,.85),rgba(28,20,16,.85));border:1px solid rgba(245,158,11,.4);color:#fef3c7;backdrop-filter:blur(10px);box-shadow:0 14px 36px rgba(0,0,0,.55)}
.qyh-c-1{top:8%;right:6%;width:280px;transform:rotate(2deg)}
.qyh-c-2{top:42%;left:0;width:240px;transform:rotate(-3deg)}
.qyh-c-3{bottom:18%;right:10%;width:230px;transform:rotate(2deg)}
.qyh-no{display:inline-block;padding:3px 10px;border-radius:999px;background:#f59e0b;color:#1c1410;font-size:12px;font-weight:700;margin-bottom:10px}
.qyh-card h5{font-size:16px;font-weight:700;color:#fef3c7;margin-bottom:6px}
.qyh-card p{font-size:12px;color:#fbbf24;margin-bottom:10px}
.qyh-stat{display:flex;gap:14px;border-top:1px dashed rgba(245,158,11,.3);padding-top:10px}
.qyh-stat span{flex:1}
.qyh-stat b{display:block;font-size:16px;color:#f59e0b;font-weight:700}
.qyh-stat i{font-size:11px;color:#d6d3d1;font-style:normal}

/* 公共 sec */
.qyh-sec{padding:78px 0;background:#1c1410;color:#fef3c7}
.qyh-bg2{background:#261a14}
.qyh-head{margin-bottom:46px}
.qyh-head.text-center{text-align:center}
.qyh-head:not(.text-center){display:flex;justify-content:space-between;align-items:flex-end}
.qyh-eye{display:inline-block;padding:4px 12px;border:1px solid rgba(245,158,11,.5);border-radius:999px;color:#f59e0b;font-size:12px;letter-spacing:2px;margin-bottom:10px}
.qyh-stitle{font-size:32px;font-weight:800;color:#fef3c7;margin-bottom:6px}
.qyh-ssub{color:#d6d3d1;font-size:14px}
.qyh-more{color:#fbbf24;text-decoration:none;font-size:14px}

/* SOLUTIONS */
.qyh-sol{height:100%;padding:26px 22px;border-radius:14px;background:linear-gradient(165deg,rgba(146,64,14,.25),rgba(28,20,16,.6));border:1px solid rgba(245,158,11,.18);transition:all .3s}
.qyh-sol:hover{transform:translateY(-6px);border-color:#f59e0b;box-shadow:0 18px 40px rgba(146,64,14,.35)}
.qyh-sol-i{width:54px;height:54px;border-radius:12px;background:linear-gradient(135deg,#92400e,#f59e0b);display:flex;align-items:center;justify-content:center;color:#fef3c7;font-size:22px;margin-bottom:14px}
.qyh-sol h3{font-size:18px;font-weight:700;color:#fef3c7;margin-bottom:8px}
.qyh-sol p{font-size:13px;color:#d6d3d1;line-height:1.6;margin:0}

/* HORSES 名马图谱 */
.qyh-horse-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.qyh-horse{position:relative;padding:24px 22px;border-radius:14px;background:rgba(28,20,16,.7);border:1px solid rgba(245,158,11,.2);transition:all .3s;overflow:hidden}
.qyh-horse::before{content:"";position:absolute;top:0;left:0;width:100%;height:4px;background:linear-gradient(90deg,#92400e,#f59e0b)}
.qyh-horse:hover{transform:translateY(-4px);border-color:#f59e0b}
.qyh-grade{position:absolute;top:14px;right:18px;padding:3px 12px;border-radius:6px;font-size:11px;font-weight:700;letter-spacing:1px}
.qyh-hr-1 .qyh-grade,.qyh-hr-2 .qyh-grade{background:#dc2626;color:#fff}
.qyh-hr-3 .qyh-grade,.qyh-hr-4 .qyh-grade{background:#f59e0b;color:#1c1410}
.qyh-hr-5 .qyh-grade,.qyh-hr-6 .qyh-grade{background:#65a30d;color:#fff}
.qyh-horse h4{font-size:18px;font-weight:700;color:#fef3c7;margin-bottom:6px;margin-top:8px}
.qyh-horse p{font-size:12px;color:#fbbf24;margin-bottom:14px}
.qyh-horse ul{list-style:none;padding:0;margin:0;border-top:1px dashed rgba(245,158,11,.2);padding-top:12px}
.qyh-horse ul li{font-size:13px;color:#d6d3d1;padding:3px 0}
.qyh-horse ul li::before{content:"\2022 ";color:#f59e0b}
@media(max-width:992px){.qyh-horse-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:576px){.qyh-horse-grid{grid-template-columns:1fr}}

/* JOCKEYS */
.qyh-jockey-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.qyh-jk{padding:22px 16px;border-radius:14px;background:linear-gradient(165deg,rgba(146,64,14,.25),rgba(28,20,16,.55));border:1px solid rgba(245,158,11,.15);text-align:center;transition:all .3s}
.qyh-jk:hover{transform:translateY(-4px);border-color:#f59e0b}
.qyh-jk-av{width:60px;height:60px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:700;color:#1c1410;font-size:22px;margin:0 auto 12px}
.qyh-jk-1{background:linear-gradient(135deg,#dc2626,#f59e0b)}
.qyh-jk-2{background:linear-gradient(135deg,#65a30d,#fbbf24)}
.qyh-jk-3{background:linear-gradient(135deg,#0ea5e9,#fbbf24)}
.qyh-jk-4{background:linear-gradient(135deg,#a855f7,#fbbf24)}
.qyh-jk-5{background:linear-gradient(135deg,#16a34a,#fbbf24)}
.qyh-jk-6{background:linear-gradient(135deg,#92400e,#fbbf24)}
.qyh-jk-7{background:linear-gradient(135deg,#dc2626,#fbbf24)}
.qyh-jk-8{background:linear-gradient(135deg,#7c3aed,#fbbf24)}
.qyh-jk h5{font-size:15px;font-weight:700;color:#fef3c7;margin-bottom:4px}
.qyh-jk span{display:block;font-size:11px;color:#d6d3d1;margin-bottom:8px}
.qyh-jk b{display:inline-block;padding:3px 10px;border-radius:999px;background:rgba(245,158,11,.18);color:#f59e0b;font-size:12px;font-weight:700}
@media(max-width:992px){.qyh-jockey-grid{grid-template-columns:repeat(2,1fr)}}

/* CALENDAR */
.qyh-cal-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.qyh-cal{padding:24px 20px;border-radius:14px;background:rgba(28,20,16,.55);border:1px solid rgba(245,158,11,.18);text-align:center;transition:all .3s}
.qyh-cal:hover{transform:translateY(-4px);border-color:#f59e0b;box-shadow:0 14px 30px rgba(146,64,14,.3)}
.qyh-cal-mo{font-size:48px;font-weight:900;background:linear-gradient(135deg,#f59e0b,#fbbf24);-webkit-background-clip:text;background-clip:text;color:transparent;line-height:1;margin-bottom:6px;font-family:Georgia,serif}
.qyh-cal h5{font-size:17px;font-weight:700;color:#fef3c7;margin-bottom:6px}
.qyh-cal p{font-size:12px;color:#d6d3d1;margin-bottom:12px}
.qyh-cal-tag{display:inline-block;padding:4px 12px;border-radius:999px;background:rgba(245,158,11,.18);color:#f59e0b;font-size:11px;border:1px dashed rgba(245,158,11,.4)}
@media(max-width:992px){.qyh-cal-grid{grid-template-columns:repeat(2,1fr)}}

/* BREEDING */
.qyh-br{height:100%;padding:26px 22px;border-radius:14px;background:linear-gradient(165deg,rgba(146,64,14,.2),rgba(28,20,16,.55));border:1px solid rgba(245,158,11,.15);transition:all .3s}
.qyh-br:hover{transform:translateY(-4px);border-color:#f59e0b}
.qyh-br-no{display:block;font-size:42px;font-weight:900;color:#f59e0b;line-height:1;margin-bottom:10px;font-family:Georgia,serif}
.qyh-br-no small{font-size:14px;color:#d6d3d1;margin-left:4px;font-weight:500}
.qyh-br h4{font-size:17px;font-weight:700;color:#fef3c7;margin-bottom:6px}
.qyh-br p{font-size:13px;color:#d6d3d1;margin:0;line-height:1.6}

/* BETTING */
.qyh-bet-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:14px}
.qyh-bet{padding:22px 14px;border-radius:14px;background:linear-gradient(165deg,rgba(245,158,11,.18),rgba(28,20,16,.6));border:1px solid rgba(245,158,11,.2);text-align:center;transition:all .3s}
.qyh-bet:hover{transform:translateY(-4px);border-color:#f59e0b}
.qyh-bet i{font-size:28px;color:#f59e0b;margin-bottom:10px;display:block;font-weight:900;font-family:Georgia,serif;font-style:normal}
.qyh-bet h5{font-size:15px;font-weight:700;color:#fef3c7;margin-bottom:4px}
.qyh-bet p{font-size:11px;color:#d6d3d1;margin:0}
@media(max-width:992px){.qyh-bet-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:576px){.qyh-bet-grid{grid-template-columns:repeat(2,1fr)}}

/* CTA */
.qyh-cta{padding:60px 0;background:linear-gradient(135deg,#92400e,#f59e0b);text-align:center;color:#fef3c7}
.qyh-cta h2{font-size:30px;font-weight:800;margin-bottom:8px}
.qyh-cta p{font-size:14px;opacity:.9;margin-bottom:22px}
.qyh-cta-btns{display:flex;justify-content:center;gap:14px;flex-wrap:wrap}

/* NEWS */
.qyh-news-cat{height:100%;padding:24px 20px;border-radius:14px;background:rgba(146,64,14,.18);border:1px solid rgba(245,158,11,.15)}
.qyh-news-cat h5{font-size:16px;font-weight:700;color:#fef3c7;margin-bottom:14px;padding-bottom:12px;border-bottom:1px dashed rgba(245,158,11,.3)}
.qyh-news-cat h5 i{color:#f59e0b;margin-right:6px}
.qyh-news-list{list-style:none;padding:0;margin:0}
.qyh-news-list li{display:flex;justify-content:space-between;padding:7px 0;border-bottom:1px dashed rgba(245,158,11,.1);font-size:13px}
.qyh-news-list li:last-child{border:none}
.qyh-news-list a{color:#d6d3d1;text-decoration:none;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-right:10px}
.qyh-news-list a:hover{color:#f59e0b}
.qyh-news-list span{color:#a8a29e;font-size:11px}

@media(max-width:992px){.qyh-title{font-size:34px}.qyh-stage{height:380px}.qyh-c-1,.qyh-c-2,.qyh-c-3{width:200px}}
@media(max-width:576px){.qyh-hero{padding:60px 0 44px}.qyh-title{font-size:26px}.qyh-sec{padding:54px 0}.qyh-stitle{font-size:22px}.qyh-stage{height:320px}.qyh-head:not(.text-center){flex-direction:column;align-items:flex-start;gap:8px}}


/* ===== 首页 Hero 下方独立锚点跳转栏(章节快速直达) ===== */
nav.ks-anchor-nav {
  position: relative;
  margin: -10px 0 50px;
  padding: 18px 0;
  background: linear-gradient(180deg, rgba(0,0,0,.0) 0%, rgba(0,0,0,.35) 100%);
  border-top: 1px solid rgba(255,255,255,.05);
  border-bottom: 1px solid rgba(255,255,255,.05);
}
nav.ks-anchor-nav > .container {
  display: flex;
  justify-content: center;
}
nav.ks-anchor-nav ul {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  list-style: none !important;
  margin: 0;
  padding: 5px 8px;
  gap: 4px;
  background: rgba(255,255,255,.035);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 999px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04), 0 8px 28px rgba(0,0,0,.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  scrollbar-width: none;
}
nav.ks-anchor-nav ul::-webkit-scrollbar { display: none; }
nav.ks-anchor-nav li {
  list-style: none !important;
  flex-shrink: 0;
  margin: 0;
  padding: 0;
}
nav.ks-anchor-nav li::marker { content: ""; }
nav.ks-anchor-nav a {
  display: inline-flex;
  align-items: center;
  position: relative;
  padding: .55rem 1.15rem;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: .35px;
  color: rgba(255,255,255,.66);
  text-decoration: none !important;
  border-radius: 999px;
  white-space: nowrap;
  transition: color .22s, background .22s, transform .22s, box-shadow .22s;
}
nav.ks-anchor-nav li + li > a::before {
  content: "";
  position: absolute;
  left: -2px; top: 50%;
  width: 1px; height: 11px;
  background: rgba(255,255,255,.12);
  transform: translateY(-50%);
}
nav.ks-anchor-nav a:hover {
  color: #fff;
  background: linear-gradient(135deg, #f59e0b, #f59e0bcc);
  box-shadow: 0 6px 18px #f59e0b55;
  transform: translateY(-1px);
}
nav.ks-anchor-nav a:hover::before,
nav.ks-anchor-nav li:has(+ li a:hover) > a::before { opacity: 0; }
@media (max-width: 767.98px) {
  nav.ks-anchor-nav { margin: -4px 0 32px; padding: 14px 0; }
  nav.ks-anchor-nav > .container { padding: 0 12px; }
  nav.ks-anchor-nav ul { justify-content: flex-start; }
  nav.ks-anchor-nav a { padding: .5rem 1rem; font-size: 12.5px; }
}


/* =================================================== */
/* MOBILE ENHANCED · 旧模板通用 H5 自适应规则           */
/* =================================================== */
.qyh-hero img, .qyh-solutions img, .qyh-data img, .qyh-news img, .qyh-tiers img { max-width: 100%; height: auto; }

@media (max-width: 991.98px) {
  .qyh-hero { padding: 80px 20px 60px; }
  .qyh-hero h1, .qyh-hero .qyh-h1 { font-size: 48px !important; line-height: 1.05 !important; }
  .qyh-hero-lead, .qyh-hero p { font-size: 16px !important; line-height: 1.7 !important; }
}

@media (max-width: 768px) {
  /* Hero 放大 */
  .qyh-hero { padding: 72px 20px 56px; }
  .qyh-hero h1, .qyh-hero .qyh-h1 { font-size: 40px !important; line-height: 1.1 !important; }
  .qyh-hero h1 em, .qyh-hero .qyh-h1 em { font-size: 40px !important; }
  .qyh-hero-tag { font-size: 12px !important; padding: 8px 14px !important; margin-bottom: 24px !important; }
  .qyh-hero-lead, .qyh-hero p { font-size: 15px !important; line-height: 1.75 !important; margin-bottom: 24px !important; }
  .qyh-hero-cta { display: flex; flex-direction: column; gap: 10px; margin-top: 24px; }
  .qyh-hero-cta a { padding: 16px 20px !important; font-size: 15px !important; width: 100%; box-sizing: border-box; text-align: center; border-radius: 10px !important; min-height: 48px; }
  /* Stats 改 2 列 */
  .qyh-hero-stats, .qyh-hero-numbers { grid-template-columns: 1fr 1fr !important; gap: 0 !important; margin-top: 32px !important; }
  .qyh-hero-stats div, .qyh-num-cell { padding: 18px 14px !important; border-bottom: 1px solid rgba(255,255,255,.1); }
  .qyh-hero-stats strong, .qyh-hero-stats b, .qyh-num-cell strong { font-size: 28px !important; }
  .qyh-hero-stats span, .qyh-num-cell span { font-size: 12px !important; }
  /* Sections 网格改单列 */
  .qyh-solutions, .qyh-data, .qyh-tiers, .qyh-news, .qyh-final, .qyh-features { padding: 56px 0 !important; }
  .qyh-sol-grid, .qyh-tier-grid, .qyh-news-grid, .qyh-sol, .qyh-cabs, .qyh-tokens, .qyh-grid { grid-template-columns: 1fr !important; gap: 14px !important; }
  .qyh-sol-card, .qyh-tier-card, .qyh-news-card, .qyh-sol, .qyh-cab, .qyh-tok { padding: 24px 20px !important; border-radius: 12px !important; }
  .qyh-sol-card h3, .qyh-tier-card h3, .qyh-news-card h3 { font-size: 18px !important; }
  .qyh-sol-card p, .qyh-tier-card p, .qyh-news-card p { font-size: 14px !important; line-height: 1.7 !important; }
  /* Section title */
  .qyh-sec-title, .qyh-sec-head h2, .qyh-final h2 { font-size: 26px !important; line-height: 1.25 !important; }
  .qyh-sec-sub, .qyh-sec-head p { font-size: 14px !important; }
  /* Final CTA 竖排 */
  .qyh-final { padding: 56px 20px !important; }
  .qyh-final-actions { flex-direction: column; gap: 10px; }
  .qyh-final-actions a, .qyh-final-actions .btn { width: 100%; box-sizing: border-box; padding: 14px 20px !important; font-size: 15px !important; min-height: 48px; border-radius: 10px !important; }
  /* Keywords chips */
  .qyh-chip-grid { gap: 6px; }
  .qyh-chip { padding: 8px 14px !important; font-size: 13px !important; }
  /* 表格横滚 */
  .qyh-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .qyh-table th, .qyh-table td { font-size: 13px !important; padding: 10px 8px !important; }
}

@media (max-width: 480px) {
  .qyh-hero h1, .qyh-hero .qyh-h1 { font-size: 32px !important; }
  .qyh-hero h1 em, .qyh-hero .qyh-h1 em { font-size: 32px !important; }
  .qyh-hero-stats strong, .qyh-hero-stats b { font-size: 22px !important; }
}
