/* ==========================================
   PORTUGAL WC 2026 — EDITORIAL FOOTBALL THEME
   ========================================== */

:root {
  --red: #D62828;
  --red-dark: #a01e1e;
  --red-light: #f04040;
  --green: #006600;
  --green-mid: #008800;
  --green-light: #00aa00;
  --gold: #FFB800;
  --gold-dark: #cc9200;
  --black: #0a0a0a;
  --dark: #111;
  --dark2: #1a1a1a;
  --dark3: #222;
  --mid: #333;
  --grey: #888;
  --light-grey: #ccc;
  --off-white: #f4f0eb;
  --white: #fff;
  --font-display: 'Bebas Neue', sans-serif;
  --font-cond: 'Barlow Condensed', sans-serif;
  --font-body: 'Barlow', sans-serif;
  --radius: 4px;
  --radius-lg: 8px;
  --shadow: 0 4px 20px rgba(0,0,0,0.4);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--off-white);
  color: var(--dark);
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; }

/* ========== CONTAINER ========== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

/* ========== NAVBAR ========== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: var(--black);
  border-bottom: 3px solid var(--red);
  height: 64px;
}
.nav-container {
  max-width: 1200px; margin: 0 auto; padding: 0 1.5rem;
  height: 100%; display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; gap: 0.75rem; }
.logo-flag { font-size: 2rem; }
.logo-text { display: flex; flex-direction: column; }
.logo-main { font-family: var(--font-display); font-size: 1.3rem; color: var(--white); letter-spacing: 0.1em; line-height: 1; }
.logo-sub { font-family: var(--font-cond); font-size: 0.65rem; color: var(--gold); letter-spacing: 0.2em; text-transform: uppercase; }
.nav-links { display: flex; list-style: none; gap: 0.25rem; }
.nav-links a {
  font-family: var(--font-cond); font-weight: 600; font-size: 0.9rem;
  letter-spacing: 0.05em; text-transform: uppercase; color: var(--light-grey);
  padding: 0.4rem 0.8rem; border-radius: var(--radius);
  transition: all 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--white); background: var(--red); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 0.5rem; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--white); transition: all 0.3s; }

/* ========== HERO ========== */
.hero {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden; padding-top: 64px;
  background: var(--black);
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(214,40,40,0.2) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 30%, rgba(0,102,0,0.15) 0%, transparent 50%),
    linear-gradient(180deg, #0a0a0a 0%, #111 100%);
  background-image: 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: 2; text-align: center; padding: 2rem 1.5rem;
  animation: fadeUp 0.8s ease-out;
}
@keyframes fadeUp { from { opacity:0; transform: translateY(30px); } to { opacity:1; transform: translateY(0); } }
.hero-badge {
  display: inline-block; font-family: var(--font-cond); font-size: 0.75rem;
  letter-spacing: 0.2em; color: var(--gold); border: 1px solid var(--gold);
  padding: 0.3rem 1rem; border-radius: 2px; margin-bottom: 1.5rem;
}
.hero-title {
  font-family: var(--font-display); font-size: clamp(5rem, 15vw, 12rem);
  color: var(--white); letter-spacing: 0.05em; line-height: 0.85;
  text-shadow: 0 0 60px rgba(214,40,40,0.4);
  display: flex; align-items: center; justify-content: center; gap: 1rem;
}
.hero-flag-big { font-size: clamp(3rem, 8vw, 6rem); }
.hero-subtitle {
  font-family: var(--font-cond); font-size: clamp(1rem, 2.5vw, 1.4rem);
  color: var(--grey); letter-spacing: 0.1em; text-transform: uppercase; margin-top: 1rem;
}
.hero-stats-row {
  display: flex; justify-content: center; gap: 2rem; margin: 2.5rem 0;
  flex-wrap: wrap;
}
.hero-stat { text-align: center; }
.hs-num { display: block; font-family: var(--font-display); font-size: 2.8rem; color: var(--red-light); line-height: 1; }
.hs-label { font-family: var(--font-cond); font-size: 0.7rem; letter-spacing: 0.15em; color: var(--grey); text-transform: uppercase; }
.hero-cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.hero-scroll {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  font-family: var(--font-cond); font-size: 0.65rem; letter-spacing: 0.2em;
  color: var(--grey); text-transform: uppercase;
  animation: bounce 2s infinite;
}
.scroll-line { width: 1px; height: 40px; background: linear-gradient(to bottom, var(--grey), transparent); }
@keyframes bounce { 0%,100%{transform:translateX(-50%) translateY(0)} 50%{transform:translateX(-50%) translateY(8px)} }

