@keyframes halving-pulse {
  0%, 100% { opacity: 1; filter: drop-shadow(0 0 0px #ff6b35); }
  50% { opacity: 0.7; filter: drop-shadow(0 0 10px #ff6b35); }
}
/* Socials & Useful Links Table: More padding for cells */
table.socials-useful-table td, table.socials-useful-table th {
  padding: 10px 12px;
}
/* Links are always green, even when visited */
a,
a:visited {
  color: rgba(34, 197, 94, 0.7);
  text-decoration: none;
  transition: color 0.2s;
}
a:hover {
  color: var(--accent);
  text-decoration: underline;
}
/* ---- Dark UI + Fluid Design System ---- */
:root {
  --bg: #0a0e12;
  --surface: #111318;
  --border: rgba(255,255,255,0.08);
  --text: #e8eaed;
  --text-muted: #9ca3af;
  --brand: #ff6b35;
  --accent: #22c55e;
  --accent-dim: #16a34a;
  --glow: rgba(34,197,94,0.15);
  --space-xs: clamp(4px, 1vw, 8px);
  --space-sm: clamp(8px, 2vw, 12px);
  --space-md: clamp(12px, 2.5vw, 16px);
  --space-lg: clamp(16px, 3vw, 20px);
  --space-xl: clamp(20px, 4vw, 40px);
  --text-xs: clamp(0.6rem, 1.5vw, 0.7rem);
  --text-sm: clamp(0.7rem, 1.8vw, 0.85rem);
  --text-base: clamp(0.8rem, 2vw, 1rem);
  --text-lg: clamp(0.95rem, 2.5vw, 1.15rem);
  --text-xl: clamp(1rem, 2.8vw, 1.25rem);
  --text-2xl: clamp(1.15rem, 3.5vw, 1.6rem);
  --icon-sm: clamp(28px, 6vw, 40px);
  --badge-size: clamp(14px, 3vw, 18px);
  --pill-padding: clamp(6px, 1.5vw, 8px) clamp(12px, 3vw, 16px);
  --card-padding: clamp(10px, 2.5vw, 16px);
  --gap-sm: clamp(6px, 1.5vw, 10px);
  --gap-md: clamp(8px, 2vw, 12px);
}

*, *::before, *::after { box-sizing: border-box; }
html { text-size-adjust: 100%; }
body {
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* ---- Header: Logo at the top, pills below, always centered ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 14, 18, 0.95);
  border-bottom: 1px solid var(--border);
  padding-top: 12px;
  padding-bottom: 12px;
  animation: fadeInUp 0.6s ease-out;
}

.header-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.logo-section {
  display: flex;
  justify-content: center;
  width: 100%;
}

.pills-row {
  display: flex;
  flex-direction: row;
  gap: 14px;
  justify-content: center;
  width: 100%;
}

.halving-pill,
.price-pill {
  min-width: 160px;
  flex-shrink: 1;
  border-radius: 999px;
  box-shadow: 0 2px 8px 0 rgba(34,197,94,0.08) inset, 0 1px 8px 0 rgba(0,0,0,0.08);
  background: linear-gradient(135deg, rgba(34,197,94,0.08) 0%, rgba(34,197,94,0.03) 100%);
}

/* Pills should never wrap */
@media (max-width: 400px) {
  .pills-row {
    gap: 6px;
  }
  .halving-pill,
  .price-pill {
    min-width: 90px;
    font-size: 0.9em;
    padding: 4px 8px;
  }
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--gap-sm);
}

.brand-mark {
  flex-shrink: 0;
  width: clamp(20px, 4vw, 22px);
  height: clamp(20px, 4vw, 22px);
}

.logo-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.logo-title {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--brand);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.logo-subtitle {
  font-size: var(--text-xs);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.02em;
  line-height: 1;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--gap-sm);
}

.price-pill {
  display: flex;
  align-items: center;
  gap: clamp(6px, 1.5vw, 8px);
  padding: var(--pill-padding);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--text);
  transition: box-shadow 0.3s ease;
  white-space: nowrap;
}

