
/* Split Card */
.split-card {
  display: flex;
  border: var(--border-xl) solid var(--white);
  box-shadow: var(--shadow-hard);
  background: var(--ink);
  margin-top: 4rem;
  margin-bottom: 4rem;
  flex-direction: row;
}
@media (max-width: 900px) {
  .split-card { flex-direction: column; }
}

.split-card-left {
  flex: 1;
  padding: 3rem;
  display: flex;
  flex-direction: column;
}

.split-card-right {
  flex: 1;
  background: var(--paper);
  color: var(--ink);
  padding: 3rem;
  display: flex;
  flex-direction: column;
}

.card-label-row {
  display: flex;
  justify-content: space-between;
  text-transform: uppercase;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--grid-line);
  margin-bottom: 2rem;
}
.card-label-row .accent-word { color: var(--accent); }

.split-card-left h1 {
  font-size: clamp(56px, 8vw, 112px);
  margin-bottom: 1rem;
  color: var(--white);
}

.split-card-left .subtitle {
  color: var(--white);
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 3rem;
  max-width: 70ch;
}

/* 4-segment bar */
.segment-bar {
  display: flex;
  gap: 8px;
  margin-top: auto;
}
.segment-bar .segment {
  height: 12px;
  flex: 1;
  background: var(--white);
}
.segment-bar .segment.filled {
  background: var(--accent);
}

.split-card-right .lane-label {
  display: flex;
  justify-content: flex-end;
  align-items: baseline;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: var(--border-xl) solid var(--ink);
  margin-bottom: 2rem;
}
.lane-label .numeral {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 4rem;
  line-height: 0.8;
  font-weight: 900;
}
.lane-label .text {
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 2rem;
  transform: skewX(var(--skew));
  border: var(--border-xl) solid var(--ink);
  box-shadow: var(--shadow-sm);
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 900;
  text-transform: uppercase;
  font-size: 1.25rem;
  transition: transform 0.1s, box-shadow 0.1s, translate 0.1s;
  cursor: pointer;
  text-decoration: none;
}
.btn > span {
  transform: skewX(calc(var(--skew) * -1));
}

.btn-primary {
  background: var(--accent);
  color: var(--ink);
}

.btn-secondary {
  background: var(--paper);
  color: var(--ink);
}

.btn:hover {
  translate: -2px -2px;
  box-shadow: calc(var(--shadow-sm) + 2px) calc(var(--shadow-sm) + 2px) 0 var(--ink);
}

.btn:active {
  translate: 6px 6px;
  box-shadow: 0 0 0 var(--ink);
}

.btn:disabled {
  background: var(--paper);
  border-style: dashed;
  box-shadow: none;
  translate: 0 0;
  pointer-events: none;
}

/* Inputs */
.form-group {
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
}
.form-label {
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  color: var(--ink);
}
.form-input {
  background: var(--paper);
  border: var(--border-xl) solid var(--ink);
  height: 48px;
  padding: 0 1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  outline: none;
  transition: box-shadow 0.2s;
}
.form-input::placeholder {
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
}
.form-input:focus {
  box-shadow: 4px 4px 0 var(--accent);
  outline: 3px solid var(--ink);
  outline-offset: 2px;
}

/* Cards (Events, Teams, Live Matches) */
.card {
  background: var(--paper);
  color: var(--ink);
  border: var(--border-lg) solid var(--ink);
  padding: 1.5rem;
  transition: translate 0.1s, box-shadow 0.1s;
  text-decoration: none;
  display: flex;
  flex-direction: column;
}
a.card:hover, button.card:hover, .card:hover {
  translate: -2px -2px;
  box-shadow: var(--shadow-sm);
}

.crest {
  width: 64px;
  height: 64px;
  background: var(--ink);
  color: var(--accent);
  border: var(--border-lg) solid var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 900;
  font-size: 2rem;
}

