:root {
  --black: #08080a;
  --panel: #0a0b10;
  --lime: #b8ff00;
  --lime-dim: rgba(184, 255, 0, 0.1);
  --lime-border: rgba(184, 255, 0, 0.25);
  --white: #ffffff;
  --pale: #b2c0d2;
  --dim: #505d6e;
  --border: rgba(255,255,255,0.07);
  --font-h: 'Oswald', sans-serif;
  --font-b: 'Outfit', sans-serif;
  --font-t: 'Space Grotesk', sans-serif;
}

*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-b);
  overflow-x: hidden;
}

/* ===== AMBIENT GLOW ===== */
.ambient-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(160px);
  opacity: 0.07;
  pointer-events: none;
  z-index: 0;
  animation: drift 30s infinite alternate;
}
.g1 { width:700px; height:700px; background:var(--lime); top:-200px; right:-100px; animation-delay:0s; }
.g2 { width:400px; height:400px; background:#00b8ff; bottom:10%; left:-100px; animation-delay:8s; }
@keyframes drift { 0%{transform:translate(0,0) scale(1);} 100%{transform:translate(60px,80px) scale(1.2);} }

/* ===== NAVIGATION ===== */
header {
  position: fixed;
  top: 0; width: 100%;
  z-index: 200;
  padding: 20px 40px;
}
.nav-bar {
  max-width: 1400px;
  margin: 0 auto;
  background: rgba(8,8,10,0.8);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  padding: 14px 36px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 6px 6px 0 #000;
}
.logo {
  font-family: var(--font-h);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--white);
  text-decoration: none;
}
.logo span { color: var(--lime); }

.nav-links {
  display: flex;
  list-style: none;
  gap: 36px;
}
.nav-links a {
  text-decoration: none;
  font-family: var(--font-t);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--dim);
  transition: color 0.2s;
  cursor: pointer;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--lime);
}

.nav-ig-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--lime);
  color: #000;
  text-decoration: none;
  font-family: var(--font-t);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
  padding: 10px 20px;
  border: 2px solid #000;
  box-shadow: 4px 4px 0 #000;
  transition: all 0.2s ease;
}
.nav-ig-btn:hover { transform:translate(-2px,-2px); box-shadow: 6px 6px 0 #000; }

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 120px 40px 80px;
}

.hero-inner {
  max-width: 900px;
  text-align: center;
  position: relative;
  z-index: 2;
}

.hero-tag {
  display: inline-block;
  font-family: var(--font-t);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--lime);
  border: 1px solid var(--lime-border);
  background: var(--lime-dim);
  padding: 8px 20px;
  margin-bottom: 28px;
}

.hero-h1 {
  font-family: var(--font-h);
  font-size: 100px;
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -3px;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.lime { color: var(--lime); }

.hero-p {
  font-size: 20px;
  color: var(--pale);
  font-weight: 300;
  line-height: 1.6;
  margin-bottom: 44px;
}

.hero-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
}

