@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Barlow+Condensed:wght@400;600;700&family=Barlow:wght@300;400;500&display=swap');

:root {
  --red: #CC0000;
  --darkred: #990000;
  --white: #ffffff;
  --offwhite: #f8f4f4;
  --gray: #666;
  --light: #f0e8e8;
  --dark: #0a0a0a;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: #fff;
  color: #111;
  font-family: 'Barlow', Georgia, sans-serif;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }

/* ================== NAV ================== */
nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 60px;
  background: #fff;
  border-bottom: 3px solid var(--red);
  position: sticky; top: 0; z-index: 100;
}
.nav-logo {
  display: flex; align-items: center; gap: 12px;
  font-family: 'Bebas Neue', Georgia, sans-serif;
  font-size: 30px; color: var(--red); letter-spacing: 3px;
  text-decoration: none;
}
.nav-logo svg { width: 40px; height: 40px; }
.nav-links { display: flex; gap: 28px; align-items: center; flex-wrap: wrap; }
.nav-links a {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700; font-size: 14px; letter-spacing: 2px;
  text-transform: uppercase; color: #111; text-decoration: none;
  transition: color .15s;
}
.nav-links a:hover { color: var(--red); }
.nav-cta { background: var(--red); color: white !important; padding: 10px 22px; }
.nav-cta:hover { background: var(--darkred); }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-toggle span { display: block; width: 26px; height: 3px; background: #111; margin: 5px 0; }

/* ================== LIVE NEWS TICKER ================== */
.news-ticker {
  background: #0a0a0a;
  color: #fff;
  border-bottom: 2px solid var(--red);
  display: flex; align-items: stretch;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px; letter-spacing: 1px;
  overflow: hidden;
}
.news-ticker-label {
  background: var(--red);
  color: white;
  padding: 10px 18px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  display: flex; align-items: center; gap: 8px;
  flex-shrink: 0;
}
.news-ticker-label .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #fff;
  animation: pulse-dot 1.2s infinite;
}
@keyframes pulse-dot {
  0%,100% { opacity: 1; }
  50% { opacity: .25; }
}
.news-ticker-track {
  flex: 1;
  overflow: hidden;
  position: relative;
  display: flex; align-items: center;
}
.news-ticker-content {
  display: inline-flex; gap: 50px;
  white-space: nowrap;
  padding-left: 100%;
  animation: ticker-scroll 240s linear infinite;
}
.news-ticker-content a {
  color: #ddd; text-decoration: none;
  border-bottom: 1px dotted #444;
  padding: 10px 0;
}
.news-ticker-content a:hover { color: var(--red); border-bottom-color: var(--red); }
.news-ticker-content .src { color: #777; margin-left: 8px; font-size: 12px; }
@keyframes ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}
.news-ticker:hover .news-ticker-content { animation-play-state: paused; }