/* Tables */
.table-container {
  overflow-x: auto;
  border: 2px solid rgba(255,255,255,0.2);
  background: var(--ink-2);
}
table {
  width: 100%;
  border-collapse: collapse;
  color: var(--white);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
th {
  background: var(--accent);
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 1rem;
  text-align: left;
}
td {
  padding: 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
tr:nth-child(even) td {
  background: rgba(0,0,0,0.2);
}
tr.winner td:first-child {
  border-left: 8px solid var(--accent);
}

/* Section Headers */
.section-header {
  margin-bottom: 2rem;
}
.section-label {
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  color: var(--muted-on-ink);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.section-title {
  font-size: 3rem;
  color: var(--white);
}
.section-rule {
  height: var(--border-xl);
  background: var(--white);
  margin-top: 1rem;
}
.on-paper .section-label { color: rgba(255,255,255,0.6); }
.on-paper .section-title { color: var(--ink); }
.on-paper .section-rule { background: var(--ink); }

/* States */
.state-live {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 900;
  font-style: italic;
  color: var(--ink);
}
.live-dot {
  width: 12px;
  height: 12px;
  background: var(--accent);
  border: 2px solid var(--ink);
  animation: blink 1s step-end infinite;
}
@media (prefers-reduced-motion: reduce) {
  .live-dot { animation: none; }
}
@keyframes blink {
  50% { opacity: 0; }
}

.state-error {
  border: var(--border-xl) solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  font-weight: 700;
  padding: 1rem 1rem 1rem 4rem;
  position: relative;
  margin-bottom: 1.5rem;
}
.state-error::before {
  content: "!";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 48px;
  background: repeating-linear-gradient(45deg, var(--ink), var(--ink) 10px, var(--white) 10px, var(--white) 20px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 2rem;
  color: var(--accent);
  -webkit-text-stroke: 1px var(--ink);
}
.state-error::after {
  content: "ERROR: ";
  color: var(--accent-deep);
  margin-right: 0.5rem;
}

.form-input.error {
  border-style: dashed;
}

.state-success {
  background: var(--accent);
  color: var(--ink);
  padding: 1rem;
  font-weight: 700;
  border: var(--border-xl) solid var(--ink);
  margin-bottom: 1.5rem;
}
.state-success::before {
  content: "DONE: ";
  font-weight: 900;
}

.state-empty, .empty-state {
  border: 2px solid rgba(255, 255, 255, 0.15);
  background: var(--ink-2);
  color: var(--white);
  padding: 3.5rem 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 8px 8px 0 var(--accent);
}
.state-empty h3, .empty-state h3 {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 900;
  font-size: 2.25rem;
  margin-bottom: 0.5rem;
  color: var(--white);
}
.state-empty p, .empty-state p {
  color: var(--muted-on-ink);
  font-size: 1rem;
}

/* Skewed tags */
.tag {
  display: inline-block;
  transform: skewX(var(--skew));
  background: var(--ink);
  color: var(--white);
  padding: 0.25rem 0.75rem;
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
}
.tag > span {
  display: inline-block;
  transform: skewX(calc(var(--skew) * -1));
}

/* Layout Utilities */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
@media (max-width: 900px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* Fix shadow offset below 600px */
@media (max-width: 600px) {
  :root {
    --shadow-hard: 8px 8px 0 var(--accent);
  }
}

/* Specific elements for dynamic content */
.hero-scoreboard-body {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 2rem;
  align-items: center;
  text-align: center;
  margin: 2rem 0;
}
.hero-team {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
}
.hero-score-wrapper { display: flex; gap: 1rem; font-size: 4rem; font-family: var(--font-display); font-weight: 900; font-style: italic; }
.hero-timer { color: var(--accent-deep); font-weight: 700; }
.hero-venue { font-size: 0.9rem; text-transform: uppercase; color: rgba(255,255,255,0.6); }

.fixture-row {
  display: grid;
  grid-template-columns: 100px 1fr auto 1fr 150px 120px;
  align-items: center;
  border-bottom: var(--border-md) solid var(--ink);
  padding: 1rem;
  background: var(--paper);
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  text-transform: uppercase;
}
.fixture-row:hover { background: rgba(0,0,0,0.03); }
.f-team { font-family: var(--font-display); font-style: italic; font-weight: 900; font-size: 1.5rem; }
.f-team.home { text-align: right; padding-right: 1rem; }
.f-team.away { text-align: left; padding-left: 1rem; }
.f-vs-score { font-family: var(--font-display); font-style: italic; font-weight: 900; font-size: 2rem; background: var(--ink); color: var(--accent); padding: 0.25rem 1rem; text-align: center; }
@media (max-width: 900px) {
  .fixture-row { grid-template-columns: 1fr; text-align: center; gap: 0.5rem; }
  .f-team.home, .f-team.away { text-align: center; padding: 0; }
}

/* Fallback layouts */
.live-rail {
  display: grid; 
  grid-template-columns: repeat(3, 1fr); 
  gap: 2rem; 
}
@media (max-width: 900px) {
  .live-rail { grid-template-columns: 1fr; }
}

.teams-grid-layout {
  display: grid; 
  grid-template-columns: repeat(4, 1fr); 
  gap: 2rem; 
}
@media (max-width: 900px) {
  .teams-grid-layout { grid-template-columns: repeat(2, 1fr); }
}

.hero-section {
  position: relative;
  padding: 6rem 0;
}
.hero-content {
  margin-bottom: 4rem;
}
.hero-content h1 {
  font-size: clamp(48px, 8vw, 96px);
  margin-bottom: 1rem;
}
.hero-content p {
  font-size: 1.25rem;
  font-weight: 700;
  max-width: 600px;
  margin-bottom: 2rem;
}
.hero-actions {
  display: flex;
  gap: 1rem;
}
.label {
  display: inline-block;
  background: var(--accent);
  color: var(--ink);
  padding: 0.25rem 1rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.text-brand { color: var(--accent); }

.fixture-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.tournament-feature {
  background: var(--paper);
  border: var(--border-xl) solid var(--ink);
  padding: 3rem;
  color: var(--ink);
}

.mc-tab {
  margin-bottom: 1rem;
}

/* Live Rail Cards */
.card-live {
  background: var(--paper);
  border: var(--border-xl) solid var(--ink);
  color: var(--ink);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  cursor: pointer;
  transition: translate 0.1s, box-shadow 0.1s;
  text-decoration: none;
}
.card-live:hover {
  translate: -2px -2px;
  box-shadow: var(--shadow-sm);
}
.card-live-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}
.live-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent);
  color: var(--ink);
  padding: 0.1rem 0.5rem;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 900;
}
.live-indicator .live-dot {
  background: var(--ink) !important;
}
.card-live-teams {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.card-live-team-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 900;
  text-transform: uppercase;
}
.card-live-score {
  background: var(--ink);
  color: var(--white);
  padding: 0.25rem 0.5rem;
  line-height: 1;
}
.card-live-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent-deep);
  border-top: 1px dashed var(--grid-line);
  padding-top: 1rem;
  margin-top: 0.5rem;
}


/* HERO GRID */
.hero-grid {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 2rem;
  position: relative;
  z-index: 1;
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
}
.hero-right {
  display: flex;
  flex-direction: column;
}

/* LIVE TAPE */
.live-tape-wrapper {
  background: var(--ink-2);
  color: var(--white);
  border-top: var(--border-md) solid var(--ink);
  border-bottom: var(--border-md) solid var(--ink);
  padding: 0.5rem 0;
  overflow: hidden;
  white-space: nowrap;
}
.live-tape {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  font-size: 1.25rem;
  animation: scroll-tape 20s linear infinite;
}
.live-tape:hover { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) {
  .live-tape-wrapper { overflow-x: auto; }
  .live-tape { animation: none; padding: 0 1rem; }
}
@keyframes scroll-tape {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

/* SECTION HEADERS NEW COMPONENT */
.section-header-comp {
  margin-bottom: 3rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.sh-label {
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.sh-row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.sh-title {
  font-size: clamp(44px, 6vw, 80px);
  line-height: 0.9;
  white-space: nowrap;
}
.sh-rule {
  flex: 1;
  height: 4px;
}
.sh-link {
  flex-shrink: 0;
  text-decoration: none;
}
/* on-ink vs on-paper */
.on-ink .sh-label { color: var(--muted-on-ink); }
.on-ink .sh-title { color: var(--white); }
.on-ink .sh-rule { background: var(--white); }
.on-paper .sh-label { color: rgba(255,255,255,0.6); }
.on-paper .sh-title { color: var(--ink); }
.on-paper .sh-rule { background: var(--ink); }

/* LIST COLUMNS (Up Next & Results) */
.list-col {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.fixture-list {
  display: flex;
  flex-direction: column;
  margin-bottom: 2rem;
  flex: 1;
}
.list-footer {
  display: flex;
  margin-top: auto;
}
.list-footer .btn { width: 100%; }

/* FIXTURE ROW FIXES */
.fixture-row {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr) 96px minmax(0, 1fr) 80px;
  align-items: center;
  border-bottom: 2px solid rgba(255,255,255,0.2);
  padding: 1rem 0;
  background: transparent;
  border-left: none;
  border-right: none;
  border-top: none;
  border-radius: 0 !important;
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  text-transform: uppercase;
}
.fixture-row:hover {
  background: transparent;
  translate: 0 0;
  box-shadow: none;
}
.fixture-row:hover .f-team {
  color: var(--accent-deep);
}
.f-time { font-family: var(--font-body); font-size: 0.9rem; font-weight: 700; text-align: left; }
.f-team { 
  font-family: var(--font-body); 
  font-style: normal; 
  font-weight: 700; 
  font-size: 18px; 
  line-height: 1.2;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.1s;
}
.f-team.home { text-align: right; padding-right: 1rem; }
.f-team.away { text-align: left; padding-left: 1rem; }
.f-vs-score {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 900;
  font-size: 1.5rem;
  background: var(--ink);
  color: var(--white);
  border: 3px solid var(--white);
 
  padding: 0.25rem 0.5rem; 
  text-align: center;
  min-width: 96px;
  white-space: nowrap;
}
.f-action {
  text-align: right;
}
.row-winner .f-team.winner { font-weight: 900; }
.row-winner { position: relative; }
.row-winner::before {
  content: '';
  position: absolute;
  left: -16px;
  top: 1rem;
  bottom: 1rem;
  width: 8px;
  background: var(--accent);
}
@media (max-width: 600px) {
  .fixture-row {
    grid-template-columns: 1fr auto 1fr;
    grid-template-rows: auto auto;
    gap: 0.5rem;
    padding: 1rem;
  }
  .f-time { grid-column: 1 / -1; text-align: center; }
  .f-action { grid-column: 1 / -1; text-align: center; }
  .f-team.home { text-align: right; }
  .f-team.away { text-align: left; }
}

/* LIVE NOW CARDS */
.card-live {
  background: var(--ink);
  color: var(--white);
  border: 3px solid var(--white);
  box-shadow: 8px 8px 0 var(--accent);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  cursor: pointer;
  transition: translate 0.1s, box-shadow 0.1s;
  text-decoration: none;
}
.card-live:hover {
  translate: -2px -2px;
  box-shadow: 10px 10px 0 var(--accent);
}
.card-live-header {
  color: var(--muted-on-ink);
}
.card-live-score {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
  padding: 0.25rem 0.5rem;
  min-width: 48px;
  text-align: center;
}
.card-live-footer {
  border-top: 1px dashed var(--muted-on-ink);
}
.card-live-wide {
  flex-direction: row;
  align-items: center;
}
.card-live-wide .card-live-teams {
  flex: 1;
  gap: 1rem;
}
.card-live-wide .card-live-team-row {
  font-size: 2.5rem;
}
.card-live-wide .card-live-score {
  font-size: 2.5rem;
  padding: 0.5rem 1rem;
}

/* HERO SPLIT CARD (Reused for featured tournament) */
.hero-split-card {
  display: flex;
  border: var(--border-xl) solid var(--white);
  box-shadow: 14px 14px 0 var(--accent);
  flex-direction: row;
  background: var(--ink);
}
.hero-split-left {
  flex: 1;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-split-right {
  flex: 1.5;
  background: var(--ink-2);
  color: var(--white);

  padding: 2rem;
  display: flex;
  flex-direction: column;
}
.hsc-status {
  margin-bottom: auto;
}
.hsc-title {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 900;
  font-size: 3.5rem;
  line-height: 0.9;
  text-transform: uppercase;
  color: var(--white);
  margin: 1.5rem 0;
}
.hsc-team-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-display);
  font-weight: 900;
  font-style: italic;
  font-size: 2.5rem;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.hsc-score {
  font-size: clamp(64px, 8vw, 128px);
  line-height: 0.8;
  white-space: nowrap;
}
.hsc-meta {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-top: auto;
  border-top: 2px solid var(--ink);
  padding-top: 1rem;
}
.hsc-meta-item {
  display: flex;
  flex-direction: column;
}
.hsc-val { font-family: var(--font-display); font-style: italic; font-weight: 900; font-size: 2rem; line-height: 1; }
.hsc-lbl { font-weight: 700; font-size: 0.85rem; letter-spacing: 0.1em; color: rgba(255,255,255,0.6); }
@media (max-width: 600px) {
  .hero-split-card { flex-direction: column; }
  .hsc-team-row { font-size: 1.75rem; }
  .hsc-score { font-size: 64px; }
}

/* ==========================================================================
   BROADCAST HERO SCOREBOARD (.hero-scoreboard)
   ========================================================================== */
.hero-scoreboard {
  background: linear-gradient(165deg, #070C14 0%, #030508 100%);
  border: var(--border-xl) solid var(--white);
  box-shadow: 14px 14px 0 var(--accent);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-scoreboard::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(110, 198, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(110, 198, 255, 0.04) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
  z-index: 0;
}

.hero-scoreboard::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-deep) 50%, var(--white) 100%);
  z-index: 2;
}

/* 1. Header Ribbon */
.hsb-header {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.25rem;
  border-bottom: 2px solid rgba(255, 255, 255, 0.1);
  background: rgba(4, 7, 12, 0.7);
  gap: 0.75rem;
}

.hsb-header-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.hsb-header-right {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}

/* Status Pill */
.hsb-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.3rem 0.65rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 900;
  font-style: italic;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--accent);
  color: var(--ink);
  transform: skewX(-8deg);
  box-shadow: 2px 2px 0 rgba(0,0,0,0.4);
}
.hsb-live-badge > * {
  transform: skewX(8deg);
}

.hsb-live-badge.is-live {
  background: #FF2E4D;
  color: #FFFFFF;
}
.hsb-live-badge.is-live .live-dot {
  background: #FFFFFF;
  box-shadow: 0 0 8px #FFFFFF;
}

.hsb-live-badge.is-scheduled {
  background: var(--accent);
  color: var(--ink);
}

.hsb-live-badge.is-completed {
  background: rgba(255, 255, 255, 0.2);
  color: var(--white);
}

.hsb-live-badge.is-timeout {
  background: #F5A623;
  color: var(--ink);
}

.hsb-live-badge.is-review {
  background: #F8E71C;
  color: var(--ink);
}

.hsb-event-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--muted-on-ink);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 170px;
}
.hsb-event-pill svg,
.hsb-event-pill i {
  color: var(--accent);
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.hsb-round-tag {
  display: inline-block;
  padding: 0.25rem 0.55rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 900;
  font-style: italic;
  color: var(--white);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
}

.hsb-clock-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.55rem;
  background: rgba(110, 198, 255, 0.12);
  border: 1px solid var(--accent);
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 900;
  font-style: italic;
  letter-spacing: 0.05em;
  white-space: nowrap;
}
.hsb-clock-pill svg,
.hsb-clock-pill i {
  width: 13px;
  height: 13px;
  animation: clockPulse 2s infinite ease-in-out;
}
@keyframes clockPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* 2. Clash Arena */
.hsb-arena {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 1.5rem 1.25rem;
  gap: 1rem;
}

