/* ═══════════════════════════════════════════════
   $ANC AIRDROP — STYLES
   Premium dark-mode analytics dashboard
   ═══════════════════════════════════════════════ */

/* ─── RESET & BASE ─── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg-primary: #050505;
  --bg-secondary: #0a0a0a;
  --bg-card: #0d0d0d;
  --bg-card-border: #2a2a2a;
  --bg-strip: #080808;

  --text-primary: #ffffff;
  --text-secondary: #d1d1d1;
  --text-muted: #555555;
  --text-label: #777777;

  --green: #00ffa3;
  --green-glow: rgba(0, 255, 163, 0.15);
  --green-dim: #22c55e;
  --red: #f87171;

  --border-subtle: #1a1a1a;
  --border-strong: #333333;
  --border-card: #333333;

  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', 'Fira Code', monospace;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ─── LAYOUT CONTAINERS ─── */
.nav-container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
}

.stats-flex {
  justify-content: center;
  gap: 0;
}

/* ─── TICKER BAR (Top Navigation) ─── */
.ticker-bar {
  display: flex;
  align-items: center;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-subtle);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 10px 0;
}

.ticker-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ticker-brand {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ticker-logo {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
}

.ticker-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-primary);
  letter-spacing: 0.02em;
}

.ticker-contract {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #1e1e1e;
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  padding: 4px 10px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-secondary);
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.ticker-contract:hover {
  background: #252525;
  border-color: #444;
}

.copy-icon {
  width: 12px;
  height: 12px;
  opacity: 0.5;
}

.ticker-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.coingecko-link {
  font-size: 0.8rem;
  color: var(--text-secondary);
  transition: color 0.2s ease;
}

.coingecko-link:hover {
  color: var(--text-primary);
}

.ticker-price-live {
  display: flex;
  align-items: center;
  gap: 8px;
}

.live-price {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
}

.live-change {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
}

/* ─── SOCIALS ─── */
.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all 0.2s ease;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
}

.social-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

/* ─── STATS STRIP ─── */
.stats-strip {
  display: flex;
  align-items: center;
  background: var(--bg-strip);
  border-bottom: 1px solid var(--border-subtle);
  overflow-x: auto;
  scrollbar-width: none;
  padding: 12px 0;
}

.stats-strip::-webkit-scrollbar {
  display: none;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding: 0 24px;
  border-right: 1px solid var(--border-subtle);
  white-space: nowrap;
  min-width: fit-content;
}

.stat-item:last-child {
  border-right: none;
}

.stat-label {
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.stat-value {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-primary);
}

.stat-value.positive {
  color: var(--green);
}

.stat-value.negative {
  color: var(--red);
}

.stat-value.muted {
  color: var(--text-muted);
  font-size: 0.75rem;
}

.stat-age {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 6px;
}

.age-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* ─── MAIN CONTENT ─── */
.main-content {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 20px 80px;
}

/* ─── HERO SECTION ─── */
.hero-section {
  display: flex;
  justify-content: center;
  margin-bottom: 32px;
}

.hero-card {
  position: relative;
  width: 100%;
  aspect-ratio: 21 / 9;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: #000;
}

.hero-socials {
  position: absolute;
  bottom: 24px;
  right: 24px;
  display: flex;
  gap: 12px;
  z-index: 10;
}

.hero-card:hover {
  transform: translateY(-2px);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.5),
    0 0 80px rgba(74, 222, 128, 0.06);
}

.hero-image {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 32px 24px 20px;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 60%, transparent 100%);
  text-align: center;
}

.hero-value {
  font-family: var(--font-mono);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
  animation: value-glow 3s ease-in-out infinite;
}

@keyframes value-glow {
  0%, 100% { text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6); }
  50% { text-shadow: 0 2px 20px rgba(74, 222, 128, 0.15), 0 2px 12px rgba(0, 0, 0, 0.6); }
}

.hero-label {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-top: 4px;
  letter-spacing: 0.04em;
}

.live-dot-text {
  color: var(--green);
  position: relative;
}

.live-dot-text::before {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green);
  margin-right: 4px;
  vertical-align: middle;
  animation: pulse-dot 2s ease-in-out infinite;
}

/* ─── ATH SECTION ─── */
.ath-section {
  display: flex;
  justify-content: center;
  margin-bottom: 48px;
}

.ath-card {
  width: 100%;
  max-width: 480px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 10px;
  transition: border-color 0.2s ease;
}

.ath-card:hover {
  border-color: #444;
}

