:root{
  --bg0:#120907;
  --bg1:#24110c;
  --card: rgba(255,255,255,.06);
  --stroke: rgba(255,255,255,.10);
  --muted: rgba(255,238,214,.70);

  --neon1:#facc15;
  --neon2:#f59e0b;
  --neon3:#86efac;
}

*{ box-sizing:border-box; }

html,body{ height:100%; }

body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:#fff1db;
  background:
    radial-gradient(1200px 600px at 28% 8%, rgba(245,158,11,.18), rgba(0,0,0,0)),
    radial-gradient(900px 500px at 82% 18%, rgba(251,113,133,.14), rgba(0,0,0,0)),
    radial-gradient(700px 520px at 58% 82%, rgba(132,204,22,.08), rgba(0,0,0,0)),
    linear-gradient(180deg, var(--bg0), var(--bg1));
  overflow-x:hidden;
}

a{ color:var(--neon1); text-decoration:none; }
a:hover{ text-decoration:underline; }

canvas#particles{
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events:none;
  opacity:.9;
  z-index: 0;
}

.fx{
  position: fixed;
  inset: 0;
  pointer-events:none;
  background:
    radial-gradient(900px 500px at 60% 30%, rgba(245,158,11,.12), rgba(0,0,0,0)),
    radial-gradient(800px 480px at 20% 70%, rgba(251,113,133,.10), rgba(0,0,0,0));
  mix-blend-mode: screen;
  opacity:.6;
  z-index: 0;
}

.wrap{
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 18px auto 40px;
  padding: 0 14px;
}

.top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding: 10px 12px;
  border-radius: 16px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(10px);
}

.brand{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:900;
  letter-spacing:.6px;
}

.orb{
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, #fff, var(--neon1));
  box-shadow: 0 0 18px rgba(245,158,11,.55);
}

.nav{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap: wrap;
  justify-content:flex-end;
}

.themeLabel{
  display:inline-flex;
  gap:8px;
  align-items:center;
  opacity:.85;
  font-size: 12px;
}

.swatch{
  width:10px;
  height:10px;
  border-radius:999px;
  background: var(--neon1);
  box-shadow: 0 0 14px rgba(245,158,11,.55);
}

select{
  padding:8px 10px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(30,12,8,.64);
  color:#fff1db;
  outline:none;
}

.pill, .pill2{
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(30,12,8,.64);
  color:#fff1db;
  border-radius: 999px;
  padding: 8px 12px;
  cursor:pointer;
  backdrop-filter: blur(8px);
}

.pill:hover{
  border-color: rgba(245,158,11,.38);
  box-shadow: 0 0 18px rgba(245,158,11,.24);
}

.hero{
  margin-top: 14px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  backdrop-filter: blur(10px);
  overflow:hidden;
}

.heroInner{
  display:grid;
  grid-template-columns: 1.4fr .9fr;
  gap: 14px;
  padding: 16px;
}

@media (max-width: 980px){
  .heroInner{ grid-template-columns: 1fr; }
}

.titleRow{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap: 12px;
  flex-wrap: wrap;
}

h1{
  margin:0 0 6px;
  font-size: 28px;
  letter-spacing:.2px;
  color: var(--neon1);
  text-shadow: 0 0 22px rgba(245,158,11,.22);
}

.sub{
  opacity:.9;
  color: rgba(255,238,214,.86);
  line-height: 1.45;
  margin-top: 6px;
}

.tag{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(30,12,8,.62);
  font-size: 12px;
  opacity:.95;
}

.spark{
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--neon3);
  box-shadow: 0 0 14px rgba(132,204,22,.55);
}

