/* Crown Sport Bet - Dark Athletic Premium Theme */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

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

:root {
  --bg: #0d0d0f;
  --bg-2: #151518;
  --bg-3: #1c1c21;
  --gold: #d4a017;
  --gold-light: #f0c040;
  --gold-dark: #a07810;
  --text: #e8e8ec;
  --text-2: #9090a0;
  --text-3: #606070;
  --border: #2a2a35;
  --radius: 8px;
  --radius-lg: 16px;
  --font: 'Outfit', system-ui, sans-serif;
}

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

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100dvh;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-light); }
a:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 2px; }

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-2); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13,13,15,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 2rem;
}
.header-logo img { height: 36px; width: auto; }
.header-logo { display: flex; align-items: center; gap: 0.75rem; }
.logo-text {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: -0.02em;
}

.site-nav { display: flex; align-items: center; gap: 0.25rem; flex: 1; }
.nav-link {
  padding: 0.5rem 1rem;
  color: var(--text-2);
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: var(--radius);
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}
.nav-link:hover, .nav-link[aria-current="page"] {
  color: var(--gold);
  background: rgba(212,160,23,0.08);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  cursor: pointer;
  padding: 0.5rem;
  font-size: 1.25rem;
}
.mobile-nav {
  display: none;
  flex-direction: column;
  padding: 1rem 1.5rem 1.5rem;
  border-top: 1px solid var(--border);
  gap: 0.25rem;
}
.mobile-nav.open { display: flex; }
.mobile-nav .nav-link { padding: 0.75rem 1rem; font-size: 1rem; }

/* Footer */
.site-footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 3rem 1.5rem 2rem;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}
.footer-brand { color: var(--text-2); font-size: 0.875rem; line-height: 1.7; }
.footer-brand p { margin-bottom: 1rem; }
.footer-col h4 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gold); margin-bottom: 1rem; font-weight: 600; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.5rem; }
.footer-col a { color: var(--text-2); font-size: 0.875rem; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  max-width: 1200px;
  margin: 2rem auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-3);
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom a { color: var(--text-3); }
.footer-bottom a:hover { color: var(--text-2); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16,1,0.3,1);
  border: none;
  white-space: nowrap;
  text-decoration: none;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--gold);
  color: #0d0d0f;
}
.btn-primary:hover { background: var(--gold-light); color: #0d0d0f; }
.btn-outline {
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
}
.btn-outline:hover { background: rgba(212,160,23,0.1); color: var(--gold-light); }

/* Article Layout */
.article-layout {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 3rem;
  align-items: start;
}
.article-main { min-width: 0; }
.article-sidebar { position: sticky; top: 80px; }

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-2);
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--text-2); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { color: var(--text-3); }

/* Category badge */
.cat-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: rgba(212,160,23,0.12);
  color: var(--gold);
  margin-bottom: 1rem;
}

/* Article hero */
.article-hero-img {
  width: 100%;
  border-radius: var(--radius-lg);
  margin-bottom: 2rem;
  aspect-ratio: 16/9;
  object-fit: cover;
}
.article-header h1 {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}
.article-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--text-2);
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

/* Article body */
.article-body { font-size: 1.05rem; line-height: 1.85; color: var(--text); }
.article-body h2 { font-size: 1.5rem; font-weight: 700; margin: 2.5rem 0 1rem; color: var(--text); letter-spacing: -0.01em; }
.article-body h3 { font-size: 1.2rem; font-weight: 600; margin: 2rem 0 0.75rem; }
.article-body p { margin-bottom: 1.25rem; }
.article-body ul, .article-body ol { margin: 1rem 0 1.5rem 1.5rem; }
.article-body li { margin-bottom: 0.5rem; }
.article-body strong { color: var(--text); font-weight: 600; }
.article-body .inline-img {
  width: 100%;
  border-radius: var(--radius);
  margin: 1.5rem 0;
}

/* Article inline image grids */
.img-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 1.5rem 0; }
.img-grid img { width: 100%; border-radius: var(--radius); aspect-ratio: 4/3; object-fit: cover; }

/* Related sidebar */
.article-aside {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}
.article-aside h3 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 1.25rem;
  font-weight: 600;
}
.related-list { list-style: none; display: flex; flex-direction: column; gap: 1rem; }
.related-item a {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}
.related-item img {
  width: 64px;
  height: 48px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
}
.related-item .related-title {
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--text);
}
.related-item a:hover .related-title { color: var(--gold); }

/* FAQ block */
.faq-block { margin-top: 3rem; border-top: 1px solid var(--border); padding-top: 2.5rem; }
.faq-block h2 { margin-top: 0 !important; }
.faq-item { margin-bottom: 1.25rem; }
.faq-q { font-weight: 600; color: var(--text); margin-bottom: 0.5rem; font-size: 1.05rem; }
.faq-a { color: var(--text-2); line-height: 1.75; }

