@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;700&family=Exo+2:wght@300;400;600&display=swap');

/* ============================================ */
/* 1. GLOBALE VARIABLEN UND BASIS-STYLES        */
/* ============================================ */
:root {
  --primary: #00ffff; /* Cyan statt Grün */
  --accent: #00aaff; /* Tiefblauer Akzent */
  --richlist-td: #e0f7ff; /* Hellblau-Weiß */
  --balance: #3bfbff; /* Helles Cyan */
  --tag-cell: #00aaff; /* Lebhaftes Blau */
  --tag-glow: 0 0 8px rgba(0, 170, 255, 0.6);
  --dark-bg: #0a0e14;
  --darker-bg: #080c12;
  --header-bg: linear-gradient(
    135deg,
    #003a4e 0%,
    #005a70 100%
  ); /* Blauer Gradient */
  --card-bg: rgba(10, 20, 30, 0.85); /* Blaustichiger Hintergrund */
  --card-border: rgba(0, 170, 255, 0.1); /* Blauer Rand */
  --text-glow: 0 0 8px rgba(0, 170, 255, 0.6); /* Blauer Glow */
  --shadow: 0 4px 20px rgba(0, 170, 255, 0.25); /* Blauer Schatten */
  --hoverLink: ;
  --neutral: #e0f7ff ;

  --percentage: #2ecc71;
  --sent: #e74c3c;
  --received: #f39c12;
  --transactions: #9b59b6; /* Neue Variablen */
  --neon-pulse: 0 0 15px rgba(0, 243, 255, 0.7);

  /* Body Farbe Text */

  --body-base:#e0f7ff;

   /* Font Family & Gewichtungen */
   --font-family-base: 'Exo 2', sans-serif;
   --font-weight-normal: 400;
   --font-weight-medium: 500;
   --font-weight-bold: 700;
 
   /* Fließtextgrößen */
   --font-text-xs: 0.75rem;    /* 12px */
   --font-text-sm: 0.875rem;   /* 14px */
   --font-text-base: 1rem;     /* 16px */
   --font-text-lg: 1.125rem;   /* 18px */
 
   /* Headline Sizes (Desktop) */
   --font-h6: 1rem;            /* 16px */
   --font-h5: 1.25rem;         /* 20px */
   --font-h4: 1.5rem;          /* 24px */
   --font-h3: 2rem;            /* 32px */
   --font-h2: 2.5rem;          /* 40px */
   --font-h1: 3rem;            /* 48px */
 
   /* Line Heights */
   --lh-text: 1.6;
   --lh-heading: 1.2;
}

/* ================= BASIS & HINTERGRUND ================= */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  overflow-x: hidden !important;
}

/* ============================================ */
/* 2. SEITENSTRUKTUR UND HINTERGRUND           */
/* ============================================ */
body {
  background: radial-gradient(
    ellipse at top left,
    var(--darker-bg) 0%,
    var(--dark-bg) 70%
  );
  background-attachment: fixed;
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;

  font-family: var(--font-family-base);
  font-weight: var(--font-weight-normal);
  font-size: var(--font-text-base);
  line-height: var(--lh-text);
  color:var(--body-base);
}

/* Space Particles Hintergrund */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 30%, rgba(0, 102, 255, 0.15) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(89, 0, 255, 0.15) 0%, transparent 20%);
  z-index: -2;
  pointer-events: none;
}

/* Paragraphen */
p {
  font-size: var(--font-text-base);
  line-height: var(--lh-text);
  margin-bottom: 1em;
}
/* Headlines */
h2, h3, h4, h5, h6 {
  font-weight: var(--font-weight-bold);
  line-height: var(--lh-heading);
  margin: 0 0 0.5em 0;
}

h1 { font-size: var(--font-h1); }
h2 { font-size: var(--font-h2); }
h3 { font-size: var(--font-h3); }
h4 { font-size: var(--font-h4); }
h5 { font-size: var(--font-h5); }
h6 { font-size: var(--font-h6); }


/* Hauptüberschrift */
h1 {
  text-align: center;
  font-size: 3.5rem;
  font-family: 'Orbitron', sans-serif;
  text-shadow: var(--text-glow);
  margin: 1.2em 0 0.5em;
  letter-spacing: 3px;
  position: relative;
  padding-bottom: 20px;
  background: linear-gradient(to right, #00f3ff, #0066ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: textPulse 3s infinite alternate;
}

@keyframes textPulse {
  0% { text-shadow: 0 0 10px rgba(0, 243, 255, 0.7); }
  100% { text-shadow: 0 0 20px rgba(0, 102, 255, 0.9), 0 0 30px rgba(0, 243, 255, 0.7); }
}

h1::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 35%;
  width: 30%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  border-radius: 50%;
  animation: linePulse 2s infinite alternate;
}

@keyframes linePulse {
  0% { width: 30%; opacity: 0.7; }
  100% { width: 35%; opacity: 1; }
}

/* Hauptcontainer */
.retro-container {
  width: 100%;
  max-width: 1400px;
  margin: 40px auto;
  padding: 60px;
  background: linear-gradient(135deg, #0a0e1a 0%, #11112e 100%);
  border: 1px solid var(--card-border);
  border-radius: 24px;
  box-shadow: var(--shadow), 
              inset 0 0 30px rgba(0, 102, 255, 0.15),
              0 0 50px rgba(0, 102, 255, 0.2);
  position: relative;
  backdrop-filter: blur(8px);
  z-index: 1;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  overflow-x: hidden;
}

/* Glowing Border oben */
.retro-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--accent),
    var(--primary),
    var(--accent),
    transparent
  );
  box-shadow: 0 0 20px rgba(0, 243, 255, 0.8);
  z-index: 2;}


section {
  padding: 4rem 2rem;
  max-width: inherit;
  margin: 0 auto;
}
/* ============================================ */
/* 3. FILTER-BEREICH                           */
/* ============================================ */
/* Clear-Search-Button */
.search-container {
  position: relative;
  margin-bottom: 25px;
}

.clear-search-button {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  display: none;
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  color: rgba(0, 170, 255, 0.5);
  transition: color 0.3s ease, transform 0.3s ease;
}

.clear-search-button:hover {
  color: var(--primary);
}

.clear-search-button:hover {
  transform: translateY(-50%) scale(1.1);
}

/* Sortier-Dropdown schließen bei Klick außerhalb */
.sort-container.active .sort-dropdown {
  display: block;
}

.sort-container.active .sort-button svg {
  transform: rotate(180deg);
}

.filter-row-horizontal {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 1rem;
}

