/* ==========================================================================
   FIFA World Cup 2026 - Premium Sporty Interactive Design System
   ========================================================================== */

:root {
  --bg: #070b15;
  --bg-card: #0f172a;
  --bg-surface: #1e293b;
  --bg-hover: #334155;
  --primary: #1e40af;
  --accent: #e94560;
  --accent-glow: rgba(233, 69, 96, 0.15);
  --secondary: #1e293b;
  --gold: #f5c518;
  --gold-glow: rgba(245, 197, 24, 0.15);
  --green: #10b981;
  --green-glow: rgba(16, 185, 129, 0.15);
  --blue: #3b82f6;
  --text: #ffffff;
  --text-sec: #94a3b8;
  --text-dim: #64748b;
  --border: #1e293b;
  --border-glow: #334155;
  --radius: 12px;
  --radius-lg: 20px;
  --font-title: 'Bebas Neue', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

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

/* Scrollbar Styling */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg);
}
::-webkit-scrollbar-thumb {
  background: var(--border-glow);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--text-dim);
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

/* Background Canvas */
#particleCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 11, 21, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: var(--transition);
}

.site-header.scrolled {
  background: rgba(7, 11, 21, 0.95);
  border-bottom-color: var(--border);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

.logo-trophy {
  font-size: 32px;
  filter: drop-shadow(0 0 10px rgba(245, 197, 24, 0.4));
  animation: float 4s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-5px) rotate(3deg); }
}

.logo-title {
  font-family: var(--font-title);
  font-size: 26px;
  letter-spacing: 2px;
  color: var(--text);
  line-height: 1;
}

.logo-dot {
  color: var(--accent);
  text-shadow: 0 0 10px var(--accent-glow);
}

.logo-sub {
  display: block;
  font-size: 9px;
  letter-spacing: 3.5px;
  color: var(--text-sec);
  margin-top: 2px;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link {
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-sec);
  transition: var(--transition);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 50%;
  height: 2.5px;
  background: var(--accent);
  border-radius: 2px;
  transition: transform 0.25s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: translateX(-50%) scaleX(1);
}

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

.nav-cta {
  background: var(--accent) !important;
  color: #fff !important;
  font-weight: 600;
  box-shadow: 0 4px 15px var(--accent-glow);
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  background: #f43f5e !important;
  transform: translateY(-1px);
}

.hamburger {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 24px;
  cursor: pointer;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  background: rgba(15, 23, 42, 0.98);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 12px 24px 24px;
  gap: 8px;
  position: absolute;
  top: 72px;
  left: 0;
  width: 100%;
  z-index: 99;
}

.mobile-nav a {
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 15px;
  color: var(--text-sec);
  display: block;
}

.mobile-nav a:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
}

.mobile-nav.open {
  display: flex;
}

/* ==========================================================================
   LIVE SCORE TICKER (TOP)
   ========================================================================== */
.live-ticker {
  background: #0b0f19;
  border-bottom: 1px solid var(--border);
  padding: 8px 0;
  font-size: 13px;
  overflow: hidden;
  position: relative;
  z-index: 10;
}

.ticker-wrap {
  display: flex;
  align-items: center;
  gap: 24px;
  overflow-x: auto;
  white-space: nowrap;
  padding: 0 24px;
}

.ticker-wrap::-webkit-scrollbar {
  display: none;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-card);
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: var(--transition);
}

.ticker-item:hover {
  border-color: var(--accent);
  background: var(--bg-surface);
}

.ticker-item.live {
  border-color: var(--green);
}