.price-pill#taoPricePill {
  background: linear-gradient(135deg, rgba(34,197,94,0.08), rgba(34,197,94,0.03));
  border-color: rgba(34,197,94,0.2);
  gap: clamp(8px, 2vw, 10px);
}

.price-change {
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: var(--text-sm);
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.price-change.positive {
  color: #22c55e;
  background: rgba(34, 197, 94, 0.1);

}

.price-change.negative {
  color: #ef4444;
  background: rgba(239, 68, 68, 0.1);

}

.price-icon {
  color: var(--accent);
  display: flex;
  align-items: center;
}

.skeleton-text {
  display: inline-block;
  min-width: 75px;
  height: 1em;
  background: linear-gradient(90deg, rgba(255,255,255,0.08) 25%, rgba(255,255,255,0.12) 50%, rgba(255,255,255,0.08) 75%);
  background-size: 200% 100%;
  animation: skeleton 2.5s ease-in-out infinite;
  border-radius: 4px;
}

.chart-skeleton {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,0.03) 25%, rgba(255,255,255,0.06) 50%, rgba(255,255,255,0.03) 75%);
  background-size: 200% 100%;
  animation: skeleton 3.5s ease-in-out infinite;
  border-radius: 8px;
  opacity: 0.6;
}

@keyframes skeleton {
  0% { 
    background-position: 200% 0;
    opacity: 0.6;
  }
  50% {
    opacity: 0.8;
  }
  100% { 
    background-position: -200% 0;
    opacity: 0.6;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.blink-green {
  animation: blink-green 0.6s ease-out;
}

.blink-red {
  animation: blink-red 0.6s ease-out;
}

@keyframes blink-green {
  0%, 100% { box-shadow: 0 0 0 rgba(34, 197, 94, 0); }
  50% { box-shadow: 0 0 16px rgba(34, 197, 94, 0.6); }
}

@keyframes blink-red {
  0%, 100% { box-shadow: 0 0 0 rgba(239, 68, 68, 0); }
  50% { box-shadow: 0 0 16px rgba(239, 68, 68, 0.6); }
}

/* ---- Halving Pill ---- */
.halving-pill {
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2em;
  animation: halving-pulse 7s infinite;
  font-family: 'Segoe UI', Arial, sans-serif;
  font-weight: bold;
  background: linear-gradient(135deg, rgba(255,107,53,0.08), rgba(255,107,53,0.03));
  border: 1px solid rgba(255,107,53,0.2);
  border-radius: 20px;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text);
  transition: all 0.3s ease;
  white-space: nowrap;
}

.halving-pill:hover {
  background: linear-gradient(135deg, rgba(255,107,53,0.12), rgba(255,107,53,0.05));
  border-color: rgba(255,107,53,0.3);
  box-shadow: 0 4px 12px rgba(255,107,53,0.15);
}

.halving-icon {
  color: var(--brand);
  display: flex;
  align-items: center;
  font-size: 1.1em;
}

.halving-countdown {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

/* ---- Dashboard (Container Query Ready) ---- */
.dashboard {
  container-type: inline-size;
  container-name: dashboard;
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--space-lg) var(--space-md);
}

/* ---- Stats Grid (Glassmorphism Enhanced) ---- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 2 rows, 4 columns */
  gap: var(--gap-md);
  margin-bottom: var(--space-lg);
  animation: fadeInUp 0.8s ease-out 0.1s both;
}

.stat-card {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: var(--gap-sm);
  padding: var(--card-padding);
  background: rgba(17, 19, 24, 0.6);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  min-width: 0;
  overflow: visible;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(34,197,94,0.3), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.stat-card:hover {
  border-color: rgba(34,197,94,0.3);
  background: rgba(17, 19, 24, 0.8);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3), 0 0 0 1px rgba(34,197,94,0.1);
}

.stat-card:hover::before {
  opacity: 1;
}

.stat-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: var(--icon-sm);
  height: var(--icon-sm);
  background: linear-gradient(135deg, rgba(34,197,94,0.15), rgba(34,197,94,0.05));
  border-radius: 10px;
  color: var(--accent);
  flex-shrink: 0;
  transition: all 0.3s ease;
  position: relative;
}