.filters {
  margin-bottom: 30px;
  padding: 25px;
  border: 1px solid var(--card-border);
  border-radius: 12px;
  box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.3);
}

.main-search {
  margin-bottom: 20px;
}

.main-search .filter-group {
  width: 100%;
}

/* Erweiterte Filter */
.advanced-filters {
  margin-bottom: 15px;
}

.toggle-button {
  background: transparent;
  color: var(--accent);
  font-family: inherit;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--font-text-sm);
  transition: all 0.3s ease;
  box-shadow: none;
}

.toggle-button:hover {
  color: var(--primary);
  text-shadow: var(--text-glow);
}

.filter-controls {
  display: none;
  padding: 15px 0;
  border-top: 1px solid rgba(0, 170, 255, 0.2); /* Blauer Rand */
  margin-top: 10px;
}

.filter-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  align-items: flex-end;
}

.filter-group {
  display: flex;
  flex-direction: column;
}

.filter-group label {
  margin-bottom: 12px;
  font-size: var(--font-text-xs);
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 500;
}

#clearSearch {
  padding: 8px 16px !important;
  font-size: var(--font-text-xs);
  margin-top: 0 !important;
}

input[type="number"] {
  padding: 10px 12px !important;
  font-size: 0.9rem !important;
}

/* Formularelemente */
#searchInput {
  padding-left: 35px !important;
  width: 100%;
  box-sizing: border-box;
  transition: all 0.3s ease;
}

#searchInput:hover {
  box-shadow: 0 0 25px rgba(0, 170, 255, 0.5); /* Blauer Schatten */
  transform: translateY(-3px);
}

/* Suchfeld-Indikator */
#searchInput.search-active {
  border-color: var(--primary);
  box-shadow: 0 0 15px rgba(0, 170, 255, 0.4);
}
/* search hint */
.search-hint {
  position: absolute;
  bottom: -20px;
  left: 0;
  font-size: 0.8rem;
  color: var(--accent);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

#searchInput:focus ~ .search-hint {
  opacity: 1;
}

/* input numbers / text */
input[type="text"],
input[type="number"] {
  background: rgba(0, 15, 25, 0.7); /* Dunkelblauer Hintergrund */
  color: #e0f7ff; /* Hellblau-Weiß */
  border: 1px solid var(--card-border);
  padding: 14px 18px;
  font-family: inherit;
  font-size: 1.05rem;
  border-radius: 10px;
  outline: none;
  transition: all 0.3s ease;
  box-shadow: 0 0 8px rgba(0, 170, 255, 0.1); /* Blauer Glow */
}

input[type="number"] {
  -moz-appearance: textfield;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type="text"]:focus,
input[type="number"]:focus {
  border-color: var(--accent);
  box-shadow: 0 0 15px rgba(0, 170, 255, 0.4); /* Intensiverer blauer Glow */
  transform: translateY(-2px);
}

input[type="text"]::placeholder {
  color: rgba(0, 170, 255, 0.5); /* Blaue Platzhalterfarbe */
}

button {
  background: linear-gradient(
    145deg,
    rgba(0, 40, 60, 0.7),
    /* Blauere Töne */ rgba(0, 20, 40, 0.9)
  );
  color: #e0f7ff; /* Hellblau-Weiß */
  border: 1px solid var(--card-border);
  padding: 14px 28px;
  font-family: inherit;
  font-size: 1.1rem;
  font-weight: var(--font-weight-medium);
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  border-radius: 12px;
  margin-top: 0;
}

button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(0, 170, 255, 0.3),
    /* Blauer Verlauf */ transparent
  );
  transition: 0.5s;
}

button:hover {
  background: linear-gradient(145deg, rgba(0, 60, 80, 0.8), rgba(0, 30, 50, 1));
  box-shadow: 0 0 25px rgba(0, 170, 255, 0.5); /* Blauer Hover-Schatten */
  transform: translateY(-3px);
}

button:hover::before {
  left: 100%;
}

/* ============================================ */
/* 4. TABELLE UND PAGINIERUNG                  */
/* ============================================ */
#richlist td {
  color: var(--richlist-td); /* Hellblau-Weiß */
  text-shadow: 0 0 8px rgba(224, 247, 255, 0.6); /* Leichter blauer Glow */
}
#richlist td:nth-child(1) {
  color: #ffffff; /* Reines Weiß */
}
#richlist td:nth-child(2),
#richlist td:nth-child(3),
#richlist td:nth-child(4) {
  color: #a0f0ff; /* Heller Cyan-Ton */
}

.table-container {
  overflow-x: auto;
  margin-top: 30px;
  border-radius: 12px;
  background: rgba(0, 15, 25, 0.6); /* Dunkelblauer Hintergrund */
  border: 1px solid rgba(0, 170, 255, 0.2); /* Blauer Rand */
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

/* Scrollbar */
.table-container::-webkit-scrollbar {
  height: 10px;
}

.table-container::-webkit-scrollbar-track {
  background: rgba(0, 20, 25, 0.1); /* Dunkelblau */
  border-radius: 0 0 12px 12px;
}

.table-container::-webkit-scrollbar-thumb {
  background: var(--accent); /* Blau */
  border-radius: 5px;
}

.table-container::-webkit-scrollbar-thumb:hover {
  background: var(--primary); /* Cyan */
}

/* Tabellenstile */
table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

/* ========== KONSISTENTE LINK-FARBEN ========== */
table a {
  color: var(--accent);
  transition: all 0.3s ease;
}
table a:hover {
  color: var(--primary);
  text-shadow: var(--text-glow);
}

thead {
  background: var(--header-bg);
}

th,
td {
  padding: 18px 20px;
  text-align: left;
  border-bottom: 1px solid rgba(0, 170, 255, 0.2); /* Blauer Rand */
}

th {
  color: white;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  cursor: pointer;
  position: relative;
  transition: all 0.3s ease;
}

tbody tr {
  transition: all 0.3s ease;
}

tbody tr:nth-child(even) {
  background: rgba(0, 30, 45, 0.3);
}

/* ========== TABELLENZELLEN-HOVER ========== */
tbody tr:hover td {
  color: var(--primary) !important; /* Cyan bei Hover */
  text-shadow: 0 0 10px rgba(0, 255, 255, 0.9); /* Cyan Glow */
}

tbody tr:hover {
  background: rgba(0, 50, 65, 0.4); /* Blauer Hover-Hintergrund */
  box-shadow: 0 0 15px rgba(0, 170, 255, 0.2); /* Blauer Schatten */
  transform: translateX(5px);
}

/* Styling für die neue Tag-Spalte */
.tag-cell {
  color: var(--tag-cell);
  text-shadow: var(--tag-glow);
}

.mn-tag {
  margin: 0;
  font-size: var(--font-text-base);
  background: linear-gradient(
    to right,
    var(--primary),
    var(--accent)
  ); /* Cyan-Blau Gradient */
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-transform: uppercase;
  letter-spacing: 1.2px;
}

/* Paginierung */
.pagination-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 30px;
  padding: 10px;
}

