/* =========================================================
   BillyyG – Neon-Design
   Neon-Icons, Tips-Box, Maus-Licht, Statistik-Ring, Nav-Pille, Ueberschriften
   ========================================================= */

/* ---------- 1) Neon-Icons ---------- */
.ic { width: 1.15em; height: 1.15em; vertical-align: -0.2em; flex: none; display: inline-block; overflow: visible; }
.ic.c-p { color: var(--purple-3); filter: drop-shadow(0 0 5px rgba(157, 77, 255, 0.75)); }
.ic.c-g { color: var(--green); filter: drop-shadow(0 0 5px rgba(125, 255, 58, 0.6)); }
.ic.c-o { color: var(--gold); filter: drop-shadow(0 0 5px rgba(255, 210, 74, 0.6)); }
.ic.c-r { color: #ff7a93; filter: drop-shadow(0 0 5px rgba(255, 77, 109, 0.6)); }
.btn .ic, button .ic, .icon-btn .ic { color: currentColor; filter: none; }
.btn.green .ic { color: #0b1a02; }
.icon-btn .ic { width: 20px; height: 20px; }

/* Navigation: Icons ruhiger, beim Hover/aktiv voll */
.nav-links a .ic { opacity: 0.7; transition: opacity 0.2s, transform 0.2s; }
.nav-links a:hover .ic, .nav-links a.active .ic { opacity: 1; transform: scale(1.1); }

/* ---------- 5) Navigation: gleitende Pille ---------- */
.nav-links { position: relative; }
.nav-links a, .nav-links a.active, .nav-links a:hover { background: transparent !important; box-shadow: none !important; z-index: 1; }
.nav-pill {
  position: absolute; top: 0; height: 100%; left: 0; width: 0; border-radius: 10px; z-index: 0; pointer-events: none;
  background: linear-gradient(135deg, rgba(157, 77, 255, 0.38), rgba(106, 27, 214, 0.18));
  box-shadow: inset 0 0 0 1px rgba(157, 77, 255, 0.6), 0 0 22px rgba(157, 77, 255, 0.3);
  transition: left 0.35s cubic-bezier(0.3, 1.3, 0.4, 1), width 0.35s cubic-bezier(0.3, 1.3, 0.4, 1), opacity 0.2s;
}
.nav-pill::after {
  content: ""; position: absolute; left: 22%; right: 22%; bottom: -1px; height: 2px; border-radius: 2px;
  background: var(--green); box-shadow: 0 0 10px var(--green);
}
.nav-pill.hover { background: linear-gradient(135deg, rgba(157, 77, 255, 0.22), rgba(106, 27, 214, 0.1)); }
.nav-pill.hover::after { background: var(--purple-3); box-shadow: 0 0 10px var(--purple); }

/* ---------- 2) Tips-Box ---------- */
.tips-hero .ico { font-size: 0; animation: none; filter: none; display: grid; place-items: center; position: relative; }
.coinstack { width: 92px; height: 92px; overflow: visible; filter: drop-shadow(0 0 16px rgba(255, 210, 74, 0.55)); }
.coinstack .drop { animation: coin-drop 2.6s cubic-bezier(0.5, 0, 0.8, 0.4) infinite; transform-box: fill-box; transform-origin: center; }
@keyframes coin-drop {
  0% { transform: translateY(-46px) scaleX(0.3); opacity: 0; }
  15% { opacity: 1; transform: translateY(-40px) scaleX(1); }
  30% { transform: translateY(-30px) scaleX(-1); }
  45% { transform: translateY(-14px) scaleX(1); }
  55%, 100% { transform: translateY(0) scaleX(1); opacity: 1; }
}
.coinstack .stack { animation: stack-bump 2.6s ease-out infinite; transform-box: fill-box; transform-origin: bottom; }
@keyframes stack-bump { 0%, 54% { transform: scaleY(1); } 60% { transform: scaleY(0.94); } 70%, 100% { transform: scaleY(1); } }
.trophy-wrap { position: relative; width: 92px; height: 92px; display: grid; place-items: center; animation: float 3s ease-in-out infinite; animation-delay: -1.5s; }
.trophy-wrap .ic.big { width: 70px; height: 70px; color: var(--gold); stroke-width: 1.6; filter: drop-shadow(0 0 14px rgba(255, 210, 74, 0.8)); }
.trophy-wrap .spark { position: absolute; width: 16px; height: 16px; color: #fff6c9; animation: twinkle 2.2s ease-in-out infinite; }
.trophy-wrap .spark.s1 { top: 6px; right: 8px; }
.trophy-wrap .spark.s2 { bottom: 16px; left: 2px; width: 12px; height: 12px; animation-delay: -1.1s; }
.trophy-wrap .spark.s3 { top: 30px; left: -4px; width: 10px; height: 10px; animation-delay: -0.5s; }
@keyframes twinkle { 0%, 100% { opacity: 0; transform: scale(0.4) rotate(0); } 50% { opacity: 1; transform: scale(1) rotate(45deg); } }
.tips-hero .val { animation: val-glow 3s ease-in-out infinite; }
@keyframes val-glow { 0%, 100% { text-shadow: 0 0 22px rgba(255, 210, 74, 0.55); } 50% { text-shadow: 0 0 38px rgba(255, 210, 74, 0.9), 0 0 4px #fff3c4; } }
.tips-hero.keys-hero .val { animation: none; }
.tips-hero { border-width: 1px; box-shadow: 0 0 40px rgba(255, 210, 74, 0.14), inset 0 0 60px rgba(255, 210, 74, 0.05); }
.keys-hero .ico .ic { width: 64px; height: 64px; stroke-width: 1.6; }

/* ---------- 3) Maus-Licht auf Karten ---------- */
.mlight {
  position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 3; opacity: 0; transition: opacity 0.3s;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(199, 155, 255, 0.10), transparent 60%);
}
.mlight::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: radial-gradient(200px circle at var(--mx, 50%) var(--my, 50%), rgba(199, 155, 255, 0.95), rgba(125, 255, 58, 0.35) 40%, transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.ml-on > .mlight { opacity: 1; }
.menu-card { transform-style: preserve-3d; will-change: transform; }
.menu-card:hover { rotate: none; }
.menu-card.tilting { transition: transform 0.08s linear, box-shadow 0.3s, border-color 0.3s; }

/* Menue-Karten: Icon-Kachel */
.menu-card .big-ico { font-size: 0; filter: none; }
.ic-tile {
  width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center;
  background: linear-gradient(145deg, rgba(157, 77, 255, 0.35), rgba(106, 27, 214, 0.12));
  box-shadow: inset 0 0 0 1px rgba(199, 155, 255, 0.45), 0 0 26px rgba(157, 77, 255, 0.35);
  transition: transform 0.3s cubic-bezier(0.3, 1.4, 0.4, 1);
}
.ic-tile .ic { width: 32px; height: 32px; stroke-width: 1.8; color: #f1ecff; filter: drop-shadow(0 0 8px rgba(199, 155, 255, 0.9)); }
.menu-card:hover .ic-tile { transform: translateZ(30px) scale(1.08) rotate(-4deg); }
.menu-card.stream .ic-tile { background: linear-gradient(145deg, rgba(125, 255, 58, 0.3), rgba(40, 90, 10, 0.12)); box-shadow: inset 0 0 0 1px rgba(125, 255, 58, 0.5), 0 0 26px rgba(125, 255, 58, 0.3); }
.menu-card.stream .ic-tile .ic { filter: drop-shadow(0 0 8px rgba(125, 255, 58, 0.9)); }
.menu-card.giveaway .ic-tile, .menu-card.hof .ic-tile { background: linear-gradient(145deg, rgba(255, 190, 40, 0.3), rgba(120, 70, 0, 0.12)); box-shadow: inset 0 0 0 1px rgba(255, 210, 74, 0.5), 0 0 26px rgba(255, 190, 40, 0.28); }
.menu-card.giveaway .ic-tile .ic, .menu-card.hof .ic-tile .ic { filter: drop-shadow(0 0 8px rgba(255, 210, 74, 0.9)); }

/* ---------- 4) Statistik-Karten ---------- */
.stat .ico { font-size: 0; opacity: 1; top: 50%; right: 16px; transform: translateY(-50%); }
.stat .ico .ic { width: 46px; height: 46px; stroke-width: 1.5; opacity: 0.35; }
.stat:hover .ico .ic { opacity: 0.8; }
.stat .ico .ic { transition: opacity 0.3s; }
.stat .ring { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); width: 72px; height: 72px; }
.stat .ring circle { fill: none; stroke-width: 7; }
.stat .ring .bg { stroke: rgba(255, 255, 255, 0.08); }
.stat .ring .fg { stroke: url(#ringgrad); stroke-linecap: round; transform: rotate(-90deg); transform-origin: center;
  transition: stroke-dashoffset 1.4s cubic-bezier(0.2, 0.9, 0.3, 1); filter: drop-shadow(0 0 5px rgba(125, 255, 58, 0.7)); }
.stat .ring text { fill: var(--text); font-family: var(--font-display); font-weight: 900; font-size: 15px; text-anchor: middle; dominant-baseline: central; }
.stat.has-ring .progress { display: none; }
.stat.has-ring .ico { display: none; }
.stat .mini-lock { display: flex; flex-wrap: wrap; gap: 2px; margin-top: 10px; max-width: 70%; }
.stat .mini-lock i { width: 6px; height: 6px; border-radius: 2px; background: rgba(157, 77, 255, 0.5); box-shadow: 0 0 6px rgba(157, 77, 255, 0.6); }
.stat .mini-lock i.off { background: rgba(125, 255, 58, 0.8); box-shadow: 0 0 6px rgba(125, 255, 58, 0.7); }

/* ---------- 6) Ueberschriften ---------- */
.page-head::after {
  content: ""; display: block; width: 240px; height: 2px; margin: 18px auto 0; border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--purple), var(--green), transparent);
  box-shadow: 0 0 14px rgba(157, 77, 255, 0.8);
}
.section-title { font-size: 20px; letter-spacing: 2px; gap: 14px; }
.section-title::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green), 0 0 20px var(--green);
  order: -1; flex: none;
}
.section-title::after { height: 2px; background: linear-gradient(90deg, rgba(157, 77, 255, 0.8), rgba(125, 255, 58, 0.25) 40%, transparent); }

/* Suchfelder mit Lupe */
input.has-search {
  padding-left: 38px !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239d92bd' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.3-4.3'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: 12px center; background-size: 17px;
}

/* Hunt: rechte Spalte (Guess the Balance) nicht mehr abschneiden */
.hu-grid { grid-template-columns: minmax(0, 1fr) minmax(300px, 380px); }
.hu-grid > * { min-width: 0; }
.hu-list { overflow-x: auto; }
.hu-gtb h3 { flex-wrap: wrap; }