.stat-card:hover .stat-icon {
  background: linear-gradient(135deg, rgba(34,197,94,0.25), rgba(34,197,94,0.1));
  box-shadow: 0 0 20px rgba(34,197,94,0.3);
}

.stat-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1;
}

.stat-label {
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 4px;
}

.stat-value {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
}

/* ---- Dynamic Tooltip (Verbessert für Desktop) ---- */
.dynamic-tooltip {
  position: fixed;
  background: #222;
  color: #fff;
  padding: 10px 18px;
  border-radius: 10px;
  font-size: 1em;
  white-space: pre-line;
  word-break: break-word;
  box-shadow: 0 4px 24px #000a;
  z-index: 99999;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.18s;
  max-width: 240px;
  text-align: left;
}
.dynamic-tooltip.visible {
  opacity: 1;
  pointer-events: auto;
}

.svg-attribution {
  font-size: 0.95em;
  color: #bbb;
  margin-top: 0.7em;
  margin-bottom: 0.2em;
}
.svg-attribution a {
  color: #fff;
  text-decoration: underline;
  opacity: 0.85;
  transition: opacity 0.2s;
}
.svg-attribution a:hover {
  opacity: 1;
}

/* ---- Charts (Dynamisch) ---- */
.dashboard-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.dashboard-card {
  background: rgba(17, 19, 24, 0.6);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: var(--space-lg);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  /* Keine feste Höhe, Cards sind dynamisch */
}

.dashboard-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.dashboard-card:hover {
  border-color: rgba(34,197,94,0.25);
  background: rgba(17, 19, 24, 0.8);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4), 0 0 0 1px rgba(34,197,94,0.1);
}

.dashboard-card:hover::before {
  opacity: 1;
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-md);
  gap: var(--gap-sm);
  flex-wrap: wrap;
}

.card-header h2 {
  margin: 0;
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--text);
}

.card-badge {
  padding: clamp(3px, 0.8vw, 4px) clamp(8px, 2vw, 10px);
  font-size: clamp(0.65rem, 1.5vw, 0.75rem);
  font-weight: 600;
  color: var(--accent);
  background: var(--glow);
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.card-badge.pulse {
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

.chart-container {
  position: relative;
  width: 100%;
  min-height: 320px;
  height: 320px;
  display: flex;
  align-items: stretch;
}

.chart-skeleton {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,0.03) 25%, rgba(255,255,255,0.06) 50%, rgba(255,255,255,0.03) 75%);
  background-size: 200% 100%;
  animation: skeleton 1.5s ease-in-out infinite;
  border-radius: 8px;
  opacity: 0.6;
}

@keyframes skeleton {
  0% { 
    background-position: 200% 0;
    opacity: 0.6;
  }
  50% {
    opacity: 0.8;
  }
  100% { 
    background-position: -200% 0;
    opacity: 0.6;
  }
}

.dashboard-card:not(.loading) .chart-skeleton {
  display: none;
}

.chart-note {
  margin-top: 6px;
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: right;
}

.chart-placeholder {
  width: 100%;
  min-height: 140px;
  display: grid;
  place-items: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  background: rgba(255,255,255,0.03);
  border-radius: 10px;
  border: 1px dashed rgba(255,255,255,0.08);
}

/* ---- Disclaimer Card (Subtle & Compact) ---- */
.disclaimer-card {
  background: rgba(255, 255, 255, 0.02);
  border-color: rgba(255, 255, 255, 0.06);
  border-left: 2px solid rgba(255, 107, 53, 0.3);
  padding: var(--space-md);
  animation: fadeInUp 0.8s ease-out 0.3s both;
}

.disclaimer-header {
  display: flex;
  align-items: center;
  gap: var(--gap-sm);
  margin-bottom: var(--space-sm);
  color: rgba(255, 255, 255, 0.5);
}

.disclaimer-header svg {
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  opacity: 0.6;
}

.disclaimer-header h3 {
  margin: 0;
  font-size: var(--text-sm);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
}

.disclaimer-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.disclaimer-text {
  margin: 0;
  font-size: var(--text-xs);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.45);
}