/* Teams */
.hsb-team {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
}
.hsb-team-home {
  flex-direction: row;
}
.hsb-team-away {
  flex-direction: row-reverse;
  text-align: right;
}

/* Crest Badge */
.hsb-crest-wrap {
  flex-shrink: 0;
}
.hsb-crest {
  width: 58px;
  height: 58px;
  margin-bottom: 0 !important;
  font-size: 2rem;
  border-width: 2.5px;
  box-shadow: 4px 4px 0 var(--accent);
  transition: transform 0.2s ease;
}
.hero-scoreboard:hover .hsb-crest {
  transform: skewX(-15deg) scale(1.05);
}

.hsb-team-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.hsb-team-role {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 0.2rem;
}
.hsb-team-name {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 900;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  line-height: 0.95;
  text-transform: uppercase;
  color: var(--white);
  word-break: break-word;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hsb-team-code {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--muted-on-ink);
  margin-top: 0.25rem;
  text-transform: uppercase;
}

/* Central Clash Zone (Scores / VS) */
.hsb-clash-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 0.25rem;
  flex-shrink: 0;
}

.hsb-score-board {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: #020408;
  border: 2px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 0 20px rgba(110, 198, 255, 0.12);
  padding: 0.4rem 0.9rem;
  transform: skewX(-8deg);
}
.hsb-score-board > * {
  transform: skewX(8deg);
}

