/* ===========================
   TOP STOCKS – GRID LAYOUT
   =========================== */

.stock-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 18px;
  padding: 10px 0;
  justify-items: center;
}

/* ===========================
   STOCK CARD BASE STYLE
   =========================== */

.stock-card {
  width: 100%;
  max-width: 180px;
  padding: 16px 14px;
  border-radius: 14px;
  text-align: center;

  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: inherit;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);

  transition: transform 0.25s, box-shadow 0.25s;
  backdrop-filter: blur(4px);
}

.stock-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 12px rgba(255,255,255,0.15);
}

/* ===========================
   TITEL / NAAM / SYMBOL
   =========================== */

.stock-name {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 6px;
  text-align: center;
}

/* Eventueel uitbreidbaar als je later ook het symbool wil tonen:
.stock-symbol {
  font-size: 13px;
  opacity: 0.65;
  margin-top: -4px;
  margin-bottom: 6px;
}
*/

/* ===========================
   MAIN ICON (BULL / BEAR / NEUTRAL)
   =========================== */

.main-icon {
  margin: 4px 0 6px 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ===========================
   PERCENTAGE
   =========================== */

.percent-line {
  font-size: 20px;
  font-weight: 700;
  margin: 6px 0 12px 0;
  text-align: center;
  opacity: 0.95;
}

/* ===========================
   VOTE STATS
   =========================== */

.vote-stats {
  display: flex;
  gap: 10px;
  justify-content: center;
  font-size: 14px;
  opacity: 0.85;
}

.vote-stats span {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ===========================
   CARD COLOR THEMES
   =========================== */

.card-bullish {
  background: rgba(0, 255, 140, 0.07);
  border-color: rgba(0, 255, 140, 0.35);
  box-shadow: 0 0 6px rgba(0,255,140,0.25);
}

.card-bearish {
  background: rgba(255, 60, 60, 0.07);
  border-color: rgba(255, 60, 60, 0.30);
  box-shadow: 0 0 6px rgba(255,60,60,0.25);
}

.card-neutral {
  background: rgba(150, 180, 255, 0.07);
  border-color: rgba(150, 180, 255, 0.30);
  box-shadow: 0 0 6px rgba(150,180,255,0.20);
}

/* ===========================
   MOBILE IMPROVEMENTS
   =========================== */

@media (max-width: 480px) {
  .stock-grid {
    grid-template-columns: repeat(2, 1fr);  /* altijd 2 kolommen */
    gap: 14px;
  }

.stock-card {
  padding: 14px;
  max-width: none;
  min-width: 0;
  box-sizing: border-box;
}
  .percent-line {
    font-size: 18px;
  }
}