.disclaimer-text strong {
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
}

.data-sources-grid {
  display: grid;
  grid-template-columns: max-content 0.5fr max-content 0.5fr;
  grid-auto-rows: minmax(32px, auto);
  gap: clamp(6px, 1.5vw, 8px);
  padding: var(--space-sm);
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 6px;
}

.source-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.source-item a {
  font-size: var(--text-xs);
  color: rgba(34, 197, 94, 0.7);
  text-decoration: none;
  transition: color 0.2s ease;
  word-break: break-word;
  display: inline;
  padding: 0;
  background: none;
  border: none;
}

.source-item a:hover {
  color: var(--accent);
  text-decoration: underline;
}

.source-item-wide {
  grid-column: 1 / -1;
  margin-top: 12px;
}

.source-label {
  font-size: clamp(0.55rem, 1.2vw, 0.65rem);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.source-item a {
  font-size: var(--text-xs);
  color: rgba(34, 197, 94, 0.7);
  text-decoration: none;
  transition: color 0.2s ease;
  word-break: break-word;
}

.source-item a:hover {
  color: var(--accent);
  text-decoration: underline;
}

.coingecko-attribution {
  margin: 0;
  font-size: clamp(0.55rem, 1.2vw, 0.65rem);
  color: rgba(255, 255, 255, 0.3);
  text-align: center;
  font-style: italic;
}

/* ---- Footer (Minimal) ---- */
.site-footer {
  max-width: 1200px;
  margin: var(--space-xl) auto 0;
  padding: var(--space-lg) var(--space-md);
  text-align: center;
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.4);
  border-top: 1px solid var(--border);
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.site-footer p {
  margin: 0;
  line-height: 1.5;
}

.site-footer .data-sources,
.site-footer .separator,
.site-footer .badge-demo,
.site-footer .attribution {
  display: none;
}

/* ---- Time Range Toggle ---- */
.time-range-toggle {
  display: flex;
  gap: clamp(4px, 1vw, 6px);
  background: rgba(255,255,255,0.03);
  padding: 3px;
  border-radius: 10px;
}

.time-btn {
  padding: clamp(4px, 1vw, 6px) clamp(10px, 2vw, 14px);
  font-size: clamp(0.65rem, 1.5vw, 0.75rem);
  font-weight: 600;
  color: var(--text-muted);
  background: transparent;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.time-btn:hover {
  color: var(--text);
  background: rgba(255,255,255,0.05);
}

.time-btn.active {
  color: var(--accent);
  background: var(--glow);
}

/* ---- Dynamic Tooltip (Verbessert für Desktop) ---- */
.dynamic-tooltip {
  position: fixed;
  background: #222;
  color: #fff;
  padding: 10px 18px;
  border-radius: 10px;
  font-size: 1em;
  white-space: pre-line;
  word-break: break-word;
  box-shadow: 0 4px 24px #000a;
  z-index: 99999;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.18s;
  max-width: 240px;
  text-align: left;
}
.dynamic-tooltip.visible {
  opacity: 1;
  pointer-events: auto;
}

.info-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85em;
  width: 1.25em;
  height: 1.25em;
  border-radius: 50%;
  background: rgba(156,163,175,0.13);
  color: #9ca3af;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  user-select: none;
  font-style: normal;
  font-weight: 700;
  line-height: 1;
  border: none;
  box-shadow: none;
  letter-spacing: 0;
}

.info-badge:hover,
.info-badge:focus {
  background: rgba(34,197,94,0.13);
  color: #22c55e;
}

.refresh-logo-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* --- Refresh Indicator (Kompakt & Dezent) --- */
.refresh-indicator {
  width: 20px;
  height: 20px;
  margin-right: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  opacity: 0.8;
  transition: opacity 0.2s;
}
.refresh-indicator svg {
  width: 20px;
  height: 20px;
  display: block;
}
.refresh-indicator .refresh-label {
  position: absolute;
  left: 0; right: 0; top: 0; bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.68em;
  font-weight: 600;
  color: #22c55e;
  pointer-events: none;
  letter-spacing: -0.5px;
}
@media (min-width: 600px) {
  .refresh-indicator {
    width: 16px;
    height: 16px;
  }
  .refresh-indicator svg {
    width: 16px;
    height: 16px;
  }
  .refresh-indicator .refresh-label {
    font-size: 0.62em;
  }
}
@media (max-width: 700px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--gap-md);
  }
  .dashboard-grid {
    grid-template-columns: 1fr;
    gap: var(--space-sm);
  }
  .dashboard-card, .stat-card {
    width: 100%;
    min-width: 0;
    border-radius: 10px;
    padding: var(--space-md);
  }
  .card-header h2, .card-header h3 {
    font-size: 1.1em;
  }
  .socials-links a, .useful-links a {
    font-size: 1em;
    padding: 8px 0;
    min-height: 44px;
  }
  .socials-links a svg, .useful-links a svg {
    width: 22px;
    height: 22px;
    min-width: 22px;
    min-height: 22px;
  }
}