.badges{
  display:flex;
  gap:10px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.badge{
  font-size: 12px;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
}

.memeLinks{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 10px;
  margin-top: 14px;
}

@media (max-width: 560px){
  .memeLinks{ grid-template-columns: 1fr; }
}

.memeCard{
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 16px;
  padding: 12px;
  background: rgba(30,12,8,.48);
  backdrop-filter: blur(8px);
  transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
  color:#fff1db;
}

.memeCard:hover{
  transform: translateY(-1px);
  border-color: rgba(245,158,11,.32);
  box-shadow: 0 0 26px rgba(245,158,11,.16);
  text-decoration:none;
}

.memeTop{
  display:flex;
  align-items:center;
  justify-content:space-between;
}

.memeIcon{ font-size: 18px; }
.memeT{ font-weight: 900; letter-spacing:.6px; color: var(--neon1); }
.memeSub{ font-size: 12px; opacity:.85; margin-top: 6px; }

.memeNote{
  margin-top: 10px;
  font-size: 12px;
  opacity: .75;
}

.statusRow{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top: 12px;
}

.chip{
  display:inline-flex;
  gap:8px;
  align-items:center;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(30,12,8,.62);
  font-size: 12px;
}

.dot{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(148,163,184,.5);
  box-shadow: 0 0 12px rgba(148,163,184,.25);
}
.dot.live{ background: var(--neon3); box-shadow: 0 0 14px rgba(132,204,22,.55); }
.dot.warn{ background: #fbbf24; box-shadow: 0 0 14px rgba(251,191,36,.45); }
.dot.bad{ background: #fb7185; box-shadow: 0 0 14px rgba(251,113,133,.45); }

.searchCard{
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 18px;
  padding: 14px;
  background: rgba(255,255,255,.04);
  backdrop-filter: blur(10px);
}

.searchTitle{
  display:flex;
  justify-content:space-between;
  align-items:baseline;
  gap: 10px;
  margin: 2px 0 10px;
  font-weight: 800;
}

.searchTitle small{
  font-weight: 600;
  opacity: .7;
}

kbd{
  padding: 2px 7px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(30,12,8,.62);
  font-size: 12px;
}

input{
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(30,12,8,.62);
  color:#fff1db;
  outline:none;
}

input::placeholder{ color: rgba(255,238,214,.55); }

.grid{
  margin-top: 14px;
  display:grid;
  grid-template-columns: 1.35fr .65fr;
  gap: 14px;
}

@media (max-width: 980px){
  .grid{ grid-template-columns: 1fr; }
}

.card{
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 18px;
  padding: 14px;
  background: rgba(255,255,255,.04);
  backdrop-filter: blur(10px);
}

.card h2{
  margin:0 0 12px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:10px;
}

.hint{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  font-size: 12px;
  opacity: .8;
}

table{
  width:100%;
  border-collapse: collapse;
  overflow:hidden;
  border-radius: 14px;
}

th,td{
  padding: 10px 10px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  font-size: 13px;
}

thead th{
  opacity:.85;
  font-weight: 800;
  font-size: 12px;
}

.muted{ opacity:.7; }

.rowName{ display:flex; gap:8px; align-items:center; flex-wrap:wrap; }
.sym{ font-weight: 900; }
.priceCell{ font-weight: 900; }

.chg{ font-weight: 900; }
.chg.up{ color: var(--neon3); }
.chg.down{ color: #f87171; }

@media (max-width: 640px){
  th,td{
    padding: 9px 8px;
    font-size: 12px;
  }

  th:nth-child(4),
  td:nth-child(4){
    display:none;
  }

  .rowName .muted{
    display:none;
  }
}

.gainersList{ display:grid; gap:10px; }
.gainer{
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 16px;
  padding: 10px 12px;
  background: rgba(30,12,8,.48);
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:10px;
}

footer{
  margin-top: 18px;
  text-align:center;
  font-size: 12px;
  opacity: .6;
}

/* ---------- Your custom additions (keep) ---------- */
.searchRow{
  display:flex;
  gap:10px;
  align-items:center;
}

.searchRow input{
  width:auto;
  flex: 1;
  min-width: 0;
}

.searchRow .go{
  width:120px;
  height:44px;
  flex: 0 0 120px;
  display:flex;
  align-items:center;
  justify-content:center;
  white-space: nowrap;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(245,158,11,.20);
  color:#fff1db;
  border-radius: 14px;
}

.searchRow .go:hover{
  border-color: rgba(245,158,11,.38);
  box-shadow: 0 0 20px rgba(245,158,11,.22);
}

.quickLinkRow{
  margin-top: 10px;
}

.quickLinkRow span{
  flex: 1;
  min-width: 0;
  color: #fff1db;
  font-size: 16px;
  font-weight: 800;
  padding: 0 12px;
}

.searchRow .linkButton{
  text-decoration: none;
}

/* World Map Timezones overlay */
.worldMapWrap{
  position: relative;
  width: 100%;
  height: clamp(360px, 56vw, 560px);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.10);
  background: radial-gradient(1200px 600px at 50% 30%, rgba(255,255,255,.06), rgba(0,0,0,.05));
  isolation: isolate;
}

.worldMapImg{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  opacity: .75;
  filter: sepia(.26) hue-rotate(330deg) saturate(1.08) contrast(1.03);
  z-index: 1;
}

.markers{
  position:absolute;
  inset:0;
  z-index:2;
}

.marker{
  position:absolute;
  transform: translate(-50%, -50%);
  display:grid;
  gap:6px;
  pointer-events:none;
}

.pin{
  width:10px;
  height:10px;
  border-radius:999px;
  background: var(--neon1);
  box-shadow: 0 0 0 3px rgba(245,158,11,.20), 0 0 18px rgba(245,158,11,.58);
}

.bubble{
  padding: 6px 10px;
  border-radius: 10px;
  background: rgba(30,12,8,.80);
  border: 1px solid rgba(245,158,11,.30);
  box-shadow: 0 0 18px rgba(245,158,11,.26);
  backdrop-filter: blur(6px);
  max-width: 220px;
  line-height: 1.2;
}
















.bubble b{ display:block; font-size: 12px; }
.bubble small{ display:block; opacity:.8; font-size: 11px; margin-top: 2px; }
.bubble .t{ display:block; margin-top: 6px; font-variant-numeric: tabular-nums; }
