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

:root {
  --bg: #070b12;
  --bg-2: #0d1420;
  --bg-3: #131c2c;
  --line: #1e2a3d;
  --text: #e6f1ff;
  --muted: #8fa3bd;
  --neon: #00e0b8;
  --pink: #ff5db1;
  --amber: #ffc857;
  --radius: 14px;
  --radius-sm: 8px;
  --max: 1280px;
}

html { scroll-behavior: smooth; }

body {
  font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

.fix-cover { width: 100%; height: 100%; object-fit: cover; }

/* Ticker */
.ticker-bar {
  background: linear-gradient(90deg, #071018, #0d1c2b, #071018);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  padding: 8px 0;
}
.ticker-track {
  display: flex;
  gap: 40px;
  white-space: nowrap;
  animation: ticker 40s linear infinite;
}
.ticker-item {
  font-size: 13px;
  color: var(--muted);
  letter-spacing: .4px;
}
.ticker-item b { color: var(--neon); font-weight: 700; }

@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Masthead */
.site-header { background: var(--bg); border-bottom: 1px solid var(--line); }

.masthead {
  max-width: var(--max);
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  gap: 24px;
  justify-content: space-between;
}

.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--neon), var(--pink));
  color: #06121a;
  font-weight: 800;
  font-size: 15px;
}
.brand-name { font-size: 20px; font-weight: 800; letter-spacing: .4px; }

.search-box {
  flex: 1;
  max-width: 460px;
  display: flex;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
}
.search-box input {
  flex: 1;
  background: transparent;
  border: 0;
  outline: none;
  padding: 11px 18px;
  color: var(--text);
  font-size: 14px;
}
.search-box input::placeholder { color: var(--muted); }
.search-box button {
  background: linear-gradient(135deg, var(--neon), var(--pink));
  border: 0;
  color: #06121a;
  font-weight: 700;
  padding: 0 22px;
  cursor: pointer;
  font-size: 14px;
}

.masthead-cta { display: flex; align-items: center; gap: 12px; }

.btn-solid, .btn-ghost {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
  border: 1px solid transparent;
}
.btn-solid {
  background: linear-gradient(135deg, var(--neon), var(--pink));
  color: #06121a;
  box-shadow: 0 6px 20px rgba(0, 224, 184, .25);
}
.btn-solid:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(255, 93, 177, .3); }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
}
.btn-ghost:hover { border-color: var(--neon); color: var(--neon); }

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 10px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  margin: 4px 0;
}

/* Nav */
.main-nav { border-top: 1px solid var(--line); background: var(--bg-2); }
.main-nav ul {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  gap: 8px;
  overflow-x: auto;
}
.main-nav li a {
  display: block;
  padding: 14px 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}
.main-nav li a:hover { color: var(--neon); border-bottom-color: var(--neon); }

/* Hero */
.page-main { max-width: var(--max); margin: 0 auto; padding: 0 24px 60px; }

.hero {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 32px;
  align-items: center;
  padding: 56px 0 40px;
}
.hero-eyebrow {
  color: var(--neon);
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 12px;
  margin-bottom: 14px;
}
.hero h1 {
  font-size: 52px;
  line-height: 1.1;
  font-weight: 800;
  margin-bottom: 18px;
  background: linear-gradient(135deg, #ffffff, var(--neon));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-lead { color: var(--muted); font-size: 17px; margin-bottom: 26px; max-width: 560px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 30px; }
.hero-stats { display: flex; gap: 36px; flex-wrap: wrap; }
.hero-stats li { display: flex; flex-direction: column; }
.hero-stats b { font-size: 26px; color: var(--neon); font-weight: 800; }
.hero-stats span { font-size: 13px; color: var(--muted); }

.hero-visual {
  height: 340px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 20px 50px rgba(0, 224, 184, .1);
}

/* Pills */
.pill-scroll {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 8px 0 22px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 34px;
}
.pill-scroll a {
  padding: 9px 18px;
  border-radius: 999px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
  transition: all .2s ease;
}
.pill-scroll a:hover {
  color: #06121a;
  background: var(--neon);
  border-color: var(--neon);
}

/* Layout */
.layout { display: grid; grid-template-columns: 1fr 320px; gap: 34px; }
.content-col { min-width: 0; }

.block { margin-bottom: 44px; }
.block-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 18px;
}
.block-head h2 { font-size: 24px; font-weight: 800; }
.block-head a { color: var(--neon); font-size: 13px; font-weight: 600; }

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-4px); border-color: var(--neon); }
.card img { height: 150px; }
.card h3 { font-size: 15px; padding: 14px 16px 6px; line-height: 1.4; }
.card h3 a:hover { color: var(--neon); }
.card p { padding: 0 16px 16px; font-size: 13px; color: var(--muted); }
.card-meta { padding: 0 16px 14px; font-size: 12px; color: var(--muted); }