.hsb-score-num {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 900;
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 0.85;
  color: var(--white);
  min-width: 36px;
  text-align: center;
  font-variant-numeric: tabular-nums;
}
.hsb-score-num.is-leader {
  color: var(--accent);
  text-shadow: 0 0 12px rgba(110, 198, 255, 0.45);
}

.hsb-score-sep {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 900;
  font-size: 2rem;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1;
  padding: 0 0.1rem;
}

.hsb-period-tag {
  margin-top: 0.55rem;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 900;
  font-style: italic;
  letter-spacing: 0.1em;
  color: var(--accent);
  text-transform: uppercase;
}

/* 4-segment Match Progress Rail */
.hsb-rail {
  display: flex;
  gap: 4px;
  width: 100%;
  max-width: 110px;
  margin-top: 0.45rem;
}
.hsb-rail-seg {
  flex: 1;
  height: 4px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 0;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.hsb-rail-seg.active {
  background: var(--accent);
  box-shadow: 0 0 6px var(--accent);
}

/* VS Badge for Scheduled */
.hsb-vs-badge {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 900;
  font-size: 2rem;
  line-height: 1;
  color: var(--accent);
  background: rgba(110, 198, 255, 0.08);
  border: 2px solid var(--accent);
  padding: 0.35rem 0.85rem;
  transform: skewX(-8deg);
}
.hsb-kickoff-time {
  font-family: var(--font-display);
  font-weight: 900;
  font-style: italic;
  font-size: 1.1rem;
  color: var(--white);
  margin-top: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.hsb-kickoff-sub {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--muted-on-ink);
  text-transform: uppercase;
}

/* 3. Footer Ribbon */
.hsb-footer {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.85rem 1.25rem;
  background: rgba(2, 4, 8, 0.85);
  border-top: 2px solid rgba(255, 255, 255, 0.08);
  gap: 0.75rem;
}

.hsb-venue {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--muted-on-ink);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.hsb-venue svg,
.hsb-venue i {
  color: var(--accent);
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.hsb-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 900;
  font-size: 1.05rem;
  padding: 0.45rem 1.15rem;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 2px solid var(--white);
  box-shadow: 4px 4px 0 var(--accent);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
}
.hsb-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--ink);
  box-shadow: 6px 6px 0 var(--white);
  transform: translate(-2px, -2px);
}
.hsb-btn-arrow {
  transition: transform 0.2s ease;
  width: 15px;
  height: 15px;
}
.hsb-btn:hover .hsb-btn-arrow {
  transform: translateX(4px);
}

