/* VernuxSMP - stempagina */

:root {
  --v-bg: #120c1f;
  --v-panel: #1c1430;
  --v-panel-2: #251a3f;
  --v-line: #33275a;
  --v-text: #efeaf9;
  --v-soft: #c8bde3;
  --v-muted: #8f84ad;
  --v-btn: #a855f7;
  --v-btn-hover: #b66dfa;
  --v-btn-edge: #6b21a8;
  --v-btn-text: #ffffff;
  --v-num: #7e22ce;
  --v-gold: #facc15;
  --v-ok: #22c55e;
  --v-pixel: 'Pixelify Sans', 'Outfit', monospace;
  --v-font: 'Outfit', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  min-height: 100vh;
  display: flex; flex-direction: column;
  background:
    radial-gradient(ellipse at 15% -10%, rgba(168, 85, 247, .22), transparent 55%),
    radial-gradient(ellipse at 100% 100%, rgba(107, 33, 168, .18), transparent 50%),
    var(--v-bg);
  color: var(--v-text);
  font: 16px/1.55 var(--v-font);
  -webkit-font-smoothing: antialiased;
}
.vwrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }

/* Bovenbalk */
.vtop { border-bottom: 1px solid var(--v-line); background: rgba(18, 12, 31, .8); backdrop-filter: blur(8px); position: sticky; top: 0; z-index: 10; }
.vtop-inner { display: flex; align-items: center; justify-content: space-between; gap: 14px; height: 66px; }
.vbrand { display: flex; align-items: center; gap: 11px; color: var(--v-text); text-decoration: none; font-family: var(--v-pixel); font-size: 21px; font-weight: 600; }
.vbrand img { width: 40px; height: 40px; image-rendering: pixelated; border-radius: 6px; }
.vnav { display: flex; align-items: center; gap: 6px; }
.vnav a { color: var(--v-soft); text-decoration: none; font-weight: 500; padding: 8px 12px; border-radius: 8px; }
.vnav a:hover { color: var(--v-text); background: var(--v-panel); }
.vip {
  display: inline-flex; align-items: center; gap: 8px; margin-left: 6px;
  padding: 8px 13px; border-radius: 8px; cursor: pointer;
  background: var(--v-panel); border: 1px solid var(--v-line); color: var(--v-soft);
  font: 600 14px var(--v-pixel);
}
.vip:hover { border-color: var(--v-btn); color: var(--v-text); }
.vdot { width: 8px; height: 8px; border-radius: 50%; background: var(--v-ok); box-shadow: 0 0 0 3px rgba(34, 197, 94, .2); }

/* Indeling zoals voorbeeld: links info, rechts twee kolommen knoppen */
.vmain {
  flex: 1; display: grid; grid-template-columns: 300px 1fr; column-gap: 28px; row-gap: 0;
  grid-template-areas: "head sites" "rewards sites" ". sites";
  grid-template-rows: auto auto 1fr;
  padding-top: 34px; padding-bottom: 56px; align-items: start;
}
.vmain > .vside:first-child { grid-area: head; }
.vside-rewards { grid-area: rewards; }
.vsites { grid-area: sites; }
.vrew-title { margin-top: 22px !important; }
.vside h1 { margin: 0 0 10px; font-family: var(--v-pixel); font-weight: 700; font-size: 25px; line-height: 1.15; letter-spacing: .3px; text-transform: uppercase; }
.vintro { margin: 0 0 16px; color: var(--v-soft); }
.vper {
  display: flex; gap: 9px; align-items: flex-start;
  padding: 11px 13px; margin-bottom: 18px; border-radius: 10px;
  background: rgba(250, 204, 21, .08); border: 1px solid rgba(250, 204, 21, .25);
  color: #fde68a; font-weight: 500; font-size: 14.5px;
}
.vper span { color: var(--v-gold); }
.vside h2 { margin: 22px 0 10px; font-size: 16px; font-weight: 700; }