.page-info {
  font-size: var( --font-text-base);
  letter-spacing: 1.5px;
  text-shadow: var(--text-glow);
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 8px 16px;
  border-radius: 8px;
}

.page-info:hover {
  background: rgba(0, 40, 60, 0.4); /* Blauer Hover-Hintergrund */
  text-shadow: 0 0 12px rgba(0, 170, 255, 0.8); /* Blauer Glow */
}

.pagination-controls {
  display: flex;
  gap: 15px;
  align-items: center;
}

.pagination-controls button {
  min-width: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 5px;
}

/* Hover-Effekte */
button:hover,
th:hover,
.page-info:hover {
  text-shadow: 0 0 5px var(--primary), 0 0 15px var(--accent); /* Cyan und blauer Glow */
}

.masternode-row {
  cursor: pointer;
  transition: background-color 0.3s;
}

.masternode-row:hover {
  background-color: rgba(0, 80, 120, 0.1); /* Heller blauer Hover */
}

.masternode-row.active {
  background-color: rgba(0, 60, 100, 0.2); /* Blauer Hintergrund */
}

.details-row {
  background-color: rgba(0, 30, 50, 0.3); /* Dunkelblau */
  border-bottom: 2px solid rgba(0, 170, 255, 0.2); /* Blauer Rand */
}

.details-row.loading td {
  text-align: center;
  color: var(--accent);
  padding: 20px;
}

.masternode-details {
  padding: 15px;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
  margin-bottom: 20px;
}

.detail-item {
  display: flex;
  flex-direction: column;
}

.detail-label {
  font-size: var(--font-text-sm);
  color: var(--accent);
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.detail-value {
  font-size: 1rem;
  word-break: break-all;
  color: #e0f7ff; /* Hellblau-Weiß */
}

.group-members {
  margin-top: 15px;
}

.group-members ul {
  list-style: none;
  padding: 0;
  margin: 10px 0 0 0;
  max-height: 150px;
  overflow-y: auto;
  background: rgba(0, 20, 30, 0.4); /* Blauer Hintergrund */
  border-radius: 8px;
  padding: 10px;
}

.group-members li {
  padding: 5px 0;
  border-bottom: 1px solid rgba(0, 170, 255, 0.2); /* Blauer Rand */
  color: #e0f7ff; /* Hellblau-Weiß */
}

.group-members li:last-child {
  border-bottom: none;
}

.more-members {
  color: var(--accent);
  cursor: pointer;
  font-style: italic;
}

.more-members:hover {
  text-decoration: underline;
}

/* ============================================ */
/* 5. MOBILE KARTENANSICHT                     */
/* ============================================ */
.card-view {
  display: none;
}

.card {
  background: rgba(0, 25, 40, 0.4); /* Blauer Hintergrund */
  border: 1px solid rgba(0, 170, 255, 0.1); /* Blauer Rand */
  border-radius: 12px;
  padding: 15px;
  margin-bottom: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  padding-right: 30px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(0, 170, 255, 0.1); /* Blauer Rand */
}

.rank {
  font-size: 1.3rem;
  font-weight: bold;
  color: var(--accent);
  min-width: 40px;
}

.card-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 8px;
  font-size: 0.9em;
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1px;
}

#card-view .stat-value {
  transition: color 0.3s ease;
}

/* Sortierindikator */
.sort-indicator {
  grid-column: span 2;
  text-align: center;
  font-size: 0.75rem;
  color: var(--accent);
  margin-top: 8px;
  padding-top: 6px;
  border-top: 1px solid rgba(0, 170, 255, 0.2); /* Blauer Rand */
}

/* ============================================ */
/* 6. SORTIER-CONTAINER                        */
/* ============================================ */
.sort-container {
  position: relative;
  margin-bottom: 20px;
  display: block;
}

.sort-button {
  background: none;
  color: var(--accent);
  font-family: inherit;
  font-size: 0.75rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: none;
  width: 100%;
}

.sort-button:hover {
  color: var(--primary);
  text-shadow: var(--text-glow);
}

.sort-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 10px;
  box-shadow: var(--shadow);
  z-index: 20;
  margin-top: 8px;
  overflow: hidden;
  backdrop-filter: blur(5px);
}

.sort-dropdown div {
  padding: 12px 16px;
  cursor: pointer;
  transition: all 0.2s ease;
  border-bottom: 1px solid rgba(0, 170, 255, 0.1); /* Blauer Rand */
  color: #e0f7ff; /* Hellblau-Weiß */
}

.sort-dropdown div:last-child {
  border-bottom: none;
}

.sort-dropdown div:hover {
  background: rgba(0, 60, 90, 0.6); /* Blauer Hover-Hintergrund */
  color: var(--primary);
  text-shadow: var(--text-glow);
}

/* ============================================ */
/* 7. ADRESSZELLEN UND SPEZIFISCHE KOMPONENTEN  */
/* ============================================ */
.address-container {
  display: flex;
  align-items: center;
  gap: 8px;
}

.short-address {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.9rem;
}

.copy-button {
  background: transparent;
  border: none;
  color: var(--accent);
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  transition: all 0.2s ease;
}

.copy-button:hover {
  color: var(--primary);
  transform: scale(1.1);
}

.address-cell {
  display: flex;
  align-items: center;
  gap: 8px;
}

.address-link {
  color: var(--accent);
  display: flex;
  transition: all 0.2s ease;
}

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

.mobile-address-container {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.mobile-link-icon {
  color: var(--accent);
  margin-left: auto;
}

/* ============================================ */
/* 8. KPI-STATISTIKEN                          */
/* ============================================ */
.kpi-container {
  border-radius: 12px;
  margin-top: 90px;
  margin-bottom: 30px;
}

.kpi-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(0, 170, 255, 0.2); /* Blauer Rand */
  padding-bottom: 10px;
}

