@import url("https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700;800&family=Manrope:wght@500;600;700;800&display=swap");

:root {
  --bg: #090c12;
  --panel: #111722;
  --panel-2: #171f2c;
  --line: rgba(255, 255, 255, 0.08);
  --text: #f7f9fc;
  --muted: #96a1b5;
  --accent: #38d89b;
  --accent-2: #f6b43c;
  --danger: #ff5d73;
  --radius: 16px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 15% 0%, rgba(56, 216, 155, 0.09), transparent 28rem),
    linear-gradient(180deg, #0b1018 0%, var(--bg) 100%);
  color: var(--text);
  font-family: "Manrope", sans-serif;
  -webkit-font-smoothing: antialiased;
}
body.match-page-body { display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(9, 12, 18, 0.92);
  backdrop-filter: blur(18px);
}
.header-inner {
  max-width: 1240px;
  margin: auto;
  height: 72px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand-title {
  display: inline-flex;
  align-items: center;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  line-height: 1;
  font-style: italic;
}
.brand-title span {
  color: var(--accent);
  border: 2px solid var(--accent);
  border-radius: 7px;
  margin-left: 3px;
  padding: 2px 5px 1px;
  line-height: .78;
}

.hero-banner {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(120deg, rgba(56, 216, 155, .08), transparent 44%),
    linear-gradient(135deg, #111722 0%, #090c12 78%);
  padding: 58px 24px 48px;
}
.hero-banner::after {
  content: "";
  position: absolute;
  width: 340px;
  height: 340px;
  right: -120px;
  bottom: -240px;
  border: 50px solid rgba(56, 216, 155, .08);
  border-radius: 50%;
}
.hero-container {
  position: relative;
  z-index: 1;
  max-width: 1240px;
  margin: auto;
  text-align: center;
}
.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.pulse-live-dot, .live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--danger);
  box-shadow: 0 0 14px rgba(255, 93, 115, .8);
  animation: pulse 1.5s infinite;
}
@keyframes pulse { 50% { opacity: .45; transform: scale(.82); } }
.hero-title {
  max-width: 720px;
  margin: 0 auto;
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(2.2rem, 4.5vw, 4rem);
  line-height: 1;
  letter-spacing: -1px;
  text-transform: uppercase;
}
.hero-title .brand-highlight { color: var(--accent); }
.hero-subtitle {
  max-width: 620px;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}
.hero-feature-chips { display: none; }

.control-section {
  max-width: 1240px;
  margin: 20px auto 0;
  padding: 0 24px;
}
.filter-tabs-wrapper {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 2px 0 14px;
}
.filter-tabs-wrapper::-webkit-scrollbar { display: none; }
.tab-indicator { display: none; }
.tab-btn {
  flex: 0 0 auto;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
  color: var(--muted);
  padding: 0 14px;
  font-size: .84rem;
  font-weight: 800;
  cursor: pointer;
  transition: .2s ease;
}
.tab-btn:hover { border-color: rgba(56, 216, 155, .35); color: var(--text); }
.tab-btn.active {
  border-color: var(--accent);
  background: var(--accent);
  color: #07130e;
  box-shadow: 0 8px 24px rgba(56, 216, 155, .12);
}
.count-badge {
  min-width: 24px;
  height: 24px;
  display: inline-grid;
  place-items: center;
  border-radius: 6px;
  background: rgba(255,255,255,.07);
  font-size: .72rem;
}
.tab-btn.active .count-badge { background: rgba(7,19,14,.12); }

.main-content {
  max-width: 1240px;
  min-height: 55vh;
  margin: auto;
  padding: 8px 24px 56px;
}
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}
.section-title {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.7rem;
  text-transform: uppercase;
  letter-spacing: .4px;
}
.games-counter { color: var(--muted); font-size: .82rem; }
.games-counter strong { color: var(--text); }