.ticker-live-dot {
  width: 6px;
  height: 6px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

.ticker-teams {
  font-weight: 600;
}

.ticker-score {
  font-family: var(--font-mono);
  color: var(--gold);
}

/* ==========================================================================
   HERO BANNER
   ========================================================================== */
.hero {
  position: relative;
  padding: 96px 0 80px;
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 10% 20%, rgba(59, 130, 246, 0.1) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(233, 69, 96, 0.08) 0%, transparent 40%),
    linear-gradient(180deg, #0f172a 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--border);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
  color: var(--green);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  padding: 6px 16px;
  border-radius: 30px;
  margin-bottom: 24px;
  text-transform: uppercase;
}

.hero-title {
  font-family: var(--font-title);
  font-size: clamp(48px, 8vw, 88px);
  line-height: 0.9;
  letter-spacing: 3px;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.hero-year {
  color: var(--gold);
  text-shadow: 0 0 40px rgba(245, 197, 24, 0.3);
}

.hero-sub {
  font-size: 16px;
  color: var(--text-sec);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero-dates {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--gold);
  background: rgba(245, 197, 24, 0.08);
  border: 1px solid rgba(245, 197, 24, 0.2);
  padding: 8px 24px;
  border-radius: 8px;
}

/* ==========================================================================
   SECTIONS
   ========================================================================== */
.section {
  padding: 48px 0;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 14px;
}

.section-title {
  font-family: var(--font-title);
  font-size: 28px;
  letter-spacing: 1.5px;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-title-icon {
  color: var(--accent);
}

.section-more {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 6px;
}

.section-more:hover {
  color: #fff;
  transform: translateX(3px);
}

/* ==========================================================================
   CARDS & GRIDS
   ========================================================================== */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 24px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.matches-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 20px;
}

/* ==========================================================================
   MATCH CARD
   ========================================================================== */
.match-card {
  background: linear-gradient(135deg, var(--bg-card) 0%, #0d1425 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.match-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: var(--transition);
}

.match-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-glow);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.match-card:hover::before {
  opacity: 1;
}

.match-card.live {
  border-color: rgba(16, 185, 129, 0.3);
  box-shadow: 0 0 25px rgba(16, 185, 129, 0.08);
}

.match-card.live::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--green), transparent);
  animation: shimmerLine 3s infinite;
}

@keyframes shimmerLine {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.match-meta {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--text-sec);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 20px;
  font-family: var(--font-mono);
}

.match-status {
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 4px;
}

.match-card.live .match-status {
  color: var(--green);
  background: rgba(16, 185, 129, 0.1);
  animation: pulse 1.5s infinite;
}

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

.match-body {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.team {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.team-flag {
  font-size: 38px;
  line-height: 1;
  filter: drop-shadow(0 4px 6px rgba(0,0,0,0.3));
  transition: var(--transition);
}

.match-card:hover .team-flag {
  transform: scale(1.1);
}

.team-name {
  font-family: var(--font-title);
  font-size: 18px;
  letter-spacing: 1px;
  text-align: center;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 110px;
}

.score-area {
  text-align: center;
  min-width: 90px;
}

.score {
  font-family: var(--font-title);
  font-size: 46px;
  line-height: 1;
  letter-spacing: 3px;
  color: var(--text);
}

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

.match-time {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--gold);
  margin-top: 6px;
  display: block;
}

.match-venue {
  font-size: 11px;
  color: var(--text-dim);
  text-align: center;
  display: block;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ==========================================================================
   ARTICLE CARD
   ========================================================================== */
.article-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.article-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-glow);
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

.article-image {
  height: 200px;
  overflow: hidden;
  position: relative;
}

.article-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.article-card:hover .article-image img {
  transform: scale(1.05);
}

.article-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  letter-spacing: 1px;
}

.article-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.article-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-dim);
  margin-bottom: 12px;
  display: flex;
  gap: 16px;
}

.article-title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 10px;
  color: #fff;
}

.article-excerpt {
  font-size: 13.5px;
  color: var(--text-sec);
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-readmore {
  font-size: 13px;
  font-weight: 600;
  color: var(--gold);
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.article-readmore:hover {
  color: #fff;
}

/* ==========================================================================
   GROUP STANDINGS TABLE
   ========================================================================== */
.groups-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 24px;
}

.group-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  transition: var(--transition);
}

.group-card:hover {
  border-color: var(--border-glow);
}

.group-title {
  font-family: var(--font-title);
  font-size: 20px;
  letter-spacing: 1.5px;
  color: var(--gold);
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.group-title span {
  font-size: 11px;
  color: var(--text-dim);
  font-family: var(--font-mono);
}

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

.standings-table th {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-dim);
  text-align: right;
  padding: 8px 6px;
  border-bottom: 1px solid var(--border);
}

.standings-table th:first-child,
.standings-table th:nth-child(2) {
  text-align: left;
}

.standings-table td {
  padding: 8px 6px;
  text-align: right;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  font-family: var(--font-mono);
}

.standings-table td:nth-child(2) {
  text-align: left;
  color: #fff;
  font-family: var(--font-body);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
}

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

