/* ============================================================
   KASTLR COMPETITIVE — MAIN DESIGN SYSTEM
   kastlr.co.za
   Fonts: Barlow Condensed (headings) + Inter (body)
   Version 1.0 — June 2026
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@400;600;700;800&family=Inter:wght@400;500&display=swap');


/* ============================================================
   CSS VARIABLES
   ============================================================ */

:root {
  --color-primary:       #FF6B00;
  --color-primary-dark:  #CC5500;
  --color-primary-glow:  rgba(255, 107, 0, 0.15);

  --color-gold:          #D4AF37;
  --color-gold-dark:     #A88A20;
  --color-gold-glow:     rgba(212, 175, 55, 0.15);

  --color-live:          #E53935;
  --color-live-glow:     rgba(229, 57, 53, 0.2);
  --color-success:       #3FB950;
  --color-warning:       #F0A500;

  --color-bg:            #0B0B0B;
  --color-bg-panel:      #141414;
  --color-bg-card:       #1A1A1A;
  --color-bg-hover:      #202020;
  --color-bg-input:      #111111;

  --color-border:        #222222;
  --color-border-light:  #2A2A2A;
  --color-border-focus:  #FF6B00;

  --color-text:          #FFFFFF;
  --color-text-muted:    #A0A0A0;
  --color-text-faint:    #555555;

  --font-heading:        'Barlow Condensed', sans-serif;
  --font-body:           'Inter', sans-serif;

  --radius-sm:           3px;
  --radius-md:           6px;
  --radius-lg:           10px;

  --transition:          0.15s ease;

  --nav-height:          60px;
  --ticker-height:       38px;
  --max-width:           1200px;
  --content-padding:     24px;
}


/* ============================================================
   RESET
   ============================================================ */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family:      var(--font-body);
  font-weight:      400;
  background-color: var(--color-bg);
  color:            var(--color-text);
  line-height:      1.6;
  min-height:       100vh;
  -webkit-font-smoothing:  antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--color-primary);
}

img {
  max-width: 100%;
  display: block;
}

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  font-family: var(--font-heading);
  border: none;
  background: none;
}

input, select, textarea {
  font-family: var(--font-body);
  font-size: 14px;
}


/* ============================================================
   TYPOGRAPHY
   ============================================================ */

h1, h2, h3, h4, h5, h6 {
  font-family:    var(--font-heading);
  font-weight:    800;
  letter-spacing: 0.03em;
  line-height:    1.1;
  text-transform: uppercase;
  color:          var(--color-text);
}

h1 { font-size: 52px; }
h2 { font-size: 36px; }
h3 { font-size: 26px; }
h4 { font-size: 20px; }
h5 { font-size: 16px; }
h6 { font-size: 14px; letter-spacing: 0.08em; }

p {
  font-size:   15px;
  line-height: 1.65;
  color:       var(--color-text-muted);
}

.text-primary  { color: var(--color-primary) !important; }
.text-gold     { color: var(--color-gold)    !important; }
.text-white    { color: var(--color-text)    !important; }
.text-muted    { color: var(--color-text-muted) !important; }
.text-live     { color: var(--color-live)    !important; }
.text-success  { color: var(--color-success) !important; }

.heading-label {
  font-family:    var(--font-heading);
  font-weight:    700;
  font-size:      11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color:          var(--color-text-muted);
}


/* ============================================================
   LAYOUT
   ============================================================ */

.container {
  max-width:   var(--max-width);
  margin:      0 auto;
  padding:     0 var(--content-padding);
}

.page-wrapper {
  padding-top: calc(var(--nav-height) + var(--ticker-height));
  min-height:  100vh;
}

.section {
  padding: 48px 0;
}

.section-header {
  display:         flex;
  align-items:     center;
  justify-content: space-between;
  margin-bottom:   24px;
}

.section-title {
  font-family:    var(--font-heading);
  font-weight:    800;
  font-size:      22px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color:          var(--color-text);
}