.btn-primary {
  font-family: var(--font-h);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 2px;
  background: var(--lime);
  color: #000;
  padding: 18px 44px;
  border: 2px solid #000;
  box-shadow: 8px 8px 0 #000;
  text-decoration: none;
  transition: all 0.2s ease;
  display: inline-block;
}
.btn-primary:hover { transform:translate(-4px,-4px); box-shadow:12px 12px 0 #000; }

.hero-domain {
  font-family: var(--font-t);
  font-size: 18px;
  font-weight: 700;
  color: var(--dim);
  border-bottom: 2px solid var(--lime);
  padding-bottom: 4px;
}

/* Decorative polaroid cards */
.hero-deco {
  position: absolute;
  background: #0d0e14;
  border: 2px solid var(--border);
  padding: 20px;
  width: 200px;
  box-shadow: 8px 8px 0 #000;
  z-index: 1;
  pointer-events: none;
}
.c1 { bottom: 10%; left: 5%; transform: rotate(-8deg); }
.c2 { top: 18%; right: 4%; transform: rotate(6deg); }
.c3 { bottom: 20%; right: 8%; transform: rotate(-4deg); }

.deco-tag {
  font-family: var(--font-t);
  font-size: 11px;
  font-weight: 800;
  color: var(--lime);
  background: var(--lime-dim);
  border: 1px solid var(--lime-border);
  padding: 4px 10px;
  display: inline-block;
  margin-bottom: 14px;
}
.deco-line {
  height: 8px;
  background: var(--border);
  border-radius: 2px;
  margin-bottom: 8px;
}
.deco-line.short { width: 60%; }

/* ===== TORN PAPER ===== */
.torn { width:100%; height:50px; display:block; overflow:hidden; }
.torn svg { width:100%; height:100%; display:block; }
.torn.top { background: var(--black); }
.torn.bottom { background: var(--black); }

/* ===== CONTAINER ===== */
.container { max-width: 1400px; margin: 0 auto; padding: 0 40px; }

/* ===== FEATURED SECTION ===== */
.featured-section {
  background: var(--panel);
  padding: 80px 0 60px;
}
.section-label {
  font-family: var(--font-t);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 3px;
  color: var(--lime);
  margin-bottom: 30px;
  padding-left: 4px;
  border-left: 3px solid var(--lime);
  padding-left: 12px;
}
.featured-card {
  background: #000;
  border: 2px solid var(--border);
  padding: 60px;
  box-shadow: 10px 10px 0 rgba(0,0,0,0.8);
  position: relative;
  transition: all 0.3s ease;
  cursor: pointer;
}
.featured-card:hover {
  border-color: var(--lime);
  box-shadow: 10px 10px 0 var(--lime);
  transform: translate(-3px,-3px);
}
.featured-card::before {
  content: 'TOP STORY';
  position: absolute;
  top: -14px; left: 50px;
  background: var(--lime);
  color: #000;
  font-family: var(--font-t);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  padding: 4px 16px;
  border: 1px solid #000;
  transform: rotate(-2deg);
}
.fc-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}
.fc-cat {
  font-family: var(--font-t);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--lime);
  text-transform: uppercase;
}
.fc-time {
  font-family: var(--font-t);
  font-size: 12px;
  color: var(--dim);
}
.fc-title {
  font-family: var(--font-h);
  font-size: 52px;
  font-weight: 700;
  line-height: 1.1;
  text-transform: uppercase;
  margin-bottom: 20px;
  letter-spacing: -1px;
}
.fc-summary {
  font-size: 19px;
  color: var(--pale);
  line-height: 1.65;
  font-weight: 300;
  max-width: 800px;
  margin-bottom: 36px;
}
.fc-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border);
  padding-top: 24px;
}
.fc-tags { display: flex; gap: 10px; flex-wrap: wrap; }
.fc-tag {
  font-family: var(--font-t);
  font-size: 12px;
  font-weight: 600;
  color: var(--dim);
  border: 1px solid var(--border);
  padding: 4px 12px;
}
.fc-link {
  font-family: var(--font-t);
  font-size: 13px;
  font-weight: 700;
  color: var(--lime);
  text-decoration: none;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: gap 0.2s;
}
.fc-link:hover { gap: 14px; }

/* ===== GRID SECTION ===== */
.grid-section { background: var(--panel); padding: 60px 0 100px; }

.grid-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  border-bottom: 2px solid var(--border);
  padding-bottom: 20px;
  margin-bottom: 50px;
}
.grid-title {
  font-family: var(--font-h);
  font-size: 44px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.filter-label {
  font-family: var(--font-t);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--lime);
  background: var(--lime-dim);
  border: 1px solid var(--lime-border);
  padding: 8px 18px;
}

