/* ============================================
   TEAM ZYB ESPORT - Main Stylesheet
   Theme: Dark Esport / League of Legends
   ============================================ */

/* ---------- Self-hosted Fonts ---------- */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Orbitron';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/orbitron-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Orbitron';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url('../fonts/orbitron-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg-primary:   #0a0a0f;
  --bg-secondary: #12121a;
  --bg-card:      #1a1a2e;
  --bg-card-hover:#222240;
  --gold:         #C89B3C;
  --gold-light:   #F0E6D2;
  --cyan:         #0AC8B9;
  --cyan-dark:    #078f84;
  --blue:         #0397AB;
  --red:          #E84057;
  --green:        #2dce89;
  --text:         #cfd2d6;
  --text-muted:   #8a8a9a;
  --text-bright:  #f0f0f5;
  --border:       #2a2a3e;
  --font-main:    'Inter', 'Segoe UI', system-ui, sans-serif;
  --font-heading: 'Orbitron', 'Inter', sans-serif;
  --radius:       8px;
  --transition:   0.3s ease;
  --max-width:    1200px;
}

html { scroll-behavior: smooth; }

::selection { background: rgba(200, 155, 60, 0.3); color: var(--text-bright); }
::-moz-selection { background: rgba(200, 155, 60, 0.3); color: var(--text-bright); }

/* Custom scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

body {
  font-family: var(--font-main);
  background: var(--bg-primary);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

a { color: var(--cyan); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold); }

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

h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--text-bright); line-height: 1.2; }

/* ---------- Utility ---------- */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
.section-title {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 50px;
  text-transform: uppercase;
  letter-spacing: 3px;
  position: relative;
}
.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--cyan));
  margin: 15px auto 0;
  border-radius: 2px;
}
.text-gold { color: var(--gold); }
.text-cyan { color: var(--cyan); }
.text-muted { color: var(--text-muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
}
.btn-primary {
  background: linear-gradient(135deg, var(--gold), #b8860b);
  color: #0a0a0f;
  border-color: var(--gold);
}
.btn-primary:hover {
  background: transparent;
  color: var(--gold);
  box-shadow: 0 0 20px rgba(200, 155, 60, 0.3);
}
.btn-secondary {
  background: rgba(10, 200, 185, 0.08);
  color: var(--cyan);
  border-color: var(--cyan);
}
.btn-secondary:hover {
  background: var(--cyan);
  color: var(--bg-primary);
  box-shadow: 0 0 20px rgba(10, 200, 185, 0.3);
}
.btn-sm { padding: 10px 22px; font-size: 0.8rem; }
.btn:hover { transform: translateY(-1px); }
.btn-primary:active, .btn-secondary:active { transform: translateY(1px); }

/* ---------- Navigation ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 10, 15, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}
.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
.nav-logo {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--text-bright);
  letter-spacing: 2px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-logo .logo-img {
  width: 44px;
  height: auto;
  filter: invert(1);
}
.nav-logo span { color: var(--gold); }
.nav-links { display: flex; gap: 30px; list-style: none; }
.nav-links a {
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 8px 0;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width var(--transition);
}
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-links a:hover,
.nav-links a.active { color: var(--gold); }

/* Mobile menu */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 5px;
}
.hamburger span {
  display: block;
  width: 25px;
  height: 2px;
  background: var(--text-bright);
  transition: all var(--transition);
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding-top: 70px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(200, 155, 60, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 50%, rgba(10, 200, 185, 0.06) 0%, transparent 60%),
    var(--bg-primary);
}
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='m36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-content { position: relative; z-index: 1; max-width: 800px; padding: 0 20px; }
.hero-badge {
  display: inline-block;
  padding: 6px 18px;
  border: 1px solid var(--gold);
  border-radius: 30px;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gold);
  margin-bottom: 25px;
  animation: fadeInDown 0.8s ease;
}
.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  margin-bottom: 20px;
  animation: fadeInUp 0.8s ease 0.2s both;
}
.hero h1 .highlight {
  background: linear-gradient(135deg, var(--gold), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero p {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 35px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeInUp 0.8s ease 0.4s both;
}
.hero-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.6s both;
}

/* ---------- Stats Bar ---------- */
.stats-bar {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 40px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}
.stat-item h3 {
  font-size: 2.5rem;
  font-family: var(--font-heading);
  background: linear-gradient(135deg, var(--gold), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-item p {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  margin-top: 5px;
}

/* ---------- Cards ---------- */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
}
.card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

/* ---------- Player Cards ---------- */
.players-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
}
.player-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  text-align: center;
  transition: all var(--transition);
  position: relative;
}
.player-card:hover {
  border-color: var(--gold);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(200, 155, 60, 0.15);
}
.player-avatar {
  width: 100%;
  aspect-ratio: 1;
  background: linear-gradient(135deg, var(--bg-secondary), var(--bg-card));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.player-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.player-avatar .role-icon {
  font-size: 3.5rem;
  opacity: 0.6;
}
.player-avatar .role-badge {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: var(--gold);
  color: var(--bg-primary);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.player-info { padding: 20px; }
.player-info h3 {
  font-size: 1.1rem;
  margin-bottom: 2px;
}
.player-info .player-name {
  color: var(--gold);
  font-family: var(--font-heading);
  font-size: 1.3rem;
  letter-spacing: 1px;
}
.player-info .player-real-name {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.player-info .player-role {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--cyan);
  margin-bottom: 12px;
}
.player-links {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 15px;
}
.player-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 1rem;
  transition: all var(--transition);
}
.player-links a:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  background: rgba(10, 200, 185, 0.1);
}
.player-links a.twitch:hover {
  border-color: #9146ff;
  color: #9146ff;
  background: rgba(145, 70, 255, 0.1);
}