.kpi-header h2 {
  margin: 0;
  font-size: 1.5rem;
  background: linear-gradient(
    to right,
    var(--primary),
    var(--accent)
  ); /* Cyan-Blau Gradient */
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.kpi-timestamp {
  font-size: 0.8rem;
  color: var(--accent);
  opacity: 0.8;
}


.kpi-wrapper {
  display: flex;
  flex-direction: row-reverse;
  gap: 20px;
  align-items: stretch;
}

/* Chart-Container nach rechts schieben */
.kpi-card.wide {
  width: 100%;
  height: 100%;
  padding: 18px;
  box-sizing: border-box; 
}


#addressDistributionChart {
  display: block;
  width: 100%;
  height: 100%;
}

/* KPI Cards Container */
.kpi-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  flex: 1;
  max-width: calc(100% - 481px - 20px); /* Platz neben dem Chart lassen */
}

/* Einzelne Karte */
.kpi-card {
  flex: 1 1 calc(33.333% - 20px); /* Drei Karten pro Zeile, minus Gap */
  min-width: 200px;               /* Nicht kleiner als 200px */
  background: #111a2e;
  border-radius: 10px;
  padding: 18px;
  box-sizing: border-box;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover-Effekt */
.kpi-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(0, 102, 255, 0.15),
              inset 0 0 12px rgba(0, 102, 255, 0.08);
}



.kpi-title {
  font-size: 0.9rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
  font-weight: 500;
}

.kpi-value {
  font-size: 1.8rem;
  font-weight: bold;
  background: linear-gradient(
    to right,
    var(--primary),
    var(--accent)
  ); /* Cyan-Blau Gradient */
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 5px;
  text-shadow: 0 0 8px rgba(0, 170, 255, 0.3); /* Blauer Glow */
}

.kpi-subtitle {
  font-size: 0.8rem;
  color: rgba(224, 247, 255, 0.7); /* Hellblau-Weiß mit Transparenz */
}

.kpi-stack {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.kpi-stack-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  border-bottom: 1px solid rgba(0, 170, 255, 0.1); /* Blauer Rand */
}

.kpi-stack-item:last-child {
  border-bottom: none;
}

.kpi-stack-label {
  font-size: 0.85rem;
  color: rgba(224, 247, 255, 0.8); /* Hellblau-Weiß */
}

.kpi-stack-value {
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--primary);
}

/* Detaillierte Adressverteilung */

.kpi-masternode-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 20px;
}



/* ============================================ */
/* 9. SENTIMENT-STYLES                         */
/* ============================================ */
.kpi-card.sentiment {
  margin-top: 30px;
}

.sentiment-container {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.sentiment-bar-container {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sentiment-bar-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--accent);
}

.sentiment-bar {
  height: 20px;
  background: linear-gradient(
    to right,
    #ff4d4d,
    #ffcc00,
    #00ffff
  ); /* Cyan statt Grün */
  border-radius: 10px;
  position: relative;
  overflow: visible;
  box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.3);
}

.sentiment-fill {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  width: 0;
  transition: width 1s ease;
}

.sentiment-marker {
  position: absolute;
  top: -8px;
  width: 5px;
  height: 36px;
  background-color: white;
  border: 1px solid var(--primary);
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.8), 0 0 12px var(--primary);
  transform: translateX(-50%);
  z-index: 10;
  border-radius: 2px;
  transition: left 1s ease;
}

/* Pulsierender Effekt für den Marker */
@keyframes pulse {
  0% {
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.8), 0 0 12px var(--primary);
  }
  50% {
    box-shadow: 0 0 12px rgba(255, 255, 255, 1), 0 0 16px var(--primary);
  }
  100% {
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.8), 0 0 12px var(--primary);
  }
}

.sentiment-marker.active {
  animation: pulse 2s infinite;
}

.sentiment-value-container {
  display: flex;
  justify-content: space-around;
  gap: 15px;
  text-align: center;
}

.sentiment-value,
.interest-value {
  flex: 1;
}

.sentiment-value span,
.interest-value span {
  font-size: 1.8rem;
  font-weight: bold;
  background: linear-gradient(
    to right,
    var(--primary),
    var(--accent)
  ); /* Cyan-Blau Gradient */
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: block;
}

.sentiment-label,
.interest-label {
  font-size: 0.9rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 5px;
}

/* ============================================ */
/* 10. TOOLTIP DESIGN                          */
/* ============================================ */
.tooltip-icon {
  position: relative;
  margin-left: 10px;
  cursor: pointer;
  font-size: 0.85rem;
  color: #aaa;
  user-select: none;
}

.tooltip-box {
  visibility: hidden;
  opacity: 0;
  width: 240px;
  background-color: #1e1e1e;
  color: #fff;
  text-align: left;
  border-radius: 8px;
  padding: 10px 12px;
  position: absolute;
  bottom: 120%;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
  transition: opacity 0.3s ease;
  z-index: 20;
  font-size: 0.8rem;
  line-height: 1.3;
  pointer-events: none;
}

.tooltip-icon:hover .tooltip-box {
  visibility: visible;
  opacity: 1;
  z-index: 999;
}



/* ============================================ */
/* 12. HEADER-NAVIGATION                      */
/* ============================================ */
.cyber-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 30px;
  background: rgba(12, 18, 28, 0.4);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 100, 150, 0.01);
  position: sticky;
  top: 0;
  z-index: 40;
  width: 100%;
  box-sizing: border-box;
  margin: 0;
  margin-bottom: 100px;
  transition: all 0.3s ease;
}


/* Logo */
.cyber-logo .logo-link {
  display: flex;
  align-items: center;
  gap: 15px;
  text-decoration: none;
}

.logo-icon {
  filter: drop-shadow(0 0 8px rgba(0, 255, 255, 0.6));
  transition: all 0.5s ease;
}

.logo-icon:hover {
  transform: rotate(360deg) scale(1.1);
  filter: drop-shadow(0 0 12px rgba(0, 255, 255, 0.9));
}

.logo-text {
  font-family: 'Exo 2', sans-serif;
  font-weight: 700;
  font-size: 1.8rem;
  letter-spacing: 2px;
  background: linear-gradient(to right, var(--primary), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 10px rgba(0, 170, 255, 0.7);
}

.cyber-nav {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

/* Navigation */
.cyber-nav .nav-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-item {
  position: relative;
  overflow: hidden;
}

.nav-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 12px 5px;
  text-decoration: none;
  color: var(--accent);
  font-size: 0.85rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  background: rgba(0, 40, 60, 0.3);
  border: 1px solid rgba(0, 170, 255, 0.2);
  text-align: center;
}

.nav-link span {
  margin-top: 5px;
}

.nav-icon {
  transition: all 0.3s ease;
}

.nav-link:hover {
  background: rgba(0, 80, 120, 0.4);
  color: var(--primary);
  box-shadow: 0 5px 15px rgba(0, 170, 255, 0.3);
}

.nav-link:hover .nav-icon {
  transform: scale(1.2);
  filter: drop-shadow(0 0 5px rgba(0, 255, 255, 0.7));
}

.nav-item.active .nav-link {
  background: rgba(0, 170, 255, 0.15);
  color: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 0 15px rgba(0, 170, 255, 0.4);
}

.nav-item.active .nav-link::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 10%;
  width: 80%;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  box-shadow: 0 0 8px rgba(0, 255, 255, 0.8);
}