/* Category page */
.cat-page { max-width: 1200px; margin: 0 auto; padding: 2.5rem 1.5rem; }
.cat-header { margin-bottom: 2.5rem; }
.cat-header h1 { font-size: clamp(1.8rem,4vw,2.8rem); font-weight: 800; margin-bottom: 0.75rem; letter-spacing: -0.03em; }
.cat-header p { color: var(--text-2); font-size: 1.1rem; max-width: 600px; }
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 1.5rem; }
.cat-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s;
}
.cat-card:hover { border-color: var(--gold-dark); transform: translateY(-2px); }
.cat-card img { width: 100%; height: 200px; object-fit: cover; }
.cat-card-body { padding: 1.25rem; }
.cat-card .cat-badge { margin-bottom: 0.75rem; }
.cat-card h2 { font-size: 1.15rem; font-weight: 600; margin-bottom: 0.5rem; line-height: 1.3; }
.cat-card h2 a { color: var(--text); }
.cat-card h2 a:hover { color: var(--gold); }
.cat-card p { color: var(--text-2); font-size: 0.9rem; line-height: 1.6; }
.cat-card-meta { display: flex; gap: 1rem; font-size: 0.8rem; color: var(--text-3); margin-top: 0.75rem; }

/* Homepage sections */
.home-hero {
  position: relative;
  overflow: hidden;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.hero-img { width: 100%; height: 420px; object-fit: cover; opacity: 0.5; }
.hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem;
}
.hero-content h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
  line-height: 1.1;
}
.hero-content p { font-size: 1.1rem; color: var(--text-2); max-width: 560px; margin-bottom: 1.75rem; }
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }

.section { padding: 4rem 1.5rem; max-width: 1200px; margin: 0 auto; }
.section-sm { padding: 2.5rem 1.5rem; max-width: 1200px; margin: 0 auto; }
.section-header { margin-bottom: 2.5rem; }
.section-header h2 { font-size: clamp(1.5rem,3vw,2.2rem); font-weight: 700; letter-spacing: -0.02em; margin-bottom: 0.5rem; }
.section-header p { color: var(--text-2); font-size: 1rem; }

/* Card grid */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; }
.card { background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; transition: border-color 0.2s; }
.card:hover { border-color: var(--gold-dark); }
.card img { width: 100%; height: 180px; object-fit: cover; }
.card-body { padding: 1.25rem; }
.card h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: 0.5rem; line-height: 1.3; }
.card h3 a { color: var(--text); }
.card h3 a:hover { color: var(--gold); }
.card p { color: var(--text-2); font-size: 0.875rem; line-height: 1.6; }

/* Stats */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.stat-item { text-align: center; padding: 2rem; background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--radius-lg); }
.stat-num { font-size: 2.5rem; font-weight: 800; color: var(--gold); letter-spacing: -0.03em; line-height: 1; margin-bottom: 0.5rem; }
.stat-label { color: var(--text-2); font-size: 0.9rem; }

/* Features */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.feature-item { padding: 1.75rem; background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--radius-lg); }
.feature-icon { width: 48px; height: 48px; background: rgba(212,160,23,0.1); border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; color: var(--gold); font-size: 1.25rem; }
.feature-item h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: 0.5rem; }
.feature-item p { color: var(--text-2); font-size: 0.875rem; line-height: 1.6; }

/* CTA */
.cta-section {
  background: linear-gradient(135deg, var(--bg-2) 0%, #1a1a1f 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 5rem 1.5rem;
  text-align: center;
}
.cta-section h2 { font-size: clamp(1.8rem,4vw,2.8rem); font-weight: 800; letter-spacing: -0.03em; margin-bottom: 1rem; }
.cta-section p { color: var(--text-2); font-size: 1.1rem; max-width: 520px; margin: 0 auto 2rem; }

/* Split layout */
.split-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.split-layout img { border-radius: var(--radius-lg); width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.split-content h2 { font-size: clamp(1.5rem,3vw,2.2rem); font-weight: 700; letter-spacing: -0.02em; margin-bottom: 1rem; }
.split-content p { color: var(--text-2); font-size: 1rem; line-height: 1.75; margin-bottom: 1.5rem; }

/* List section */
.info-list { list-style: none; display: flex; flex-direction: column; gap: 1rem; }
.info-list li { display: flex; gap: 0.75rem; align-items: flex-start; font-size: 1rem; color: var(--text-2); line-height: 1.6; }
.info-icon { color: var(--gold); font-weight: 700; flex-shrink: 0; margin-top: 0.1em; }

/* Responsive */
@media (max-width: 768px) {
  .site-nav { display: none; }
  .mobile-menu-btn { display: block; }
  .header-inner { gap: 1rem; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .article-layout { grid-template-columns: 1fr; }
  .article-sidebar { position: static; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: 1fr; }
  .split-layout { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: 1fr; }
  .card-grid { grid-template-columns: 1fr; }
  .img-grid { grid-template-columns: 1fr; }
  .hero-content h1 { font-size: 2rem; }
  .footer-inner { grid-template-columns: 1fr; gap: 1.5rem; }
}

@media (max-width: 480px) {
  html { font-size: 15px; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
  .hero-btns { flex-direction: column; width: 100%; }
  .btn { width: 100%; }
}