.rank-col {
  width: 24px;
  color: var(--text-dim);
}

.standings-table tr.qualify td:first-child {
  color: var(--green);
  font-weight: bold;
}

.standings-table tr.qualify-playoff td:first-child {
  color: var(--blue);
  font-weight: bold;
}

.standings-table .pts-col {
  color: var(--gold);
  font-weight: 600;
  font-size: 14px;
}

/* ==========================================================================
   TEAM CARDS
   ========================================================================== */
.team-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  transition: var(--transition);
  cursor: pointer;
}

.team-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  box-shadow: 0 8px 20px var(--accent-glow);
}

.team-card-flag {
  font-size: 48px;
  margin-bottom: 12px;
  display: block;
}

.team-card-name {
  font-family: var(--font-title);
  font-size: 20px;
  letter-spacing: 1px;
  color: #fff;
}

.team-card-group {
  font-size: 11px;
  color: var(--text-sec);
  font-family: var(--font-mono);
  text-transform: uppercase;
  margin-top: 4px;
}

/* ==========================================================================
   PRODUCT CARDS (SHOP)
   ========================================================================== */
.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-glow);
}

.product-image {
  height: 220px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  position: relative;
}

.product-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.product-info {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-category {
  font-size: 10px;
  font-family: var(--font-mono);
  color: var(--text-dim);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.product-title {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 10px;
  line-height: 1.3;
}

.product-price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 14px;
}

.product-price {
  font-size: 18px;
  font-weight: 700;
  color: var(--gold);
  font-family: var(--font-mono);
}

.btn-buy {
  background: var(--accent);
  color: #fff;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
}

.btn-buy:hover {
  background: #f43f5e;
  transform: scale(1.02);
}

/* ==========================================================================
   FANTASY & PREDICTIONS WIDGETS
   ========================================================================== */
.cta-banner {
  background: linear-gradient(135deg, #1e3a8a 0%, #0f172a 100%);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  padding: 36px;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin-bottom: 32px;
}

.cta-banner::before {
  content: '🏆';
  position: absolute;
  font-size: 160px;
  opacity: 0.05;
  right: -20px;
  bottom: -20px;
  transform: rotate(15deg);
}

.cta-title {
  font-family: var(--font-title);
  font-size: 36px;
  letter-spacing: 2px;
  margin-bottom: 12px;
  color: #fff;
}

.cta-desc {
  font-size: 15px;
  color: var(--text-sec);
  max-width: 600px;
  margin: 0 auto 24px;
}

.btn-cta-gold {
  background: var(--gold);
  color: #000;
  font-family: var(--font-title);
  font-size: 18px;
  letter-spacing: 1px;
  padding: 12px 36px;
  border-radius: 30px;
  font-weight: bold;
  box-shadow: 0 4px 20px var(--gold-glow);
}

.btn-cta-gold:hover {
  background: #eab308;
  transform: translateY(-2px);
}

.fantasy-picks {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.player-pick-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.player-pick-row:last-child {
  border-bottom: none;
}

.player-pick-img {
  width: 44px;
  height: 44px;
  background: var(--bg-surface);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.player-pick-info {
  flex-grow: 1;
}

.player-pick-name {
  font-weight: 600;
  font-size: 14px;
  color: #fff;
}

.player-pick-desc {
  font-size: 12px;
  color: var(--text-sec);
}

.player-pick-badge {
  background: rgba(59, 130, 246, 0.1);
  color: var(--blue);
  font-size: 11px;
  font-family: var(--font-mono);
  padding: 2px 8px;
  border-radius: 4px;
}

/* ==========================================================================
   2-COLUMN LAYOUT
   ========================================================================== */
.layout-2col {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 32px;
}

.sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sidebar-widget {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.widget-title {
  font-family: var(--font-title);
  font-size: 20px;
  letter-spacing: 1px;
  color: var(--gold);
  border-bottom: 1px solid var(--border);
  padding-bottom: 10px;
  margin-bottom: 16px;
}

/* ==========================================================================
   AFFILIATE SIDEBAR / WIDGET
   ========================================================================== */
.affiliate-widget {
  background: linear-gradient(135deg, #240b2f 0%, var(--bg-card) 100%);
  border-color: rgba(233, 69, 96, 0.2);
}

.affiliate-widget:hover {
  border-color: rgba(233, 69, 96, 0.4);
}

/* ==========================================================================
   MOBILE STICKY BOTTOM BAR
   ========================================================================== */
.sticky-bottom-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--border);
  padding: 10px 16px;
  display: none;
  justify-content: space-between;
  align-items: center;
  z-index: 90;
  box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.3);
}

.sticky-bottom-cta-text {
  font-size: 12px;
  color: var(--text-sec);
}

.sticky-bottom-cta-title {
  font-family: var(--font-title);
  font-size: 16px;
  color: #fff;
  letter-spacing: 0.5px;
}

.btn-sticky {
  background: var(--gold);
  color: #000;
  padding: 6px 14px;
  border-radius: 6px;
  font-family: var(--font-title);
  font-size: 14px;
  font-weight: bold;
}

/* ==========================================================================
   ADS PLACEMENT CONTAINERS
   ========================================================================== */
.ad-header-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 24px;
}

.ad-sidebar-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 250px;
  background: rgba(255,255,255,0.02);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
}

.ad-native-container {
  margin: 32px 0;
  padding: 20px;
  background: rgba(255,255,255,0.02);
  border-top: 1px dashed var(--border);
  border-bottom: 1px dashed var(--border);
  text-align: center;
}

.ad-footer-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 32px;
  margin-bottom: 16px;
}

