/* Sports Betting Platform - Dark Sports Analytics Theme */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
:root{
  --bg-primary:#0d1117;
  --bg-secondary:#161b22;
  --bg-card:#1c2128;
  --text-primary:#e6edf3;
  --text-secondary:#8b949e;
  --accent:#2ea043;
  --accent-light:#3fb950;
  --border:#30363d;
  --font-sans:'Inter',system-ui,sans-serif;
  --font-mono:'JetBrains Mono',monospace;
  --radius:8px;
  --max-w:1200px;
}
html{scroll-behavior:smooth}
body{font-family:var(--font-sans);background:var(--bg-primary);color:var(--text-primary);line-height:1.6;-webkit-font-smoothing:antialiased}
img{max-width:100%;height:auto;display:block}
a{color:inherit;text-decoration:none}
ul{list-style:none}

/* Header */
.site-header{background:var(--bg-secondary);border-bottom:1px solid var(--border);position:sticky;top:0;z-index:100}
.header-inner{max-width:var(--max-w);margin:0 auto;padding:0 1.5rem;height:64px;display:flex;align-items:center;justify-content:space-between;gap:2rem}
.site-logo{display:flex;align-items:center;gap:.75rem;text-decoration:none}
.site-logo img{height:36px;width:auto}
.site-logo span{font-weight:700;font-size:1.125rem;color:var(--text-primary);letter-spacing:-.02em}
.main-nav{display:flex;gap:.25rem;align-items:center}
.main-nav a{padding:.5rem .875rem;border-radius:var(--radius);font-size:.875rem;font-weight:500;color:var(--text-secondary);transition:color .2s,background .2s}
.main-nav a:hover,.main-nav a[aria-current="page"]{color:var(--text-primary);background:var(--bg-card)}
.nav-toggle{display:none;background:none;border:none;cursor:pointer;padding:.5rem;color:var(--text-primary)}

/* Footer */
.site-footer{background:var(--bg-secondary);border-top:1px solid var(--border);padding:2.5rem 0;margin-top:4rem}
.footer-inner{max-width:var(--max-w);margin:0 auto;padding:0 1.5rem;display:grid;grid-template-columns:1fr 1fr 1fr;gap:2rem}
.footer-brand p{color:var(--text-secondary);font-size:.875rem;margin-top:.75rem;line-height:1.7}
.footer-nav h4,.footer-info h4{font-size:.75rem;text-transform:uppercase;letter-spacing:.1em;color:var(--text-secondary);margin-bottom:1rem}
.footer-nav ul{display:flex;flex-direction:column;gap:.5rem}
.footer-nav a{color:var(--text-secondary);font-size:.875rem;transition:color .2s}
.footer-nav a:hover{color:var(--accent)}
.footer-info p{color:var(--text-secondary);font-size:.875rem;line-height:1.8}
.footer-bottom{max-width:var(--max-w);margin:2rem auto 0;padding:1.5rem 1.5rem 0;border-top:1px solid var(--border);text-align:center;font-size:.8125rem;color:var(--text-secondary)}

/* Main */
.main-content{max-width:var(--max-w);margin:0 auto;padding:0 1.5rem}

/* Hero Section */
.hero-section{padding:3rem 0 2rem;position:relative;overflow:hidden}
.hero-grid{display:grid;grid-template-columns:1.2fr 1fr;gap:3rem;align-items:center}
.hero-badge{display:inline-flex;align-items:center;gap:.5rem;background:rgba(46,160,67,.15);border:1px solid rgba(46,160,67,.3);color:var(--accent-light);padding:.375rem .875rem;border-radius:999px;font-size:.8125rem;font-weight:500;margin-bottom:1.25rem}
.hero-title{font-size:2.5rem;font-weight:700;line-height:1.15;letter-spacing:-.03em;margin-bottom:1rem}
.hero-title em{font-style:normal;color:var(--accent)}
.hero-desc{color:var(--text-secondary);font-size:1rem;line-height:1.75;margin-bottom:1.5rem;max-width:48ch}
.hero-cta{display:flex;gap:.75rem;flex-wrap:wrap}
.btn{display:inline-flex;align-items:center;gap:.5rem;padding:.625rem 1.25rem;border-radius:var(--radius);font-size:.875rem;font-weight:600;cursor:pointer;border:none;transition:all .2s}
.btn-primary{background:var(--accent);color:#fff}
.btn-primary:hover{background:var(--accent-light);transform:translateY(-1px)}
.btn-secondary{background:var(--bg-card);color:var(--text-primary);border:1px solid var(--border)}
.btn-secondary:hover{border-color:var(--accent)}
.hero-image-wrap{position:relative;border-radius:var(--radius);overflow:hidden;border:1px solid var(--border)}
.hero-image-wrap img{width:100%;height:340px;object-fit:cover}
.hero-overlay{position:absolute;bottom:0;left:0;right:0;padding:1.5rem;background:linear-gradient(transparent,rgba(13,17,23,.95))}

/* Sections */
.section{padding:2.5rem 0}
.section-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:1.75rem;flex-wrap:wrap;gap:1rem}
.section-title{font-size:1.375rem;font-weight:700;letter-spacing:-.02em}
.section-title::before{content:'';display:inline-block;width:4px;height:1.2em;background:var(--accent);border-radius:2px;margin-right:.625rem;vertical-align:text-bottom}
.section-link{color:var(--accent);font-size:.875rem;font-weight:500;display:flex;align-items:center;gap:.25rem}
.section-link:hover{color:var(--accent-light)}