/* Korrekt: last-update außerhalb des Media Queries */
.last-update {
  text-align: center;
  color: #9ca3af;
  font-size: 0.70em;
  margin: 0 0 12px 0;
  opacity: 0.7;
  letter-spacing: 0.01em;
}

@media (max-width: 700px) {
  .last-update {
    text-align: center;
    font-size: 0.70em;
    margin-left: 2px;
  }
}

.stat-card .info-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  pointer-events: auto;
  cursor: pointer;
}
.stat-card .info-badge:active,
.stat-card .info-badge:focus {
  outline: none;
}
/* Verhindert, dass der Link beim Klick auf die Info-Badge ausgelöst wird */
.stat-card .info-badge {
  cursor: pointer;
}

#priceChart {
  width: 100% !important;
  height: 100% !important;
  display: block;
  background: transparent;
}

/* Falls der Eltern-Container zu klein ist: */

.socials-card {

.chart-container {
  position: relative;
  width: 100%;
  min-height: 320px;
  height: 320px;
  display: flex;
  align-items: stretch;
}

/* ---- Soziale Medien Karten ---- */
.socials-card {
  background: rgba(17, 19, 24, 0.6);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: var(--space-md) var(--space-md);
  gap: 0.5em;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  gap: 1em;
  flex-grow: 1;
  animation: fadeInUp 0.8s ease-out 0.3s both;
}

.useful-links-card {
  background: rgba(17, 19, 24, 0.6);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: var(--space-md) var(--space-md);
  /* min-height entfernt, Card passt sich dynamisch an */
  display: flex;
  flex-direction: column;
  gap: 0.5em;
  animation: fadeInUp 0.8s ease-out 0.3s both;
}

.socials-card .card-header {
  margin-bottom: 0.2em;
}

.socials-links {
  margin-top: 0.2em;
  gap: 1.2em;
}

.useful-links {
  margin-top: 0.2em;
  gap: 1em;
}


.socials-card h3,
.useful-links-card h3 {
  font-size: var(--text-xs);
  color: rgba(34, 197, 94, 0.7);
  text-decoration: none;
  transition: color 0.2s ease;
  word-break: break-word;
  display: inline-block;
  width: auto;
  max-width: 100%;
  padding: 0;
  background: none;
  border: none;
/* Socials & Useful Links: Subtle hover, smaller icons/text */
.socials-links a,
.useful-links a {
  color: rgba(34, 197, 94, 0.7);
  font-size: 0.97em;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 2px 0;
  transition: color 0.2s, background 0.2s;
}

.socials-links a svg,
.useful-links a svg {
  width: 18px;
  height: 18px;
  min-width: 18px;
  min-height: 18px;
  vertical-align: middle;
  opacity: 0.85;
  transition: opacity 0.2s;
}

.socials-links a:hover,
.useful-links a:hover {
  color: #16a34a;
  background: rgba(34,197,94,0.08);
  border-radius: 6px;
  box-shadow: 0 0 8px 2px var(--glow);
}

.socials-links a:hover svg,
.useful-links a:hover svg {
  opacity: 1;
  filter: drop-shadow(0 0 2px #22c55e);
}

.whitepaper-btn {
  font-size: 0.70em;
}