.section-link {
  font-family:    var(--font-heading);
  font-weight:    700;
  font-size:      12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color:          var(--color-primary);
  transition:     color var(--transition);
}

.section-link:hover {
  color: var(--color-text);
}

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }


/* ============================================================
   NAVIGATION
   ============================================================ */

.nav {
  position:         fixed;
  top:              0;
  left:             0;
  right:            0;
  height:           var(--nav-height);
  background-color: rgba(11, 11, 11, 0.95);
  backdrop-filter:  blur(8px);
  border-bottom:    0.5px solid var(--color-border);
  z-index:          100;
  display:          flex;
  align-items:      center;
}

.nav-inner {
  display:         flex;
  align-items:     center;
  justify-content: space-between;
  width:           100%;
  max-width:       var(--max-width);
  margin:          0 auto;
  padding:         0 var(--content-padding);
}

.nav-logo {
  font-family:    var(--font-heading);
  font-weight:    800;
  font-size:      22px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color:          var(--color-text);
  display:        flex;
  align-items:    center;
  gap:            8px;
  overflow:       hidden;
  max-height:     var(--nav-height);
}

.nav-logo span {
  color: var(--color-primary);
}

.nav-links {
  display:     flex;
  align-items: center;
  gap:         32px;
}

.nav-link {
  font-family:    var(--font-heading);
  font-weight:    700;
  font-size:      13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color:          var(--color-text-muted);
  transition:     color var(--transition);
  position:       relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-text);
}

.nav-link.active::after {
  content:          '';
  position:         absolute;
  bottom:           -4px;
  left:             0;
  right:            0;
  height:           2px;
  background-color: var(--color-primary);
}

.nav-cta {
  font-family:    var(--font-heading);
  font-weight:    700;
  font-size:      12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color:          var(--color-text);
  background:     var(--color-primary);
  padding:        8px 18px;
  border-radius:  var(--radius-sm);
  transition:     background var(--transition);
}

.nav-cta:hover {
  background: var(--color-primary-dark);
  color:      var(--color-text);
}


/* ============================================================
   LIVE TICKER
   ============================================================ */

.ticker {
  position:         fixed;
  top:              var(--nav-height);
  left:             0;
  right:            0;
  height:           var(--ticker-height);
  background-color: var(--color-bg-panel);
  border-bottom:    0.5px solid var(--color-border);
  z-index:          99;
  display:          flex;
  align-items:      center;
  overflow:         hidden;
}

.ticker-label {
  font-family:      var(--font-heading);
  font-weight:      700;
  font-size:        11px;
  letter-spacing:   0.12em;
  text-transform:   uppercase;
  color:            var(--color-live);
  padding:          0 16px;
  border-right:     0.5px solid var(--color-border);
  height:           100%;
  display:          flex;
  align-items:      center;
  white-space:      nowrap;
  flex-shrink:      0;
}

.ticker-scroll {
  display:     flex;
  align-items: center;
  gap:         40px;
  padding:     0 24px;
  overflow:    hidden;
}

.ticker-match {
  display:     flex;
  align-items: center;
  gap:         10px;
  flex-shrink: 0;
}

.ticker-badge {
  font-family:      var(--font-heading);
  font-weight:      700;
  font-size:        10px;
  letter-spacing:   0.1em;
  text-transform:   uppercase;
  padding:          2px 6px;
  border-radius:    var(--radius-sm);
  background-color: var(--color-live);
  color:            var(--color-text);
}

.ticker-teams {
  font-family:    var(--font-heading);
  font-weight:    700;
  font-size:      13px;
  letter-spacing: 0.04em;
  color:          var(--color-text);
  white-space:    nowrap;
}

.ticker-score {
  font-family:    var(--font-heading);
  font-weight:    800;
  font-size:      14px;
  color:          var(--color-primary);
}


/* ============================================================
   CARDS
   ============================================================ */

