*,
*::before,
*::after {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background: radial-gradient(circle at top, #101827 0, #020617 50%, #000 100%);
  color: #e5e7eb;
}
a {
  color: #38bdf8;
}

@keyframes burnRowIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
    background-color: rgba(249, 115, 22, 0.08);
    box-shadow: 0 0 0 rgba(249, 115, 22, 0);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    background-color: transparent;
    box-shadow: 0 0 18px rgba(249, 115, 22, 0.10);
  }
}

 #heatwave-wrap {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 800px;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
#heatwave {
  width: 100%;
  height: 100%;
  display: block;
}
main, header, footer {
  position: relative;
  z-index: 1;
}

.burn-row-new {
  animation: burnRowIn 0.45s ease-out;
}
.burn-glow {
  box-shadow: 0 0 20px rgba(249,115,22,0.15);
}
.burn-row-fresh td:first-child {
  color: #fb923c;
  text-shadow: 0 0 10px rgba(249, 115, 22, 0.35);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(10px);
  background: rgba(15, 23, 42, 0.9);
  border-bottom: 1px solid rgba(148, 163, 184, 0.3);
}
.topbar-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.logo {
  font-weight: 600;
  letter-spacing: 0.03em;
}
.wallet-display {
  margin-left: auto;
  font-size: 0.9rem;
  opacity: 0.85;
}

.main {
  max-width: 1100px;
  margin: 1.5rem auto 2rem;
  padding: 0 1rem;
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.25rem;
}
.card {
  background: rgba(15, 23, 42, 0.95);
  border-radius: 1rem;
  padding: 1.25rem 1.5rem;
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.7);
}
.card h2,
.card h3 {
  margin-top: 0;
  margin-bottom: 0.6rem;
}
.card.info {
  border-style: dashed;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 0.5rem;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.field label {
  font-size: 0.9rem;
  font-weight: 500;
}
.field input,
.field select {
  border-radius: 0.6rem;
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: rgba(15, 23, 42, 0.9);
  padding: 0.55rem 0.7rem;
  color: #e5e7eb;
  font-size: 0.95rem;
}
.field small {
  font-size: 0.8rem;
  color: #9ca3af;
}

.btn {
  border: none;
  border-radius: 999px;
  padding: 0.55rem 1.1rem;
  font-size: 0.95rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: transform 0.08s ease, box-shadow 0.08s ease,
    background 0.15s ease;
}
.btn.primary {
  background: linear-gradient(135deg, #22c55e, #14b8a6);
  color: #020617;
  font-weight: 600;
  box-shadow: 0 10px 25px rgba(34, 197, 94, 0.35);
}
.btn.secondary {
  background: rgba(15, 23, 42, 0.95);
  color: #e5e7eb;
  border: 1px solid rgba(148, 163, 184, 0.6);
}
.btn:hover {
  transform: translateY(-1px);
}
.btn:active {
  transform: translateY(0px) scale(0.99);
  box-shadow: none;
}

.help-text,
.hint {
  font-size: 0.85rem;
  color: #9ca3af;
}
.instructions {
  padding-left: 1.1rem;
  font-size: 0.9rem;
  color: #d1d5db;
}
.instructions li + li {
  margin-top: 0.35rem;
}
.result {
  margin-top: 0.75rem;
  font-size: 0.9rem;
}
.alert,
.card.success {
  margin-top: 0.5rem;
}
.alert {
  padding: 0.6rem 0.8rem;
  border-radius: 0.7rem;
  font-size: 0.9rem;
}
.alert-error {
  background: rgba(248, 113, 113, 0.1);
  border: 1px solid rgba(248, 113, 113, 0.5);
}
.card.success {
  background: rgba(22, 163, 74, 0.08);
  border-color: rgba(22, 163, 74, 0.6);
}

.footer {
  text-align: center;
  font-size: 0.8rem;
  padding: 1rem 0 1.5rem;
  color: #6b7280;
}

.burn-card {
box-shadow: 0 0 20px rgba(255,120,0,0.05);
transition: all .2s ease;
}
.burn-card:hover {
box-shadow: 0 0 30px rgba(255,120,0,0.12);
transform: translateY(-2px);
}
.burn-row-new {
animation: burnFlash 1s ease;
}

@keyframes burnFlash {
0%   { background: rgba(255,120,0,.35); }
100% { background: transparent; }
}
.burn-glow {
animation: burnGlow 1.5s ease;
}
@keyframes burnGlow {
0% {
box-shadow: inset 0 0 25px rgba(255,120,0,.5);
}
100% {
box-shadow: inset 0 0 0 rgba(255,120,0,0);
}
}
#burn-feed tr:hover {
background: rgba(255,120,0,.05);
}

.media-logo img{
filter: grayscale(100%);
opacity:.7;
transition: all .3s;
}
.media-logo img:hover{
filter: grayscale(0%);
opacity:1;
}
.burn-ticker-wrap {
  overflow: hidden;
  position: relative;
}
.burn-ticker-shell::before,
.burn-ticker-shell::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px; /* 120px; or 80px; */
  z-index: 2;
  pointer-events: none;
}
.burn-ticker-shell {
  border-radius: inherit;
  overflow: hidden;
}
.burn-ticker-shell::before,
.burn-ticker-shell::after {
  border-radius: inherit;
}
.burn-ticker-shell::before {
  left: 0;
  background: linear-gradient(to right, #000 0%, rgba(0,0,0,0) 100%);
}
.burn-ticker-shell::after {
  right: 0;
  background: linear-gradient(to left, #000 0%, rgba(0,0,0,0) 100%);
}
.burn-ticker-track {
  display: flex;
  align-items: center;
  gap: 3rem;
  white-space: nowrap;
  width: max-content;
  will-change: transform;
  transform: translate3d(0,0,0);
  backface-visibility: hidden;
}
 

#burn-feed tr {
  border-bottom: 1px solid rgba(31,41,55,1); /* gray-800 */
}
#burn-feed td {
  border: none !important;
}
.burn-whale {
  background: rgba(255,120,0,0.08);
  box-shadow: 0 0 25px rgba(255,120,0,0.25);
}
.burn-medium {
  background: rgba(255,120,0,0.04);
}