/* ================== HERO ================== */
.hero {
  display: flex; align-items: center; justify-content: space-between;
  padding: 80px 60px;
  background: #fff;
  min-height: 500px;
  position: relative;
  overflow: hidden;
  gap: 40px;
}
.hero::before {
  content: '';
  position: absolute; right: -120px; top: -120px;
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(204,0,0,.08), transparent 70%);
  pointer-events: none;
}
.hero-tag {
  display: inline-block; background: var(--red); color: white;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700; font-size: 13px; letter-spacing: 4px;
  text-transform: uppercase;
  padding: 7px 18px; margin-bottom: 24px;
}
.hero h1 {
  font-family: 'Bebas Neue', Georgia, sans-serif;
  font-size: clamp(56px, 9vw, 130px);
  line-height: 0.95;
  color: var(--red);
  letter-spacing: 2px;
  white-space: nowrap;
}
.hero h1 .dollar { color: #111; }
.hero-sub { margin-top: 24px; font-size: 18px; color: #555; line-height: 1.7; max-width: 520px; }
.hero-buttons { margin-top: 36px; display: flex; gap: 16px; flex-wrap: wrap; }
.btn-primary, .btn-outline {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700; font-size: 16px; letter-spacing: 3px;
  text-transform: uppercase; text-decoration: none;
  padding: 16px 36px; display: inline-flex; align-items: center; gap: 10px;
  border: 2px solid var(--red);
  transition: transform .15s, background .15s, color .15s;
}
.btn-primary { background: var(--red); color: white; }
.btn-primary:hover { background: var(--darkred); border-color: var(--darkred); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--red); }
.btn-outline:hover { background: var(--red); color: white; transform: translateY(-2px); }

.hero-logo { width: 340px; height: 340px; flex-shrink: 0; animation: float 5s ease-in-out infinite; }
@keyframes float {
  0%,100% { transform: translateY(0) rotate(0deg); }
  50%     { transform: translateY(-12px) rotate(2deg); }
}

/* ================== TICKER BAR (decorative) ================== */
.ticker-bar {
  background: var(--red); color: white;
  padding: 14px 0;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700; font-size: 15px; letter-spacing: 4px;
  overflow: hidden; white-space: nowrap;
}
.ticker-bar-content {
  display: inline-block;
  padding-left: 100%;
  animation: ticker-scroll 28s linear infinite;
}

/* ================== SECTION COMMON ================== */
.section-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700; font-size: 12px; letter-spacing: 5px;
  text-transform: uppercase; color: var(--red);
  margin-bottom: 12px;
}
.section-title {
  font-family: 'Bebas Neue', Georgia, sans-serif;
  font-size: clamp(38px, 6vw, 72px); line-height: 1;
}

