/*
Theme Name: World Cup Kickoff
Theme URI: https://example.com/world-cup-kickoff
Author: ChatGPT
Description: A World Cup football WordPress theme for fixtures, predictions, team stats, match previews, and tournament news.
Version: 1.0
License: GPL v2 or later
Text Domain: world-cup-kickoff
*/

:root {
  --dark: #071018;
  --panel: #101c27;
  --green: #00c853;
  --gold: #ffd166;
  --white: #ffffff;
  --muted: #aab7c4;
  --light: #f4f7f5;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: var(--dark);
  color: var(--white);
  line-height: 1.6;
}

a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; }

.site-header {
  background: #050b10;
  border-bottom: 1px solid rgba(255,255,255,.08);
  padding: 18px 22px;
  position: sticky;
  top: 0;
  z-index: 99;
}

.site-header-inner {
  max-width: 1180px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 22px;
}

.site-title {
  margin: 0;
  font-size: 28px;
  font-weight: 900;
  letter-spacing: .5px;
}

.site-title a { color: var(--white); }

.site-title span {
  color: var(--gold);
}

.main-nav ul {
  display: flex;
  gap: 18px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.main-nav a {
  color: var(--white);
  font-weight: 800;
  font-size: 14px;
  text-transform: uppercase;
}

.hero {
  background:
    linear-gradient(90deg, rgba(7,16,24,.96), rgba(7,16,24,.68)),
    radial-gradient(circle at 80% 20%, rgba(0,200,83,.35), transparent 28%),
    repeating-linear-gradient(90deg, #073b23 0, #073b23 80px, #092d20 80px, #092d20 160px);
  padding: 78px 22px;
}

.hero-inner {
  max-width: 1180px;
  margin: auto;
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 35px;
  align-items: center;
}

.kicker {
  color: var(--gold);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.hero h1 {
  font-size: clamp(38px, 6vw, 72px);
  line-height: 1;
  margin: 12px 0;
  text-transform: uppercase;
}

.hero p {
  color: #e7edf2;
  font-size: 20px;
  max-width: 720px;
}

.button {
  display: inline-block;
  background: var(--green);
  color: #021009;
  padding: 13px 20px;
  border-radius: 10px;
  font-weight: 900;
  margin-top: 12px;
}

.hero-card {
  background: rgba(16,28,39,.88);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 20px 55px rgba(0,0,0,.28);
}

.scoreline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #071018;
  border-radius: 14px;
  padding: 18px;
  margin: 15px 0;
}

.team {
  font-weight: 900;
  text-align: center;
}

.vs {
  color: var(--gold);
  font-weight: 900;
}

.container {
  max-width: 1180px;
  margin: 35px auto;
  padding: 0 22px;
}

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

.card {
  background: var(--panel);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 18px;
  padding: 24px;
  margin-bottom: 22px;
  box-shadow: 0 12px 35px rgba(0,0,0,.18);
}

.section-title {
  margin: 0 0 18px;
  padding-left: 12px;
  border-left: 5px solid var(--green);
  text-transform: uppercase;
}

.fixture-grid,
.team-grid,
.stat-grid {
  display: grid;
  gap: 14px;
}

.fixture {
  background: #071018;
  border-radius: 14px;
  padding: 16px;
  border-left: 5px solid var(--gold);
}

.fixture strong {
  color: var(--white);
}

.fixture small,
.meta {
  color: var(--muted);
}

.prediction-tag {
  display: inline-block;
  background: rgba(0,200,83,.12);
  color: var(--green);
  border: 1px solid rgba(0,200,83,.35);
  padding: 6px 11px;
  border-radius: 999px;
  margin: 4px 3px;
  font-size: 13px;
  font-weight: 800;
}

.post-card h2 {
  margin-top: 0;
}

.post-card img {
  max-width: 100%;
  height: auto;
  border-radius: 14px;
}

.team-box,
.stat-box {
  background: #071018;
  border-radius: 14px;
  padding: 15px;
}

.team-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.flag {
  font-size: 26px;
}

.stat-number {
  color: var(--gold);
  font-size: 30px;
  font-weight: 900;
}

.site-footer {
  background: #050b10;
  color: var(--muted);
  text-align: center;
  padding: 28px;
  margin-top: 40px;
}

@media (max-width: 850px) {
  .site-header-inner,
  .main-nav ul,
  .hero-inner {
    display: block;
  }

  .main-nav ul {
    margin-top: 12px;
  }

  .main-nav li {
    margin: 8px 0;
  }

  .grid {
    grid-template-columns: 1fr;
  }
}