/* TEAMS GRID */
.team-card {
  background: var(--ink-2);
  color: var(--white);
  border: 3px solid var(--accent);
  box-shadow: 8px 8px 0 var(--accent);

  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: translate 0.1s, box-shadow 0.1s;
  text-decoration: none;
}
.team-card:hover {
  translate: -2px -2px;
  box-shadow: 10px 10px 0 var(--accent);
}
.team-badge {
  width: 72px;
  height: 72px;
  border: 3px solid var(--white);
  background: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 900;
  font-size: 3rem;
  color: var(--white);
  position: relative;
  overflow: hidden;
  margin-bottom: 1.5rem;
  transform: skewX(-15deg);
  box-shadow: 6px 6px 0 var(--accent);
}
.badge-pattern {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 14px;
}
.team-pattern-0 .badge-pattern { background: repeating-linear-gradient(45deg, var(--white), var(--white) 4px, var(--accent) 4px, var(--accent) 8px); }
.team-pattern-1 .badge-pattern { background: repeating-linear-gradient(90deg, var(--white), var(--white) 4px, var(--accent) 4px, var(--accent) 8px); }
.team-pattern-2 .badge-pattern { background: repeating-linear-gradient(0deg, var(--white), var(--white) 4px, var(--accent) 4px, var(--accent) 8px); }
.team-pattern-3 .badge-pattern { background: var(--accent); border-top: 4px dashed var(--white); }
.team-pattern-4 .badge-pattern { background: radial-gradient(circle, var(--accent) 3px, transparent 4px) 0 0/ 8px 8px; background-color: var(--white); }
.team-pattern-5 .badge-pattern { background: linear-gradient(90deg, var(--white) 50%, var(--accent) 50%); }
.team-pattern-6 .badge-pattern { background: var(--white); border-top: 4px solid var(--accent); }
.team-pattern-7 .badge-pattern { background: var(--accent); }
.team-name {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 900;
  font-size: 1.75rem;
  line-height: 1;
  text-transform: uppercase;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.team-stats {
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  color: var(--muted-on-ink);
  margin-bottom: 1.5rem;
}
.team-card .btn { width: 100%; min-height: 40px; padding: 0; font-size: 1rem; }

.on-ink-2 .sh-label { color: rgba(255,255,255,0.6); }
.on-ink-2 .sh-title { color: var(--white); }
.on-ink-2 .sh-rule { background: var(--white); }

/* Accent tag */
.tag-accent {
  display: inline-block;
  transform: skewX(var(--skew));
  background: var(--accent) !important;
  color: var(--ink) !important;
  padding: 0.25rem 0.75rem;
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  border: none !important;
}
.tag-accent > span {
  display: inline-block;
  transform: skewX(calc(var(--skew) * -1));
}

/* Match Center Tabs */
.mc-tabs {
  display: flex;
  gap: 1.5rem;
  border-bottom: 2px solid var(--border-color);
  margin-bottom: 2rem;
}
.mc-tab {
  background: transparent;
  color: var(--white);
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 900;
  font-size: 1.25rem;
  padding: 0.5rem 0;
  cursor: pointer;
  border: none;
  text-transform: uppercase;
  position: relative;
  transition: color 0.2s;
  text-decoration: none;
  display: inline-block;
}
.mc-tab:hover {
  color: var(--accent);
}
.mc-tab.active {
  color: var(--accent);
}
.mc-tab.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--accent);
}

