:root {
  --bg-primary: #0b130e;
  --bg-card: #132219;
  --bg-card-hover: #1a2f23;
  --text-main: #f0f7f2;
  --text-muted: #8ba895;
  --accent-green: #10b981;
  --accent-neon: #00f59b;
  --accent-gold: #f59e0b;
  --border-line: rgba(255, 255, 255, 0.08);
  --border-accent: rgba(0, 245, 155, 0.25);
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-serif: Georgia, "Times New Roman", serif;
}

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

body {
  background-color: var(--bg-primary);
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header & Nav */
header.site-header {
  border-bottom: 1px solid var(--border-line);
  background: rgba(11, 19, 14, 0.85);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: 0.05em;
  color: #fff;
}

.logo-badge {
  background: linear-gradient(135deg, var(--accent-neon), var(--accent-green));
  color: #0b130e;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 900;
}

nav.main-nav {
  display: flex;
  gap: 24px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
}

nav.main-nav a:hover, nav.main-nav a.active {
  color: var(--accent-neon);
}

/* Hero Section */
.hero {
  padding: 36px 0 24px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
}

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
}

.featured-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border-line);
  min-height: 380px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px;
  transition: transform 0.2s, border-color 0.2s;
}

.featured-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-2px);
}

.card-bg-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 19, 14, 0.2) 0%, rgba(11, 19, 14, 0.95) 100%),
              radial-gradient(circle at top right, rgba(0, 245, 155, 0.15), transparent 60%);
  z-index: 1;
}

.card-content {
  position: relative;
  z-index: 2;
}

.tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 12px;
  letter-spacing: 0.05em;
}

.tag-ucl { background: rgba(0, 245, 155, 0.15); color: var(--accent-neon); border: 1px solid rgba(0, 245, 155, 0.3); }
.tag-epl { background: rgba(59, 130, 246, 0.15); color: #60a5fa; border: 1px solid rgba(59, 130, 246, 0.3); }
.tag-transfer { background: rgba(245, 158, 11, 0.15); color: var(--accent-gold); border: 1px solid rgba(245, 158, 11, 0.3); }

.featured-title {
  font-size: 26px;
  line-height: 1.3;
  margin-bottom: 12px;
  font-weight: 700;
  color: #fff;
}

.featured-meta {
  color: var(--text-muted);
  font-size: 13px;
  display: flex;
  gap: 16px;
}

/* Quick Feed Sidebar */
.quick-feed {
  background: var(--bg-card);
  border: 1px solid var(--border-line);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
}

.panel-title {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--accent-neon);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.panel-title::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--accent-neon);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent-neon);
}

.feed-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.feed-item {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-line);
}

.feed-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.feed-item a:hover {
  color: var(--accent-neon);
}

.feed-headline {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 4px;
}

.feed-time {
  font-size: 12px;
  color: var(--text-muted);
}

/* Main Layout Grid */
.main-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
  padding: 24px 0 48px;
}

@media (max-width: 860px) {
  .main-layout { grid-template-columns: 1fr; }
}

/* News Grid */
.news-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.news-card {
  background: var(--bg-card);
  border: 1px solid var(--border-line);
  border-radius: 10px;
  padding: 18px;
  transition: transform 0.2s, border-color 0.2s;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.news-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-accent);
}

.news-card-title {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  margin: 8px 0 10px;
}

.news-card-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 12px;
}

/* Standings Table */
.standings-widget {
  background: var(--bg-card);
  border: 1px solid var(--border-line);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 24px;
}

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

table.standings-table th {
  color: var(--text-muted);
  text-align: left;
  padding: 6px 4px;
  font-weight: 500;
  border-bottom: 1px solid var(--border-line);
}

table.standings-table td {
  padding: 8px 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

table.standings-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

.pos-ucl {
  color: var(--accent-neon);
  font-weight: 700;
}

/* Matchups */
.matchup-card {
  background: var(--bg-card);
  border: 1px solid var(--border-line);
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.team-name {
  font-weight: 600;
  font-size: 14px;
}

.match-vs {
  font-size: 12px;
  color: var(--accent-gold);
  font-weight: 700;
  padding: 2px 8px;
  background: rgba(245, 158, 11, 0.1);
  border-radius: 4px;
}

/* Footer */
footer.site-footer {
  border-top: 1px solid var(--border-line);
  padding: 36px 0;
  color: var(--text-muted);
  font-size: 13px;
  text-align: center;
  margin-top: 40px;
}

footer .footer-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 12px;
}