.ad-fallback-label {
  font-size: 10px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
  display: block;
  text-align: center;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  margin-top: 64px;
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, var(--bg-card) 0%, #05070e 100%);
  padding: 48px 0;
  position: relative;
  z-index: 10;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.footer-logo {
  font-family: var(--font-title);
  font-size: 28px;
  letter-spacing: 2px;
  color: #fff;
}

.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  font-size: 14px;
  color: var(--text-sec);
}

.footer-links a:hover {
  color: #fff;
}

.footer-small {
  font-size: 12px;
  color: var(--text-dim);
  text-align: center;
  max-width: 600px;
}

/* ==========================================================================
   PAGES SPECIFIC CLASSES
   ========================================================================== */
/* Article Content */
.article-full-container {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.article-header {
  margin-bottom: 24px;
}

.article-h1 {
  font-size: clamp(24px, 5vw, 36px);
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 16px;
  color: #fff;
}

.article-featured-img {
  width: 100%;
  height: auto;
  max-height: 450px;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 24px;
}

.article-body-content {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-sec);
}

.article-body-content p {
  margin-bottom: 20px;
}

.article-body-content h2, .article-body-content h3 {
  color: #fff;
  margin: 32px 0 16px;
}

/* Team Page */
.team-hero {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 32px;
  background: var(--bg-card);
  padding: 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

.team-hero-flag {
  font-size: 64px;
}

.team-hero-info h1 {
  font-family: var(--font-title);
  font-size: 36px;
  color: #fff;
  letter-spacing: 1px;
}

.team-section-title {
  font-family: var(--font-title);
  font-size: 22px;
  color: var(--gold);
  border-bottom: 1px solid var(--border);
  padding-bottom: 8px;
  margin-bottom: 16px;
}

/* Filter Bar */
.filter-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--bg-card);
  padding: 16px 20px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.filter-bar-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.filter-bar-label {
  font-size: 13px;
  color: var(--text-sec);
}

.filter-bar select {
  background: var(--bg-surface);
  color: #fff;
  border: 1px solid var(--border);
  padding: 8px 16px;
  border-radius: 6px;
  outline: none;
  font-family: var(--font-body);
  font-size: 13px;
  cursor: pointer;
}

.filter-bar select:focus {
  border-color: var(--accent);
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 32px;
}

.pagination-btn {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-sec);
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

.pagination-btn:hover,
.pagination-btn.active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.pagination-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ==========================================================================
   MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1024px) {
  .layout-2col {
    grid-template-columns: 1fr;
  }
  
  .sidebar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: block;
  }
  
  .main-nav {
    display: none;
  }
  
  .hero {
    padding: 64px 0 48px;
  }
  
  .section {
    padding: 32px 0;
  }
  
  .ticker-wrap {
    padding: 0 16px;
  }
  
  .sticky-bottom-cta {
    display: flex;
  }
  
  body {
    padding-bottom: 60px; /* Space for sticky bottom bar */
  }
  
  .sidebar {
    grid-template-columns: 1fr;
  }
}