/* Match Operator Deck */
.operator-deck {
  background: var(--ink-2, #0A101D);
  border: 2px solid var(--accent);
  box-shadow: 6px 6px 0 var(--accent);
  padding: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 2rem;
}
.operator-deck-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 0.75rem;
}
.operator-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1.25rem;
}

/* Match Tab Content Panes */
.match-tab-pane {
  display: none;
}
.match-tab-pane.active {
  display: block;
}

/* Overview Grid */
.overview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}
.overview-card {
  background: var(--ink-2, #0A101D);
  border: 2px solid rgba(255, 255, 255, 0.15);
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.5);
  padding: 1.5rem;
}
.overview-card h4 {
  font-family: var(--font-display);
  color: var(--accent);
  font-size: 1.2rem;
  font-style: italic;
  font-weight: 900;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.info-row {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
  font-size: 0.95rem;
}
.info-row:last-child {
  border-bottom: none;
}
.info-label {
  color: var(--muted-on-ink, #8FA0B8);
}
.info-val {
  color: var(--white);
  font-weight: 700;
  text-align: right;
}

/* Timeline Layout */
.timeline-container {
  max-width: 720px;
  margin: 0 auto;
  position: relative;
  padding: 1.5rem 0;
}
.timeline-track {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  background: rgba(110, 198, 255, 0.3);
  transform: translateX(-50%);
}
.timeline-event {
  display: flex;
  align-items: center;
  margin-bottom: 2rem;
  position: relative;
}
.timeline-event.home-side {
  flex-direction: row-reverse;
}
.timeline-event.home-side .timeline-card {
  text-align: right;
  margin-right: 2.5rem;
  margin-left: 0;
}
.timeline-event.away-side .timeline-card {
  text-align: left;
  margin-left: 2.5rem;
  margin-right: 0;
}
.timeline-event.center-side {
  justify-content: center;
}
.timeline-event.center-side .timeline-card {
  text-align: center;
  margin: 0 auto;
}
.timeline-card {
  width: 42%;
  background: #03060B;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.6);
  padding: 1rem 1.25rem;
  position: relative;
  z-index: 2;
}
.timeline-badge {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ink, #03060B);
  border: 2px solid var(--accent);
  color: var(--accent);
  font-weight: 900;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.85rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  box-shadow: 0 0 10px rgba(110, 198, 255, 0.3);
}

/* Stats Comparison Bars */
.stats-container {
  max-width: 760px;
  margin: 0 auto;
  background: var(--ink-2, #0A101D);
  border: 2px solid rgba(255, 255, 255, 0.15);
  box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.6);
  padding: 2rem;
}
.stat-item {
  margin-bottom: 1.75rem;
}
.stat-item:last-child {
  margin-bottom: 0;
}
.stat-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
  font-family: var(--font-display);
  font-style: italic;
}
.stat-val {
  font-size: 1.25rem;
  font-weight: 900;
  min-width: 45px;
}
.stat-val.home {
  color: var(--accent);
  text-align: left;
}
.stat-val.away {
  color: #fff;
  text-align: right;
}
.stat-title {
  color: var(--muted-on-ink, #8FA0B8);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-align: center;
  font-weight: 700;
}
.stat-bar-duo {
  display: flex;
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
  gap: 3px;
}
.stat-bar-fill-home {
  background: var(--accent);
  transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.stat-bar-fill-away {
  background: rgba(255, 255, 255, 0.8);
  transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   SCROLL ANIMATIONS & PROGRESS BAR
   ========================================================================== */

/* Top Neon Scroll Progress Bar */
.scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--accent) 0%, #ffffff 50%, var(--accent) 100%);
  background-size: 200% 100%;
  box-shadow: 0 0 10px rgba(110, 198, 255, 0.7), 0 0 3px var(--accent);
  z-index: 10000;
  pointer-events: none;
  transition: width 0.1s linear;
  animation: scrollGlowPulse 4s ease infinite;
}

@keyframes scrollGlowPulse {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* Base Scroll Reveal Classes */
.scroll-reveal,
.scroll-reveal-left,
.scroll-reveal-right,
.scroll-reveal-scale {
  opacity: 0;
  will-change: transform, opacity;
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: calc(var(--delay-index, 0) * 80ms);
}

.scroll-reveal {
  transform: translateY(28px);
}

.scroll-reveal-left {
  transform: translateX(-32px);
}

.scroll-reveal-right {
  transform: translateX(32px);
}

.scroll-reveal-scale {
  transform: translateY(22px) scale(0.96);
}

/* In-View Revealed State */
.scroll-reveal.in-view,
.scroll-reveal-left.in-view,
.scroll-reveal-right.in-view,
.scroll-reveal-scale.in-view {
  opacity: 1;
  transform: none;
}

/* Stagger delay helpers */
.delay-1 { --delay-index: 1; }
.delay-2 { --delay-index: 2; }
.delay-3 { --delay-index: 3; }
.delay-4 { --delay-index: 4; }
.delay-5 { --delay-index: 5; }

/* Brutalist Accent Rule Line Animation */
.sh-rule {
  transform-origin: left center;
  transition: transform 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.18s;
}

.scroll-reveal .sh-rule,
.scroll-reveal-left .sh-rule,
.scroll-reveal-right .sh-rule {
  transform: scaleX(0);
}

.scroll-reveal.in-view .sh-rule,
.scroll-reveal-left.in-view .sh-rule,
.scroll-reveal-right.in-view .sh-rule {
  transform: scaleX(1);
}

/* Hero Section Entrance Tweaks */
.hero-content.scroll-reveal {
  transform: translateY(20px);
}
#hero-live-feature.scroll-reveal-right {
  transform: translateX(30px);
}

/* Parallax Will-change optimizations */
#hero-ghost,
.hero-section .slant-panel {
  will-change: transform;
}

/* Prefers Reduced Motion Accessibility Fallback */
@media (prefers-reduced-motion: reduce) {
  .scroll-progress-bar {
    display: none !important;
  }
  .scroll-reveal,
  .scroll-reveal-left,
  .scroll-reveal-right,
  .scroll-reveal-scale {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .sh-rule {
    transform: none !important;
    transition: none !important;
  }
}