.card {
  background-color: var(--color-bg-panel);
  border:           0.5px solid var(--color-border);
  border-radius:    var(--radius-lg);
  overflow:         hidden;
}

.card-header {
  padding:       16px 20px;
  border-bottom: 0.5px solid var(--color-border);
  display:       flex;
  align-items:   center;
  justify-content: space-between;
}

.card-title {
  font-family:    var(--font-heading);
  font-weight:    800;
  font-size:      15px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color:          var(--color-text);
}

.card-body {
  padding: 20px;
}

.card-footer {
  padding:    12px 20px;
  border-top: 0.5px solid var(--color-border);
}

.card-hover {
  transition: border-color var(--transition), background-color var(--transition);
}

.card-hover:hover {
  border-color:     var(--color-border-light);
  background-color: var(--color-bg-hover);
}


/* ============================================================
   BUTTONS
   ============================================================ */

.btn {
  display:        inline-flex;
  align-items:    center;
  gap:            8px;
  font-family:    var(--font-heading);
  font-weight:    700;
  font-size:      13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding:        10px 24px;
  border-radius:  var(--radius-sm);
  transition:     background var(--transition), color var(--transition), border-color var(--transition);
  white-space:    nowrap;
}

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

.btn-primary:hover {
  background-color: var(--color-primary-dark);
  color:            var(--color-text);
}

.btn-outline {
  background-color: transparent;
  color:            var(--color-text);
  border:           1px solid var(--color-border-light);
}

.btn-outline:hover {
  border-color:     var(--color-primary);
  color:            var(--color-primary);
}

.btn-gold {
  background-color: var(--color-gold);
  color:            #0B0B0B;
}

.btn-gold:hover {
  background-color: var(--color-gold-dark);
}

.btn-sm {
  font-size: 11px;
  padding:   7px 16px;
}

.btn-lg {
  font-size: 15px;
  padding:   13px 32px;
}

.btn-full {
  width:           100%;
  justify-content: center;
}


/* ============================================================
   BADGES & TAGS
   ============================================================ */

.badge {
  display:        inline-flex;
  align-items:    center;
  font-family:    var(--font-heading);
  font-weight:    700;
  font-size:      10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding:        3px 8px;
  border-radius:  var(--radius-sm);
}

.badge-live {
  background-color: var(--color-live);
  color:            var(--color-text);
}

.badge-live::before {
  content:          '';
  display:          inline-block;
  width:            6px;
  height:           6px;
  border-radius:    50%;
  background-color: var(--color-text);
  margin-right:     5px;
  animation:        pulse 1.5s infinite;
}

.badge-upcoming {
  background-color: var(--color-bg-card);
  color:            var(--color-text-muted);
  border:           0.5px solid var(--color-border-light);
}

.badge-completed {
  background-color: var(--color-bg-card);
  color:            var(--color-success);
  border:           0.5px solid var(--color-success);
}

.badge-walkover {
  background-color: var(--color-bg-card);
  color:            var(--color-text-muted);
  border:           0.5px solid var(--color-border);
}

.badge-premier {
  background-color: var(--color-gold-glow);
  color:            var(--color-gold);
  border:           0.5px solid var(--color-gold);
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.3; }
}


/* ============================================================
   STANDINGS TABLE
   ============================================================ */

.standings-table {
  width:           100%;
  border-collapse: collapse;
}

.standings-table thead tr {
  border-bottom: 0.5px solid var(--color-border);
}

.standings-table th {
  font-family:    var(--font-heading);
  font-weight:    700;
  font-size:      11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color:          var(--color-text-muted);
  padding:        8px 12px;
  text-align:     left;
}

.standings-table th:not(:first-child) {
  text-align: center;
}

.standings-table tbody tr {
  border-bottom: 0.5px solid var(--color-border);
  transition:    background-color var(--transition);
}

.standings-table tbody tr:last-child {
  border-bottom: none;
}