/* Stats */
.cyber-stats {
  display: flex;
  gap: 15px;
}

.stat-chip {
  border-radius: 12px;
  padding: 8px 15px;
  min-width: 100px;
  text-align: center;
  transition: all 0.3s ease;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 3px;
}

.stat-value {
  font-size: 1rem;
  font-weight: bold;
  text-shadow: 0 0 8px rgba(0, 255, 255, 0.4);
}

/* ============================================ */
/* HAMBURGER MENÜ                              */
/* ============================================ */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 30px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 199;
}

.hamburger .line {
  width: 30px;
  height: 3px;
  background: var(--primary);
  border-radius: 3px;
  transition: all 0.3s ease;
}

.nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
  z-index: 20;
  display: none;
}

/* ============================================ */
/* 13. GRUPPEN-STYLES                          */
/* ============================================ */
.group-header {
  background: rgba(0, 60, 100, 0.3) !important;
  cursor: pointer;
  transition: all 0.3s ease;
}

.group-header:hover {
  background: rgba(0, 80, 120, 0.4) !important;
}

.group-header.expanded {
  background: rgba(0, 80, 140, 0.5) !important;
  border-bottom: 2px solid var(--primary);
}

.expand-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
}

.expand-indicator svg {
  transition: transform 0.3s ease;
}

/* Sub-Header für Gruppenmitglieder */
.group-subheader {
  background: rgba(0, 50, 80, 0.4) !important;
  border-bottom: 1px solid rgba(0, 170, 255, 0.3);
}

.group-subheader th {
  padding: 10px 15px;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  font-size: 0.8rem;
}

/* Gruppenmitglieder */
.group-member {
  background: rgba(0, 40, 70, 0.25) !important;
  animation: fadeIn 0.3s ease;
}

.group-member:nth-child(even) {
  background: rgba(0, 50, 80, 0.35) !important;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.group-summary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 15px;
}

.group-header:hover{
  background: rgba(0, 170, 255, 0.2);
}

.group-info {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  gap: 4px;
}

.group-id {
  font-weight: bold;
  color: var(--primary);
  font-size: 1.1rem;
}

.group-count {
  font-size: 0.9rem;
  color: var(--accent);
}

.group-owner {
  font-size: 0.9rem;
  color: #a0f0ff;
}

.group-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.group-date {
  font-size: 0.85rem;
  color: var(--accent);
  padding: 4px 8px;
  background: rgba(0, 40, 60, 0.4);
  border-radius: 12px;
}

/* Einzelne Nodes */
.standalone-node {
  background: rgba(10, 30, 50, 0.4);
}


/* ============================================ */
/* HOMEPAGE-SPEZIFISCHE STYLES                 */
/* ============================================ */

/* Hero-Bereich */
.hero-section {
  text-align: center;
  /* padding: 6rem 2rem 5rem; */
}

.hero-subtitle {
  max-width: 700px;
  margin: 1rem auto 2rem;
  font-size: 1.1rem;
  color: #c0c5d0;
}

.hero-cta {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.cta-button {
  background: #00f3ff;
  color: #0a0e1a;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.cta-button.secondary {
  background: transparent;
  border: 2px solid #00f3ff;
  color: #00f3ff;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 15px rgba(0, 243, 255, 0.4);
}


/* =========================
   Features Section
========================= */


.features-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
  margin: 5rem 0;
}
.feature-card {
  background: #111a2e;
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.feature-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(0, 102, 255, 0.15),
              inset 0 0 12px rgba(0, 102, 255, 0.08);
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--primary);
  text-shadow: var(--text-glow);
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--primary);
}

.feature-card p {
  margin-bottom: 20px;
  color: #c0e0ff;
}