/* ---------- Match Results ---------- */
.matches-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 800px;
  margin: 0 auto;
}
.match-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 25px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all var(--transition);
}
.match-card:hover {
  border-color: var(--border);
  background: var(--bg-card-hover);
}
.match-card.win { border-left: 3px solid var(--green); background: rgba(45, 206, 137, 0.03); }
.match-card.loss { border-left: 3px solid var(--red); background: rgba(232, 64, 87, 0.03); }
.match-card.upcoming { border-left: 3px solid var(--gold); background: rgba(200, 155, 60, 0.03); }
.match-teams {
  display: flex;
  align-items: center;
  gap: 20px;
  flex: 1;
}
.match-team {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  min-width: 120px;
}
.match-team.home { justify-content: flex-end; }
.match-team .team-logo-sm {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
}
.match-team .team-logo-sm.zyb-logo {
  background: none;
  border-radius: 0;
}
.match-team .team-logo-sm.zyb-logo img {
  width: 32px;
  height: auto;
  filter: invert(1);
}
.match-score {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--text-bright);
  min-width: 80px;
  text-align: center;
  letter-spacing: 3px;
}
.match-meta {
  text-align: right;
  min-width: 130px;
}
.match-meta .date {
  font-size: 0.8rem;
  color: var(--text-muted);
}
.match-meta .tournament {
  font-size: 0.75rem;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ---------- Standings Table ---------- */
.standings-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}
.standings-table thead th {
  background: var(--bg-secondary);
  padding: 14px 18px;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}
.standings-table tbody td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}
.standings-table tbody tr:last-child td { border-bottom: none; }
.standings-table tbody tr { transition: background var(--transition); }
.standings-table tbody tr:hover { background: var(--bg-card-hover); }
.standings-table tbody tr.highlight {
  background: rgba(200, 155, 60, 0.1);
  border-left: 3px solid var(--gold);
  box-shadow: inset 0 0 20px rgba(200, 155, 60, 0.05);
}
.standings-table .rank {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--gold);
}
.standings-table .team-cell {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: var(--text-bright);
}
.standings-table .team-cell .team-logo-sm {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  font-weight: 700;
}
.standings-table .team-cell .team-logo-sm.zyb-logo {
  background: none;
  border-radius: 0;
}
.standings-table .team-cell .team-logo-sm.zyb-logo img {
  width: 28px;
  height: auto;
  filter: invert(1);
}
.standings-table .wins { color: var(--green); }
.standings-table .losses { color: var(--red); }