/* ========== BUTTONS ========== */
.btn {
  display: inline-block; font-family: var(--font-cond); font-weight: 700;
  font-size: 0.9rem; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.75rem 2rem; border-radius: var(--radius); transition: all 0.2s; cursor: pointer;
  border: 2px solid transparent;
}
.btn-primary { background: var(--red); color: var(--white); }
.btn-primary:hover { background: var(--red-dark); transform: translateY(-1px); box-shadow: 0 4px 15px rgba(214,40,40,0.5); }
.btn-outline { background: transparent; color: var(--white); border-color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--black); }
.btn-sm { padding: 0.4rem 1rem; font-size: 0.8rem; }

/* ========== NEXT MATCH BANNER ========== */
.next-match-banner {
  background: var(--dark2); border-top: 2px solid var(--red); border-bottom: 2px solid var(--red);
  padding: 2rem 0;
}
.nmb-label {
  font-family: var(--font-cond); font-size: 0.7rem; letter-spacing: 0.25em;
  color: var(--gold); text-transform: uppercase; margin-bottom: 1rem; text-align: center;
}
.nmb-fixture {
  display: flex; align-items: center; justify-content: center; gap: 2rem;
  margin-bottom: 1.5rem; flex-wrap: wrap;
}
.nmb-team { display: flex; flex-direction: column; align-items: center; gap: 0.3rem; }
.nmb-flag { font-size: 3rem; }
.nmb-name { font-family: var(--font-cond); font-weight: 700; font-size: 1.3rem; color: var(--white); letter-spacing: 0.05em; text-transform: uppercase; }
.nmb-odds-val { font-family: var(--font-display); font-size: 2rem; color: var(--gold); }
.nmb-vs { text-align: center; }
.nmb-vs-text { font-family: var(--font-display); font-size: 2.5rem; color: var(--red); }
.nmb-date { font-family: var(--font-cond); color: var(--white); font-size: 0.9rem; }
.nmb-venue { font-family: var(--font-body); color: var(--grey); font-size: 0.8rem; }
.nmb-draw-odds { font-family: var(--font-cond); color: var(--light-grey); font-size: 0.85rem; margin-top: 0.3rem; }
.next-match-banner .container { text-align: center; }

/* ========== SECTIONS ========== */
.section { padding: 4rem 0; }
.section-dark { background: var(--dark); color: var(--white); }
.section-dark .section-title { color: var(--white); }
.section-accent { background: var(--red-dark); color: var(--white); }
.section-accent .section-title { color: var(--white); }
.section-header { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 1.5rem; flex-wrap: wrap; gap: 0.5rem; }
.section-title { font-family: var(--font-display); font-size: clamp(1.8rem, 4vw, 2.5rem); letter-spacing: 0.05em; line-height: 1; }
.section-link { font-family: var(--font-cond); font-size: 0.85rem; letter-spacing: 0.05em; color: var(--red); transition: color 0.2s; }
.section-link:hover { color: var(--red-dark); }
.section-dark .section-link { color: var(--gold); }
.section-accent .section-link { color: var(--white); }

/* ========== TABLE ========== */
.table-wrap { overflow-x: auto; }
.standings-table, .scorers-table, .bm-table, .wc-winner-table {
  width: 100%; border-collapse: collapse; font-family: var(--font-cond);
  font-size: 0.95rem;
}
.standings-table thead th, .scorers-table thead th, .bm-table thead th, .wc-winner-table thead th {
  background: var(--dark); color: var(--white); padding: 0.75rem 1rem;
  text-align: left; font-weight: 600; letter-spacing: 0.08em; font-size: 0.75rem; text-transform: uppercase;
}
.standings-table tbody tr, .scorers-table tbody tr, .bm-table tbody tr, .wc-winner-table tbody tr {
  border-bottom: 1px solid #e0dbd5;
  transition: background 0.15s;
}
.standings-table tbody tr:hover, .scorers-table tbody tr:hover, .bm-table tbody tr:hover, .wc-winner-table tbody tr:hover { background: #ece8e2; }
.standings-table td, .scorers-table td, .bm-table td, .wc-winner-table td { padding: 0.8rem 1rem; }
.highlight-row { background: rgba(214,40,40,0.08) !important; border-left: 3px solid var(--red); font-weight: 600; }
.qualified { position: relative; }
.pos-cell { font-family: var(--font-display); font-size: 1.1rem; color: var(--grey); }
.pts-cell { font-family: var(--font-display); font-size: 1.3rem; color: var(--dark); }
.team-cell { display: flex; align-items: center; gap: 0.5rem; }
.team-flag-sm { font-size: 1.2rem; }
.pos-gd { color: var(--green-mid); font-weight: 600; }
.neg-gd { color: var(--red); font-weight: 600; }
.form-cell { display: flex; gap: 0.25rem; }
.form-badge {
  display: inline-block; width: 22px; height: 22px; border-radius: 50%;
  font-size: 0.65rem; font-weight: 700; line-height: 22px; text-align: center; color: var(--white);
}
.form-w { background: var(--green-mid); }
.form-d { background: var(--grey); }
.form-l { background: var(--red); }
.qualified-note { margin-top: 0.75rem; font-family: var(--font-cond); font-size: 0.8rem; color: var(--grey); display: flex; align-items: center; gap: 0.5rem; }
.q-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--green-mid); }

