@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --blue-deep: #0039a6;
  --blue-royal: #0052d4;
  --blue-sky: #1a75ff;
  --red-mario: #e60012;
  --red-dark: #b8000e;
  --gold-coin: #ffcc00;
  --gold-dark: #e6b800;
  --bg-canvas: #f4f7fc;
  --surface: #ffffff;
  --ink-primary: #0f172a;
  --ink-muted: #475569;
  --border-soft: #e2e8f0;
  --radius-lg: 20px;
  --radius-md: 14px;
  --shadow-card: 0 10px 30px -10px rgba(0, 82, 212, 0.12);
  --shadow-hover: 0 18px 40px -12px rgba(0, 82, 212, 0.22);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  background: var(--bg-canvas);
  color: var(--ink-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Top Breaking News Ticker */
.ticker-bar {
  background: linear-gradient(90deg, var(--blue-deep), var(--blue-royal));
  color: #ffffff;
  font-size: 0.85rem;
  border-bottom: 3px solid var(--gold-coin);
}
.ticker-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px 0;
  overflow: hidden;
}
.ticker-badge {
  background: var(--red-mario);
  color: #fff;
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
  text-transform: uppercase;
  box-shadow: 0 2px 8px rgba(230, 0, 18, 0.4);
}
.ticker-track-wrap {
  overflow: hidden;
  flex: 1;
  position: relative;
}
.ticker-track {
  display: flex;
  gap: 48px;
  white-space: nowrap;
  animation: tickerScroll 26s linear infinite;
}
.ticker-track:hover { animation-play-state: paused; }
@keyframes tickerScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Header & Navbar */
.site-header {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-soft);
  position: sticky;
  top: 0;
  z-index: 50;
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 0;
}
.brand-lockup {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand-logo-img {
  height: 40px;
  width: auto;
  object-fit: contain;
}
.brand-name-wrap {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.brand-title {
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--blue-royal);
  letter-spacing: -0.02em;
}
.brand-title span { color: var(--red-mario); }
.brand-sub {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--ink-muted);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-link {
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.86rem;
  white-space: nowrap;
  color: var(--ink-muted);
  transition: all 0.2s ease;
}
.nav-link:hover, .nav-link.active {
  background: #eaf1ff;
  color: var(--blue-royal);
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.88rem;
  white-space: nowrap;
  border: none;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, var(--red-mario), #ff2a3c);
  color: #ffffff;
  box-shadow: 0 8px 20px -6px rgba(230, 0, 18, 0.55);
}
.btn-primary:hover { box-shadow: 0 12px 24px -6px rgba(230, 0, 18, 0.7); }
.btn-blue {
  background: linear-gradient(135deg, var(--blue-royal), var(--blue-sky));
  color: #ffffff;
  box-shadow: 0 8px 20px -6px rgba(0, 82, 212, 0.45);
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold-coin), #ffd93d);
  color: #0f172a;
  box-shadow: 0 8px 20px -6px rgba(230, 184, 0, 0.5);
}
.btn-outline {
  background: #ffffff;
  color: var(--blue-royal);
  border: 2px solid #cbd5e1;
}
.btn-outline:hover { border-color: var(--blue-royal); background: #f8fbff; }

.mobile-toggle {
  display: none;
  background: #eaf1ff;
  color: var(--blue-royal);
  border: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  font-size: 1.3rem;
  cursor: pointer;
}

/* Hero Section */
.hero-section {
  background: radial-gradient(circle at top right, #1a75ff 0%, #0052d4 48%, #002b7a 100%);
  color: #ffffff;
  padding: 48px 0 56px;
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  gap: 32px;
  align-items: center;
}
.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 204, 0, 0.5);
  color: var(--gold-coin);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 16px;
}
.hero-title {
  font-size: clamp(1.9rem, 3.6vw, 2.85rem);
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 16px;
  letter-spacing: -0.025em;
}
.hero-desc {
  font-size: 1.03rem;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 26px;
  max-width: 580px;
}
.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.hero-card {
  background: rgba(255, 255, 255, 0.98);
  color: var(--ink-primary);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: 0 24px 50px -15px rgba(0, 15, 50, 0.45);
  border: 2px solid rgba(255, 204, 0, 0.65);
}

