/*
Theme Name: Football Data Pro
Theme URI: https://example.com/football-data-pro
Author: Football Data Pro
Description: Companion theme for the Football Data Pro plugin. Modern dark/light dashboard layout for football & basketball data sites with built-in templates for fixtures, predictions, livescore, standings, world-cup pool, and personal API key management.
Version: 1.0.0
License: GPLv2 or later
Tags: sports, football, custom-menu, custom-logo, featured-images, threaded-comments, translation-ready, two-columns
Text Domain: football-data-pro
*/

/* ============== BASE ============== */
:root{
  --fdp-primary:#1d4ed8;
  --fdp-primary-dark:#1e3a8a;
  --fdp-accent:#16a34a;
  --fdp-bg:#f1f5f9;
  --fdp-card:#ffffff;
  --fdp-text:#0f172a;
  --fdp-muted:#64748b;
  --fdp-border:#e2e8f0;
}
*{box-sizing:border-box}
html,body{margin:0;padding:0;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;background:var(--fdp-bg);color:var(--fdp-text);line-height:1.6}
a{color:var(--fdp-primary);text-decoration:none}
a:hover{text-decoration:underline}
img{max-width:100%;height:auto}
h1,h2,h3,h4{color:var(--fdp-text)}

/* ============== HEADER ============== */
.fdp-site-header{background:linear-gradient(135deg,#0f172a 0%,#1d4ed8 100%);color:#fff;padding:18px 24px;box-shadow:0 2px 6px rgba(0,0,0,.1)}
.fdp-header-inner{max-width:1280px;margin:0 auto;display:flex;align-items:center;gap:24px;flex-wrap:wrap}
.fdp-site-title{font-size:1.4rem;font-weight:700;margin:0}
.fdp-site-title a{color:#fff}
.fdp-main-nav{flex:1}
.fdp-main-nav ul{list-style:none;padding:0;margin:0;display:flex;gap:18px;flex-wrap:wrap}
.fdp-main-nav a{color:rgba(255,255,255,.92);font-weight:500;padding:6px 4px;border-bottom:2px solid transparent}
.fdp-main-nav a:hover{color:#fff;border-color:#fff;text-decoration:none}
.fdp-header-actions a{color:#fff;background:rgba(255,255,255,.15);padding:8px 14px;border-radius:6px;margin-left:6px}
.fdp-header-actions a:hover{background:rgba(255,255,255,.25);text-decoration:none}

/* ============== HERO ============== */
.fdp-hero{background:linear-gradient(135deg,#1e3a8a,#1d4ed8);color:#fff;text-align:center;padding:60px 24px}
.fdp-hero h1{color:#fff;font-size:2.4rem;margin:0 0 12px}
.fdp-hero p{font-size:1.1rem;opacity:.92;max-width:680px;margin:0 auto 22px}
.fdp-hero .btn{display:inline-block;padding:12px 24px;background:#fff;color:var(--fdp-primary-dark);border-radius:8px;font-weight:600;margin:0 6px}
.fdp-hero .btn:hover{background:#f1f5f9;text-decoration:none}

/* ============== LAYOUT ============== */
.fdp-container{max-width:1280px;margin:0 auto;padding:24px}
.fdp-grid{display:grid;grid-template-columns:1fr;gap:18px}
@media(min-width:992px){.fdp-grid-2{grid-template-columns:2fr 1fr}}

/* ============== CARDS / WIDGETS ============== */
.fdp-widget{background:var(--fdp-card);border:1px solid var(--fdp-border);border-radius:10px;padding:20px;margin-bottom:18px;box-shadow:0 1px 2px rgba(0,0,0,.04)}
.fdp-widget h2,.fdp-widget h3{margin-top:0}
.fdp-feature-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:18px;margin:30px 0}
.fdp-feature{background:#fff;border:1px solid var(--fdp-border);border-radius:10px;padding:22px;text-align:center}
.fdp-feature .ico{font-size:2.4rem;margin-bottom:8px}
.fdp-feature h3{margin:6px 0}

/* ============== FOOTER ============== */
.fdp-site-footer{background:#0f172a;color:#94a3b8;padding:34px 24px;margin-top:40px}
.fdp-footer-inner{max-width:1280px;margin:0 auto;display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:24px}
.fdp-site-footer a{color:#cbd5e1}
.fdp-footer-bottom{text-align:center;padding-top:18px;margin-top:18px;border-top:1px solid #1e293b;font-size:.85rem}

/* ============== POSTS ============== */
.fdp-post{background:#fff;border:1px solid var(--fdp-border);border-radius:10px;padding:24px;margin-bottom:18px}
.fdp-post h2 a{color:var(--fdp-text)}
.fdp-meta{color:var(--fdp-muted);font-size:.85rem;margin-bottom:10px}

/* ============== UTILITIES ============== */
.fdp-text-center{text-align:center}
.fdp-mt-large{margin-top:30px}