/* ========== WC ODDS GRID ========== */
.wc-odds-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 1rem; }
.wc-odds-card {
  background: var(--dark3); border: 1px solid #333; border-radius: var(--radius-lg);
  padding: 1rem; text-align: center; transition: transform 0.2s, border-color 0.2s;
}
.wc-odds-card:hover { transform: translateY(-3px); }
.portugal-card { background: linear-gradient(145deg, rgba(214,40,40,0.25), var(--dark3)); border-color: var(--red); box-shadow: 0 0 20px rgba(214,40,40,0.25); }
.wc-rank { font-family: var(--font-cond); font-size: 0.65rem; color: var(--grey); letter-spacing: 0.1em; }
.wc-flag { font-size: 2rem; margin: 0.25rem 0; }
.wc-team { font-family: var(--font-cond); font-weight: 700; font-size: 0.85rem; color: var(--white); margin-bottom: 0.5rem; }
.wc-odds { font-family: var(--font-display); font-size: 1.8rem; color: var(--gold); line-height: 1; }
.wc-prob-bar { height: 4px; background: #444; border-radius: 2px; margin: 0.5rem 0 0.25rem; overflow: hidden; }
.wc-prob-fill { height: 100%; background: var(--red); border-radius: 2px; transition: width 0.8s ease; }
.portugal-card .wc-prob-fill { background: var(--gold); }
.wc-prob-label { font-family: var(--font-cond); font-size: 0.7rem; color: var(--grey); }

/* ========== NEWS ========== */
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; }
.news-card {
  background: var(--white); border-radius: var(--radius-lg); padding: 1.5rem;
  border: 1px solid #e0dbd5; transition: transform 0.2s, box-shadow 0.2s;
  display: flex; flex-direction: column; gap: 0.75rem;
}
.news-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.news-card-featured { border-top: 4px solid var(--red); }
.news-cat { font-family: var(--font-cond); font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--red); font-weight: 700; }
.news-title { font-family: var(--font-cond); font-weight: 700; font-size: 1.1rem; line-height: 1.3; }
.news-title a:hover { color: var(--red); }
.news-excerpt { font-size: 0.9rem; color: var(--grey); flex: 1; }
.news-meta { display: flex; gap: 1rem; font-family: var(--font-cond); font-size: 0.75rem; color: var(--grey); }

/* ========== TOP SCORERS STRIP ========== */
.scorers-row { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1rem; }
.scorer-card {
  background: rgba(255,255,255,0.15); border-radius: var(--radius); padding: 1rem 1.5rem;
  display: flex; flex-direction: column; align-items: center; gap: 0.25rem;
  transition: background 0.2s;
}
.scorer-card:hover { background: rgba(255,255,255,0.25); }
.scorer-rank { font-family: var(--font-cond); font-size: 0.65rem; color: rgba(255,255,255,0.6); letter-spacing: 0.1em; }
.scorer-name { font-family: var(--font-cond); font-weight: 700; color: var(--white); font-size: 0.95rem; }
.scorer-goals { font-family: var(--font-display); font-size: 1.8rem; color: var(--gold); line-height: 1; }
.scorer-goals small { font-family: var(--font-cond); font-size: 0.65rem; color: rgba(255,255,255,0.6); }
.scorer-assists { font-family: var(--font-cond); font-size: 0.75rem; color: rgba(255,255,255,0.7); }
.scorer-assists small { font-size: 0.65rem; }

/* ========== PAGE HERO ========== */
.page-hero {
  background: var(--black); padding: 6rem 0 3rem; margin-top: 64px;
  border-bottom: 3px solid var(--red);
}
.page-hero-sm { padding: 4rem 0 1rem; }
.page-hero-badge { font-family: var(--font-cond); font-size: 0.7rem; letter-spacing: 0.2em; color: var(--gold); text-transform: uppercase; margin-bottom: 0.5rem; }
.page-hero-title { font-family: var(--font-display); font-size: clamp(2.5rem, 6vw, 4rem); color: var(--white); letter-spacing: 0.05em; line-height: 1; }
.page-hero-sub { font-family: var(--font-cond); font-size: 1rem; color: var(--grey); margin-top: 0.5rem; letter-spacing: 0.05em; }
.back-link { font-family: var(--font-cond); color: var(--gold); font-size: 0.9rem; letter-spacing: 0.05em; }
.back-link:hover { color: var(--white); }

