/* ===========================================================
   好体育 2026 — Main CSS
   haotiyuapp.com
   =========================================================== */

/* ─── NOTICE BAR ─── */
.ht-notice-bar {
  background: var(--ht-red); color: #fff;
  text-align: center; padding: 10px 48px;
  font-size: 13px; font-weight: 700; letter-spacing: 1px;
  position: relative; z-index: 200;
}
.ht-notice-bar a { color: #fff; text-decoration: none; }
.ht-notice-bar a:hover { text-decoration: underline; }
.ht-notice-close {
  position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  background: none; border: none; color: rgba(255,255,255,.7);
  font-size: 14px; cursor: pointer; padding: 4px 8px;
}

/* ─── HEADER & NAV ─── */
.ht-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .3s, box-shadow .3s;
}
.ht-header.scrolled {
  background: rgba(10,10,15,0.97);
  box-shadow: 0 1px 0 rgba(255,255,255,0.06);
  backdrop-filter: blur(16px);
}
.ht-nav { padding: 0; }
.ht-nav-inner {
  display: flex; align-items: center;
  padding: 18px 48px; gap: 32px;
  background: linear-gradient(to bottom, rgba(10,10,15,0.92), transparent);
}

/* Logo */
.ht-logo {
  display: flex; align-items: center; gap: 10px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 26px; letter-spacing: 3px;
  color: var(--ht-text); text-decoration: none;
  flex-shrink: 0;
}
.ht-logo-dot {
  width: 9px; height: 9px;
  background: var(--ht-red); border-radius: 50%;
  animation: ht-pulse 1.4s infinite;
}
.ht-logo-sep { opacity: .4; }
.ht-logo-sub { font-size: 18px; opacity: .5; }

/* Menu */
.ht-nav-menu { flex: 1; }
.ht-menu {
  display: flex; align-items: center;
  gap: 28px; list-style: none;
}
.ht-menu a {
  color: var(--ht-muted); font-size: 13px;
  font-weight: 400; letter-spacing: .5px;
  text-decoration: none; transition: color .2s;
  white-space: nowrap;
}
.ht-menu a:hover,
.ht-menu .current-menu-item > a { color: var(--ht-gold); }
/* Dropdown */
.ht-menu .sub-menu {
  position: absolute; top: 100%; left: 0;
  background: var(--ht-card); border: 1px solid var(--ht-border);
  border-radius: var(--ht-radius); padding: 8px 0; min-width: 180px;
  opacity: 0; pointer-events: none; transform: translateY(8px);
  transition: all .2s; list-style: none;
}
.ht-menu li:hover > .sub-menu { opacity: 1; pointer-events: all; transform: translateY(0); }
.ht-menu li { position: relative; }
.ht-menu .sub-menu li a { padding: 10px 20px; display: block; color: var(--ht-text); }
.ht-menu .sub-menu li a:hover { background: rgba(255,255,255,.04); }

/* CTA Button */
.ht-nav-cta {
  display: inline-flex; align-items: center;
  background: var(--ht-red); color: #fff;
  border: none; border-radius: 4px;
  padding: 9px 22px; font-size: 13px; font-weight: 700;
  letter-spacing: .5px; text-decoration: none;
  transition: filter .2s, transform .15s;
  white-space: nowrap; flex-shrink: 0;
}
.ht-nav-cta:hover { filter: brightness(1.12); transform: translateY(-1px); }

/* Mobile Toggle */
.ht-menu-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; padding: 6px; cursor: pointer;
}
.ht-menu-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--ht-text); border-radius: 2px;
  transition: all .25s;
}
.ht-nav-right { display: flex; align-items: center; gap: 12px; }