.standings-table tbody tr:hover {
  background-color: var(--color-bg-hover);
}

.standings-table td {
  padding:    12px;
  font-size:  14px;
  color:      var(--color-text);
}

.standings-table td:not(:first-child) {
  text-align: center;
}

.standings-pos {
  font-family:    var(--font-heading);
  font-weight:    800;
  font-size:      16px;
  color:          var(--color-text-muted);
  width:          40px;
}

.standings-pos.gold   { color: var(--color-gold); }
.standings-pos.silver { color: #C0C0C0; }
.standings-pos.bronze { color: #CD7F32; }

.standings-team {
  display:     flex;
  align-items: center;
  gap:         12px;
}

.standings-team-logo {
  width:         32px;
  height:        32px;
  border-radius: var(--radius-sm);
  background:    var(--color-bg-card);
  border:        0.5px solid var(--color-border);
  object-fit:    cover;
}

.standings-team-name {
  font-family:    var(--font-heading);
  font-weight:    800;
  font-size:      15px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color:          var(--color-text);
}

.standings-team-tag {
  font-family:    var(--font-heading);
  font-weight:    700;
  font-size:      11px;
  letter-spacing: 0.08em;
  color:          var(--color-text-muted);
}

.standings-pts {
  font-family:    var(--font-heading);
  font-weight:    800;
  font-size:      16px;
  color:          var(--color-primary);
}

.standings-playoff {
  border-left: 2px solid var(--color-primary) !important;
}

.standings-relegation {
  border-left: 2px solid var(--color-live) !important;
}


/* ============================================================
   MATCH CARDS
   ============================================================ */

.match-card {
  background-color: var(--color-bg-panel);
  border:           0.5px solid var(--color-border);
  border-radius:    var(--radius-lg);
  padding:          16px 20px;
  display:          grid;
  grid-template-columns: 1fr auto 1fr;
  align-items:      center;
  gap:              16px;
  transition:       border-color var(--transition), background-color var(--transition);
}

.match-card:hover {
  border-color:     var(--color-border-light);
  background-color: var(--color-bg-hover);
}

.match-team {
  display:     flex;
  align-items: center;
  gap:         12px;
}

.match-team.away {
  flex-direction:  row-reverse;
  text-align:      right;
  justify-content: flex-start;
}

.match-team-logo {
  width:         40px;
  height:        40px;
  border-radius: var(--radius-sm);
  background:    var(--color-bg-card);
  border:        0.5px solid var(--color-border);
  object-fit:    cover;
  flex-shrink:   0;
}

.match-team-name {
  font-family:    var(--font-heading);
  font-weight:    800;
  font-size:      16px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color:          var(--color-text);
}

.match-center {
  display:         flex;
  flex-direction:  column;
  align-items:     center;
  gap:             6px;
  min-width:       90px;
}

.match-score {
  font-family:    var(--font-heading);
  font-weight:    800;
  font-size:      28px;
  letter-spacing: 0.05em;
  color:          var(--color-text);
}

.match-score-live {
  color: var(--color-primary);
}

.match-vs {
  font-family:    var(--font-heading);
  font-weight:    700;
  font-size:      13px;
  letter-spacing: 0.1em;
  color:          var(--color-text-muted);
}

.match-time {
  font-family:    var(--font-heading);
  font-weight:    700;
  font-size:      12px;
  letter-spacing: 0.06em;
  color:          var(--color-text-muted);
}

.match-winner .match-team-name {
  color: var(--color-primary);
}


/* ============================================================
   PLAYER STATS TABLE
   ============================================================ */

.stats-table {
  width:           100%;
  border-collapse: collapse;
  font-size:       13px;
}

.stats-table thead tr {
  border-bottom: 0.5px solid var(--color-border);
}

.stats-table th {
  font-family:    var(--font-heading);
  font-weight:    700;
  font-size:      10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color:          var(--color-text-muted);
  padding:        8px 10px;
  text-align:     center;
}

.stats-table th:first-child { text-align: left; }

.stats-table tbody tr {
  border-bottom: 0.5px solid var(--color-border);
  transition:    background-color var(--transition);
}

.stats-table tbody tr:last-child { border-bottom: none; }

.stats-table tbody tr:hover {
  background-color: var(--color-bg-hover);
}

.stats-table td {
  padding:    10px;
  color:      var(--color-text);
  text-align: center;
}

.stats-table td:first-child { text-align: left; }

.stats-player {
  display:     flex;
  align-items: center;
  gap:         10px;
}

.stats-player-name {
  font-family:    var(--font-heading);
  font-weight:    700;
  font-size:      14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.stats-rating-high { color: var(--color-success); font-weight: 700; }
.stats-rating-mid  { color: var(--color-text); }
.stats-rating-low  { color: var(--color-live); }


/* ============================================================
   STAT CARDS (KPI)
   ============================================================ */

.stat-card {
  background-color: var(--color-bg-panel);
  border:           0.5px solid var(--color-border);
  border-radius:    var(--radius-md);
  padding:          16px 20px;
}

.stat-label {
  font-family:    var(--font-heading);
  font-weight:    700;
  font-size:      11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color:          var(--color-text-muted);
  margin-bottom:  6px;
}

.stat-value {
  font-family:    var(--font-heading);
  font-weight:    800;
  font-size:      32px;
  letter-spacing: 0.02em;
  color:          var(--color-text);
  line-height:    1;
}

.stat-value.orange { color: var(--color-primary); }
.stat-value.gold   { color: var(--color-gold); }


/* ============================================================
   HERO SECTION
   ============================================================ */

.hero {
  padding:          60px 0 48px;
  border-bottom:    0.5px solid var(--color-border);
  margin-bottom:    40px;
}

.hero-eyebrow {
  font-family:    var(--font-heading);
  font-weight:    700;
  font-size:      12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color:          var(--color-primary);
  margin-bottom:  12px;
}

.hero-title {
  font-size:   64px;
  margin-bottom: 16px;
}

.hero-title span {
  color: var(--color-primary);
}

.hero-subtitle {
  font-size:    18px;
  color:        var(--color-text-muted);
  margin-bottom: 32px;
  max-width:    560px;
}

.hero-actions {
  display:     flex;
  align-items: center;
  gap:         12px;
}


/* ============================================================
   FORMS
   ============================================================ */

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display:       block;
  font-family:   var(--font-heading);
  font-weight:   700;
  font-size:     12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color:         var(--color-text-muted);
  margin-bottom: 8px;
}

.form-input {
  width:            100%;
  background-color: var(--color-bg-input);
  border:           0.5px solid var(--color-border-light);
  border-radius:    var(--radius-md);
  color:            var(--color-text);
  padding:          10px 14px;
  font-size:        14px;
  transition:       border-color var(--transition);
  outline:          none;
}

.form-input:focus {
  border-color: var(--color-primary);
}

.form-input::placeholder {
  color: var(--color-text-faint);
}

.form-select {
  appearance:       none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23A0A0A0' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}

.form-error {
  font-size:   12px;
  color:       var(--color-live);
  margin-top:  6px;
}


/* ============================================================
   DIVIDER
   ============================================================ */

.divider {
  height:     0.5px;
  background: var(--color-border);
  margin:     24px 0;
}

.divider-label {
  display:     flex;
  align-items: center;
  gap:         12px;
  margin:      24px 0;
}

.divider-label::before,
.divider-label::after {
  content:    '';
  flex:       1;
  height:     0.5px;
  background: var(--color-border);
}

.divider-label span {
  font-family:    var(--font-heading);
  font-weight:    700;
  font-size:      11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color:          var(--color-text-muted);
  white-space:    nowrap;
}


/* ============================================================
   SPONSOR STRIP
   ============================================================ */

.sponsor-strip {
  padding:         20px 0;
  border-top:      0.5px solid var(--color-border);
  border-bottom:   0.5px solid var(--color-border);
}

.sponsor-label {
  font-family:    var(--font-heading);
  font-weight:    700;
  font-size:      10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color:          var(--color-text-faint);
  text-align:     center;
  margin-bottom:  16px;
}

.sponsor-logos {
  display:         flex;
  align-items:     center;
  justify-content: center;
  gap:             40px;
  flex-wrap:       wrap;
}

.sponsor-logo {
  height:  28px;
  opacity: 0.5;
  filter:  grayscale(100%);
  transition: opacity var(--transition), filter var(--transition);
}

.sponsor-logo:hover {
  opacity: 0.9;
  filter:  grayscale(0%);
}


/* ============================================================
   FOOTER
   ============================================================ */

.footer {
  background-color: var(--color-bg-panel);
  border-top:       0.5px solid var(--color-border);
  padding:          40px 0 24px;
  margin-top:       64px;
}

.footer-top {
  display:               grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap:                   40px;
  margin-bottom:         40px;
}

.footer-brand {
  font-family:    var(--font-heading);
  font-weight:    800;
  font-size:      20px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color:          var(--color-text);
  margin-bottom:  12px;
}

.footer-brand span {
  color: var(--color-primary);
}

.footer-desc {
  font-size:  13px;
  color:      var(--color-text-muted);
  line-height: 1.7;
}

.footer-col-title {
  font-family:    var(--font-heading);
  font-weight:    700;
  font-size:      12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color:          var(--color-text-muted);
  margin-bottom:  16px;
}

.footer-links {
  display:        flex;
  flex-direction: column;
  gap:            10px;
}

.footer-link {
  font-size:  13px;
  color:      var(--color-text-muted);
  transition: color var(--transition);
}

.footer-link:hover {
  color: var(--color-text);
}

.footer-bottom {
  border-top:      0.5px solid var(--color-border);
  padding-top:     20px;
  display:         flex;
  align-items:     center;
  justify-content: space-between;
}

.footer-copy {
  font-size: 12px;
  color:     var(--color-text-faint);
}

.footer-valve {
  font-size: 11px;
  color:     var(--color-text-faint);
  max-width: 400px;
  text-align: right;
  line-height: 1.5;
}


/* ============================================================
   BREADCRUMB
   ============================================================ */

.breadcrumb {
  display:     flex;
  align-items: center;
  gap:         8px;
  padding:     16px 0;
  margin-bottom: 8px;
}

.breadcrumb-item {
  font-family:    var(--font-heading);
  font-weight:    700;
  font-size:      12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color:          var(--color-text-muted);
  transition:     color var(--transition);
}

.breadcrumb-item:hover {
  color: var(--color-text);
}

.breadcrumb-sep {
  color:     var(--color-text-faint);
  font-size: 10px;
}

.breadcrumb-item.current {
  color: var(--color-primary);
}


/* ============================================================
   AMENDMENT NOTICE
   ============================================================ */

.amendment-notice {
  display:          flex;
  align-items:      center;
  gap:              8px;
  background-color: rgba(240, 165, 0, 0.08);
  border:           0.5px solid var(--color-warning);
  border-radius:    var(--radius-md);
  padding:          8px 14px;
  margin-top:       8px;
}

.amendment-notice-text {
  font-size: 12px;
  color:     var(--color-warning);
}


/* ============================================================
   EMPTY STATE
   ============================================================ */

.empty-state {
  text-align: center;
  padding:    60px 20px;
}

.empty-state-title {
  font-family:    var(--font-heading);
  font-weight:    800;
  font-size:      20px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color:          var(--color-text-muted);
  margin-bottom:  8px;
}

.empty-state-desc {
  font-size: 14px;
  color:     var(--color-text-faint);
}


/* ============================================================
   LOADING SKELETON
   ============================================================ */

.skeleton {
  background:  linear-gradient(90deg, var(--color-bg-card) 25%, var(--color-bg-hover) 50%, var(--color-bg-card) 75%);
  background-size: 200% 100%;
  animation:   skeleton-loading 1.5s infinite;
  border-radius: var(--radius-sm);
}

@keyframes skeleton-loading {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}


/* ============================================================
   SCROLLBAR
   ============================================================ */

::-webkit-scrollbar {
  width:  6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: var(--color-bg);
}

::-webkit-scrollbar-thumb {
  background:    var(--color-border-light);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-text-faint);
}


/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1024px) {
  :root { --content-padding: 16px; }
  h1    { font-size: 40px; }
  .hero-title { font-size: 48px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .grid-4     { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  h1 { font-size: 32px; }
  h2 { font-size: 26px; }
  .hero-title   { font-size: 36px; }
  .nav-links    { display: none; }
  .grid-2       { grid-template-columns: 1fr; }
  .grid-3       { grid-template-columns: 1fr; }
  .grid-4       { grid-template-columns: 1fr; }
  .footer-top   { grid-template-columns: 1fr; }
  .footer-valve { text-align: left; }
  .match-card   { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  :root { --content-padding: 12px; }
  .hero-title   { font-size: 28px; }
  .standings-table th,
  .standings-table td { padding: 8px 6px; }
}


/* ============================================================
   UTILITIES
   ============================================================ */

.hidden   { display: none !important; }
.sr-only  { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.flex     { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-8    { gap: 8px; }
.gap-12   { gap: 12px; }
.gap-16   { gap: 16px; }
.mt-8     { margin-top: 8px; }
.mt-16    { margin-top: 16px; }
.mt-24    { margin-top: 24px; }
.mb-8     { margin-bottom: 8px; }
.mb-16    { margin-bottom: 16px; }
.mb-24    { margin-bottom: 24px; }
.p-16     { padding: 16px; }
.p-20     { padding: 20px; }
.text-center { text-align: center; }
.text-right  { text-align: right; }
.w-full   { width: 100%; }


/* ============================================================
   HERO BACKGROUND IMAGE
   Change /img/hero_background.png to update across the site
   ============================================================ */

.hero {
  background-image:
    linear-gradient(to right, rgba(11,11,11,0.88) 35%, rgba(11,11,11,0.45) 100%),
    url('/img/hero_background.png');
  background-size:     cover;
  background-position: center top;
  background-repeat:   no-repeat;
}

/* ============================================================
   SEASON BANNER IMAGE
   ============================================================ */

.season-hero-section {
  background-image:
    linear-gradient(to bottom, rgba(11,11,11,0.65) 0%, rgba(11,11,11,0.96) 100%),
    url('/img/season_banner.jpg');
  background-size:     cover;
  background-position: center;
  background-repeat:   no-repeat;
  padding: 60px 0 48px !important;
  margin-top: -1px;
}

/* ============================================================
   NAG LOGO IMAGE + HEADERS ADDITIONAL
   ============================================================ */

.nav-logo img {
  height:     36px;
  width:      auto;
  display:    block;
  max-height: 36px;
  object-fit: contain;
}

.matches-hero-section {
  background-image:
    linear-gradient(to bottom, rgba(11,11,11,0.65) 0%, rgba(11,11,11,0.96) 100%),
    url('/img/season_banner.jpg');
  background-size:     cover;
  background-position: center;
  background-repeat:   no-repeat;
  padding: 60px 0 48px !important;
  margin-top: -1px;
}

.teams-hero-section {
  background-image:
    linear-gradient(to bottom, rgba(11,11,11,0.65) 0%, rgba(11,11,11,0.96) 100%),
    url('/img/season_banner.jpg');
  background-size:     cover;
  background-position: center;
  background-repeat:   no-repeat;
  padding: 60px 0 48px !important;
  margin-top: -1px;
}