.feature-link {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.feature-link:hover {
  color: var(--primary);
  text-shadow: var(--text-glow);
}


/* =========================
   Stats & Cards
========================= */
.stats-section {
  margin: 5rem 0;
}

.stats-section h2 {
  text-align: center;
  margin-bottom: 2rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.5rem;
}
.stat-card {
  background: #111a2e;
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  transition: 0.3s;
}

.stat-card:hover {
  background: #162135;
}


.stat-card h4 {
  margin-top: 0;
  color: var(--accent);
  font-size: 1rem;
}

.stat-card p {
  font-size: var(--font-text-lg);
  margin: 10px 0;
  font-weight: bold;
  color: var(--neutral);
  text-shadow: var(--text-glow);
}
/* =========================
   Supply Chart
========================= */
.chart-legend {
  display: flex;
  align-items:center;
justify-content:space-around;
  flex-direction: row;
  gap: 2rem;
  font-size: var(--font-text-sm);
  margin-top: 3rem;
}

.legend-item {
  display: flex;
  align-items:  flex-start;
  gap: 8px;
  line-height: 1.4;
}

.legend-color {
  display: flex;
  
  width: 2rem;
  height: 2rem;
  border-radius:  70% 70% 30% 30%;
  transition: transform 0.3s ease;
}
.legend-color:hover {
  transform: scale(1.3) rotate(90deg);
  border-radius:  30% 70% 70% 30%;

}

/* Farben nach Typ */
.legend-item.staked-other .legend-color {
  background-color: rgba(0, 100, 200, 0.8);
}

.legend-item.staked-coinmetro .legend-color {
  background-color: rgba(0, 255, 255, 0.8);
}

.legend-item.not-staked .legend-color {
  background-color: rgba(0, 170, 255, 0.8);
}

.legend-item.circulating-supply .legend-color {
  background: linear-gradient(
    to right,
    rgba(0, 100, 200, 0.8) 0%,
    rgba(0, 100, 200, 0.8) 33.33%,
    rgba(0, 255, 255, 0.8) 33.33%,
    rgba(0, 255, 255, 0.8) 66.66%,
    rgba(0, 170, 255, 0.8) 66.66%,
    rgba(0, 170, 255, 0.8) 100%
  );
}

.legend-item.max-supply .legend-color {
  background-color: rgba(40, 60, 90, 1);
  
}



/* ============================================ */
/* TOKEN SECTION STYLES                        */
/* ============================================ */


/* Holo test  */
.token-section {
  
  margin: 3rem;
  padding: 4rem 2rem;
  border-radius: 24px;
  background: linear-gradient(145deg, #101624 0%, #0d1220 100%);
  position: relative;
  overflow: hidden;
}

.token-section::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 24px;
  padding: 2px; /* Rahmenbreite */
  background: linear-gradient(135deg, 
    #00ffff 0%, 
    #00aaff 40%, 
    #ff00aa 80%, 
    #00ffff 100%
  );
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  -webkit-mask-composite: destination-out;
  animation: holoShift 6s linear infinite;
  pointer-events: none;
}

@keyframes holoShift {
  to { background-position: 400% 0; }
}

/* Token content  */
.token-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.token-info h2 {
  color: var(--balance);
  text-shadow: var(--text-glow);
  margin: 2rem 0;
}

.token-details {
  margin: 1.5rem 0;
}

.detail {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  padding: 15px;
}

.label {
  display: block;
  font-size: 0.9rem;
  color: var(--accent);
  margin-bottom: 5px;
}

.value {
  font-size: var(--font-text-lg);
  font-weight: bold;
  color: #c0e0ff;
}

.token-button {
  display: inline-block;
  background: linear-gradient(145deg, rgba(0, 100, 150, 0.8), rgba(0, 60, 100, 1));
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 24px;
  text-decoration: none;
  font-weight: 600;
  margin-top: 1rem;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  text-align: center;
  box-shadow: 0 0 15px rgba(0, 170, 255, 0.3);
  z-index: 99;
}

.token-button:hover {
  background: linear-gradient(145deg, rgba(0, 120, 180, 0.9), rgba(0, 80, 130, 1));
  transform: translateY(-3px);
  box-shadow: 0 5px 20px rgba(0, 200, 255, 0.5);
}

.token-benefits {
  /* background: rgba(9, 21, 32, 0.5);
  border: 1px solid rgba(0, 170, 255, 0.1);
  border-radius: 12px;
  padding: 25px; */

  background: #111a2e; /* leicht heller als Section */;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;

  /* Weicher Glow statt Border */
  box-shadow: 0 0 15px rgba(0, 102, 255, 0.08),
              inset 0 0 10px rgba(0, 102, 255, 0.05);

  transition: transform 0.2s ease, box-shadow 0.2s ease;
 
}
.token-section .token-benefits:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(0, 102, 255, 0.15),
              inset 0 0 12px rgba(0, 102, 255, 0.08);
}
.token-benefits h3 {
  color: var(--balance);
  text-shadow: var(--text-glow);
  margin-top: 0;
  margin: 2rem 0;
}

.token-benefits ul {
  padding-left: 0px;
  list-style-type: none;
  margin: 20px 0;
}

.token-benefits li {
  margin-bottom: 10px;
  color: #c0e0ff;
  position: relative;
}

.token-benefits li::before {
  content: "✓";
  color: var(--accent);
  font-weight: bold;
  margin-right: 10px;
}

.qrcode-placeholder {
  margin-top: 25px;
  text-align: center;
}

.qrcode {
  width: 120px;
  height: 120px;
  margin: 0 auto 10px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px dashed var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

/* PARTNER LINKS */

/* =========================
   Über uns 
========================= */


.about-section {
  background: #111a2e52;
  border-radius: 12px;
  padding: 2rem;
   margin-bottom: 2rem;
}

.about-section h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.disclaimer-box {
  background-color: rgba(255, 255, 255, 0.05);
  border-left: 4px solid #00aaff;
  padding: 1rem 1.5rem;
  margin: 2rem 0;
  border-radius: 12px;
  font-size: 0.95rem;
  color: #ddd;
}

.partners h3 {
  margin-top: 2rem;
  font-size: 1.4rem;
}

.partner-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  margin-top: 1rem;
}

.partner-tile {
  background: rgba(0, 170, 255, 0.1);
  padding: 1rem;
  border-radius: 12px;
  text-align: center;
  color: var(--neutral);
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.partner-tile:hover {
  background: rgba(0, 170, 255, 0.25);
  transform: translateY(-2px);
}

/* Tokenomics Section */
.token-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.token-stat {
  background: #111a2e;
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  transition: 0.3s;
}
.token-stat:hover {
  background: #162135;
}

.token-stat-label {
  font-size: var(--font-text-lg);
  color: var(--accent);
  margin-bottom: 5px;
}

.token-stat-value {
  font-size: var(--font-text-lg);
  font-weight: bold;
  
}

.token-stat-sub {
  font-size: 0.8rem;
  color: rgba(224, 247, 255, 0.7);
  margin-top: 5px;
}

.supply-chart-container {
  height: 300px;
  margin-top: 30px;
}
/* =========================
   Staking Section
========================= */
.staking-section {
  
  border-radius: 20px;
  padding: 40px;
  backdrop-filter: blur(8px);

  text-align: center;
}

.staking-header img {
  width: 60px;
  margin-bottom: 10px;
}

.staking-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 20px;
  margin: 30px 0;
}

.staking-card {
  padding: 20px;
  border-radius: 16px;
  border: 1px solid var(--card-border, rgba(0,255,255,0.3));
  background: rgba(0,20,40,0.45);
  box-shadow: 0 0 15px rgba(0,255,255,0.08);
  transition: 0.3s;
}

.staking-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 25px rgba(0,255,255,0.25);
}