/* ─── HERO ─── */
.ht-hero {
  min-height: 100vh; position: relative;
  display: flex; align-items: flex-end;
  padding-bottom: 80px; overflow: hidden;
}
.ht-hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 30%, rgba(232,0,29,0.14) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 20% 80%, rgba(0,212,255,0.07) 0%, transparent 50%),
    linear-gradient(160deg, #0A0A0F 0%, #0D0D18 50%, #0A0A0F 100%);
}
.ht-hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.024) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.024) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black, transparent);
}
.ht-hero-ball {
  position: absolute; right: 8%; top: 12%;
  width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #2a2a40, #0a0a0f);
  border: 1px solid rgba(255,255,255,.05);
  box-shadow: inset -40px -40px 80px rgba(0,0,0,.5), 0 0 80px rgba(232,0,29,.1);
  animation: ht-float 7s ease-in-out infinite;
}
.ht-hero-content {
  position: relative; z-index: 2;
  padding: 0 80px; max-width: 700px;
  animation: ht-fadeUp .9s ease both;
}
.ht-hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(232,0,29,.12); border: 1px solid rgba(232,0,29,.28);
  border-radius: 100px; padding: 6px 16px; margin-bottom: 24px;
  font-size: 12px; font-weight: 700; color: #ff4d66;
  letter-spacing: 2px; text-transform: uppercase;
}
.ht-hero-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(70px, 10vw, 128px);
  line-height: .9; letter-spacing: 2px; margin-bottom: 10px;
}
.ht-color-gold { color: var(--ht-gold); }
.ht-color-red  { color: var(--ht-red); }
.ht-hero-sub {
  font-size: 15px; color: var(--ht-muted); font-weight: 300;
  line-height: 1.75; margin-bottom: 36px; max-width: 460px;
  animation: ht-fadeUp .9s .18s ease both;
}
.ht-hero-actions {
  display: flex; gap: 14px; flex-wrap: wrap;
  animation: ht-fadeUp .9s .3s ease both;
}

/* Buttons */
.ht-btn {
  display: inline-flex; align-items: center; gap: 8px;
  border: none; border-radius: 4px; cursor: pointer;
  font-family: 'Noto Sans SC', sans-serif;
  font-size: 15px; font-weight: 700; letter-spacing: .5px;
  padding: 14px 32px; text-decoration: none;
  transition: all .2s;
}
.ht-btn-primary {
  background: var(--ht-red); color: #fff;
}
.ht-btn-primary:hover {
  background: #c4001a; transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(232,0,29,.4);
}
.ht-btn-secondary {
  background: transparent; color: var(--ht-text);
  border: 1px solid rgba(240,238,232,.2);
}
.ht-btn-secondary:hover { border-color: var(--ht-gold); color: var(--ht-gold); }

/* Countdown */
.ht-countdown {
  position: absolute; right: 6%; bottom: 80px; z-index: 2;
  text-align: center; animation: ht-fadeUp .9s .4s ease both;
}
.ht-countdown-label {
  font-size: 10px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--ht-muted); margin-bottom: 14px;
}
.ht-countdown-nums { display: flex; align-items: flex-start; gap: 10px; }
.ht-cd-block { display: flex; flex-direction: column; align-items: center; gap: 3px; }
.ht-cd-num {
  font-family: 'Bebas Neue', sans-serif; font-size: 52px; line-height: 1;
  min-width: 68px; text-align: center;
  background: linear-gradient(to bottom, var(--ht-text), rgba(240,238,232,.45));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.ht-cd-sep {
  font-family: 'Bebas Neue', sans-serif; font-size: 40px; line-height: 1;
  color: var(--ht-red); margin-top: 6px;
}
.ht-cd-unit { font-size: 10px; letter-spacing: 2px; color: var(--ht-muted); text-transform: uppercase; }

/* ─── STATS BAR ─── */
.ht-stats-bar {
  background: var(--ht-card);
  border-top: 1px solid var(--ht-border);
  border-bottom: 1px solid var(--ht-border);
  overflow-x: auto;
}
.ht-stats-inner {
  display: flex; min-width: 600px;
}
.ht-stat-item {
  flex: 1; padding: 22px 32px;
  border-right: 1px solid var(--ht-border);
  display: flex; flex-direction: column; gap: 4px;
}
.ht-stat-item:last-child { border-right: none; }
.ht-stat-val { font-family: 'Bebas Neue', sans-serif; font-size: 36px; color: var(--ht-gold); }
.ht-stat-label { font-size: 12px; color: var(--ht-muted); font-weight: 300; }

/* ─── SEARCH BAR ─── */
.ht-search-bar {
  background: var(--ht-mid);
  border-top: 1px solid rgba(255,209,0,.18);
  border-bottom: 1px solid rgba(255,209,0,.18);
  padding: 20px 0;
}
.ht-search-inner { display: flex; align-items: center; gap: 16px; }
.ht-search-label { font-size: 11px; letter-spacing: 3px; color: var(--ht-gold); text-transform: uppercase; white-space: nowrap; }
.search-field {
  flex: 1; background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1); border-radius: 4px;
  padding: 11px 18px; color: var(--ht-text); font-size: 14px;
  font-family: 'Noto Sans SC', sans-serif; outline: none; transition: border .2s;
}
.search-field::placeholder { color: var(--ht-muted); }
.search-field:focus { border-color: var(--ht-gold); }
.search-submit {
  background: var(--ht-gold); color: var(--ht-dark); border: none;
  border-radius: 4px; padding: 11px 26px; font-size: 14px; font-weight: 700;
  cursor: pointer; font-family: 'Noto Sans SC', sans-serif; transition: filter .2s;
}
.search-submit:hover { filter: brightness(.9); }