/* ========== COACH CARD ========== */
.coach-card {
  background: var(--dark); color: var(--white); border-radius: var(--radius-lg);
  padding: 1.5rem 2rem; display: flex; align-items: center; gap: 1.5rem;
  margin-bottom: 2rem; border: 1px solid #333; flex-wrap: wrap;
}
.coach-icon { font-size: 3rem; }
.coach-info { flex: 1; }
.coach-label { font-family: var(--font-cond); font-size: 0.65rem; letter-spacing: 0.2em; color: var(--gold); text-transform: uppercase; }
.coach-name { font-family: var(--font-display); font-size: 1.8rem; letter-spacing: 0.05em; }
.coach-meta { font-family: var(--font-cond); font-size: 0.85rem; color: var(--grey); }
.coach-record { display: flex; gap: 1rem; }
.cr-item { text-align: center; }
.cr-num { display: block; font-family: var(--font-display); font-size: 2rem; line-height: 1; }
.cr-lab { font-family: var(--font-cond); font-size: 0.7rem; color: var(--grey); letter-spacing: 0.1em; }
.cr-w { color: var(--green-light); }
.cr-d { color: var(--gold); }
.cr-l { color: var(--red-light); }

/* ========== FILTER TABS ========== */
.filter-tabs { display: flex; gap: 0.5rem; margin-bottom: 2rem; flex-wrap: wrap; }
.filter-btn {
  font-family: var(--font-cond); font-weight: 700; font-size: 0.85rem;
  letter-spacing: 0.05em; text-transform: uppercase; padding: 0.4rem 1.2rem;
  border: 2px solid #ddd; background: transparent; border-radius: 2px; cursor: pointer; transition: all 0.2s;
}
.filter-btn:hover { border-color: var(--red); color: var(--red); }
.filter-btn.active { background: var(--red); border-color: var(--red); color: var(--white); }