/* Cards & Grids */
.section { padding: 52px 0; }
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.section-kicker {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--red-mario);
  margin-bottom: 4px;
}
.section-title {
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 800;
  margin: 0;
  letter-spacing: -0.02em;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.news-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-soft);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  display: flex;
  flex-direction: column;
}
.news-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}
.news-thumb {
  height: 170px;
  background: linear-gradient(135deg, var(--blue-royal), var(--blue-sky));
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 16px;
  color: #fff;
}
.news-thumb.red { background: linear-gradient(135deg, #c80010, #ff3b4b); }
.news-thumb.gold { background: linear-gradient(135deg, #0039a6, #1a75ff); border-bottom: 4px solid var(--gold-coin); }
.news-cat {
  background: var(--gold-coin);
  color: #0f172a;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 11px;
  border-radius: 999px;
  text-transform: uppercase;
}
.news-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.news-meta {
  font-size: 0.78rem;
  color: var(--ink-muted);
  margin-bottom: 8px;
  font-weight: 600;
}
.news-title {
  font-size: 1.1rem;
  font-weight: 800;
  margin: 0 0 10px;
  line-height: 1.35;
}
.news-excerpt {
  font-size: 0.92rem;
  color: var(--ink-muted);
  margin: 0 0 16px;
  flex: 1;
}
.news-read-btn {
  align-self: flex-start;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--blue-royal);
  background: #eaf1ff;
  padding: 7px 14px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
}
.news-read-btn:hover { background: var(--blue-royal); color: #fff; }

/* Banner 720x180 Strip */
.banner-strip-wrap {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 16px;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-card);
  text-align: center;
}
.banner-720 {
  width: 100%;
  max-width: 720px;
  height: auto;
  margin: 0 auto;
  border-radius: 12px;
}

/* Filter Pills */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
  align-items: center;
}
.filter-pill {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--border-soft);
  background: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--ink-muted);
  cursor: pointer;
}
.filter-pill.active, .filter-pill:hover {
  background: var(--blue-royal);
  color: #fff;
  border-color: var(--blue-royal);
}
.search-input {
  margin-left: auto;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid #cbd5e1;
  font-family: inherit;
  font-size: 0.9rem;
  min-width: 230px;
}

/* Ads Landing Page Specific */
.ads-hero {
  background: radial-gradient(circle at top center, #1a75ff 0%, #0044b8 55%, #002366 100%);
  color: #ffffff;
  padding: 36px 0 56px;
}
.ads-card-shell {
  background: #ffffff;
  color: var(--ink-primary);
  border-radius: 26px;
  padding: 28px;
  box-shadow: 0 28px 60px -15px rgba(0, 15, 50, 0.5);
  border: 3px solid var(--gold-coin);
}
.ads-square-banner {
  width: 100%;
  max-width: 420px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 18px;
  margin: 0 auto;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.18);
  border: 3px solid #eaf1ff;
}
.ads-cta-stack {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 22px 0;
}
.ads-cta-stack .btn {
  padding: 15px 20px;
  font-size: 1.02rem;
}

.pulse-dot {
  width: 10px;
  height: 10px;
  background: #22c55e;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.25);
}

/* Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 100;
}
.modal-backdrop.open { display: flex; }
.modal-box {
  background: #ffffff;
  border-radius: 22px;
  max-width: 680px;
  width: 100%;
  max-height: 86vh;
  overflow-y: auto;
  padding: 28px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
  position: relative;
}
.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: #f1f5f9;
  font-weight: 800;
  cursor: pointer;
}

/* Footer */
.site-footer {
  background: #0b1630;
  color: #cbd5e1;
  padding: 44px 0 28px;
  border-top: 4px solid var(--gold-coin);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 28px;
  margin-bottom: 28px;
}
.footer-title {
  color: #ffffff;
  font-weight: 800;
  margin: 0 0 12px;
  font-size: 1rem;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.9rem;
}
.footer-links a:hover { color: var(--gold-coin); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 18px;
  font-size: 0.82rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

/* Sticky Mobile CTA on Ads */
.sticky-ads-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.97);
  border-top: 2px solid var(--gold-coin);
  padding: 10px 16px;
  gap: 10px;
  z-index: 60;
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.12);
}

@media (max-width: 900px) {
  .hero-grid, .grid-3, .grid-2, .footer-grid {
    grid-template-columns: 1fr;
  }
  .nav-links, .nav-actions { display: none; }
  .nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-soft);
    box-shadow: 0 12px 24px rgba(0,0,0,0.08);
  }
  .mobile-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .ads-cta-stack { grid-template-columns: 1fr; }
  .sticky-ads-bar { display: flex; }
  body.has-sticky-ads { padding-bottom: 72px; }
}