.ath-left {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ath-label {
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.ath-value {
  font-family: var(--font-mono);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-primary);
}

.ath-right {
  display: flex;
  align-items: center;
}

.ath-date {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ─── TITLE SECTION ─── */
.title-section {
  text-align: center;
  margin-bottom: 40px;
}

.title-tag {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.title-main {
  font-size: 3.2rem;
  font-weight: 900;
  color: var(--text-primary);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 16px;
}

.title-sub {
  font-size: 1.05rem;
  color: var(--text-secondary);
  font-weight: 400;
}

.title-sub strong {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--text-primary);
}

.sol-text {
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--text-primary);
}

/* ─── QUOTE SECTION ─── */
.quote-section {
  text-align: center;
  margin-bottom: 48px;
}

.quote-text {
  font-size: 0.95rem;
  color: var(--green-dim);
  font-style: italic;
  margin-bottom: 6px;
  opacity: 0.85;
}

.quote-author {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ─── DIVIDER ─── */
.section-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent 0%,
    var(--border-subtle) 20%,
    var(--border-card) 50%,
    var(--border-subtle) 80%,
    transparent 100%
  );
}

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
  .ticker-bar {
    padding: 8px 12px;
    flex-wrap: wrap;
    gap: 8px;
  }

  .ticker-right {
    gap: 12px;
  }

  .coingecko-link {
    font-size: 0.7rem;
  }

  .stats-strip {
    padding: 10px 12px;
  }

  .stat-item {
    padding: 0 16px;
  }

  .main-content {
    padding: 32px 16px 60px;
  }

  .hero-value {
    font-size: 1.8rem;
  }

  .title-main {
    font-size: 2.2rem;
  }

  .ath-value {
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .ticker-bar {
    padding: 6px 10px;
  }

  .ticker-contract {
    display: none;
  }

  .coingecko-link {
    display: none;
  }

  .hero-value {
    font-size: 1.5rem;
  }

  .title-main {
    font-size: 1.8rem;
  }

  .hero-overlay {
    padding: 24px 16px 14px;
  }
}

/* ─── COMPARISON SECTION ─── */
.comparison-section {
  margin-bottom: 60px;
}

.section-label-tiny {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.comparison-card {
  background: #111;
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  overflow: hidden;
}

.comparison-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-subtle);
  transition: background 0.2s ease;
}

.comparison-row:last-of-type {
  border-bottom: none;
}

.comparison-row.highlight {
  background: #1a1a1a;
}

.row-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.icon-wrapper {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #222;
}

.icon-wrapper.glass {
  background: rgba(255, 255, 255, 0.05);
}

.pill-placeholder {
  width: 24px;
  height: 12px;
  background: var(--green);
  border-radius: 20px;
  opacity: 0.4;
}

.row-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.row-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.row-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-primary);
}

.hero-row .item-name {
  color: #fff;
  font-size: 1.2rem;
}

.hero-row .item-subtext {
  color: #777;
}

.hero-row .item-value {
  color: #fff;
  font-size: 1.4rem;
}

.row-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.row-value {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-primary);
}

.card-footer-text {
  padding: 16px;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  background: #0d0d0d;
}


/* ─── #57 HERO CARD ─── */
.hero-card-anc {
  position: relative;
  display: flex;
  align-items: center;
  padding: 24px 20px;
  margin: 12px 10px;
  background: #0d0d0d;
  border: 1px solid #333;
  border-radius: 8px;
}

.you-are-here-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: #1a1a1a;
  color: #555;
  font-size: 0.6rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 4px;
  border: 1px solid #333;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero-rank-box {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #333;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 700;
  color: #eee;
  margin-right: 16px;
}

.hero-logo {
  width: 40px;
  height: 40px;
  border-radius: 4px;
  margin-right: 16px;
}

.hero-name {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 2px;
}

.hero-sub {
  font-size: 0.75rem;
  color: #444;
}

.hero-right {
  margin-left: auto;
  text-align: right;
}

.hero-value-main {
  font-family: var(--font-mono);
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
}

.hero-live-status {
  font-size: 0.75rem;
  color: #444;
}

.item-name-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.item-name {
  font-weight: 700;
  font-size: 1rem;
}

.item-ticker {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.item-tags {
  display: flex;
  align-items: center;
  gap: 8px;
}

.tag {
  font-size: 0.65rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  text-transform: capitalize;
  display: inline-flex;
  align-items: center;
}

.tag-blue {
  background: rgba(59, 130, 246, 0.15);
  color: #60a5fa;
}

.tag-purple {
  background: rgba(168, 85, 247, 0.15);
  color: #a855f7;
}

.tag-orange {
  background: rgba(249, 115, 22, 0.2);
  color: #f97316;
}

.tag-sub {
  font-size: 0.7rem;
  color: #444;
  font-weight: 400;
}

/* ─── WHAT IF SECTION ─── */
.what-if-section {
  margin-bottom: 80px;
}

.what-if-title {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
  text-align: center;
}

.what-if-sub {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  text-align: center;
}

.simulator-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 20px;
  align-items: stretch;
}

.sim-card {
  background: #0a0a0a;
  border: 1px solid #1a1a1a;
  border-radius: 8px;
  padding: 40px;
  display: flex;
  flex-direction: column;
}