/* Loading */
.loader {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 100px 0;
  color: var(--pale);
  gap: 20px;
}
.spinner {
  width: 44px; height: 44px;
  border: 4px solid var(--lime-dim);
  border-top-color: var(--lime);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
@keyframes spin { 100%{ transform: rotate(360deg); } }

/* News Card Grid - Masonry-like 3 col */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.news-card {
  background: #000;
  border: 2px solid var(--border);
  padding: 32px;
  position: relative;
  box-shadow: 6px 6px 0 rgba(0,0,0,0.9);
  transition: all 0.25s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}
/* Polaroid tape badge */
.news-card::before {
  content: attr(data-tag);
  position: absolute;
  top: -12px; left: 28px;
  background: var(--lime);
  color: #000;
  font-family: var(--font-t);
  font-size: 10px;
  font-weight: 800;
  padding: 3px 12px;
  letter-spacing: 1px;
  border: 1px solid #000;
  transform: rotate(-2.5deg);
}
/* Alternating tilt */
.card-grid .news-card:nth-child(even) { transform: rotate(-0.6deg); }
.card-grid .news-card:nth-child(3n) { transform: rotate(0.8deg); }

.news-card:hover {
  transform: translate(-4px,-4px) rotate(0) !important;
  border-color: var(--lime);
  box-shadow: 8px 8px 0 var(--lime);
}

.nc-cat {
  font-family: var(--font-t);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--lime);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.nc-title {
  font-family: var(--font-h);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
  margin-bottom: 14px;
  flex-grow: 1;
}
.nc-summary {
  font-size: 14px;
  color: var(--pale);
  line-height: 1.6;
  font-weight: 300;
  margin-bottom: 24px;
}
.nc-footer {
  border-top: 1px solid var(--border);
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nc-time {
  font-family: var(--font-t);
  font-size: 11px;
  color: var(--dim);
  font-weight: 500;
}
.nc-link {
  font-family: var(--font-t);
  font-size: 12px;
  font-weight: 700;
  color: var(--lime);
  text-decoration: none;
  letter-spacing: 1px;
}
.nc-link:hover { text-decoration: underline; }

/* ===== STATS BAR ===== */
.stats-bar {
  background: var(--lime);
  padding: 70px 0;
  background-image:
    radial-gradient(rgba(0,0,0,0.08) 15%, transparent 20%),
    radial-gradient(rgba(0,0,0,0.08) 15%, transparent 20%);
  background-size: 14px 14px;
  background-position: 0 0, 7px 7px;
  border-top: 3px solid #000;
  border-bottom: 3px solid #000;
}
.stats-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}
.stat {
  text-align: center;
  padding: 0 80px;
}
.stat-number {
  font-family: var(--font-h);
  font-size: 64px;
  font-weight: 700;
  color: #000;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-name {
  font-family: var(--font-t);
  font-size: 13px;
  font-weight: 700;
  color: rgba(0,0,0,0.6);
  text-transform: uppercase;
  letter-spacing: 1px;
  line-height: 1.4;
}
.stat-divider {
  width: 2px;
  height: 80px;
  background: rgba(0,0,0,0.15);
}

/* ===== NEWSLETTER ===== */
.newsletter-section {
  background: var(--panel);
  padding: 100px 0;
}
.newsletter-box {
  background: #000;
  border: 2px solid var(--border);
  padding: 70px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  box-shadow: 10px 10px 0 rgba(0,0,0,0.8);
  position: relative;
}
.newsletter-box::before {
  content: '📬 FREE DAILY BRIEF';
  position: absolute;
  top: -14px; left: 60px;
  background: var(--lime);
  color: #000;
  font-family: var(--font-t);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  padding: 4px 18px;
  border: 1px solid #000;
}
.nl-title {
  font-family: var(--font-h);
  font-size: 48px;
  font-weight: 700;
  line-height: 1.1;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.nl-desc {
  font-size: 16px;
  color: var(--pale);
  line-height: 1.6;
  font-weight: 300;
}
.nl-input-group {
  display: flex;
  gap: 0;
  margin-bottom: 14px;
}
.nl-input {
  flex: 1;
  background: #0a0b10;
  border: 2px solid var(--border);
  border-right: none;
  color: var(--white);
  font-family: var(--font-t);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  padding: 16px 20px;
  outline: none;
  transition: border-color 0.2s;
}
.nl-input:focus { border-color: var(--lime); }
.nl-input::placeholder { color: var(--dim); }
.nl-btn {
  background: var(--lime);
  color: #000;
  border: 2px solid #000;
  font-family: var(--font-h);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 2px;
  padding: 16px 30px;
  cursor: pointer;
  box-shadow: 4px 4px 0 #000;
  transition: all 0.2s;
}
.nl-btn:hover { transform: translate(-2px,-2px); box-shadow: 6px 6px 0 #000; }
.nl-note {
  font-family: var(--font-t);
  font-size: 12px;
  color: var(--dim);
}

/* ===== FOOTER ===== */
.site-footer {
  background: #000;
  padding: 60px 0 30px;
  border-top: 2px solid var(--border);
}
.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 50px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}
.footer-brand .logo { font-size: 36px; display: block; margin-bottom: 12px; }
.footer-brand p { font-size: 14px; color: var(--dim); line-height: 1.6; }
.footer-links-group {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-end;
}
.footer-links-group a {
  font-family: var(--font-t);
  font-size: 13px;
  font-weight: 600;
  color: var(--dim);
  text-decoration: none;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: color 0.2s;
}
.footer-links-group a:hover { color: var(--lime); }
.footer-bottom {
  text-align: center;
  font-family: var(--font-t);
  font-size: 12px;
  color: var(--dim);
  letter-spacing: 1px;
}

/* ===== TOAST ===== */
.toast {
  position: fixed;
  bottom: -80px;
  left: 50%;
  transform: translateX(-50%);
  background: #000;
  border: 2px solid var(--lime);
  color: var(--white);
  font-family: var(--font-t);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 16px 36px;
  box-shadow: 6px 6px 0 #000;
  z-index: 9999;
  transition: bottom 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.toast.show { bottom: 36px; }

/* ===== MODAL ===== */
.modal-overlay {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(8,8,10,0.9); backdrop-filter: blur(10px);
  z-index: 1000; display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity 0.3s ease;
}
.modal-overlay.active { opacity: 1; pointer-events: auto; }
.modal-content {
  background: #000; border: 2px solid var(--lime); width: 90%; max-width: 700px;
  max-height: 85vh; overflow-y: auto; padding: 50px; position: relative;
  box-shadow: 12px 12px 0 rgba(184, 255, 0, 0.2);
  transform: translateY(20px); transition: transform 0.3s ease;
}
.modal-overlay.active .modal-content { transform: translateY(0); }
.modal-close {
  position: absolute; top: 20px; right: 20px; background: none; border: none;
  color: var(--dim); font-size: 32px; cursor: pointer; transition: color 0.2s;
}
.modal-close:hover { color: var(--lime); }
.modal-cat { font-family: var(--font-t); font-size: 13px; font-weight: 800; color: var(--lime); letter-spacing: 2px; text-transform: uppercase; margin-bottom: 16px; }
.modal-title { font-family: var(--font-h); font-size: 42px; font-weight: 700; line-height: 1.1; margin-bottom: 12px; text-transform: uppercase; }
.modal-time { font-family: var(--font-t); font-size: 12px; color: var(--dim); margin-bottom: 30px; }
.modal-body { font-size: 18px; color: var(--pale); line-height: 1.7; font-weight: 300; margin-bottom: 40px; }
.modal-body p { margin-bottom: 20px; }
.modal-footer { border-top: 1px solid var(--border); padding-top: 30px; display: flex; justify-content: flex-end; }
.modal-img { width: 100%; max-height: 400px; object-fit: cover; border: 2px solid var(--border); margin-bottom: 30px; }
.fc-img { width: calc(100% + 120px); height: 400px; object-fit: cover; margin: -60px -60px 30px -60px; border-bottom: 2px solid var(--border); }
.nc-img { width: calc(100% + 64px); height: 200px; object-fit: cover; margin: -32px -32px 20px -32px; border-bottom: 2px solid var(--border); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-h1 { font-size: 72px; }
  .hero-deco { display: none; }
}
@media (max-width: 900px) {
  .nav-links { display: none; }
  .hero-h1 { font-size: 52px; }
  .card-grid { grid-template-columns: 1fr; }
  .newsletter-box { grid-template-columns: 1fr; gap: 40px; padding: 50px 30px; }
  .stats-row { flex-wrap: wrap; gap: 30px; }
  .stat-divider { display: none; }
  .footer-row { flex-direction: column; gap: 30px; }
  .footer-links-group { align-items: flex-start; }
  header { padding: 14px 20px; }
  .nav-bar { padding: 12px 20px; }
  .container { padding: 0 20px; }
  .fc-title { font-size: 32px; }
  .featured-card { padding: 40px 24px; }
}