/* ================== TRACKER ================== */
.tracker { background: var(--dark); color: white; padding: 80px 60px; }
.tracker .section-label { color: #ff3333; }
.tracker .section-title { color: white; }
.tracker-subtitle { color: #888; font-size: 16px; margin-top: 10px; margin-bottom: 40px; max-width: 760px; }

.tracker-layout { display: grid; grid-template-columns: 1fr 320px; gap: 28px; align-items: flex-start; }
.map-container { background: #111; border: 1px solid #222; }
.map-header {
  padding: 14px 20px; border-bottom: 1px solid #222;
  display: flex; align-items: center; justify-content: space-between;
}
.map-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px; letter-spacing: 3px; text-transform: uppercase; color: #888;
}
.live-badge {
  background: var(--red); color: white;
  padding: 4px 12px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px; letter-spacing: 3px;
  display: inline-flex; align-items: center; gap: 6px;
}
.live-badge .dot {
  width: 7px; height: 7px; border-radius: 50%; background: #fff;
  animation: pulse-dot 1.2s infinite;
}
#hanta-map { height: 480px; width: 100%; background: #0d0d0d; }
.map-footer {
  padding: 12px 20px; border-top: 1px solid #1a1a1a;
  font-size: 11px; color: #555;
  font-family: 'Barlow Condensed', sans-serif;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
}

.tracker-sidebar { display: flex; flex-direction: column; gap: 16px; }
.global-stats, .case-list, .outbreaks-feed {
  background: #111; border: 1px solid #222;
}
.global-stats { padding: 22px 24px; }
.gs-title, .case-list-header, .of-header {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px; letter-spacing: 4px; text-transform: uppercase;
  color: #666;
}
.global-stats .gs-title { margin-bottom: 14px; }
.gs-stat {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 0; border-bottom: 1px solid #1a1a1a;
}
.gs-stat:last-child { border-bottom: none; }
.gs-label { font-size: 13px; color: #888; }
.gs-value { font-family: 'Bebas Neue', Georgia, sans-serif; font-size: 22px; color: var(--red); }
.gs-value.white { color: white; font-size: 16px; }

.case-list-header { padding: 14px 20px; border-bottom: 1px solid #222; }
.case-item {
  padding: 12px 20px; border-bottom: 1px solid #1a1a1a;
  display: flex; justify-content: space-between; align-items: flex-start; gap: 12px;
  cursor: pointer; transition: background .15s;
}
.case-item:last-child { border-bottom: none; }
.case-item:hover { background: #161616; }
.case-item.active { background: #1a0606; border-left: 3px solid var(--red); padding-left: 17px; }
.case-country { font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 15px; color: white; }
.case-region { font-size: 11px; color: #555; margin-top: 2px; }
.case-count { font-family: 'Bebas Neue', Georgia, sans-serif; font-size: 20px; color: var(--red); white-space: nowrap; }
.case-bar { height: 3px; background: #1a1a1a; margin-top: 6px; border-radius: 2px; overflow: hidden; width: 100%; }
.case-bar-fill { height: 100%; background: var(--red); border-radius: 2px; }

.outbreaks-feed .of-header { padding: 14px 20px; border-bottom: 1px solid #222; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.of-item { padding: 12px 20px; border-bottom: 1px solid #1a1a1a; }
.of-item:last-child { border-bottom: none; }
.of-item a { color: #ddd; text-decoration: none; font-size: 13px; line-height: 1.4; display: block; }
.of-item a:hover { color: var(--red); }
.of-meta { font-size: 10px; color: #555; margin-top: 4px; font-family: 'Barlow Condensed', sans-serif; letter-spacing: 1px; text-transform: uppercase; }

/* Wide variant placed below the map */
.outbreaks-feed--wide { margin-top: 24px; }
.outbreaks-feed--wide .of-header {
  padding: 18px 28px;
  font-size: 12px;
}
.outbreaks-feed--wide #outbreaks-feed-body {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}
.outbreaks-feed--wide .of-item {
  padding: 18px 28px;
  border-bottom: 1px solid #1a1a1a;
}
.outbreaks-feed--wide .of-item:nth-child(odd) { border-right: 1px solid #1a1a1a; }
.outbreaks-feed--wide .of-item a {
  font-size: 16px;
  line-height: 1.5;
}
.outbreaks-feed--wide .of-meta {
  font-size: 11px;
  margin-top: 8px;
  letter-spacing: 2px;
}
@media (max-width: 768px) {
  .outbreaks-feed--wide #outbreaks-feed-body { grid-template-columns: 1fr; }
  .outbreaks-feed--wide .of-item:nth-child(odd) { border-right: none; }
}

/* Leaflet pulse marker */
.leaflet-container { background: #0d0d0d !important; }
.hanta-pulse {
  background: transparent !important;
  border: none !important;
}
.hanta-pulse .core {
  width: 14px; height: 14px; border-radius: 50%;
  background: #CC0000;
  box-shadow: 0 0 0 0 rgba(204,0,0,.7);
  animation: pulse-ring 2s infinite;
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
@keyframes pulse-ring {
  0%   { box-shadow: 0 0 0 0   rgba(204,0,0,.85); }
  70%  { box-shadow: 0 0 0 22px rgba(204,0,0,0); }
  100% { box-shadow: 0 0 0 0   rgba(204,0,0,0); }
}
.leaflet-popup-content-wrapper { background: #111; color: #fff; border: 1px solid var(--red); border-radius: 0; }
.leaflet-popup-tip { background: #111; }
.leaflet-popup-content { font-family: 'Barlow', sans-serif; margin: 12px 16px; }
.leaflet-popup-content strong { color: var(--red); font-family: 'Bebas Neue', sans-serif; font-size: 18px; letter-spacing: 1px; }
.leaflet-popup-content .pop-meta { font-family: 'Barlow Condensed', sans-serif; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: #888; margin-top: 4px; }
.leaflet-control-zoom a { background: #111 !important; color: #fff !important; border-color: #333 !important; }
.leaflet-control-attribution { background: rgba(0,0,0,.6) !important; color: #555 !important; font-size: 10px !important; }
.leaflet-control-attribution a { color: #888 !important; }

/* ================== ABOUT ================== */
.about { background: var(--offwhite); padding: 80px 60px; }
.about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: center; margin-top: 40px; }
.about-text p { font-size: 17px; line-height: 1.8; color: #333; margin-bottom: 18px; }
.about-text p strong { color: var(--red); }
.about-text a { color: var(--red); text-decoration: none; border-bottom: 1px solid var(--red); }
.about-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.fact-box {
  background: var(--red); color: white;
  padding: 28px 22px;
  display: flex; flex-direction: column; justify-content: space-between;
  min-height: 150px;
}
.fact-box.dark { background: #111; }
.fact-box.light { background: #fff; color: #111; }
.fact-box.light .fact-num { color: var(--red); }
.fact-num { font-family: 'Bebas Neue', Georgia, sans-serif; font-size: 44px; line-height: 1; }
.fact-label { font-family: 'Barlow Condensed', sans-serif; font-size: 12px; letter-spacing: 3px; text-transform: uppercase; opacity: .85; margin-top: 8px; }
.fact-sub { font-size: 11px; opacity: .65; margin-top: 6px; line-height: 1.4; }

/* ================== TOKENOMICS ================== */
.tokenomics { background: #111; color: white; padding: 80px 60px; }
.tokenomics .section-label { color: #ff3333; }
.tokenomics .section-title { color: white; }
.token-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; margin-top: 40px; }
.token-card {
  border: 1px solid #2a2a2a; padding: 36px 26px;
  border-left: 4px solid var(--red);
  background: #161616;
  transition: background .15s, transform .15s;
}
.token-card:hover { background: #1c0808; transform: translateY(-3px); }
.token-card-num {
  font-family: 'Bebas Neue', Georgia, sans-serif;
  font-size: 56px; color: var(--red); line-height: 1;
}
.token-card-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700; font-size: 16px; letter-spacing: 3px;
  text-transform: uppercase; color: white; margin-top: 10px;
}
.token-card-desc { font-size: 13px; color: #999; margin-top: 12px; line-height: 1.6; }

.token-address {
  margin-top: 40px;
  border: 1px solid #333;
  padding: 24px 32px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  background: #0d0d0d;
  flex-wrap: wrap;
}
.token-address-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px; letter-spacing: 3px; text-transform: uppercase; color: #777;
  margin-bottom: 8px;
}
.token-address-value {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 16px; color: var(--red); letter-spacing: 1px;
  word-break: break-all;
  user-select: all;
}
.copy-btn {
  background: var(--red); color: white; border: none; cursor: pointer;
  padding: 14px 26px;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700; font-size: 13px; letter-spacing: 3px;
  text-transform: uppercase; white-space: nowrap;
  transition: background .15s;
}
.copy-btn:hover { background: var(--darkred); }
.copy-btn.copied { background: #2c8a2c; }

.token-extras {
  margin-top: 20px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
}
.token-extra {
  background: #0d0d0d; border: 1px solid #2a2a2a;
  padding: 16px 20px;
  display: flex; flex-direction: column; gap: 4px;
}
.token-extra-label { font-family: 'Barlow Condensed', sans-serif; font-size: 11px; letter-spacing: 3px; text-transform: uppercase; color: #666; }
.token-extra-value { font-family: 'Bebas Neue', sans-serif; font-size: 22px; color: #fff; letter-spacing: 1px; }
.token-extra-value.red { color: var(--red); }

/* ================== HOW TO BUY ================== */
.how-to-buy { background: #fff; padding: 80px 60px; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; margin-top: 40px; }
.step {
  padding: 36px 24px;
  border-top: 4px solid var(--light);
  background: #fafafa;
  transition: border-color .2s, transform .15s;
  position: relative;
}
.step:hover { border-top-color: var(--red); transform: translateY(-3px); }
.step-num { font-family: 'Bebas Neue', Georgia, sans-serif; font-size: 64px; color: var(--light); line-height: 1; }
.step:hover .step-num { color: var(--red); }
.step-title {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 700;
  font-size: 18px; letter-spacing: 2px; text-transform: uppercase;
  margin-top: -6px;
}
.step-desc { font-size: 14px; color: #555; margin-top: 10px; line-height: 1.7; }
.step-link {
  display: inline-block; margin-top: 14px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--red); text-decoration: none; border-bottom: 1px dotted var(--red);
}

.buy-cta {
  margin-top: 40px;
  background: var(--red);
  padding: 44px 56px;
  display: flex; align-items: center; justify-content: space-between; gap: 30px;
  flex-wrap: wrap;
}
.buy-cta-text {
  font-family: 'Bebas Neue', Georgia, sans-serif;
  font-size: clamp(28px, 4vw, 48px); color: white; line-height: 1.1;
}
.buy-cta-text span { opacity: .65; }
.buy-cta .btn-light {
  background: #fff; color: var(--red); border: 2px solid #fff;
  padding: 18px 40px;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700; font-size: 17px; letter-spacing: 3px;
  text-transform: uppercase; text-decoration: none;
  display: inline-flex; align-items: center; gap: 10px;
  transition: background .15s, color .15s;
}
.buy-cta .btn-light:hover { background: transparent; color: white; }

/* ================== COMMUNITY ================== */
.community {
  background: var(--offwhite);
  padding: 60px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px;
}
.comm-card {
  background: white;
  border-top: 4px solid var(--red);
  padding: 36px 32px;
  display: flex; flex-direction: column;
  transition: transform .15s, box-shadow .15s;
}
.comm-card:hover { transform: translateY(-4px); box-shadow: 0 12px 24px rgba(0,0,0,.08); }
.comm-icon {
  width: 48px; height: 48px; margin-bottom: 16px;
  display: flex; align-items: center; justify-content: center;
  color: var(--red);
}
.comm-icon svg { width: 100%; height: 100%; }
.comm-title { font-family: 'Bebas Neue', Georgia, sans-serif; font-size: 30px; color: var(--red); letter-spacing: 1px; }
.comm-handle { font-family: 'Barlow Condensed', sans-serif; font-size: 15px; color: #888; letter-spacing: 2px; margin-top: 4px; }
.comm-desc { font-size: 14px; color: #555; margin-top: 12px; line-height: 1.6; flex: 1; }
.comm-link {
  display: inline-block; margin-top: 20px;
  background: var(--red); color: white;
  padding: 10px 22px;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700; font-size: 13px; letter-spacing: 3px;
  text-transform: uppercase; text-decoration: none;
  align-self: flex-start;
  transition: background .15s;
}
.comm-link:hover { background: var(--darkred); }

/* ================== FOOTER ================== */
footer {
  background: var(--dark); color: #666;
  padding: 36px 60px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; flex-wrap: wrap;
}
.footer-logo {
  display: flex; align-items: center; gap: 10px;
  font-family: 'Bebas Neue', Georgia, sans-serif;
  font-size: 24px; color: var(--red); letter-spacing: 2px;
}
.footer-logo svg { width: 32px; height: 32px; }
.footer-disclaimer { font-size: 11px; max-width: 540px; text-align: center; line-height: 1.6; }
.footer-links { display: flex; gap: 18px; }
.footer-links a {
  color: #888; text-decoration: none; font-size: 13px;
  font-family: 'Barlow Condensed', sans-serif; letter-spacing: 1px;
  display: inline-flex; align-items: center; gap: 6px;
}
.footer-links a:hover { color: var(--red); }
.footer-links svg { width: 16px; height: 16px; }

/* ================== RESPONSIVE ================== */
@media (max-width: 1024px) {
  .tracker-layout { grid-template-columns: 1fr; }
  .token-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .community { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .token-extras { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  nav { padding: 14px 20px; }
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; flex-direction: column; align-items: flex-start;
    padding: 16px 20px; gap: 14px;
    border-bottom: 3px solid var(--red);
  }
  .nav-links.open { display: flex; }
  .hero { flex-direction: column; padding: 50px 20px; text-align: center; }
  .hero h1 { white-space: normal; }
  .hero-logo { width: 220px; height: 220px; }
  .tracker, .about, .tokenomics, .how-to-buy, .community, footer { padding-left: 20px; padding-right: 20px; }
  .token-grid, .steps { grid-template-columns: 1fr; }
  .buy-cta { padding: 30px 24px; flex-direction: column; align-items: flex-start; }
  .footer-disclaimer { text-align: left; }
}