/* Article Cards */
.article-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem}
.article-card{background:var(--bg-card);border:1px solid var(--border);border-radius:var(--radius);overflow:hidden;transition:border-color .2s,transform .2s}
.article-card:hover{border-color:var(--accent);transform:translateY(-2px)}
.article-card img{width:100%;height:180px;object-fit:cover}
.article-card-body{padding:1.25rem}
.article-card-meta{display:flex;align-items:center;gap:.75rem;margin-bottom:.625rem;font-size:.75rem;color:var(--text-secondary)}
.article-card-meta .cat{color:var(--accent);font-weight:500}
.article-card h3{font-size:.9375rem;font-weight:600;line-height:1.4;margin-bottom:.5rem;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.article-card p{font-size:.8125rem;color:var(--text-secondary);line-height:1.65;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}

/* List Cards */
.article-list{display:flex;flex-direction:column;gap:.875rem}
.list-card{display:flex;gap:1rem;background:var(--bg-card);border:1px solid var(--border);border-radius:var(--radius);padding:1rem;transition:border-color .2s}
.list-card:hover{border-color:var(--accent)}
.list-card img{width:100px;height:70px;object-fit:cover;border-radius:6px;flex-shrink:0}
.list-card-body{flex:1;min-width:0}
.list-card .cat{font-size:.6875rem;color:var(--accent);font-weight:600;text-transform:uppercase;letter-spacing:.06em;margin-bottom:.25rem;display:block}
.list-card h3{font-size:.875rem;font-weight:600;line-height:1.4;margin-bottom:.25rem;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.list-card p{font-size:.75rem;color:var(--text-secondary)}

/* Stats Strip */
.stats-strip{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;background:var(--border);border:1px solid var(--border);border-radius:var(--radius);overflow:hidden;margin:2rem 0}
.stat-item{background:var(--bg-secondary);padding:1.5rem;text-align:center}
.stat-number{font-size:1.75rem;font-weight:700;font-family:var(--font-mono);color:var(--accent);margin-bottom:.25rem}
.stat-label{font-size:.75rem;color:var(--text-secondary);text-transform:uppercase;letter-spacing:.06em}

/* CTA Section */
.cta-section{background:var(--bg-card);border:1px solid var(--border);border-radius:var(--radius);padding:2.5rem;text-align:center;margin:2rem 0}
.cta-section h2{font-size:1.5rem;font-weight:700;margin-bottom:.75rem}
.cta-section p{color:var(--text-secondary);margin-bottom:1.5rem;max-width:40ch;margin-left:auto;margin-right:auto}

/* Feature Grid */
.feature-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.25rem}
.feature-card{background:var(--bg-card);border:1px solid var(--border);border-radius:var(--radius);padding:1.5rem}
.feature-icon{width:40px;height:40px;background:rgba(46,160,67,.15);border-radius:8px;display:flex;align-items:center;justify-content:center;margin-bottom:1rem;font-size:1.25rem}
.feature-card h3{font-size:.9375rem;font-weight:600;margin-bottom:.5rem}
.feature-card p{font-size:.8125rem;color:var(--text-secondary);line-height:1.65}

/* Category Nav (index) */
.cat-nav{display:flex;gap:.5rem;flex-wrap:wrap;margin-bottom:1.5rem}
.cat-btn{padding:.5rem 1rem;border-radius:999px;font-size:.8125rem;font-weight:500;border:1px solid var(--border);background:var(--bg-card);color:var(--text-secondary);cursor:pointer;transition:all .2s}
.cat-btn:hover,.cat-btn.active{border-color:var(--accent);color:var(--accent);background:rgba(46,160,67,.1)}

/* Breadcrumb */
.breadcrumb{display:flex;align-items:center;gap:.5rem;font-size:.8125rem;color:var(--text-secondary);padding:1rem 0}
.breadcrumb a{color:var(--text-secondary);transition:color .2s}
.breadcrumb a:hover{color:var(--accent)}
.breadcrumb span{color:var(--text-secondary)}

/* Article Page */
.article-page{padding:2rem 0;max-width:800px}
.article-hero-img{width:100%;height:360px;object-fit:cover;border-radius:var(--radius);margin-bottom:1.5rem}
.article-header{margin-bottom:1.5rem}
.article-cat{font-size:.75rem;color:var(--accent);font-weight:600;text-transform:uppercase;letter-spacing:.06em;margin-bottom:.5rem;display:block}
.article-title{font-size:1.875rem;font-weight:700;line-height:1.2;letter-spacing:-.02em;margin-bottom:.75rem}
.article-meta{font-size:.8125rem;color:var(--text-secondary)}
.article-meta span+span::before{content:'·';margin:0 .375rem}
.article-body{font-size:.9375rem;line-height:1.8;color:var(--text-primary)}
.article-body h2{font-size:1.25rem;font-weight:700;margin:2rem 0 .75rem;padding-bottom:.5rem;border-bottom:1px solid var(--border)}
.article-body p{margin-bottom:1rem}
.article-body ul,.article-body ol{margin:.75rem 0 1rem 1.5rem}
.article-body li{margin-bottom:.375rem;list-style:disc}
.article-body strong{font-weight:600;color:var(--accent-light)}
.article-body img{width:100%;height:auto;border-radius:var(--radius);margin:1.25rem 0}
.article-body table{width:100%;border-collapse:collapse;margin:1.25rem 0;font-size:.875rem}
.article-body th,.article-body td{padding:.625rem .875rem;border:1px solid var(--border);text-align:left}
.article-body th{background:var(--bg-card);font-weight:600}
.article-body blockquote{background:var(--bg-card);border-left:3px solid var(--accent);padding:1rem 1.25rem;margin:1.25rem 0;border-radius:0 var(--radius) var(--radius) 0;font-style:italic;color:var(--text-secondary)}

/* Sidebar */
.article-layout{display:grid;grid-template-columns:1fr 280px;gap:2.5rem;align-items:start}
.article-sidebar{position:sticky;top:80px}
.sidebar-widget{background:var(--bg-card);border:1px solid var(--border);border-radius:var(--radius);padding:1.25rem;margin-bottom:1.25rem}
.sidebar-widget h3{font-size:.8125rem;font-weight:600;text-transform:uppercase;letter-spacing:.06em;color:var(--text-secondary);margin-bottom:1rem;padding-bottom:.5rem;border-bottom:1px solid var(--border)}
.related-list{display:flex;flex-direction:column;gap:.75rem}
.related-item{display:flex;gap:.625rem;align-items:flex-start}
.related-item img{width:56px;height:40px;object-fit:cover;border-radius:4px;flex-shrink:0}
.related-item h4{font-size:.8125rem;font-weight:500;line-height:1.4;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;cursor:pointer}
.related-item h4:hover{color:var(--accent)}

/* Category Page */
.category-grid{display:grid;grid-template-columns:1fr 280px;gap:2rem;align-items:start}
.category-main .section-title{margin-bottom:1.25rem}

/* Mobile Responsive */
@media(max-width:768px){
  .header-inner{height:56px}
  .main-nav{position:fixed;top:56px;left:0;right:0;bottom:0;background:var(--bg-secondary);flex-direction:column;padding:1.5rem;gap:.25rem;transform:translateX(-100%);transition:transform .3s;z-index:99}
  .main-nav.open{transform:translateX(0)}
  .main-nav a{padding:.875rem 1rem;font-size:1rem;width:100%}
  .nav-toggle{display:block}
  .hero-grid{grid-template-columns:1fr}
  .hero-title{font-size:1.875rem}
  .hero-image-wrap{margin-top:1rem}
  .article-grid{grid-template-columns:1fr}
  .feature-grid{grid-template-columns:1fr}
  .stats-strip{grid-template-columns:repeat(2,1fr)}
  .article-layout,.category-grid{grid-template-columns:1fr}
  .article-sidebar{position:static}
  .footer-inner{grid-template-columns:1fr}
  .footer-bottom .footer-inner{grid-template-columns:1fr}
}

/* Utilities */
.text-accent{color:var(--accent)}
.bg-card{background:var(--bg-card)}
.border-card{border:1px solid var(--border)}
.rounded-card{border-radius:var(--radius)}
.mt-4{margin-top:2rem}
.mb-4{margin-bottom:2rem}
.py-section{padding:2.5rem 0}
.container{max-width:var(--max-w);margin:0 auto;padding:0 1.5rem}