/* ---------- Blog ---------- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 25px;
}
.blog-card { display: flex; flex-direction: column; }
.blog-card .card-image {
  height: 200px;
  background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-card) 50%, rgba(200, 155, 60, 0.04) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  transition: all var(--transition);
}
.blog-card:hover .card-image {
  background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-card) 40%, rgba(200, 155, 60, 0.08) 100%);
}
.blog-card .card-image .placeholder-icon {
  font-size: 3rem;
  opacity: 0.3;
}
.blog-card .card-image .category-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--gold);
  color: var(--bg-primary);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.blog-card .card-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.blog-card .card-date {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.blog-card .card-title {
  font-size: 1.1rem;
  margin-bottom: 10px;
  line-height: 1.4;
}
.blog-card .card-title a { color: var(--text-bright); }
.blog-card .card-title a:hover { color: var(--gold); }
.blog-card .card-excerpt {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  flex: 1;
}
.blog-card .card-footer {
  padding: 15px 20px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.blog-card .read-more {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

/* ---------- Blog Article ---------- */
.article-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 100px 20px 0;
}
.article-header { margin-bottom: 40px; }
.article-header .category-tag {
  display: inline-block;
  background: var(--gold);
  color: var(--bg-primary);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 15px;
}
.article-header h1 {
  font-size: 2.2rem;
  margin-bottom: 15px;
  line-height: 1.3;
}
.article-meta {
  display: flex;
  gap: 20px;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.article-body { line-height: 1.8; font-size: 1.05rem; }
.article-body p { margin-bottom: 20px; }
.article-body h2 {
  font-size: 1.5rem;
  margin: 35px 0 15px;
}
.article-body h3 {
  font-size: 1.2rem;
  margin: 25px 0 12px;
}
.article-body blockquote {
  border-left: 3px solid var(--gold);
  padding: 20px 25px;
  margin: 30px 0;
  background: linear-gradient(135deg, var(--bg-card), rgba(200, 155, 60, 0.04));
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  color: var(--text);
  font-size: 1.1rem;
  line-height: 1.7;
}
/* Breadcrumb */
.breadcrumb {
  max-width: 760px;
  margin: 0 auto;
  padding: 90px 20px 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--cyan); }
.breadcrumb .sep { margin: 0 8px; opacity: 0.5; }

/* Related Articles */
.related-articles {
  max-width: 760px;
  margin: 50px auto 0;
  padding: 30px 20px;
  border-top: 1px solid var(--border);
}
.related-articles h3 {
  font-size: 1.1rem;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
}
.related-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: 20px 20px 20px 18px;
  transition: all var(--transition);
  position: relative;
  display: block;
}
.related-card::after {
  content: '→';
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold);
  font-size: 1.2rem;
  opacity: 0.4;
  transition: all var(--transition);
}
.related-card:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(200, 155, 60, 0.1);
  background: var(--bg-card-hover);
}
.related-card:hover::after {
  opacity: 1;
  transform: translateY(-50%) translateX(3px);
}
.related-card .related-category {
  font-size: 0.7rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}
.related-card .related-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  color: var(--text-bright);
  line-height: 1.4;
  margin-bottom: 6px;
  padding-right: 25px;
}
.related-card .related-date {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.article-body ul, .article-body ol {
  padding-left: 25px;
  margin-bottom: 20px;
}
.article-body li { margin-bottom: 8px; }

/* ---------- Footer ---------- */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 50px 0 25px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-about .footer-logo {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--text-bright);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-about .footer-logo img {
  width: 36px;
  height: auto;
  filter: invert(1);
}
.footer-about .footer-logo span { color: var(--gold); }
.footer-about p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.footer h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 18px;
  color: var(--gold);
}
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 10px; }
.footer ul a {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: color var(--transition);
}
.footer ul a:hover { color: var(--cyan); }
.footer-social {
  display: flex;
  gap: 12px;
}
.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 1rem;
  transition: all var(--transition);
}
.footer-social a:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(200, 155, 60, 0.1);
}
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ---------- Page Header (inner pages) ---------- */
.page-header {
  padding: 120px 0 50px;
  text-align: center;
  background:
    radial-gradient(ellipse at 50% 80%, rgba(200, 155, 60, 0.06) 0%, transparent 60%),
    var(--bg-primary);
  border-bottom: 1px solid var(--border);
}
.page-header h1 { font-size: 2.5rem; margin-bottom: 10px; }
.page-header p { color: var(--text-muted); font-size: 1.05rem; }