.staking-period {
  color: var(--primary, #00f3ff);
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.staking-rate {
  font-size: 1.4rem;
  font-weight: bold;
  margin-bottom: 6px;
}

.staking-min {
  color: var(--neutral, #aaa);
  font-size: 0.85rem;
}

.rewards-summary {
  margin: 25px 0;
  font-size: 1rem;
  color: var(--neutral, #ccc);
}

.rewards-value {
  color: var(--balance, #00f3ff);
  font-weight: bold;
  font-size: 1.2rem;
}

.staking-cta {
  margin-top: 20px;
}

.cta-button {
  display: inline-block;
  margin-top: 10px;
  padding: 12px 28px;
  background: var(--primary, #00f3ff);
  color: #0a1428;
  border-radius: 10px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
}

.cta-button:hover {
  background: var(--accent, #ff00f7);
  box-shadow: 0 0 15px var(--accent, #ff00f7);
}



/* TEST FÜR SHARE */
.generator-container {
  max-width: fit-content;
  margin: auto;
  background: var(--card-bg);
  padding: 20px;
  border-radius: 16px;
  box-shadow: var(--shadow);
}


img.preview {
  margin-top: 20px;
  max-width: 100%;
  border-radius: 8px;
  border: 1px solid var(--card-border);
}


.share-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  background: linear-gradient(145deg, rgba(0, 40, 60, 0.7), rgba(0, 20, 40, 0.9));
  color: #e0f7ff;
  border: 1px solid var(--card-border);
  border-radius: 12px;
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.share-button:hover {
  background: linear-gradient(145deg, rgba(0, 60, 80, 0.8), rgba(0, 30, 50, 1));
  box-shadow: 0 0 25px rgba(0, 170, 255, 0.5);
  transform: translateY(-3px);
}

.share-button svg {
  width: 24px;
  height: 24px;
}

#previewContainer {
  margin-top: 30px;
  text-align: center;
}

#preview {
  max-width: 100%;
  border: 1px solid var(--card-border);
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 170, 255, 0.25);
}

/* Stil für die Metadaten-Anzeige */
#cardMeta {
  background: rgba(0, 30, 45, 0.4);
  padding: 8px 15px;
  border-radius: 8px;
  font-size: 0.9rem;
  margin-top: 15px;
}

/* Stil für die Vorschau */
.preview {
  max-width: 100%;
  border: 1px solid var(--card-border);
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 170, 255, 0.25);
  transition: all 0.3s ease;
}

.preview:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 170, 255, 0.4);
}


/* Netzwerk-Overlay mit Canvas für beste Performance */
#network-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: auto;
  height: auto;
  z-index: 1;
  opacity: 1.85; /* Sehr dezent */
}

/* Minimale Knotenpunkte für Netzwerk */
.network-node {
  position: absolute;
  width: 6px;
  height: 6px;
  background: #00f3ff;
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(0, 243, 255, 0.5);
  z-index: 1;
}

/* Datenpaket - schlank und performant */
.data-packet {
  position: absolute;
  width: 3px;
  height: 3px;
  background: #00f3ff;
  border-radius: 50%;
  box-shadow: 0 0 6px #00f3ff;
  z-index: -1;
  opacity: 0;
}



.slider{
  display: none;
}
/* ============================================ */
/* 11. RESPONSIVE DESIGN                       */
/* ============================================ */

@media (max-width: 1540px) {
  .cyber-header {
    flex-wrap: wrap;
    justify-content: center;
    padding: 12px 15px;
  }
  
  .cyber-logo {
    order: 1;
    margin-right: auto;
  }
  
  .cyber-stats {
    order: 2;
  }
  
  .cyber-nav {
    position: static;
    transform: none;
    order: 3;
    width: 100%;
    margin-top: 15px;
  }
  
  
}

@media (max-width: 922px) {


  .retro-container {
    padding: 12px;
    margin: 10px auto;
    border: none;
    /* overflow-x: hidden; */
  }

  h1 {
    font-size: 2rem;
    margin-bottom: 30px;
    padding-bottom: 8px;
  }

  .filters {
    padding: 12px;
    margin-bottom: 15px;
  }

  /* Formularelemente */
  input[type="text"],
  input[type="number"] {
    padding: 10px 12px;
    font-size: 0.9rem;
  }

  button {
    padding: 10px 16px;
    font-size: 0.95rem;
  }

  /* Mobile Card View */
  .table-container table {
    display: none;
  }

  .table-container {
    border: none;
  }

  .card-view {
    display: block;
  }

  .rank {
    font-size: 1rem;
    color: var(--accent);
  }

  /* Optimierte Paginierung */
  .pagination-container {
    flex-direction: row;
    gap: 4px;
    padding: 8px 12px;
    margin-top: 12px;
    border-radius: 8px;
    justify-content: space-between;
    background: rgba(0, 20, 30, 0.4); /* Blauer Hintergrund */
  }

  .pagination-controls {
    display: flex;
    gap: 10px;
    flex-grow: 1;
    justify-content: center;
  }

  .pagination-controls button {
    min-width: 0;
    width: 36px;
    height: 36px;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0;
    position: relative;
    border-radius: 6px;
    background: rgba(0, 40, 60, 0.7); /* Blauer Hintergrund */
  }

  .pagination-controls button::after {
    content: "";
    font-size: 1.1rem;
    position: absolute;
    color: #e0f7ff; /* Hellblau-Weiß */
  }

  .pagination-controls button:nth-child(1)::after {
    content: "«";
  }
  .pagination-controls button:nth-child(2)::after {
    content: "‹";
  }
  .pagination-controls button:nth-child(4)::after {
    content: "›";
  }
  .pagination-controls button:nth-child(5)::after {
    content: "»";
  }

  .page-info {
    font-size: 0.85rem;
    padding: 4px 8px;
    margin: 0 4px;
    flex-shrink: 0;
    color: #e0f7ff; /* Hellblau-Weiß */
  }



 

  /* Adresscontainer */
  .address-container {
    flex-wrap: wrap;
  }

  .mn-tag {
    display: flex;
    width: 100%;
    max-width: 100%;
    padding: 0;
    margin: 0;
    justify-content: center;
    font-weight: bold;
    background: linear-gradient(
      to right,
      var(--primary),
      var(--accent)
    ); /* Cyan-Blau Gradient */
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }

  .short-address {
    font-size: 0.8rem;
  }

  /* KPI-Container */
  .kpi-grid {
    display: block;
  }

  .kpi-grid > div {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    margin-bottom: 1rem;
    overflow: hidden;
  }

  .kpi-card {
    padding: 12px;
  }

  .kpi-value {
    font-size: 1rem;
  }

  .kpi-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  /* Detaillierte Verteilung */
  .div-average {
    margin-top: 5px;
  }

  .kpi-distribution-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .tier-value {
    font-size: 1rem;
  }

  .sentiment-value-container {
    flex-direction: column;
    gap: 10px;
  }

  .sentiment-value span,
  .interest-value span {
    font-size: 1.5rem;
  }

  /* Masternode Details */
  .detail-grid {
    grid-template-columns: 1fr;
  }

  .group-members ul {
    max-height: 100px;
  }

  /* Mobile Masternode Details */
  .masternode-card.active {
    border: 2px solid var(--primary);
    box-shadow: 0 0 15px rgba(0, 170, 255, 0.3); 
  }

  .masternode-details-container {
    padding: 15px;
    background: rgba(0, 25, 40, 0.5); 
    border-top: 1px solid rgba(0, 170, 255, 0.2); 
    margin-top: 10px;
  }

  .masternode-details-container.loading,
  .masternode-details-container.error {
    text-align: center;
    color: var(--accent);
    padding: 20px;
  }

  .masternode-details .detail-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .masternode-details .detail-item {
    display: flex;
    justify-content: space-between;
    padding: 5px 0;
    border-bottom: 1px solid rgba(0, 170, 255, 0.2);
  }

  .masternode-details .detail-label {
    font-size: 0.8rem;
    color: var(--accent);
  }

  .masternode-details .detail-value {
    font-size: 0.9rem;
    text-align: right;
    color: #e0f7ff; 
  }

  .masternode-details .group-members {
    margin-top: 10px;
  }

  .masternode-details .group-members ul {
    padding-left: 15px;
    margin-top: 5px;
  }

  .masternode-details .more-members {
    color: var(--accent);
    cursor: pointer;
    font-style: italic;
  }

  .masternode-row:hover {
    background-color: none;
  }
}
@media (max-width: 810px) {
  .slider {
    overflow-x: hidden;
    max-width: 100%;
  }

  .hamburger {
    display: flex;
    position: absolute;
    right: 20px;
    top: 20px;
    z-index: 1999;
  }

  .cyber-nav .nav-grid{
    display: flex;
    
  }

  .cyber-nav {
    display: flex;
    position: fixed;
    top: 0;
    right: 0;
    width: 75%;
    max-width: 400px;
    height: 100vh;
    margin: 0%;
    padding: 0%;
    background: rgba(8, 18, 36, 0.95);
    backdrop-filter: blur(10px);
    padding: 80px 20px 20px;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
    z-index: 111;
    /* Korrekte Positionierung außerhalb des sichtbaren Bereichs */
    transform: translateX(100%);
    transition: transform 0.4s ease;
  }
  
  .cyber-nav.active {
    /* Menü einschieben */
    transform: translateX(0);
    z-index: 199;
  }
  
  .cyber-nav.active {
    right: 0;
  }
  
  .nav-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .nav-item {
    width: 100%;
    margin-bottom: 8px;
  }
  
  .nav-link {
    flex-direction: row;
    justify-content: flex-start;
    padding: 12px 15px;
    text-align: left;
    max-width: 180px;
    background-color: inherit;
    border: none;
  }

  .nav-link:hover {
    background: rgba(0, 80, 120, 0.4);
    color: var(--primary);
    box-shadow: 0 5px 15px rgba(0, 170, 255, 0.3);
  }
  .nav-icon {
    margin-right: 10px;
  }

  .nav-link span {
    margin-top: 0;
  }
  
  /* Hamburger Animation */
  .hamburger.active .line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
  }
  
  .hamburger.active .line:nth-child(2) {
    opacity: 0;
  }
  
  .hamburger.active .line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
  }
  
  /* Overlay für Hintergrund */
  .nav-overlay.active {
    display: block;
  }
  
  /* Zusätzliche Mobile Styles */
  .cyber-header {
    padding: 10px 15px;
  }
  
  .cyber-logo {
    flex: 1;
  }
  
  .cyber-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;    
  }
  
  .logo-text {
    font-size: 1.5rem;
  }
  
  .hamburger {
    top: 15px;
    right: 15px;
  }
}
/* Responsive */
@media (max-width: 768px) {
  :root {
    /* Headlines skalieren runter */
    --font-h1: 2.25rem; /* 36px */
    --font-h2: 1.875rem; /* 30px */
    --font-h3: 1.5rem;   /* 24px */
    --font-h4: 1.25rem;  /* 20px */
    --font-h5: 1.125rem; /* 18px */
    --font-h6: 1rem;     /* 16px */

    /* Fließtext minimal kleiner */
    --font-text-lg: 1rem;
  }

  .hero-section {
    padding: 30px 15px;
  }
  
  .hero-cta {
    flex-direction: column;
  }
  
  .feature-card {
    padding: 20px;
  }
  
  .support-section {
    padding: 20px;
  }
}