#mystery-wrap {
  min-width: 120px;
  padding-left: 2px;
  padding-right: 2px;
  display: inline-block;
  position: relative;
  overflow: visible; /* 👈 allow text to breathe */
}
.particle {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, #ff6a00, transparent);
  opacity: 0;
  pointer-events: none;

  animation: drift 3s ease-in-out infinite;
}
@keyframes drift {
  0% {
    transform: translate(0px, 0px) scale(0.6);
    opacity: 0;
  }
  20% {
    opacity: 0.8;
  }
  50% {
    transform: translate(var(--x), var(--y)) scale(1);
    opacity: 0.6;
  }
  100% {
    transform: translate(0px, 0px) scale(0.4);
    opacity: 0;
  }
}
.mystery-letter {
  display: inline-block;
  animation: floatLetter 3s infinite ease-in-out;
}
@keyframes floatLetter {
  0%   { transform: translateY(0px); }
  25%  { transform: translateY(-1px); }
  50%  { transform: translateY(1px); }
  75%  { transform: translateY(-0.5px); }
  100% { transform: translateY(0px); }
}


@keyframes heroLogoFloat {
  0% {
    transform: translateY(-50%) rotate(-18deg) translateX(0);
  }
  50% {
    transform: translateY(calc(-50% - 12px)) rotate(-15deg) translateX(10px);
  }
  100% {
    transform: translateY(-50%) rotate(-18deg) translateX(0);
  }
}
.hero-logo-float {
  animation: heroLogoFloat 8s ease-in-out infinite;
}