/* ---------- Tabs ---------- */
.tabs {
  display: flex;
  justify-content: center;
  gap: 5px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.tab-btn {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 10px 22px;
  border-radius: var(--radius);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
  font-family: var(--font-main);
}
.tab-btn:hover { border-color: var(--gold); color: var(--text-bright); }
.tab-btn.active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--bg-primary);
  font-weight: 700;
}
.tab-content { display: none; }
.tab-content.active { display: block; }


/* ---------- Animations ---------- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* ---------- Scroll Animations ---------- */
.fade-in {
  opacity: 0;
  transform: translateY(25px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  .hamburger { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--bg-secondary);
    flex-direction: column;
    padding: 20px;
    gap: 0;
    border-bottom: 1px solid var(--border);
    z-index: 1000;
  }
  .nav-links.active { display: flex; }
  .nav-links a { padding: 14px 0; border-bottom: 1px solid var(--border); }
  .nav-links a::after,
  .nav-links a.active::after,
  .nav-links a:hover::after { display: none; }
  .nav-links li:last-child a { border-bottom: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .match-card { flex-direction: column; gap: 12px; text-align: center; }
  .match-team.home { justify-content: center; }
  .match-meta { text-align: center; }
  .hero h1 { font-size: 2.2rem; }
  .section { padding: 50px 0; }
  .section-title { font-size: 1.5rem; }
  .players-grid { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 15px; }
  .blog-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .players-grid { grid-template-columns: 1fr 1fr; }
}

/* ---------- Twitch Embed ---------- */
.twitch-section { background: var(--bg-secondary); }
.twitch-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.twitch-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
}
.twitch-card:hover {
  border-color: #9146ff;
  box-shadow: 0 5px 20px rgba(145, 70, 255, 0.15);
}
.twitch-card .twitch-preview {
  height: 160px;
  background: linear-gradient(135deg, #1a1a2e, #2d1b4e);
  display: flex;
  align-items: center;
  justify-content: center;
}
.twitch-card .twitch-preview .twitch-icon {
  font-size: 3rem;
  color: #9146ff;
  opacity: 0.5;
}
.twitch-card .twitch-info {
  padding: 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.twitch-card .twitch-name {
  font-weight: 600;
  color: var(--text-bright);
}
.twitch-card .twitch-link {
  color: #9146ff;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}


/* ---------- Update Banner ---------- */
.update-banner {
  background: linear-gradient(90deg, rgba(200, 155, 60, 0.1), rgba(10, 200, 185, 0.1));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 15px 20px;
  text-align: center;
  margin-bottom: 30px;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.update-banner strong { color: var(--gold); }

/* ---------- Tag ---------- */
.tag {
  display: inline-block;
  padding: 3px 10px;
  background: rgba(10, 200, 185, 0.1);
  border: 1px solid rgba(10, 200, 185, 0.3);
  border-radius: 20px;
  font-size: 0.7rem;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.tag.tag-gold {
  background: rgba(200, 155, 60, 0.1);
  border-color: rgba(200, 155, 60, 0.3);
  color: var(--gold);
}

/* ---------- Maillot Page ---------- */
.maillot-hero {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding-top: 70px;
}
.maillot-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 40%, rgba(200, 155, 60, 0.1) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 60%, rgba(10, 200, 185, 0.08) 0%, transparent 50%),
    var(--bg-primary);
}
.maillot-hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 0 20px;
}
.maillot-hero h1 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  margin-bottom: 20px;
  animation: fadeInUp 0.8s ease 0.2s both;
}
.maillot-hero h1 .highlight {
  background: linear-gradient(135deg, var(--gold), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.maillot-hero p {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeInUp 0.8s ease 0.4s both;
}

/* Maillot Steps */
.maillot-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}
.maillot-step {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  text-align: center;
  transition: all var(--transition);
  position: relative;
}
.maillot-step:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}
.step-number {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), #b8860b);
  color: var(--bg-primary);
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.maillot-step h3 {
  font-size: 1.1rem;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.maillot-step p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Maillot Grid */
.maillot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}
.maillot-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
}
.maillot-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(200, 155, 60, 0.15);
}
.maillot-preview {
  height: 180px;
  background: linear-gradient(135deg, #1a1a2e, #2a1a3e);
  display: flex;
  align-items: center;
  justify-content: center;
}
.maillot-icon {
  font-size: 4rem;
  opacity: 0.4;
}
.maillot-info {
  padding: 18px;
  text-align: center;
}
.maillot-name {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--text-bright);
  margin-bottom: 4px;
  letter-spacing: 0.5px;
}
.maillot-author {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.maillot-votes {
  font-size: 0.85rem;
  color: var(--text);
}

/* FAQ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 25px;
  transition: all var(--transition);
}
.faq-item:hover {
  border-color: var(--gold);
}
.faq-item h3 {
  font-size: 1rem;
  margin-bottom: 10px;
  color: var(--gold);
}
.faq-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* CTA Banner (for internal linking) */
.cta-banner {
  background: linear-gradient(135deg, rgba(200, 155, 60, 0.1), rgba(10, 200, 185, 0.08));
  border: 1px solid rgba(200, 155, 60, 0.25);
  border-radius: var(--radius);
  padding: 28px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 30px 0;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--gold), var(--cyan));
  border-radius: 2px 0 0 2px;
}
.cta-banner:hover {
  border-color: var(--gold);
  box-shadow: 0 4px 20px rgba(200, 155, 60, 0.12);
  transform: translateY(-1px);
}
.cta-banner-text h3 {
  font-size: 1.05rem;
  margin-bottom: 6px;
}
.cta-banner-text p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .maillot-steps { grid-template-columns: 1fr; }
  .maillot-grid { grid-template-columns: 1fr 1fr; }
  .cta-banner { flex-direction: column; text-align: center; }
}