.matches-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.match-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  overflow: hidden;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.match-card:hover {
  transform: translateY(-4px);
  border-color: rgba(56, 216, 155, .42);
  background: var(--panel-2);
}
.match-card-top {
  height: 47px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0 14px;
  border-bottom: 1px solid var(--line);
}
.league-tag {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: .68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .6px;
}
.league-tag-logo { width: 18px; height: 18px; object-fit: contain; }
.time-status-pill {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--muted);
  font-size: .68rem;
  font-weight: 800;
}
.time-status-pill.is-live { color: #ff8796; }
.card-body {
  min-height: 178px;
  display: grid;
  grid-template-columns: 1fr 64px 1fr;
  align-items: center;
  padding: 18px 12px;
}
.team-column { min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.team-logo-container {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #0d121a;
  padding: 7px;
}
.team-logo { width: 100%; height: 100%; object-fit: contain; }
.team-fallback-badge {
  width: 100%; height: 100%; display: grid; place-items: center;
  border-radius: 50%; background: var(--panel-2); color: var(--accent);
  font-family: "Barlow Condensed", sans-serif; font-size: 1.1rem; font-weight: 800;
}
.team-name {
  max-width: 112px;
  overflow: hidden;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: .78rem;
  font-weight: 800;
}
.vs-column { display: flex; flex-direction: column; align-items: center; gap: 5px; }
.vs-badge { color: var(--accent); font-family: "Barlow Condensed", sans-serif; font-weight: 800; }
.match-schedule-date { color: var(--muted); font-size: .58rem; text-align: center; }
.match-schedule-time { font-family: "Barlow Condensed", sans-serif; font-size: 1.05rem; text-align: center; }

.empty-state {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  min-height: 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  padding: 30px;
}
.empty-icon { color: var(--accent); }
.empty-badge { color: var(--accent); font-size: .7rem; font-weight: 800; letter-spacing: 1px; }
.empty-title { font-family: "Barlow Condensed", sans-serif; font-size: 1.8rem; text-transform: uppercase; }
.empty-desc { max-width: 520px; color: var(--muted); }

.ad-slot-wrapper { max-width: 1240px; margin: 18px auto; padding: 0 24px; }
.site-footer {
  margin-top: auto;
  border-top: 1px solid var(--line);
  background: #070a0f;
  padding: 36px 24px;
}
.footer-inner { max-width: 1240px; margin: auto; }
.footer-top, .footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.footer-disclaimer { max-width: 650px; color: var(--muted); font-size: .78rem; line-height: 1.7; }
.footer-bottom { margin-top: 24px; color: var(--muted); font-size: .78rem; }
.footer-links { display: flex; gap: 8px; }
.footer-btn { padding: 7px 12px; border: 1px solid var(--line); border-radius: 8px; }
.seo-article-section {
  max-width: 1240px;
  margin: 40px auto 0;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}
.article-header { margin-bottom: 24px; }
.article-title {
  margin-bottom: 10px;
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1;
  text-transform: uppercase;
}
.article-lead, .article-content p, .faq-answer {
  color: var(--muted);
  line-height: 1.75;
}
.article-content h2 {
  margin: 26px 0 10px;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.45rem;
  text-transform: uppercase;
}
.article-content ol, .article-content ul {
  margin: 10px 0 10px 22px;
  color: var(--muted);
  line-height: 1.8;
}
.faqs-container { display: grid; gap: 10px; }
.faq-card {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #0d121a;
}
.faq-question {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: .95rem;
}
.faq-q-badge {
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent);
  color: #07130e;
  font-size: .68rem;
  font-weight: 800;
}
.conclusion-box {
  margin-top: 28px;
  padding: 18px;
  border-left: 3px solid var(--accent);
  border-radius: 8px;
  background: #0d121a;
  color: var(--muted);
  line-height: 1.7;
}
.conclusion-box h3 {
  margin-bottom: 6px;
  color: var(--text);
  font-family: "Barlow Condensed", sans-serif;
  text-transform: uppercase;
}

.breadcrumb-nav { border-bottom: 1px solid var(--line); background: var(--panel); }
.breadcrumb-inner {
  max-width: 1200px; height: 48px; margin: auto; padding: 0 20px;
  display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: .78rem;
}
.breadcrumb-link { display: inline-flex; align-items: center; gap: 5px; }
.breadcrumb-current { color: var(--text); }
.match-page-container {
  max-width: 1200px;
  margin: auto;
  padding: 24px 20px 48px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.match-hero-card, .player-theater-section {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  overflow: hidden;
}
.match-hero-top, .player-top-bar {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 16px;
  border-bottom: 1px solid var(--line);
}
.league-meta-pill, .live-pulse-badge {
  display: inline-flex; align-items: center; gap: 7px;
  color: var(--accent); font-size: .72rem; font-weight: 800;
}
.league-meta-logo { width: 18px; height: 18px; object-fit: contain; }
.match-status-wrap { display: flex; align-items: center; gap: 10px; }
.match-date-badge { color: var(--muted); font-size: .72rem; }
.match-faceoff-grid {
  min-height: 210px;
  display: grid;
  grid-template-columns: 1fr 100px 1fr;
  align-items: center;
  padding: 24px;
}
.team-side { display: flex; align-items: center; gap: 14px; }
.away-side { flex-direction: row-reverse; text-align: right; }
.team-big-logo-wrap {
  width: 92px; height: 92px; flex: 0 0 auto;
  display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: 50%; background: #0d121a; padding: 10px;
}
.team-big-logo { width: 100%; height: 100%; object-fit: contain; }
.team-fallback-badge-lg { color: var(--accent); font-family: "Barlow Condensed"; font-size: 1.8rem; font-weight: 800; }
.team-venue-tag { color: var(--accent); font-size: .62rem; font-weight: 800; letter-spacing: 1px; }
.team-hero-name { margin-top: 4px; font-family: "Barlow Condensed"; font-size: 1.45rem; }
.match-center-board { display: flex; flex-direction: column; align-items: center; gap: 7px; }
.vs-circle-pill { color: var(--accent); font-family: "Barlow Condensed"; font-size: 1.3rem; font-weight: 800; }
.center-time-display { font-size: .72rem; color: var(--muted); }
.match-info-ribbon {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line); background: #0d121a;
}
.info-ribbon-item {
  min-width: 0; display: flex; align-items: center; gap: 7px;
  border-right: 1px solid var(--line); padding: 12px 16px; font-size: .72rem;
}
.info-ribbon-item:last-child { border-right: 0; }
.info-label { color: var(--muted); }
.info-val { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 700; }
.player-controls { display: flex; gap: 7px; }
.player-tool-btn {
  min-height: 34px; display: inline-flex; align-items: center; gap: 6px;
  border: 1px solid var(--line); border-radius: 8px; background: var(--panel-2);
  color: var(--text); padding: 0 10px; font-size: .72rem; cursor: pointer;
}
.player-title { font-family: "Barlow Condensed"; font-size: 1.15rem; text-transform: uppercase; }
.player-viewport { position: relative; width: 100%; aspect-ratio: 16/9; background: #05070a; }
.player-viewport.theater-mode { position: fixed; inset: 0; z-index: 100; aspect-ratio: auto; }
.main-stream-iframe { width: 100%; height: 100%; border: 0; transition: opacity .2s; }
.player-bottom-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 58px; padding: 10px 16px; border-top: 1px solid var(--line);
}
.server-switch-group { display: flex; gap: 7px; overflow-x: auto; }
.server-select-btn {
  flex: 0 0 auto; min-height: 34px; display: inline-flex; align-items: center; gap: 6px;
  border: 1px solid var(--line); border-radius: 8px; background: #0d121a;
  color: var(--muted); padding: 0 9px; font-size: .68rem; cursor: pointer;
}
.server-select-btn.active { border-color: var(--accent); color: var(--accent); background: rgba(56,216,155,.08); }
.player-notice { color: var(--muted); font-size: .68rem; }
.toast-notification {
  position: fixed; left: 50%; bottom: 28px; z-index: 200;
  transform: translate(-50%, 30px); opacity: 0;
  border: 1px solid var(--line); border-radius: 9px; background: var(--panel-2);
  color: var(--text); padding: 10px 16px; font-size: .78rem; transition: .25s;
}
.toast-notification.show { transform: translate(-50%, 0); opacity: 1; }

@media (max-width: 960px) {
  .matches-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .match-faceoff-grid { grid-template-columns: 1fr 70px 1fr; }
  .team-big-logo-wrap { width: 72px; height: 72px; }
}
@media (max-width: 640px) {
  .header-inner { height: 62px; padding: 0 16px; }
  .brand-title { font-size: 1.85rem; }
  .hero-banner { padding: 38px 16px 32px; }
  .hero-title { max-width: 360px; font-size: clamp(2rem, 10vw, 2.7rem); }
  .hero-subtitle { font-size: .88rem; }
  .control-section { margin-top: 12px; padding: 0 12px; }
  .tab-btn { min-height: 42px; padding: 0 11px; }
  .main-content { padding: 8px 12px 40px; }
  .section-header { align-items: flex-start; }
  .section-title { font-size: 1.35rem; }
  .matches-grid { grid-template-columns: 1fr; }
  .card-body { min-height: 150px; }
  .team-logo-container { width: 56px; height: 56px; }
  .footer-top, .footer-bottom { flex-direction: column; align-items: flex-start; }
  .match-page-container { padding: 12px 12px 32px; }
  .match-faceoff-grid { min-height: 180px; grid-template-columns: 1fr 48px 1fr; padding: 16px 8px; }
  .team-side { flex-direction: column; text-align: center; gap: 7px; }
  .away-side { flex-direction: column-reverse; }
  .team-big-logo-wrap { width: 58px; height: 58px; padding: 6px; }
  .team-hero-name { max-width: 110px; font-size: 1rem; }
  .match-info-ribbon { grid-template-columns: 1fr; }
  .info-ribbon-item { border-right: 0; border-bottom: 1px solid var(--line); }
  .match-status-wrap { display: none; }
  .player-top-bar { align-items: flex-start; }
  .player-title { max-width: 150px; }
  .player-controls { flex-direction: column; }
  .player-bottom-bar { align-items: flex-start; flex-direction: column; }
  .player-notice { display: none; }
  .seo-article-section {
    margin-top: 24px;
    padding: 20px 16px;
  }
  .article-title { font-size: 1.65rem; }
  .article-lead, .article-content p, .faq-answer {
    font-size: .88rem;
    line-height: 1.65;
  }
  .article-content h2 { font-size: 1.25rem; }
  .article-content ol, .article-content ul {
    margin-left: 18px;
    font-size: .88rem;
  }
  .faq-card { padding: 14px 12px; }
  .faq-question { font-size: .88rem; }
  .conclusion-box { padding: 14px; }
  .section-header {
    flex-direction: column;
  }
  .section-header > div:last-child {
    width: 100%;
    justify-content: space-between;
  }
}
