*,
*::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 16% 0%, rgba(247, 148, 34, 0.14) 0, transparent 28rem),
    radial-gradient(circle at 82% 6%, rgba(247, 148, 34, 0.07) 0, transparent 34rem),
    linear-gradient(180deg, #11100e 0%, #090909 42%, #030303 100%);
  color: #f4f4f5;
}
a {
  color: #d6d3d1;
}
header {
  background: rgba(3, 3, 3, 0.82);
  border-bottom-color: rgba(247, 148, 34, 0.16) !important;
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.2);
}
footer {
  border-top-color: rgba(247, 148, 34, 0.14) !important;
}

/* FLOKI theme overrides for the existing Tailwind utility markup. */
.text-red-500 {
  color: #f79422 !important;
}
.text-red-400 {
  color: #f9ad4d !important;
}
.text-red-300 {
  color: #fbc37a !important;
}
.hover\:text-red-500:hover {
  color: #f79422 !important;
}
.hover\:text-red-400:hover {
  color: #f9ad4d !important;
}
.bg-red-700,
.bg-red-800 {
  background-color: #f79422 !important;
  color: #090909 !important;
}
.hover\:bg-red-600:hover,
.hover\:bg-red-700:hover {
  background-color: #ffad45 !important;
  color: #090909 !important;
}
.border-red-700 {
  border-color: #f79422 !important;
}
.border-red-950 {
  border-color: rgba(247, 148, 34, 0.2) !important;
}
.border-\[\#450a0a\] {
  border-color: rgba(247, 148, 34, 0.28) !important;
}
.hover\:border-red-700:hover,
.focus\:border-red-700:focus,
.focus-within\:border-red-700:focus-within {
  border-color: #f79422 !important;
}
.from-red-500\/0 {
  --tw-gradient-from: rgba(247, 148, 34, 0) var(--tw-gradient-from-position) !important;
}
.via-red-500\/20 {
  --tw-gradient-via: rgba(247, 148, 34, 0.2) var(--tw-gradient-via-position) !important;
}
.to-red-500\/0 {
  --tw-gradient-to: rgba(247, 148, 34, 0) var(--tw-gradient-to-position) !important;
}
.theme-panel,
.burn-card,
.chart-panel,
.theme-stat-tile {
  background: linear-gradient(145deg, rgba(18, 18, 18, 0.94), rgba(5, 5, 5, 0.88));
  box-shadow:
    0 16px 36px rgba(0, 0, 0, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.025);
}
.theme-primary-btn {
  box-shadow: 0 10px 28px rgba(247, 148, 34, 0.16);
}
.theme-input:focus {
  box-shadow: 0 0 0 3px rgba(247, 148, 34, 0.1);
}
@keyframes burnRowIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
    background-color: rgba(247, 148, 34, 0.08);
    box-shadow: 0 0 0 rgba(247, 148, 34, 0);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    background-color: transparent;
    box-shadow: 0 8px 20px rgba(0,0,0,0.5);
  }
}
/* Chrome, Safari, Edge */
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
/* Firefox (modern way) */
input[type="number"] {
  appearance: textfield;
}
 #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 12px rgba(247, 148, 34, 0.1);
}
.burn-row-fresh td:first-child {
  color: #f79422;
  text-shadow: 0 0 6px rgba(247, 148, 34, 0.2);
}
.help-text,
.hint {
  font-size: 0.85rem;
  color: #9ca3af;
} 
.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(247, 148, 34, 0.08);
  border: 1px solid rgba(247, 148, 34, 0.4);
}
.card.success {
  background: rgba(22, 163, 74, 0.08);
  border-color: rgba(22, 163, 74, 0.6);
}
.burn-card {
box-shadow: 0 10px 20px rgba(0,0,0,0.4);
transition: all .2s ease;
}
@keyframes burnFlash {
0%   { background: rgba(247,148,34,.22); }
100% { background: transparent; }
}
.burn-glow {
animation: burnGlow 1.5s ease;
}
@keyframes burnGlow {
0% {
box-shadow: inset 0 0 15px rgba(0,0,0,.6);
}
100% {
box-shadow: inset 0 0 0 rgba(0,0,0,0);
}
}
#burn-feed tr:hover {
background: rgba(30, 41, 59, 0.6);
}
.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(247,148,34,0.07);
}
.burn-medium {
  background: rgba(247,148,34,0.04);
}
.particle {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, #f79422, 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;
}
 