.card-left {
  display: flex;
  flex-direction: column;
}

.card-label-tiny {
  font-size: 0.65rem;
  font-weight: 700;
  color: #333;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}

.target-select-row {
  display: flex;
  gap: 8px;
  margin-bottom: 32px;
}

.target-btn {
  background: #111;
  border: 1px solid #222;
  color: #444;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.target-btn:hover {
  border-color: #444;
  background: #161616;
  color: var(--text-secondary);
}

.slider-box {
  margin-bottom: 40px;
}

.slider-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.7rem;
  color: #333;
  margin-bottom: 12px;
}

.current-target-label {
  color: var(--text-primary);
  font-weight: 700;
  font-size: 0.85rem;
}

/* ─── CUSTOM RANGE SLIDER ─── */
.mcap-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 4px;
  background: linear-gradient(to right, #fff 0%, #fff var(--progress, 50%), #222 var(--progress, 50%), #222 100%);
  border-radius: 2px;
  outline: none;
}

.mcap-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  background: #fff;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.4);
}

.mcap-slider::-moz-range-thumb {
  width: 16px;
  height: 16px;
  background: #fff;
  border-radius: 50%;
  cursor: pointer;
  border: none;
}

.sim-data-table {
  border-top: 1px solid #111;
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

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

.data-label {
  font-size: 0.85rem;
  color: #444;
}

.data-value {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 700;
  color: #777;
}

.highlight-white {
  color: var(--text-primary);
}

/* ─── RESULT CARD ─── */
.card-right {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center;
  border: 1px solid #111;
}

.res-label-muted {
  font-size: 0.7rem;
  font-weight: 700;
  color: #333;
  letter-spacing: 0.08em;
  margin-bottom: 24px;
  text-transform: uppercase;
}

.res-rank {
  font-size: 6rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -0.05em;
}

.res-sub {
  font-size: 0.85rem;
  color: #333;
  margin-bottom: 60px;
}

.res-airdrop-label {
  font-size: 0.75rem;
  color: #333;
  margin-bottom: 12px;
}

.res-airdrop-val {
  font-family: var(--font-mono);
  font-size: 3rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 60px;
}

.res-bottom {
  border-top: 1px solid #111;
  padding-top: 24px;
  margin-top: auto;
}

.res-footer-top {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.res-footer-sub {
  font-size: 0.85rem;
  color: #333;
}

/* ─── RESPONSIVE SIMULATOR ─── */
@media (max-width: 768px) {
  .simulator-container {
    flex-direction: column;
  }
}

/* ─── ENTRANCE ANIMATIONS ─── */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-section {
  animation: fadeInUp 0.6s ease-out 0.1s both;
}

.ath-section {
  animation: fadeInUp 0.6s ease-out 0.25s both;
}

.title-section {
  animation: fadeInUp 0.6s ease-out 0.4s both;
}

.quote-section {
  animation: fadeInUp 0.6s ease-out 0.55s both;
}

.comparison-section {
  animation: fadeInUp 0.6s ease-out 0.7s both;
}

.leaderboard-section {
  animation: fadeInUp 0.6s ease-out 0.85s both;
}

.what-if-section {
  animation: fadeInUp 0.6s ease-out 1s both;
}

.milestones-section {
  animation: fadeInUp 0.6s ease-out 1.1s both;
}

/* ─── MILESTONES SECTION ─── */
.milestones-section {
  margin-bottom: 120px;
}

.milestones-title {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 8px;
  text-align: center;
}

.milestones-sub {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 48px;
  text-align: center;
}

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

.mile-card {
  background: #0a0a0a;
  border: 1px solid #1a1a1a;
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s ease;
}

.mile-card:hover {
  border-color: #333;
}

.mile-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.mile-target {
  font-size: 0.7rem;
  font-weight: 700;
  color: #333;
  letter-spacing: 0.05em;
}

.mile-rank {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.mile-subtext {
  font-size: 0.75rem;
  font-weight: 400;
  color: #444;
}

.mile-value {
  font-family: var(--font-mono);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.mile-bottom {
  font-size: 0.8rem;
  color: #333;
}

/* ─── GLOBAL FOOTER ─── */
.global-footer {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto 60px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 40px 20px;
  border-top: 1px solid #111;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-logo {
  width: 28px;
  height: 28px;
  border-radius: 4px;
}

.footer-brand {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-primary);
}

.data-source {
  font-size: 0.75rem;
  color: #333;
}

.footer-quote {
  text-align: right;
  max-width: 320px;
}

.footer-quote p {
  font-size: 0.7rem;
  color: #333;
  font-style: italic;
  margin-bottom: 4px;
}

.quote-author {
  font-size: 0.65rem;
  color: #444;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  .milestones-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .milestones-grid {
    grid-template-columns: 1fr;
  }
  .global-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
  }
  .footer-quote {
    text-align: left;
  }
}