/* Longform */
.longform {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 32px;
}
.longform h2 {
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 18px;
  color: var(--neon);
}
.longform p { color: #c3d2e3; margin-bottom: 16px; font-size: 15px; }
.longform p:last-child { margin-bottom: 0; }

/* Side column */
.side-col { display: flex; flex-direction: column; gap: 22px; }
.side-box {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}
.side-box h3 { font-size: 16px; margin-bottom: 14px; color: var(--neon); font-weight: 700; }
.winner-list li {
  display: flex;
  justify-content: space-between;
  padding: 9px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 13px;
  color: var(--muted);
}
.winner-list li:last-child { border-bottom: 0; }
.winner-list b { color: var(--amber); }
.quick-links li { padding: 8px 0; font-size: 14px; }
.quick-links a { color: var(--muted); }
.quick-links a:hover { color: var(--neon); }
.provider-list li {
  padding: 9px 0;
  font-size: 13px;
  color: var(--muted);
  border-bottom: 1px dashed var(--line);
}
.provider-list li:last-child { border-bottom: 0; }

/* Info strip */
.info-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 20px;
  padding: 26px;
  background: linear-gradient(135deg, #0d1c2b, #131c2c);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.info-col h4 { font-size: 15px; color: var(--neon); margin-bottom: 6px; }
.info-col p { font-size: 13px; color: var(--muted); }

/* Page hero (list) */
.page-hero {
  padding: 40px 0 30px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 34px;
}
.page-hero h1 { font-size: 36px; font-weight: 800; margin: 14px 0 8px; }
.page-hero p { color: var(--muted); }

.breadcrumb { font-size: 13px; color: var(--muted); display: flex; gap: 8px; flex-wrap: wrap; }
.breadcrumb a { color: var(--neon); }

/* Pagination */
.pager { margin-top: 30px; }
.pager ul { display: flex; gap: 8px; flex-wrap: wrap; }
.pager li a, .pager li span {
  display: inline-block;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  background: var(--bg-2);
  border: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}
.pager li a:hover, .pager li span.current {
  background: var(--neon);
  color: #06121a;
  border-color: var(--neon);
}

/* Article page */
.article-wrap { min-width: 0; }
.page-main > .article-wrap { padding-top: 34px; }

.article-head h1 { font-size: 38px; font-weight: 800; margin: 14px 0 12px; line-height: 1.2; }
.article-meta { display: flex; gap: 10px; color: var(--muted); font-size: 13px; margin-bottom: 22px; }
.article-meta .dot { color: var(--neon); }

.article-hero {
  height: 320px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  margin-bottom: 28px;
}

.article-body {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  font-size: 16px;
  color: #cfdcec;
}
.article-body p { margin-bottom: 18px; }
.article-body h2, .article-body h3 { color: var(--neon); margin: 24px 0 12px; }
.article-body img { border-radius: var(--radius-sm); margin: 18px 0; }
.article-body ul, .article-body ol { margin: 0 0 18px 20px; }
.article-body a { color: var(--neon); }

.article-pager {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 26px;
}
.article-pager div {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-size: 14px;
  color: var(--muted);
}
.article-pager a { color: var(--neon); }

.article-side { display: flex; flex-direction: column; gap: 22px; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--bg-2);
  margin-top: 40px;
}
.footer-top {
  max-width: var(--max);
  margin: 0 auto;
  padding: 44px 24px 30px;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 30px;
}
.footer-brand .brand-mark { display: inline-grid; margin-bottom: 12px; }
.footer-brand .brand-name { display: block; font-size: 18px; font-weight: 800; margin-bottom: 10px; }
.footer-brand p { color: var(--muted); font-size: 13px; max-width: 320px; }
.footer-col h4 { font-size: 14px; margin-bottom: 14px; color: var(--neon); }
.footer-col li { padding: 6px 0; }
.footer-col a { color: var(--muted); font-size: 14px; }
.footer-col a:hover { color: var(--neon); }

.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 18px 24px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}

/* Responsive */
@media (max-width: 1240px) {
  .hero h1 { font-size: 44px; }
  .layout { grid-template-columns: 1fr 280px; gap: 26px; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; gap: 24px; }
  .hero-visual { height: 280px; }
  .hero h1 { font-size: 40px; }
  .layout { grid-template-columns: 1fr; }
  .side-col { flex-direction: row; flex-wrap: wrap; }
  .side-box { flex: 1 1 240px; }
  .article-side { flex-direction: row; flex-wrap: wrap; }
  .article-side .side-box { flex: 1 1 260px; }
}

@media (max-width: 768px) {
  .masthead { flex-wrap: wrap; gap: 14px; padding: 14px 18px; }
  .search-box { order: 3; max-width: 100%; width: 100%; }
  .nav-toggle { display: block; }
  .main-nav ul { display: none; flex-direction: column; padding: 10px 18px; }
  .main-nav.open ul { display: flex; }
  .main-nav li a { border-bottom: 0; padding: 10px 0; }
  .page-main { padding: 0 18px 40px; }
  .hero { padding: 34px 0 26px; }
  .hero h1 { font-size: 32px; }
  .hero-stats { gap: 24px; }
  .card-grid { grid-template-columns: 1fr; }
  .longform { padding: 22px; }
  .info-strip { grid-template-columns: 1fr; padding: 22px; }
  .footer-top { grid-template-columns: 1fr 1fr; padding: 34px 18px 22px; }
  .footer-brand { grid-column: 1 / -1; }
  .article-head h1 { font-size: 28px; }
  .article-body { padding: 22px; }
  .article-pager { grid-template-columns: 1fr; }
  .article-hero { height: 220px; }
  .page-hero h1 { font-size: 28px; }
}