:root {
  --primary: #1a73e8;
  --accent: #ff6b35;
  --dark: #1a1a2e;
  --gray: #f5f5f7;
  --text: #333;
  --light: #fff;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text);
  line-height: 1.7;
  background: var(--light);
}

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

/* Header */
.site-header {
  background: var(--dark);
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; }
.logo { color: var(--light); font-size: 1.4em; font-weight: 700; text-decoration: none; }
.site-header nav a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  margin-left: 24px;
  font-size: 0.95em;
  transition: color 0.2s;
}
.site-header nav a:hover { color: var(--light); }

/* Hero */
.hero {
  text-align: center;
  padding: 60px 20px;
  background: linear-gradient(135deg, var(--dark), #16213e);
  color: var(--light);
  border-radius: 0 0 20px 20px;
  margin-bottom: 40px;
}
.hero h1 { font-size: 2.2em; margin-bottom: 15px; }
.hero p { font-size: 1.15em; opacity: 0.9; margin-bottom: 25px; max-width: 600px; margin-left: auto; margin-right: auto; }

/* CTA Button */
.btn-cta {
  display: inline-block;
  background: var(--accent);
  color: var(--light);
  padding: 14px 32px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05em;
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-cta:hover { transform: translateY(-2px); box-shadow: 0 4px 15px rgba(255,107,53,0.4); }

/* Predictions Grid */
.today-predictions, .page-list { padding: 20px 20px 40px; }
.today-predictions h2, .page-list h1 { font-size: 1.6em; margin-bottom: 20px; }
.predictions-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }

.prediction-card {
  background: var(--light);
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
}
.prediction-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.1); transform: translateY(-3px); }
.prediction-card a { display: block; padding: 20px; text-decoration: none; color: var(--text); }
.prediction-card h2, .prediction-card h3 { font-size: 1.1em; margin: 8px 0; color: var(--dark); }
.prediction-card p { font-size: 0.9em; color: #666; }

.match-info { display: flex; gap: 10px; align-items: center; }
.match-info .date { font-size: 0.85em; color: #888; }
.match-info .league {
  background: var(--primary);
  color: var(--light);
  padding: 2px 10px;
  border-radius: 12px;
  font-size: 0.8em;
}
.prediction-preview .win-rate {
  display: inline-block;
  background: #e8f5e9;
  color: #2e7d32;
  padding: 4px 12px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.9em;
}

/* Stats Bar */
.stats-bar {
  display: flex;
  justify-content: center;
  gap: 60px;
  padding: 40px 20px;
  background: var(--gray);
  margin: 30px 0;
  border-radius: 12px;
}
.stat { text-align: center; }
.stat strong { display: block; font-size: 2em; color: var(--primary); }
.stat span { font-size: 0.9em; color: #666; }

/* How it works */
.how-it-works { padding: 40px 20px; }
.how-it-works h2 { text-align: center; margin-bottom: 30px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.step {
  text-align: center;
  padding: 25px;
  background: var(--gray);
  border-radius: 12px;
}
.step h3 { color: var(--primary); margin-bottom: 10px; }

/* Article Detail */
.prediction-detail { max-width: 800px; margin: 0 auto; padding: 30px 20px; }
.article-header { margin-bottom: 30px; }
.article-header .meta { display: flex; gap: 12px; margin-bottom: 10px; font-size: 0.9em; }
.article-header .meta time { color: #888; }
.article-header .category {
  background: var(--primary);
  color: var(--light);
  padding: 2px 10px;
  border-radius: 12px;
  text-decoration: none;
  font-size: 0.85em;
}
.article-header h1 { font-size: 1.8em; line-height: 1.3; }
.article-header .subtitle { color: #666; font-size: 1.1em; margin-top: 8px; }

/* Match Header */
.match-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  padding: 30px;
  background: var(--dark);
  color: var(--light);
  border-radius: 12px;
  margin-bottom: 30px;
}
.match-header .team { font-size: 1.4em; font-weight: 700; }
.match-header .vs { font-size: 1.1em; opacity: 0.6; }

/* AI Prediction Bar */
.ai-prediction {
  background: var(--gray);
  padding: 25px;
  border-radius: 12px;
  margin-bottom: 30px;
}
.ai-prediction h2 { margin-bottom: 15px; font-size: 1.2em; }
.odds-bar { display: flex; border-radius: 8px; overflow: hidden; height: 40px; }
.odds-bar .odd {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85em;
  font-weight: 600;
  color: var(--light);
  min-width: 60px;
}
.odds-bar .home { background: #2e7d32; }
.odds-bar .draw { background: #f57c00; }
.odds-bar .away { background: #c62828; }

/* Content */
.article-content { line-height: 1.8; margin-bottom: 30px; }
.article-content h2 { margin: 25px 0 12px; font-size: 1.3em; }
.article-content h3 { margin: 20px 0 10px; font-size: 1.15em; }
.article-content p { margin-bottom: 15px; }
.article-content ul, .article-content ol { margin: 15px 0; padding-left: 25px; }
.article-content li { margin-bottom: 8px; }

/* CTA Box */
.cta-box {
  background: linear-gradient(135deg, #1a1a2e, #16213e);
  color: var(--light);
  padding: 35px;
  border-radius: 12px;
  text-align: center;
  margin: 30px 0;
}
.cta-box h3 { font-size: 1.4em; margin-bottom: 12px; }
.cta-box p { opacity: 0.9; margin-bottom: 15px; }
.cta-box ul { list-style: none; padding: 0; margin-bottom: 20px; text-align: left; max-width: 350px; margin-left: auto; margin-right: auto; }
.cta-box li { margin-bottom: 6px; }

/* Tags */
.tags { margin-top: 20px; }
.tags a { display: inline-block; background: var(--gray); padding: 4px 12px; border-radius: 6px; margin: 4px; text-decoration: none; color: #666; font-size: 0.85em; }

/* CTA Section */
.cta-section { text-align: center; padding: 50px 20px; margin: 30px 0; background: var(--gray); border-radius: 12px; }
.cta-section h2 { margin-bottom: 10px; }
.cta-section p { margin-bottom: 20px; color: #666; }

/* Footer */
.site-footer { background: var(--dark); color: rgba(255,255,255,0.7); padding: 40px 0; margin-top: 40px; }
.footer-cta { text-align: center; padding-bottom: 30px; border-bottom: 1px solid rgba(255,255,255,0.1); margin-bottom: 20px; }
.footer-cta h3 { color: var(--light); margin-bottom: 8px; }
.footer-cta p { margin-bottom: 15px; }
.footer-info { text-align: center; font-size: 0.9em; }
.footer-info a { color: rgba(255,255,255,0.6); text-decoration: none; }

/* Mobile */
@media (max-width: 768px) {
  .hero h1 { font-size: 1.5em; }
  .stats-bar { flex-direction: column; gap: 20px; }
  .steps { grid-template-columns: 1fr; }
  .predictions-grid { grid-template-columns: 1fr; }
  .match-header { gap: 15px; padding: 20px; }
  .match-header .team { font-size: 1.1em; }
  .site-header nav { display: none; }
  .odds-bar { flex-direction: column; height: auto; }
  .odds-bar .odd { padding: 8px; width: 100% !important; }
}