/* ============================================
   CALENDAR PAGE
   ============================================ */
.hero-mini { padding: 130px 0 20px; text-align: center; }
.hero-mini .section-subtitle { color: var(--text-muted); margin-top: 10px; }

.calendar-banner {
  display: flex; align-items: center; gap: 15px; justify-content: center;
  margin-top: 20px; flex-wrap: wrap;
}
.calendar-format { color: var(--text-muted); font-size: 0.9rem; }

.badge { display: inline-block; padding: 4px 12px; border-radius: 4px; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; }
.badge-live { background: var(--gold); color: #0a0a0f; }
.badge-bo1 { background: var(--border); color: var(--text); }
.badge-ended { background: var(--text-muted); color: #0a0a0f; }

.watch-banner {
  display: flex; align-items: center; justify-content: space-between;
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 25px 30px; margin-bottom: 40px; gap: 20px; flex-wrap: wrap;
}
.watch-banner h2 { font-family: var(--font-heading); font-size: 1.2rem; color: var(--text-bright); margin-bottom: 5px; }
.watch-banner p { color: var(--text-muted); font-size: 0.9rem; margin: 0; }
.watch-links { display: flex; gap: 10px; flex-wrap: wrap; }

.calendar-week { margin-bottom: 35px; }
.week-title {
  font-family: var(--font-heading); font-size: 1.1rem; color: var(--text-bright);
  margin-bottom: 15px; padding-bottom: 8px; border-bottom: 1px solid var(--border);
}
.week-dates { color: var(--text-muted); font-family: var(--font-main); font-size: 0.85rem; font-weight: 400; }

.schedule-card {
  display: flex; align-items: center; justify-content: space-between;
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 15px 20px; margin-bottom: 10px; gap: 15px; flex-wrap: wrap;
  transition: var(--transition);
}
.schedule-card:hover { border-color: var(--gold); background: var(--bg-card-hover); }
.schedule-card.upcoming { border-left: 3px solid var(--gold); }
.schedule-card.win { border-left: 3px solid var(--green); }
.schedule-card.loss { border-left: 3px solid var(--red); }

.schedule-date { display: flex; flex-direction: column; align-items: center; min-width: 60px; }
.schedule-date .day { font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; }
.schedule-date .date-num { font-weight: 700; color: var(--text-bright); font-size: 0.9rem; }
.schedule-date .time { font-size: 0.8rem; color: var(--gold); font-weight: 600; }

.schedule-teams { display: flex; align-items: center; gap: 12px; flex: 1; justify-content: center; }
.schedule-teams .team { font-weight: 600; font-size: 0.95rem; }
.schedule-teams .team.zyb { color: var(--gold); }
.schedule-teams .vs { color: var(--text-muted); font-size: 0.8rem; }

.schedule-meta { display: flex; align-items: center; gap: 10px; }
.watch-link { color: var(--cyan); font-size: 0.85rem; text-decoration: none; font-weight: 600; }
.watch-link:hover { text-decoration: underline; }

.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; margin-top: 20px; }
.info-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 25px; text-align: center;
}
.info-card .info-icon { font-size: 2rem; display: block; margin-bottom: 10px; }
.info-card h4 { font-family: var(--font-heading); font-size: 0.95rem; color: var(--text-bright); margin-bottom: 8px; }
.info-card p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.5; }