/* ─── SECTION ─── */
.ht-section { padding: 80px 0; }
.ht-section-alt { background: var(--ht-mid); }
.ht-section-header { display: flex; align-items: baseline; gap: 14px; margin-bottom: 36px; flex-wrap: wrap; }
.ht-section-title { font-size: 42px; letter-spacing: 2px; }
.ht-section-more { margin-left: auto; font-size: 13px; color: var(--ht-accent); letter-spacing: 1px; text-decoration: none; }
.ht-section-more:hover { text-decoration: underline; }

/* ─── MATCHES ─── */
.ht-matches-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px,1fr)); gap: 14px; }
.ht-match-card {
  background: var(--ht-card); border: 1px solid var(--ht-border);
  border-radius: var(--ht-radius); padding: 22px;
  cursor: pointer; transition: var(--ht-transition); position: relative; overflow: hidden;
}
.ht-match-card::before {
  content:''; position:absolute; top:0; left:0; right:0; height:2px;
  background: linear-gradient(90deg, var(--ht-red), var(--ht-gold));
  transform: scaleX(0); transform-origin: left; transition: transform .25s;
}
.ht-match-card:hover { transform: translateY(-4px); border-color: rgba(255,209,0,.2); box-shadow: 0 16px 40px rgba(0,0,0,.4); }
.ht-match-card:hover::before { transform: scaleX(1); }
.ht-match-meta { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.ht-match-group { font-size: 11px; letter-spacing: 1px; color: var(--ht-muted); text-transform: uppercase; }
.ht-match-live { display: flex; align-items: center; gap: 5px; background: rgba(232,0,29,.14); color: var(--ht-red); font-size: 10px; font-weight: 700; letter-spacing: 2px; padding: 3px 8px; border-radius: 2px; }
.ht-match-finished { font-size: 11px; color: var(--ht-muted); }
.ht-match-time { font-size: 12px; color: var(--ht-muted); }
.ht-match-teams { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ht-team { display: flex; flex-direction: column; align-items: center; gap: 6px; flex: 1; }
.ht-team-flag { font-size: 38px; line-height: 1; }
.ht-team-name { font-size: 13px; font-weight: 700; letter-spacing: .5px; text-align: center; }
.ht-match-score { text-align: center; flex-shrink: 0; }
.ht-score-val { font-family: 'Bebas Neue', sans-serif; font-size: 46px; letter-spacing: 4px; line-height: 1; display: block; }
.ht-score-vs { color: var(--ht-muted); }
.ht-match-detail { display: block; font-size: 11px; color: var(--ht-accent); text-align: center; margin-top: 4px; text-decoration: none; }

/* ─── NEWS ─── */
.ht-news-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: auto; gap: 14px; }
.ht-news-card { background: var(--ht-card); border: 1px solid var(--ht-border); border-radius: var(--ht-radius); overflow: hidden; cursor: pointer; transition: var(--ht-transition); }
.ht-news-card:hover { transform: translateY(-3px); border-color: rgba(255,255,255,.12); box-shadow: 0 12px 32px rgba(0,0,0,.3); }
.ht-news-featured { grid-row: span 2; }
.ht-news-img, .ht-news-img-placeholder { height: 180px; width: 100%; object-fit: cover; display: block; }
.ht-news-featured .ht-news-img,
.ht-news-featured .ht-news-img-placeholder { height: 280px; }
.ht-news-img-placeholder {
  background: linear-gradient(135deg, #1a1a28, #0d0d18);
  display: flex; align-items: center; justify-content: center;
  font-size: 40px;
}
.ht-news-featured .ht-news-img-placeholder { font-size: 60px; }
.ht-news-img-link { display: block; overflow: hidden; }
.ht-news-img-link img { transition: transform .4s; }
.ht-news-img-link:hover img { transform: scale(1.04); }
.ht-news-body { padding: 18px; }
.ht-news-cat { font-size: 10px; letter-spacing: 2px; color: var(--ht-gold); text-transform: uppercase; font-weight: 700; display: block; margin-bottom: 6px; }
.ht-news-title { font-size: 15px; font-weight: 700; line-height: 1.45; margin-bottom: 8px; }
.ht-news-title a { color: inherit; text-decoration: none; }
.ht-news-title a:hover { color: var(--ht-gold); }
.ht-news-featured .ht-news-title { font-size: 20px; }
.ht-news-meta { font-size: 12px; color: var(--ht-muted); }

/* ─── GROUPS ─── */
.ht-groups-scroll { display: flex; gap: 14px; overflow-x: auto; padding-bottom: 8px; }
.ht-group-card { background: var(--ht-card); border: 1px solid var(--ht-border); border-radius: var(--ht-radius); min-width: 250px; overflow: hidden; flex-shrink: 0; }
.ht-group-head { background: linear-gradient(135deg, var(--ht-red), #8b0011); padding: 12px 18px; font-family: 'Bebas Neue', sans-serif; font-size: 22px; letter-spacing: 3px; }
.ht-group-table { width: 100%; border-collapse: collapse; }
.ht-group-table th { font-size: 10px; letter-spacing: 1px; color: var(--ht-muted); text-transform: uppercase; padding: 9px 14px; text-align: left; border-bottom: 1px solid var(--ht-border); }
.ht-group-table th:not(:first-child) { text-align: center; }
.ht-group-table td { padding: 9px 14px; font-size: 13px; border-bottom: 1px solid rgba(255,255,255,.03); }
.ht-group-table td:not(:first-child) { text-align: center; color: var(--ht-muted); }
.ht-group-table tr:last-child td { border-bottom: none; }
.ht-qualify td { color: var(--ht-text) !important; }
.ht-qualify td:first-child { border-left: 2px solid var(--ht-gold); padding-left: 12px; }

/* ─── FOOTER ─── */
.ht-footer { background: var(--ht-mid); border-top: 1px solid var(--ht-border); padding: 60px 0 36px; }
.ht-footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.ht-footer-logo { font-size: 30px; margin-bottom: 12px; }
.ht-footer-about { font-size: 13px; color: var(--ht-muted); line-height: 1.8; margin-bottom: 10px; }
.ht-footer-domains { font-size: 12px; color: rgba(136,136,144,.5); }
.ht-footer-col-title { font-size: 10px; letter-spacing: 3px; text-transform: uppercase; color: var(--ht-muted); margin-bottom: 16px; font-weight: 700; font-family: 'Noto Sans SC', sans-serif; }
.ht-footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.ht-footer-col a { color: var(--ht-text); text-decoration: none; font-size: 13px; opacity: .65; transition: opacity .2s; }
.ht-footer-col a:hover { opacity: 1; color: var(--ht-gold); }
.ht-footer-bottom { border-top: 1px solid var(--ht-border); padding-top: 20px; display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: var(--ht-muted); flex-wrap: wrap; gap: 8px; }
.ht-footer-links { display: flex; gap: 10px; }
.ht-footer-links a { color: var(--ht-muted); text-decoration: none; }
.ht-footer-links a:hover { color: var(--ht-text); }

/* ─── BLOG / ARCHIVE ─── */
.ht-blog-layout { display: grid; grid-template-columns: 1fr 300px; gap: 40px; padding: 40px 0 80px; }
.ht-blog-card { background: var(--ht-card); border: 1px solid var(--ht-border); border-radius: var(--ht-radius); overflow: hidden; margin-bottom: 20px; display: flex; gap: 20px; }
.ht-blog-thumb { width: 200px; height: 140px; object-fit: cover; flex-shrink: 0; }
.ht-blog-body { padding: 16px; flex: 1; }
.ht-blog-body h2 { font-size: 18px; font-family: 'Noto Sans SC', sans-serif; font-weight: 700; margin: 6px 0 8px; }
.ht-blog-body h2 a { color: inherit; text-decoration: none; }
.ht-blog-body h2 a:hover { color: var(--ht-gold); }
.ht-blog-excerpt { font-size: 13px; color: var(--ht-muted); line-height: 1.7; }
.ht-pagination { margin-top: 20px; }
.ht-pagination .nav-links { display: flex; gap: 8px; }
.ht-pagination .page-numbers { background: var(--ht-card); border: 1px solid var(--ht-border); border-radius: 4px; padding: 8px 14px; color: var(--ht-text); text-decoration: none; font-size: 13px; }
.ht-pagination .current { background: var(--ht-red); border-color: var(--ht-red); }
.ht-sidebar { padding-top: 0; }
.ht-widget { background: var(--ht-card); border: 1px solid var(--ht-border); border-radius: var(--ht-radius); padding: 20px; margin-bottom: 20px; }
.ht-widget-title { font-size: 13px; letter-spacing: 2px; text-transform: uppercase; color: var(--ht-muted); margin-bottom: 12px; font-family: 'Noto Sans SC', sans-serif; }

/* ─── SINGLE ─── */
.ht-single-wrap { padding-top: 40px; }
.ht-blog-layout.no-sidebar { grid-template-columns: 1fr; max-width: 800px; }
.ht-breadcrumb { font-size: 12px; color: var(--ht-muted); margin-bottom: 20px; }
.ht-breadcrumb a { color: var(--ht-muted); text-decoration: none; }
.ht-breadcrumb a:hover { color: var(--ht-gold); }
.ht-article-header { margin-bottom: 28px; }
.ht-article-title { font-family: 'Noto Sans SC', sans-serif; font-size: 28px; font-weight: 900; line-height: 1.35; margin: 10px 0; }
.ht-article-meta { font-size: 13px; color: var(--ht-muted); display: flex; gap: 8px; }
.ht-article-thumb { border-radius: var(--ht-radius); overflow: hidden; margin-bottom: 28px; }
.ht-article-content { font-size: 16px; line-height: 1.85; color: rgba(240,238,232,.85); }
.ht-article-content h2, .ht-article-content h3 { font-family: 'Noto Sans SC', sans-serif; font-weight: 700; margin: 28px 0 14px; color: var(--ht-text); }
.ht-article-content p { margin-bottom: 18px; }
.ht-article-content a { color: var(--ht-accent); }
.ht-article-tags { margin-top: 32px; font-size: 13px; color: var(--ht-muted); }
.ht-post-nav { display: flex; justify-content: space-between; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--ht-border); font-size: 14px; }
.ht-post-nav a { color: var(--ht-text); text-decoration: none; }
.ht-post-nav a:hover { color: var(--ht-gold); }

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .ht-footer-grid { grid-template-columns: 1fr 1fr; }
  .ht-news-grid { grid-template-columns: 1fr 1fr; }
  .ht-news-featured { grid-row: auto; }
  .ht-hero-ball { width: 280px; height: 280px; right: 2%; top: 80px; opacity: .6; }
}
@media (max-width: 768px) {
  .ht-nav-inner { padding: 14px 20px; }
  .ht-nav-menu {
    position: fixed; top: 60px; left: 0; right: 0; bottom: 0;
    background: var(--ht-dark); padding: 32px 24px;
    transform: translateX(-100%); transition: transform .3s;
    overflow-y: auto;
  }
  .ht-nav-menu.open { transform: translateX(0); }
  .ht-menu { flex-direction: column; align-items: flex-start; gap: 0; }
  .ht-menu a { display: block; padding: 14px 0; font-size: 18px; color: var(--ht-text); border-bottom: 1px solid var(--ht-border); }
  .ht-menu-toggle { display: flex; }
  .ht-menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .ht-menu-toggle.active span:nth-child(2) { opacity: 0; }
  .ht-menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .ht-hero-content { padding: 0 20px; }
  .ht-hero-ball { display: none; }
  .ht-countdown { display: none; }
  .ht-news-grid { grid-template-columns: 1fr; }
  .ht-footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .ht-blog-layout { grid-template-columns: 1fr; }
  .ht-blog-card { flex-direction: column; }
  .ht-blog-thumb { width: 100%; height: 200px; }
}
@media (max-width: 480px) {
  .ht-footer-grid { grid-template-columns: 1fr; }
  .ht-footer-brand { grid-column: 1; }
}