.vrewards { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.vrewards li {
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  padding: 12px 14px; border-radius: 9px;
  background: var(--v-panel); border: 1px solid var(--v-line);
}
.vrewards b { font-weight: 700; white-space: nowrap; }
.vrewards span { color: var(--v-soft); font-weight: 600; text-align: right; }
.vnote { color: var(--v-muted); font-size: 13.5px; margin: 10px 0 0; }

.vprogress { padding: 12px 14px; border-radius: 10px; background: var(--v-panel); border: 1px solid var(--v-line); }
.vprogress-top { display: flex; justify-content: space-between; font-size: 14.5px; margin-bottom: 8px; }
.vprogress-top span { font-family: var(--v-pixel); font-weight: 700; color: var(--v-ok); }
.vbar { height: 10px; border-radius: 3px; background: var(--v-bg); overflow: hidden; border: 1px solid var(--v-line); }
.vbar i { display: block; height: 100%; width: 0; background: repeating-linear-gradient(90deg, #22c55e 0 10px, #16a34a 10px 20px); transition: width .4s ease; }

/* Stemknoppen */
.vsites { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.vsite {
  position: relative;
  display: flex; align-items: center; gap: 14px;
  min-height: 76px; padding: 18px 22px 22px;
  border-radius: 7px;
  background: var(--v-btn);
  box-shadow: inset 0 -5px 0 var(--v-btn-edge);
  color: var(--v-btn-text); text-decoration: none;
  transition: transform .1s, box-shadow .1s, background .15s;
}
.vsite:hover { background: var(--v-btn-hover); transform: translateY(-2px); box-shadow: inset 0 -5px 0 var(--v-btn-edge), 0 10px 24px rgba(168, 85, 247, .3); }
.vsite:active { transform: translateY(2px); box-shadow: inset 0 -2px 0 var(--v-btn-edge); }
.vsite:focus-visible { outline: 3px solid var(--v-gold); outline-offset: 3px; }
.vnum {
  display: grid; place-items: center; flex: none;
  min-width: 34px; height: 26px; padding: 0 9px; border-radius: 13px;
  background: var(--v-num); color: #fff;
  font-family: var(--v-pixel); font-size: 14px; font-weight: 700;
}
.vname { flex: 1; min-width: 0; font-weight: 700; font-size: 17px; overflow-wrap: anywhere; }
.vstate { display: grid; place-items: center; width: 24px; height: 24px; opacity: .75; }
.vstate svg { width: 20px; height: 20px; }
.vstate .ok { display: none; }
.vagain { position: absolute; right: 22px; bottom: 9px; font-size: 12px; font-weight: 600; opacity: .85; }

/* Al gestemd (onthouden in deze browser) */
.vsite.done { background: #2a1f45; box-shadow: inset 0 -5px 0 #1a1230; color: var(--v-soft); }
.vsite.done:hover { background: #33264f; box-shadow: inset 0 -5px 0 #1a1230; }
.vsite.done .vnum { background: var(--v-ok); }
.vsite.done .vstate { opacity: 1; color: var(--v-ok); }
.vsite.done .go { display: none; }
.vsite.done .ok { display: block; }

.vempty { grid-column: 1 / -1; padding: 30px; border-radius: 12px; border: 2px dashed var(--v-line); color: var(--v-soft); text-align: center; }
.vempty b { display: block; color: var(--v-text); margin-bottom: 4px; }
.vempty code { background: var(--v-panel); padding: 2px 6px; border-radius: 4px; }

.vfooter { border-top: 1px solid var(--v-line); padding: 20px 0; color: var(--v-muted); font-size: 14px; }

.vtoast {
  position: fixed; left: 50%; bottom: 24px; z-index: 50;
  transform: translate(-50%, calc(100% + 40px)); opacity: 0;
  padding: 11px 18px; border-radius: 9px; background: var(--v-ok); color: #fff; font-weight: 600;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .45); transition: transform .3s, opacity .2s;
}
.vtoast.show { transform: translate(-50%, 0); opacity: 1; }

/* Responsief */
@media (max-width: 980px) {
  .vmain { grid-template-columns: 1fr; grid-template-areas: "head" "sites" "rewards"; grid-template-rows: auto; row-gap: 22px; }
  .vrew-title { margin-top: 6px !important; }
  .vrewards { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
}
@media (max-width: 640px) {
  .vwrap { padding: 0 16px; }
  .vsites { grid-template-columns: 1fr; gap: 14px; }
  .vsite { min-height: 66px; padding: 15px 18px 19px; }
  .vname { font-size: 16px; }
  .vnav a { padding: 8px 8px; font-size: 15px; }
  .vip-text { display: none; }
  .vbrand span { font-size: 18px; }
  .vside h1 { font-size: 22px; }
}