.btn-lang {
  font-size: 13px;
  display: block;
  width: 100%;
  text-align: left;
  padding: 5px 10px;
  border-radius: 6px;
  color: #111827;
  transition: 0.2s;
}
.btn-lang:hover {
  background: #050505;
  color: #e5e7eb;
  box-shadow: inset 0 0 0 1px rgba(247, 148, 34, 0.55);
}
.btn-lang.active {
  background: #050505;
  color: #e5e7eb;
  box-shadow: inset 0 0 0 1px rgba(247, 148, 34, 0.55);
}
 .rtl {
  direction: rtl;
}
.rtl input {
  text-align: right;
}
.rtl input[type="number"] {
  direction: ltr; /* keeps numbers readable */
  text-align: right;
}
/* Modern scrollbar */
.custom-scroll::-webkit-scrollbar {
  width: 6px;
}
.custom-scroll::-webkit-scrollbar-track {
  background: transparent;
}
.custom-scroll::-webkit-scrollbar-thumb {
  background: rgba(247, 148, 34, 0.45);
  border-radius: 10px;
  transition: background 0.2s ease;
}
.custom-scroll::-webkit-scrollbar-thumb:hover {
  background: rgba(247, 148, 34, 0.75);
}
/* Firefox */
.custom-scroll {
  scrollbar-width: thin;
  scrollbar-color: rgba(247,148,34,0.65) transparent;
}
/*tip*/
.tippy-box {
  background-color: #111827 !important; /* dark (gray-900) */
  color: #e5e7eb !important;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 10px 30px rgba(0,0,0,0.6);
}
/* arrow color */
.tippy-box[data-placement^='top'] > .tippy-arrow::before {
  border-top-color: #111827;
}
.tippy-box[data-placement^='bottom'] > .tippy-arrow::before {
  border-bottom-color: #111827;
}
.tippy-box[data-placement^='left'] > .tippy-arrow::before {
  border-left-color: #111827;
}
.tippy-box[data-placement^='right'] > .tippy-arrow::before {
  border-right-color: #111827;
}
.tippy-box[data-theme~='flokiburn'] {
  max-width: calc(100vw - 2rem) !important;
  background-color: #050505 !important;
  color: #e5e7eb !important;
  border: 1px solid rgba(247, 148, 34, 0.38);
  box-shadow: 0 16px 40px rgba(0,0,0,0.65);
}
.tippy-box[data-theme~='flokiburn'] > .tippy-arrow {
  color: #050505;
}
.tippy-box[data-theme~='flokiburn'] .tippy-content {
  padding: 6px 8px;
}
#burn-rate-box {
  background-color: #050505 !important;
}
.apexcharts-tooltip.apexcharts-theme-dark,
.apexcharts-xaxistooltip.apexcharts-theme-dark {
  background: #050505 !important;
  border: 1px solid rgba(247, 148, 34, 0.38) !important;
  color: #e5e7eb !important;
  box-shadow: 0 16px 40px rgba(0,0,0,0.65) !important;
}
.apexcharts-tooltip.apexcharts-theme-dark .apexcharts-tooltip-title {
  background: #050505 !important;
  border-bottom: 1px solid rgba(247, 148, 34, 0.28) !important;
  color: #e5e7eb !important;
}
.apexcharts-xaxistooltip.apexcharts-theme-dark::before,
.apexcharts-xaxistooltip.apexcharts-theme-dark::after {
  border-bottom-color: #050505 !important;
}
.tooltip-icon {
  position: relative;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #f79422;
  color: #090909;
  font-weight: 700;
  font-size: 9px;
  cursor: pointer;
  user-select: none;
  line-height: 1.5;
  font-family: sans-serif;
  margin-left: 1px;
  top: -1px;
}
.tooltip-text {
  position: fixed; /* fixed so it stays relative to viewport */
  background-color: #333;
  color: white;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 12px;
  max-width: 220px;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease-in-out;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
  z-index: 9999;
  white-space: normal;
}
.tooltip-text.show {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}
/* Arrow base */
.tooltip-text::after {
  content: "";
  position: absolute;
  width: 0; 
  height: 0; 
  border-style: solid;
}
/* Arrow when tooltip is above icon (arrow pointing down) */
.tooltip-top::after {
  border-width: 6px 6px 0 6px;
  border-color: #333 transparent transparent transparent;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
}
/* Arrow when tooltip is below icon (arrow pointing up) */
.tooltip-bottom::after {
  border-width: 0 6px 6px 6px;
  border-color: transparent transparent #333 transparent;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
}
.tooltip-icon {
    z-index: 100 !important;
}
.address-copy-container {
  display: inline-flex;
  align-items: center;
  gap: 6px; /* space between number and icon */
  cursor: pointer;
}
.address-copy-text {
  max-width: 200px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.copy-icon {
  width: 16px !important;
  height: 16px !important;
  fill: #4a5568;
}
.copy-icon:hover {
  fill: #ed8936;
}
.address-wrapper {
  position: relative;
  display: inline-flex; 
  align-items: center;
}
.copy-message {
  position: absolute;
  background: #ed8936;
  color: white;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.7rem;
  top: -30px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  z-index: 9999;
}
.copy-message.show {
  opacity: 1;
  pointer-events: auto;
}