.teams-list { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 15px; }
.team-tag {
  padding: 8px 16px; background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); font-size: 0.85rem; color: var(--text); font-weight: 600;
}
.team-tag.zyb { border-color: var(--gold); color: var(--gold); background: rgba(200, 155, 60, 0.1); }

/* ============================================
   ARCHIVES PAGE
   ============================================ */
.archive-timeline {
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: center;
  margin-bottom: 20px; padding: 20px 0;
}
.timeline-item {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 12px 18px; background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); min-width: 160px; text-align: center;
}
.timeline-item.active { border-color: var(--gold); background: rgba(200, 155, 60, 0.08); }
.timeline-date { font-weight: 700; color: var(--gold); font-size: 0.8rem; text-transform: uppercase; }
.timeline-event { font-size: 0.8rem; color: var(--text-muted); }

.archive-section { padding-top: 10px; }
.archive-banner {
  display: flex; align-items: center; gap: 12px;
  background: var(--bg-card); padding: 12px 20px; border-radius: var(--radius);
  border: 1px solid var(--border); font-size: 0.9rem; color: var(--text-muted);
  flex-wrap: wrap;
}

.roster-mini { display: flex; flex-wrap: wrap; gap: 10px; }
.player-tag {
  padding: 6px 14px; background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); font-size: 0.85rem; color: var(--text);
}
.player-tag.sub { opacity: 0.6; }

.results-table-wrapper { overflow-x: auto; margin-top: 15px; }
.results-table {
  width: 100%; border-collapse: collapse; font-size: 0.9rem;
}
.results-table th {
  background: var(--bg-card); padding: 10px 15px; text-align: left;
  font-weight: 700; color: var(--text-bright); border-bottom: 2px solid var(--border);
}
.results-table td {
  padding: 8px 15px; border-bottom: 1px solid var(--border); color: var(--text);
}
.results-table tr.win td { background: rgba(45, 206, 137, 0.05); }
.results-table tr.loss td { background: rgba(232, 64, 87, 0.05); }
.results-table tr.zyb-row td { background: rgba(200, 155, 60, 0.1); font-weight: 700; }

.badge-win { color: #0a0a0f; background: var(--green); font-weight: 700; font-size: 0.75rem; letter-spacing: 0.5px; }
.badge-loss { color: #0a0a0f; background: var(--red); font-weight: 700; font-size: 0.75rem; letter-spacing: 0.5px; }
.result-note { color: var(--text-muted); font-size: 0.85rem; margin-top: 8px; font-style: italic; }

.former-players-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 15px; }
.former-player-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 20px;
}
.former-player-card h4 { font-family: var(--font-heading); color: var(--text-bright); font-size: 1rem; margin-bottom: 4px; }
.former-player-card .player-role { color: var(--gold); font-size: 0.85rem; font-weight: 600; margin-bottom: 8px; }
.former-player-card .player-detail { color: var(--text-muted); font-size: 0.85rem; line-height: 1.5; }

/* Calendar & Archive responsive */
@media (max-width: 768px) {
  .watch-banner { flex-direction: column; text-align: center; }
  .schedule-card { flex-direction: column; text-align: center; }
  .schedule-teams { flex-direction: column; gap: 6px; }
  .info-grid { grid-template-columns: 1fr; }
  .archive-timeline { flex-direction: column; align-items: stretch; }
}