@media (max-width: 528px) {

  .cyber-header{
    display: flex;
    flex-direction: column-reverse;
    gap: 40px;
  }

  .hamburger {
    top: 12px;
    right: 12px;
  }
  .cyber-nav {
    position: fixed;
    top: 0;
    width: 85%;
    max-width: 280px;
    
    height: 100vh;
    background: rgba(8, 18, 36, 0.95);
    backdrop-filter: blur(10px);
    padding: 80px 20px 20px;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
    z-index: 150;
    overflow-x: hidden;
    
    
    /* Korrekte Positionierung außerhalb des sichtbaren Bereichs */
    transform: translateX(100%);
    transition: transform 0.4s ease;
  }
  
  .cyber-nav.active {
    /* Menü einschieben */
    transform: translateX(0);
  }

  .cyber-stats {
    display: none;
    
    justify-content: center;
    align-items: center;    
  }
  .logo-text {
    font-size: 1.4rem;
  }
  
  .cyber-nav {
    width: 85%;
    max-width: 280px;
    padding: 70px 15px 15px;
  }
/* Token section */
.token-content {
  display: flex;
  flex-direction: column;
}
  /* SLIDER */
  

  @keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-250px * 8)); }
  }
  
  .slider {
    display: flex;
    box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.125);
    height: fit-content;
    padding: 15px;
    margin: auto;
    overflow: hidden;
    position: relative;
    width: 100%;
    max-width: 1000px;
    z-index: 199;
  }
  
  .slider .slide-track {
    animation: scroll 50s linear infinite;
    display: flex;
    width: calc(250px * 16);
    justify-content: center;
    text-align: center;
    align-items: center;
    
  }
  
  .slider .slide {
    display: flex;
  flex-direction: column;
  justify-content: center; /* Vertikal zentrieren */
  align-items: center; /* Horizontal zentrieren */
  height: 80px; /* Größere Höhe für bessere Zentrierung */
  width: 250px;
  }
  
}



.site-footer {
  color: #ccc;
  padding: 3rem 2rem 1rem;
  font-size: 0.875rem;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto 2rem;
}

.footer-social ul {
  display: flex;
  gap: 0.75rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-social img {
  width: 24px;
  height: 24px;
  transition: transform 0.2s;
}

.footer-social a:hover img {
  transform: scale(1.1);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1rem;
  max-width: 1200px;
  margin: 0 auto;
  
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-bottom p {
  margin: 0;
  text-align: center;
}

.footer-bottom .divider {
  width: 1px;
  height: 20px;
  background-color: rgba(255,255,255,0.2);
}

.footer-bottom-social {
  display: flex;
  gap: 0.75rem;
}

.footer-bottom-social img {
  width: 20px;
  height: 20px;
  transition: transform 0.2s;
}

.footer-bottom-social a:hover img {
  transform: scale(1.1);
}