/* ========== SQUAD ========== */
.squad-section { margin-bottom: 2.5rem; }
.squad-pos-title { font-family: var(--font-display); font-size: 1.5rem; letter-spacing: 0.05em; margin-bottom: 1rem; display: flex; align-items: center; gap: 0.5rem; }
.pos-icon { font-size: 1.2rem; }
.squad-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 0.75rem; }
.player-card {
  background: var(--white); border: 1px solid #e0dbd5; border-radius: var(--radius);
  padding: 1rem; display: flex; align-items: center; gap: 0.75rem;
  position: relative; transition: all 0.2s; overflow: hidden;
}
.player-card::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: transparent; transition: background 0.2s; }
.player-card:hover { box-shadow: var(--shadow-sm); transform: translateX(3px); }
.player-key::before { background: var(--red); }
.player-captain::before { background: var(--gold); }
.player-number { font-family: var(--font-display); font-size: 1.8rem; color: #ddd; min-width: 2.5rem; text-align: center; }
.player-key .player-number { color: var(--red); }
.player-captain .player-number { color: var(--gold); }
.player-info { flex: 1; }
.player-name { font-family: var(--font-cond); font-weight: 700; font-size: 0.95rem; line-height: 1.2; display: flex; align-items: center; gap: 0.4rem; }
.captain-badge { display: inline-block; background: var(--gold); color: var(--black); font-family: var(--font-cond); font-size: 0.6rem; font-weight: 700; padding: 0.1rem 0.3rem; border-radius: 2px; }
.player-club { font-size: 0.78rem; color: var(--grey); }
.player-stats { display: flex; gap: 0.5rem; }
.ps-item { text-align: center; }
.ps-val { display: block; font-family: var(--font-display); font-size: 1.2rem; line-height: 1; }
.ps-lab { font-family: var(--font-cond); font-size: 0.6rem; color: var(--grey); letter-spacing: 0.05em; text-transform: uppercase; }
.key-badge {
  position: absolute; top: 0.4rem; right: 0.4rem;
  font-family: var(--font-cond); font-size: 0.55rem; font-weight: 700; letter-spacing: 0.1em;
  color: var(--red); border: 1px solid var(--red); padding: 0.1rem 0.3rem; border-radius: 2px;
}

/* ========== MATCHES ========== */
.matches-list { display: flex; flex-direction: column; gap: 1rem; }
.match-row {
  background: var(--white); border: 1px solid #e0dbd5; border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem; transition: box-shadow 0.2s;
}
.match-row:hover { box-shadow: var(--shadow-sm); }
.match-upcoming { border-left: 4px solid var(--gold); }
.match-played { border-left: 4px solid var(--green-mid); }
.match-meta { display: flex; gap: 1rem; align-items: center; margin-bottom: 0.75rem; flex-wrap: wrap; }
.match-stage { font-family: var(--font-cond); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--dark); }
.match-date { font-family: var(--font-cond); font-size: 0.8rem; color: var(--grey); }
.match-status { font-family: var(--font-cond); font-size: 0.65rem; font-weight: 700; letter-spacing: 0.1em; padding: 0.15rem 0.5rem; border-radius: 2px; text-transform: uppercase; }
.status-ft { background: var(--green-mid); color: var(--white); }
.status-upcoming { background: var(--gold); color: var(--black); }
.match-fixture { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.mf-team { display: flex; align-items: center; gap: 0.5rem; flex: 1; }
.mf-home { justify-content: flex-end; flex-direction: row-reverse; }
.mf-away { justify-content: flex-start; }
.mf-name { font-family: var(--font-cond); font-weight: 700; font-size: 1.1rem; text-transform: uppercase; }
.mf-flag { font-size: 1.8rem; }
.mf-score { text-align: center; min-width: 100px; }
.mf-result { font-family: var(--font-display); font-size: 2rem; color: var(--dark); }
.mf-vs { font-family: var(--font-display); font-size: 1.5rem; color: var(--grey); }
.mf-time { font-family: var(--font-cond); font-size: 0.8rem; color: var(--gold); }
.match-scorers { font-family: var(--font-body); font-size: 0.82rem; color: var(--grey); margin-top: 0.75rem; border-top: 1px solid #f0ece6; padding-top: 0.5rem; }

/* ========== ODDS ========== */
.odds-feature-card {
  background: var(--white); border: 1px solid #e0dbd5; border-radius: var(--radius-lg);
  overflow: hidden; margin-bottom: 2rem; box-shadow: var(--shadow-sm);
}
.ofc-header {
  background: var(--dark); color: var(--white); padding: 1.25rem 1.5rem;
  display: flex; gap: 1.5rem; align-items: center; flex-wrap: wrap;
}
.ofc-stage { font-family: var(--font-display); font-size: 1.3rem; letter-spacing: 0.05em; flex: 1; }
.ofc-date { font-family: var(--font-cond); font-size: 0.85rem; color: var(--gold); }
.ofc-venue { font-family: var(--font-cond); font-size: 0.8rem; color: var(--grey); }
.ofc-main-odds { display: grid; grid-template-columns: 1fr auto 1fr; gap: 1rem; padding: 2rem 1.5rem; align-items: center; }
.ofc-team { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; }
.ofc-flag { font-size: 3rem; }
.ofc-team-name { font-family: var(--font-cond); font-weight: 700; font-size: 1.1rem; text-transform: uppercase; letter-spacing: 0.05em; }
.ofc-odd-val { font-family: var(--font-display); font-size: 3rem; color: var(--dark); line-height: 1; }
.ofc-portugal { color: var(--red); }
.ofc-prob-label { font-family: var(--font-cond); font-size: 0.75rem; color: var(--grey); }
.ofc-draw { text-align: center; }
.ofc-draw-label { font-family: var(--font-cond); font-size: 0.7rem; letter-spacing: 0.15em; color: var(--grey); text-transform: uppercase; }
.prob-bars { padding: 0 1.5rem 1.5rem; display: flex; flex-direction: column; gap: 0.75rem; }
.pb-row { display: flex; align-items: center; gap: 0.75rem; }
.pb-label { font-family: var(--font-cond); font-size: 0.85rem; min-width: 140px; text-align: right; }
.pb-bar { flex: 1; height: 10px; background: #f0ece6; border-radius: 5px; overflow: hidden; }
.pb-fill { height: 100%; border-radius: 5px; transition: width 0.8s ease; }
.pb-home { background: var(--red); }
.pb-draw { background: var(--grey); }
.pb-away { background: var(--dark3); }
.pb-pct { font-family: var(--font-cond); font-weight: 700; font-size: 0.85rem; min-width: 40px; }
.bm-table-wrap { padding: 0 1.5rem 1.5rem; overflow-x: auto; }
.bm-table-title { font-family: var(--font-cond); font-size: 0.8rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--grey); margin-bottom: 0.75rem; }
.best-odd { color: var(--green-mid); font-weight: 700; }
.best-badge { display: inline-block; background: var(--green-mid); color: var(--white); font-family: var(--font-cond); font-size: 0.7rem; padding: 0.1rem 0.4rem; border-radius: 2px; }
.bm-name { font-family: var(--font-cond); font-weight: 700; }
.ofc-analysis { background: #faf7f3; border-top: 1px solid #e0dbd5; padding: 1.25rem 1.5rem; }
.analysis-label { font-family: var(--font-cond); font-size: 0.65rem; letter-spacing: 0.2em; color: var(--red); margin-bottom: 0.5rem; }
.ofc-analysis p { font-size: 0.9rem; color: var(--mid); }
.inline-bar { display: flex; align-items: center; gap: 0.5rem; }
.inline-fill { height: 8px; border-radius: 4px; background: var(--mid); min-width: 4px; }
.green-fill { background: var(--red); }
.inline-bar span { font-family: var(--font-cond); font-size: 0.85rem; font-weight: 700; }
.disclaimer-box {
  background: #fff8e1; border: 1px solid var(--gold); border-radius: var(--radius);
  padding: 1rem 1.5rem; margin-top: 2rem; font-size: 0.85rem; color: var(--mid);
}

/* ========== NEWS FULL ========== */
.news-full-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 1.5rem; }
.news-full-card {
  background: var(--white); border: 1px solid #e0dbd5; border-radius: var(--radius-lg);
  padding: 1.75rem; display: flex; flex-direction: column; gap: 0.75rem; transition: all 0.2s;
}
.news-full-card:hover { box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.news-full-featured { border-top: 4px solid var(--red); }
.nfc-cat-bar { display: flex; justify-content: space-between; align-items: center; }
.nfc-cat { font-family: var(--font-cond); font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--red); font-weight: 700; }
.nfc-date { font-family: var(--font-cond); font-size: 0.75rem; color: var(--grey); }
.nfc-title { font-family: var(--font-cond); font-weight: 700; font-size: 1.15rem; line-height: 1.3; }
.nfc-title a:hover { color: var(--red); }
.nfc-excerpt { font-size: 0.9rem; color: var(--grey); flex: 1; line-height: 1.6; }
.nfc-footer { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.nfc-author { font-family: var(--font-cond); font-size: 0.78rem; color: var(--grey); flex: 1; }
.nfc-read { font-family: var(--font-cond); font-size: 0.75rem; color: var(--grey); }
.nfc-link { font-family: var(--font-cond); font-weight: 700; font-size: 0.8rem; color: var(--red); letter-spacing: 0.05em; }
.nfc-link:hover { color: var(--red-dark); }

/* ========== ARTICLE ========== */
.article-container { display: grid; grid-template-columns: 1fr 300px; gap: 3rem; align-items: start; }
.article-cat { font-family: var(--font-cond); font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--red); margin-bottom: 0.5rem; }
.article-title { font-family: var(--font-display); font-size: clamp(1.8rem, 4vw, 2.8rem); letter-spacing: 0.03em; line-height: 1.1; margin-bottom: 1rem; }
.article-meta { display: flex; gap: 0.75rem; font-family: var(--font-cond); font-size: 0.82rem; color: var(--grey); margin-bottom: 2rem; flex-wrap: wrap; }
.article-body { font-size: 1.05rem; line-height: 1.75; color: var(--mid); }
.article-lead { font-family: var(--font-cond); font-size: 1.2rem; color: var(--dark); margin-bottom: 1.5rem; line-height: 1.5; border-left: 3px solid var(--red); padding-left: 1rem; }
.article-sidebar { position: sticky; top: 80px; }
.sidebar-title { font-family: var(--font-display); font-size: 1.2rem; letter-spacing: 0.05em; margin-bottom: 1rem; padding-bottom: 0.5rem; border-bottom: 2px solid var(--red); }
.sidebar-news-item { padding: 1rem 0; border-bottom: 1px solid #e0dbd5; }
.sni-cat { font-family: var(--font-cond); font-size: 0.65rem; letter-spacing: 0.15em; color: var(--red); text-transform: uppercase; margin-bottom: 0.25rem; }
.sni-title { font-family: var(--font-cond); font-weight: 700; font-size: 0.9rem; display: block; line-height: 1.3; }
.sni-title:hover { color: var(--red); }
.sni-date { font-family: var(--font-cond); font-size: 0.72rem; color: var(--grey); margin-top: 0.25rem; }

/* ========== STATS ========== */
.big-stats-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1rem; margin-bottom: 2.5rem; }
.big-stat-card {
  background: var(--white); border: 1px solid #e0dbd5; border-radius: var(--radius-lg);
  padding: 1.5rem; text-align: center;
}
.bsc-highlight { border-top: 4px solid var(--green-mid); }
.bsc-num { font-family: var(--font-display); font-size: 3.5rem; color: var(--red); line-height: 1; }
.bsc-highlight .bsc-num { color: var(--green-mid); }
.bsc-label { font-family: var(--font-cond); font-weight: 700; font-size: 1rem; text-transform: uppercase; letter-spacing: 0.05em; }
.bsc-sub { font-family: var(--font-cond); font-size: 0.78rem; color: var(--grey); }
.progress-stats { background: var(--white); border: 1px solid #e0dbd5; border-radius: var(--radius-lg); padding: 1.5rem 2rem; margin-bottom: 1.5rem; display: flex; flex-direction: column; gap: 1.25rem; }
.ps-title { font-family: var(--font-cond); font-weight: 700; font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 0.5rem; }
.progress-bar-lg { height: 16px; background: #f0ece6; border-radius: 8px; overflow: hidden; }
.pbl-fill { height: 100%; background: var(--red); border-radius: 8px; display: flex; align-items: center; justify-content: flex-end; padding-right: 0.5rem; transition: width 0.8s ease; }
.pbl-green { background: var(--green-mid); }
.pbl-yellow { background: var(--gold-dark); }
.pbl-label { font-family: var(--font-cond); font-size: 0.65rem; font-weight: 700; color: var(--white); }
.discipline-row { display: flex; gap: 1rem; margin-bottom: 2rem; }
.disc-card { flex: 1; border-radius: var(--radius-lg); padding: 1.25rem; text-align: center; }
.disc-yellow { background: var(--gold); }
.disc-red { background: var(--red); color: var(--white); }
.disc-num { display: block; font-family: var(--font-display); font-size: 3rem; line-height: 1; }
.disc-lab { font-family: var(--font-cond); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; }
.scorers-table-wrap { overflow-x: auto; }

/* ========== FOOTER ========== */
.footer { background: var(--black); color: var(--white); padding: 3rem 0; border-top: 3px solid var(--red); }
.footer-container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.footer-brand { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; }
.footer-flag { font-size: 2rem; }
.footer-title { font-family: var(--font-display); font-size: 1.4rem; letter-spacing: 0.1em; }
.footer-sub { font-family: var(--font-cond); font-size: 0.72rem; color: var(--grey); letter-spacing: 0.05em; }
.footer-links { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; margin-bottom: 1.5rem; }
.footer-links a { font-family: var(--font-cond); font-size: 0.85rem; color: var(--grey); transition: color 0.2s; }
.footer-links a:hover { color: var(--white); }
.footer-disclaimer { font-family: var(--font-cond); font-size: 0.75rem; color: #555; }

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
  .nav-links { display: none; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: var(--black); padding: 1rem; gap: 0; }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 0.75rem 1rem; border-radius: 0; border-bottom: 1px solid #222; }
  .nav-toggle { display: flex; }
  .hero-title { flex-direction: column; gap: 0.5rem; }
  .hero-stats-row { gap: 1rem; }
  .ofc-main-odds { grid-template-columns: 1fr 80px 1fr; }
  .ofc-odd-val { font-size: 2rem; }
  .article-container { grid-template-columns: 1fr; }
  .article-sidebar { position: static; }
  .nmb-fixture { gap: 1rem; }
  .mf-name { font-size: 0.9rem; }
}

@media (max-width: 480px) {
  .wc-odds-grid { grid-template-columns: repeat(2, 1fr); }
  .squad-grid { grid-template-columns: 1fr; }
  .ofc-main-odds { grid-template-columns: 1fr; text-align: center; }
  .ofc-home, .ofc-away { flex-direction: column; }
  .hero-stats-row { gap: 1.5rem; }
}

/* ===== ADDITIONS: Real data styles ===== */
.group-not-started-note {
  background: #fff8e1; border-left: 4px solid var(--gold);
  padding: 0.75rem 1rem; margin-bottom: 1rem; font-family: var(--font-cond);
  font-size: 0.85rem; border-radius: 0 var(--radius) var(--radius) 0;
}
.fixtures-mini { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px,1fr)); gap: 1rem; margin-top: 1.5rem; }
.fixture-mini-card {
  background: var(--white); border: 1px solid #e0dbd5; border-radius: var(--radius-lg);
  padding: 1rem; border-left: 3px solid var(--red);
}
.fmc-stage { font-family: var(--font-cond); font-size: 0.65rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--grey); margin-bottom: 0.5rem; }
.fmc-main { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; margin-bottom: 0.4rem; }
.fmc-team { font-family: var(--font-cond); font-weight: 700; font-size: 0.9rem; }
.fmc-portugal { color: var(--red); }
.fmc-vs { font-family: var(--font-display); font-size: 1rem; color: var(--grey); }
.fmc-info { font-family: var(--font-cond); font-size: 0.78rem; color: var(--dark); }
.fmc-venue { font-family: var(--font-cond); font-size: 0.72rem; color: var(--grey); margin-top: 0.2rem; }
.q-badge { background: var(--green-mid); color: var(--white); font-family: var(--font-cond); font-size: 0.65rem; font-weight: 700; padding: 0.15rem 0.5rem; border-radius: 2px; letter-spacing: 0.05em; }
.po-badge { background: var(--gold-dark); color: var(--white); font-family: var(--font-cond); font-size: 0.65rem; font-weight: 700; padding: 0.15rem 0.5rem; border-radius: 2px; }
.status-qualified { background: var(--green-mid); color: var(--white); }
.match-qualifying { border-left: 4px solid var(--green-mid) !important; }
.match-venue { font-family: var(--font-cond); font-size: 0.78rem; color: var(--grey); margin-top: 0.5rem; }
.portugal-match { border-right: 3px solid var(--red); }
.mf-portugal { color: var(--red); font-weight: 800 !important; }
.odds-source-note { font-family: var(--font-cond); font-size: 0.75rem; color: var(--grey); margin-bottom: 1rem; }
.wc-odds-decimal { font-family: var(--font-cond); font-size: 0.68rem; color: var(--grey); margin-top: -0.25rem; }
.best-result-card {
  background: linear-gradient(135deg, var(--red), var(--red-dark)); color: var(--white);
  border-radius: var(--radius-lg); padding: 2rem; text-align: center; margin-bottom: 2rem;
}
.brc-label { font-family: var(--font-cond); font-size: 0.7rem; letter-spacing: 0.2em; color: rgba(255,255,255,0.7); margin-bottom: 0.5rem; }
.brc-result { font-family: var(--font-display); font-size: 3rem; letter-spacing: 0.05em; line-height: 1; }
.brc-sub { font-family: var(--font-cond); font-size: 0.85rem; color: rgba(255,255,255,0.8); margin-top: 0.5rem; }
.stats-note { background: #f4f0eb; border: 1px solid #e0dbd5; border-radius: var(--radius); padding: 1rem; margin-top: 2rem; font-size: 0.85rem; color: var(--mid); }
.news-source { font-family: var(--font-cond); font-size: 0.72rem; color: var(--grey); font-style: italic; }

/* ── LIVE SCORE BANNER ── */
.live-banner {
  position: fixed; top: 64px; left: 0; right: 0; z-index: 99;
  background: var(--green-mid); color: var(--white);
  display: none; align-items: center; justify-content: center;
  gap: 1rem; padding: 0.5rem 1.5rem;
  font-family: var(--font-cond); font-size: 0.9rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
.lb-pulse {
  width: 8px; height: 8px; border-radius: 50%; background: #fff;
  animation: pulse 1s infinite;
}
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.5;transform:scale(1.4)} }
.lb-live { font-weight: 700; letter-spacing: 0.15em; font-size: 0.7rem; background: rgba(255,255,255,0.2); padding: 0.1rem 0.4rem; border-radius: 2px; }
.lb-match { font-weight: 600; }
.lb-min { color: rgba(255,255,255,0.8); font-size: 0.8rem; }
.lb-link { color: var(--white); font-weight: 700; border-bottom: 1px solid rgba(255,255,255,0.5); }

/* ── DATA SOURCE BADGE ── */
.data-badge { display: inline-block; font-family: var(--font-cond); font-size: 0.7rem; letter-spacing: 0.1em; padding: 0.2rem 0.6rem; border-radius: 2px; margin-left: 0.75rem; vertical-align: middle; }
.badge-live   { background: var(--green-mid); color: var(--white); }
.badge-static { background: var(--gold-dark); color: var(--white); }

/* ── ODDS REFRESH STAMP ── */
.odds-refresh-stamp { font-family: var(--font-cond); font-size: 0.72rem; color: var(--grey); display: block; margin-bottom: 0.5rem; }

/* ── PLAYER PHOTO ── */
.player-photo { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; background: #eee; }
.player-photo-placeholder { width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(135deg, var(--red), var(--dark)); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; color: white; font-family: var(--font-display); }

/* ── NEWS CARD LIVE ── */
.news-card-live { border-top: 3px solid var(--green-mid) !important; }
.news-external-link { display: inline-block; margin-top: 0.5rem; font-family: var(--font-cond); font-size: 0.8rem; color: var(--red); font-weight: 700; }
.news-external-link:hover { color: var(--red-dark); }

/* ── API SETUP NOTICE ── */
.api-notice {
  background: #fff8e1; border: 1px solid var(--gold); border-left: 4px solid var(--gold);
  border-radius: var(--radius); padding: 1rem 1.5rem; margin-bottom: 1.5rem;
  font-family: var(--font-cond); font-size: 0.85rem; color: var(--mid);
}
.api-notice strong { color: var(--dark); }
.api-notice code { background: rgba(0,0,0,0.07); padding: 0.1rem 0.3rem; border-radius: 2px; font-family: monospace; font-size: 0.82em; }

/* nav-right wrapper for badge + toggle */
.nav-right { display: flex; align-items: center; gap: 0.5rem; }
