/* waiball365.com - Dark Sports Editorial Theme */
:root {
  --primary: #00d4ff;
  --primary-dark: #0099cc;
  --accent: #ff6b35;
  --bg-dark: #0a0e17;
  --bg-card: #111827;
  --bg-card-hover: #1a2332;
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --border: #1e293b;
  --radius: 8px;
  --nav-h: 64px;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Inter', var(--font-sans);
}

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

html { font-size: 16px; scroll-behavior: smooth; }

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

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

/* Layout */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

/* Header / Nav */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10,14,23,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  height: var(--nav-h);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 100%;
}
.site-logo { display: flex; align-items: center; gap: 0.5rem; font-size: 1.2rem; font-weight: 700; color: var(--text-primary); }
.site-logo img { height: 36px; width: auto; }
.site-nav { display: flex; gap: 2rem; align-items: center; }
.site-nav a { font-size: 0.9rem; color: var(--text-secondary); transition: color 0.2s; font-weight: 500; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--primary); }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 0.5rem; color: var(--text-primary); }
@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .site-nav {
    display: none; position: absolute; top: var(--nav-h); left: 0; right: 0;
    background: var(--bg-card); flex-direction: column; padding: 1rem; gap: 1rem;
    border-bottom: 1px solid var(--border);
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 0.5rem 0; font-size: 1rem; }
}

/* Footer */
.site-footer {
  background: #060a10;
  border-top: 1px solid var(--border);
  padding: 3rem 0 2rem;
  margin-top: 5rem;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem; margin-bottom: 2rem; }
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr; gap: 2rem; } }
.footer-brand p { color: var(--text-muted); font-size: 0.875rem; margin-top: 0.75rem; max-width: 320px; }
.footer-col h4 { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 1rem; }
.footer-col ul li { margin-bottom: 0.5rem; }
.footer-col ul li a { color: var(--text-secondary); font-size: 0.875rem; transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--primary); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 1.5rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.5rem; }
.footer-bottom p { color: var(--text-muted); font-size: 0.8rem; }

/* Article Layout */
.article-wrapper {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 3rem;
  max-width: 1100px;
  margin: 3rem auto;
  padding: 0 1.5rem;
}
@media (max-width: 900px) { .article-wrapper { grid-template-columns: 1fr; } .article-aside { order: -1; } }

/* Breadcrumb */
.breadcrumb { display: flex; align-items: center; gap: 0.5rem; font-size: 0.8rem; color: var(--text-muted); margin-bottom: 1.5rem; }
.breadcrumb a { color: var(--text-secondary); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb span { color: var(--text-muted); }

/* Article header */
.article-header { margin-bottom: 2rem; }
.article-meta { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 0.75rem; }
.article-title { font-size: 1.75rem; font-weight: 700; line-height: 1.3; color: var(--text-primary); margin-bottom: 0.75rem; }
.article-summary { font-size: 1rem; color: var(--text-secondary); line-height: 1.7; }

/* Article body */
.article-body { font-size: 1rem; line-height: 1.8; color: var(--text-secondary); }
.article-body p { margin-bottom: 1.25rem; }
.article-body h2 { font-size: 1.3rem; font-weight: 700; color: var(--text-primary); margin: 2rem 0 1rem; padding-bottom: 0.5rem; border-bottom: 1px solid var(--border); }
.article-body h3 { font-size: 1.1rem; font-weight: 600; color: var(--text-primary); margin: 1.5rem 0 0.75rem; }
.article-body ul { margin: 1rem 0 1.5rem 1.5rem; }
.article-body ul li { list-style: disc; margin-bottom: 0.5rem; color: var(--text-secondary); }
.article-body ol { margin: 1rem 0 1.5rem 1.5rem; counter-reset: item; }
.article-body ol li { list-style: decimal; margin-bottom: 0.5rem; color: var(--text-secondary); }
.article-body img { border-radius: var(--radius); margin: 1.5rem 0; width: 100%; }
.article-body blockquote { border-left: 3px solid var(--primary); padding: 1rem 1.5rem; background: var(--bg-card); border-radius: 0 var(--radius) var(--radius) 0; margin: 1.5rem 0; color: var(--text-secondary); font-style: italic; }
.article-body .faq-item { margin-bottom: 1.5rem; }
.article-body .faq-item h3 { color: var(--text-primary); font-size: 1rem; margin-bottom: 0.5rem; }
.article-body .faq-item p { color: var(--text-secondary); margin-bottom: 0; }

/* Article aside / related */
.article-aside { position: sticky; top: calc(var(--nav-h) + 1.5rem); align-self: start; }
.article-aside h3 { font-size: 0.85rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted); margin-bottom: 1rem; padding-bottom: 0.5rem; border-bottom: 1px solid var(--border); }
.article-aside ul li { margin-bottom: 1rem; }
.article-aside ul li a { display: block; color: var(--text-secondary); font-size: 0.875rem; line-height: 1.5; transition: color 0.2s; padding: 0.75rem; background: var(--bg-card); border-radius: var(--radius); border: 1px solid var(--border); }
.article-aside ul li a:hover { border-color: var(--primary); color: var(--primary); }

/* Category pages */
.cat-header { padding: 3rem 0 2rem; border-bottom: 1px solid var(--border); margin-bottom: 2rem; }
.cat-header h1 { font-size: 1.75rem; font-weight: 700; color: var(--text-primary); }
.cat-header p { color: var(--text-muted); font-size: 0.9rem; margin-top: 0.5rem; }
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; }
.cat-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: border-color 0.2s, transform 0.2s; }
.cat-card:hover { border-color: var(--primary); transform: translateY(-2px); }
.cat-card a { display: block; }
.cat-card img { width: 100%; height: 180px; object-fit: cover; }
.cat-card-body { padding: 1.25rem; }
.cat-card-body h3 { font-size: 1rem; font-weight: 600; color: var(--text-primary); margin-bottom: 0.5rem; }
.cat-card-body p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; }
.cat-card-meta { display: flex; justify-content: space-between; align-items: center; margin-top: 0.75rem; font-size: 0.75rem; color: var(--text-muted); }

/* Buttons */
.btn { display: inline-block; padding: 0.6rem 1.5rem; border-radius: var(--radius); font-size: 0.875rem; font-weight: 600; transition: all 0.2s; cursor: pointer; border: none; }
.btn-primary { background: var(--primary); color: #000; }
.btn-primary:hover { background: var(--primary-dark); }
.btn-ghost { background: transparent; color: var(--text-secondary); border: 1px solid var(--border); }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }

/* Utility */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.5rem; }
.mb-1 { margin-bottom: 0.5rem; } .mb-2 { margin-bottom: 1rem; } .mb-3 { margin-bottom: 1.5rem; }
