/* TCGvergelijker.nl — huisstijl: nachtblauw, elektrisch blauw → paars, zoals het logo */
:root {
  --bg: #050814;
  --bg-2: #0a1024;
  --card: #0e1630;
  --card-2: #121c3c;
  --line: #1d2a52;
  --line-2: #2a3a6e;
  --text: #eef2ff;
  --muted: #a3b0d6;
  --faint: #6b7aa6;
  --blue: #1e6bff;
  --blue-2: #3d8bff;
  --cyan: #38bdf8;
  --purple: #7b3cff;
  --yellow: #ffcb05;
  --green: #22c55e;
  --amber: #f59e0b;
  --red: #ef4444;
  --grad: linear-gradient(100deg, #1e6bff 0%, #4f5bff 50%, #7b3cff 100%);
  --radius: 18px;
  --shadow: 0 20px 60px -20px rgba(30, 107, 255, .35);
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Rubik", var(--font);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 var(--font);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(900px 500px at 15% -10%, rgba(30,107,255,.22), transparent 60%),
    radial-gradient(800px 500px at 100% 10%, rgba(123,60,255,.18), transparent 60%);
}
a { color: var(--blue-2); text-decoration: none; }
a:hover { color: #fff; }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--display); line-height: 1.1; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.3rem, 6vw, 4.2rem); font-weight: 900; font-style: italic; text-transform: uppercase; }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; font-style: italic; text-transform: uppercase; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .1em; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.muted { color: var(--muted); }
.faint { color: var(--faint); }
.center { text-align: center; }
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; backdrop-filter: blur(14px);
  background: rgba(5, 8, 20, .78); border-bottom: 1px solid rgba(42, 58, 110, .5);
}
.nav { display: flex; align-items: center; gap: 24px; height: 72px; }
.nav .brand img { height: 46px; width: auto; }
.nav-links { display: flex; gap: 22px; margin-left: auto; }
.nav-links a { color: var(--muted); font-weight: 600; font-size: .95rem; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: #fff; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line-2); color: #fff; border-radius: 10px; width: 42px; height: 42px; font-size: 20px; }
.user-chip { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 600; }
.user-chip img { width: 30px; height: 30px; border-radius: 50%; }
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-links { display: none; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; gap: 0;
    background: var(--bg-2); border-bottom: 1px solid var(--line); padding: 8px 16px 16px; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 4px; border-bottom: 1px solid var(--line); }
  .nav .nav-cta .btn span.long { display: none; }
}

/* ---------- knoppen ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; cursor: pointer;
  border: 0; border-radius: 12px; padding: 13px 22px; font: 700 1rem var(--font); color: #fff;
  background: var(--grad); box-shadow: 0 8px 30px -8px rgba(79, 91, 255, .7);
  transition: transform .15s ease, box-shadow .15s ease, filter .15s;
}
.btn:hover { transform: translateY(-1px); color: #fff; filter: brightness(1.1); }
.btn:active { transform: translateY(0); }
.btn[disabled] { opacity: .55; cursor: wait; }
.btn.ghost { background: transparent; border: 1px solid var(--line-2); box-shadow: none; }
.btn.ghost:hover { border-color: var(--blue-2); background: rgba(30,107,255,.08); }
.btn.discord { background: #5865f2; box-shadow: 0 8px 30px -8px rgba(88, 101, 242, .8); }
.btn.small { padding: 9px 14px; font-size: .9rem; border-radius: 10px; }
.btn.danger { background: transparent; border: 1px solid rgba(239,68,68,.5); color: #fca5a5; box-shadow: none; }
.btn.block { width: 100%; }
.discord-icon { width: 20px; height: 20px; fill: currentColor; flex: none; }

/* ---------- algemeen ---------- */
section { padding: 96px 0; }
.eyebrow { display: inline-block; font-weight: 800; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--cyan); margin-bottom: 12px; }
.section-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.1rem; }
.card { background: linear-gradient(180deg, var(--card-2), var(--card)); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.badge { display: inline-flex; align-items: center; gap: 6px; font-size: .75rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; padding: 4px 10px; border-radius: 99px; border: 1px solid var(--line-2); color: var(--muted); }
.badge.elite { color: #d8c6ff; border-color: rgba(123,60,255,.6); background: rgba(123,60,255,.14); }
.badge.pro { color: #bcd4ff; border-color: rgba(30,107,255,.6); background: rgba(30,107,255,.14); }
.badge.free { color: #bbf7d0; border-color: rgba(34,197,94,.5); background: rgba(34,197,94,.1); }
.chip { cursor: pointer; border: 1px solid var(--line-2); background: var(--card); color: var(--muted); border-radius: 99px; padding: 8px 16px; font: 600 .9rem var(--font); }
.chip[aria-pressed="true"] { background: rgba(30,107,255,.18); border-color: var(--blue); color: #fff; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; background: var(--faint); flex: none; }
.dot.online { background: var(--green); box-shadow: 0 0 0 4px rgba(34,197,94,.18); }
.dot.traag { background: var(--amber); }
.dot.storing { background: var(--red); }
.notice { border: 1px solid var(--line-2); background: rgba(30,107,255,.08); border-radius: 14px; padding: 14px 18px; color: var(--muted); }
.notice.ok { border-color: rgba(34,197,94,.5); background: rgba(34,197,94,.08); color: #d1fae5; }
.notice.err { border-color: rgba(239,68,68,.5); background: rgba(239,68,68,.08); color: #fecaca; }
input, select { font: inherit; color: var(--text); background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 12px; padding: 12px 14px; width: 100%; }
input:focus, select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(30,107,255,.25); }
label { font-weight: 600; font-size: .9rem; color: var(--muted); display: grid; gap: 6px; }

/* ---------- hero ---------- */
.hero { padding: 72px 0 64px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero .lead { font-size: 1.2rem; color: var(--muted); max-width: 560px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 22px; }
.trust { display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--muted); font-size: .92rem; }
.trust span::before { content: "✓"; color: var(--green); font-weight: 800; margin-right: 6px; }
.hero-logo { filter: drop-shadow(0 30px 60px rgba(30,107,255,.35)); margin: 0 auto 12px; width: min(460px, 100%); }
.feed-demo { position: relative; }
.drop-card {
  display: grid; grid-template-columns: 52px 1fr auto; gap: 14px; align-items: center;
  background: linear-gradient(180deg, var(--card-2), var(--card)); border: 1px solid var(--line);
  border-left: 3px solid var(--blue); border-radius: 14px; padding: 14px 16px; margin-bottom: 10px;
  animation: slidein .5s ease both;
}
.drop-card .thumb { width: 52px; height: 52px; border-radius: 10px; background: var(--bg-2); display: grid; place-items: center; font-size: 24px; overflow: hidden; }
.drop-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.drop-card .t { font-weight: 700; line-height: 1.3; font-size: .98rem; }
.drop-card .s { color: var(--muted); font-size: .85rem; }
.drop-card .p { font-weight: 800; font-family: var(--display); font-size: 1.1rem; text-align: right; }
.drop-card .when { color: var(--faint); font-size: .75rem; text-align: right; display: block; font-family: var(--font); font-weight: 600; }
@keyframes slidein { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.demo-label { position: absolute; top: -28px; right: 0; font-size: .75rem; color: var(--faint); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 56px; }
.stat { text-align: center; padding: 20px 12px; }
.stat b { display: block; font: 900 italic 2.1rem var(--display); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { color: var(--muted); font-size: .9rem; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  section { padding: 72px 0; }
}

/* ---------- stappen & features ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: step; }
.step { position: relative; padding-top: 58px; }
.step::before { counter-increment: step; content: counter(step); position: absolute; top: 22px; left: 26px; width: 26px; height: 26px; border-radius: 8px; background: var(--grad); display: grid; place-items: center; font-weight: 800; font-size: .9rem; }
.step p { color: var(--muted); margin: 0; }
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.feature .ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-size: 22px; background: rgba(30,107,255,.14); border: 1px solid rgba(30,107,255,.35); margin-bottom: 14px; }
.feature p { color: var(--muted); font-size: .95rem; margin: 0; }
@media (max-width: 1000px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 700px) { .steps, .features { grid-template-columns: 1fr; } }

/* ---------- monitors ---------- */
.monitor-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; margin-top: 24px; }
.monitor { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); }
.monitor .name { font-weight: 700; }
.monitor .games { color: var(--faint); font-size: .8rem; }
.monitor .badge { margin-left: auto; }

/* ---------- prijzen ---------- */
.period-toggle { display: inline-flex; padding: 5px; gap: 4px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); margin: 0 auto 36px; }
.period-toggle button { border: 0; background: none; color: var(--muted); font: 700 .95rem var(--font); padding: 10px 18px; border-radius: 10px; cursor: pointer; }
.period-toggle button[aria-pressed="true"] { background: var(--grad); color: #fff; }
.period-toggle small { color: var(--green); font-weight: 800; margin-left: 4px; }
.period-toggle button[aria-pressed="true"] small { color: #d1fae5; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.plan { display: flex; flex-direction: column; position: relative; }
.plan.highlight { border-color: transparent; background: linear-gradient(var(--card-2), var(--card)) padding-box, var(--grad) border-box; border: 2px solid transparent; box-shadow: var(--shadow); }
.plan .ribbon { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--grad); color: #fff; font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 5px 14px; border-radius: 99px; white-space: nowrap; }
.plan h3 { font: 900 italic 1.6rem var(--display); text-transform: uppercase; margin-bottom: 4px; }
.plan .tag { color: var(--muted); min-height: 3em; }
.price { margin: 14px 0 4px; display: flex; align-items: baseline; gap: 6px; }
.price b { font: 900 2.6rem var(--display); }
.price span { color: var(--muted); }
.price-sub { color: var(--faint); font-size: .88rem; min-height: 1.5em; }
.price-sub s { color: var(--faint); }
.price-sub .save { color: var(--green); font-weight: 700; }
.plan ul { list-style: none; padding: 0; margin: 20px 0 26px; display: grid; gap: 10px; flex: 1; }
.plan li { display: grid; grid-template-columns: 20px 1fr; gap: 8px; color: #dbe3ff; font-size: .95rem; }
.plan li::before { content: "✓"; color: var(--cyan); font-weight: 900; }
.pay-methods { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 18px; margin-top: 26px; color: var(--muted); font-size: .9rem; }
@media (max-width: 960px) { .plans { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; } }

/* ---------- vergelijking ---------- */
.compare { width: 100%; border-collapse: separate; border-spacing: 0; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line); background: var(--card); }
.compare th, .compare td { padding: 15px 18px; text-align: left; border-bottom: 1px solid var(--line); }
.compare tr:last-child td { border-bottom: 0; }
.compare thead th { font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); background: var(--card-2); }
.compare td:nth-child(2), .compare td:nth-child(3), .compare th:nth-child(2), .compare th:nth-child(3) { text-align: center; width: 22%; }
.compare .yes { color: var(--green); font-weight: 800; }
.compare .no { color: var(--faint); }
.compare .us { background: rgba(30,107,255,.07); }
.table-scroll { overflow-x: auto; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 10px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 0 22px; }
.faq summary { cursor: pointer; list-style: none; font-weight: 700; padding: 18px 0; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--blue-2); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 18px; margin: 0; }

/* ---------- CTA & footer ---------- */
.cta-band { text-align: center; padding: 64px 24px; border-radius: 26px; background: radial-gradient(600px 300px at 50% 0, rgba(123,60,255,.35), transparent), linear-gradient(180deg, var(--card-2), var(--card)); border: 1px solid var(--line-2); }
.cta-band p { color: var(--muted); font-size: 1.1rem; max-width: 560px; margin: 0 auto 26px; }
.site-footer { border-top: 1px solid var(--line); padding: 48px 0 36px; margin-top: 40px; color: var(--muted); font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
.footer-grid h4 { color: #fff; font-size: .9rem; margin: 0 0 12px; }
.footer-grid a { display: block; color: var(--muted); padding: 3px 0; }
.footer-grid a:hover { color: #fff; }
.footer-grid img { height: 54px; width: auto; margin-bottom: 12px; }
.legal { border-top: 1px solid var(--line); margin-top: 32px; padding-top: 20px; font-size: .82rem; color: var(--faint); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- vergelijker ---------- */
.search-bar { display: grid; grid-template-columns: 1fr auto; gap: 10px; margin-bottom: 14px; }
.search-bar input { font-size: 1.05rem; padding: 15px 18px; }
.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; margin-top: 24px; }
.product { cursor: pointer; text-align: left; font: inherit; color: inherit; display: flex; flex-direction: column; gap: 10px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 14px; transition: border-color .15s, transform .15s; }
.product:hover { border-color: var(--blue); transform: translateY(-2px); }
.product .img { aspect-ratio: 4/3; border-radius: 10px; background: var(--bg-2); display: grid; place-items: center; overflow: hidden; font-size: 40px; }
.product .img img { width: 100%; height: 100%; object-fit: contain; }
.product .n { font-weight: 700; line-height: 1.3; }
.product .row { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin-top: auto; }
.product .bp { font: 800 1.25rem var(--display); }
.product .st { font-size: .8rem; color: var(--muted); }
.detail { display: grid; grid-template-columns: 280px 1fr; gap: 28px; }
.detail .img { border-radius: 14px; background: var(--bg-2); aspect-ratio: 1; display: grid; place-items: center; overflow: hidden; font-size: 64px; }
.detail .img img { width: 100%; height: 100%; object-fit: contain; }
.offers { width: 100%; border-collapse: collapse; }
.offers td, .offers th { padding: 12px 10px; border-bottom: 1px solid var(--line); text-align: left; }
.offers th { font-size: .8rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.offers td.num { text-align: right; font-weight: 800; font-variant-numeric: tabular-nums; }
.offers tr.best td.num { color: var(--green); }
.chart-box { position: relative; margin-top: 10px; }
.chart-box svg { width: 100%; height: 240px; display: block; overflow: visible; }
.chart-tip { position: absolute; pointer-events: none; background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 10px; padding: 8px 12px; font-size: .85rem; white-space: nowrap; transform: translate(-50%, -110%); opacity: 0; transition: opacity .1s; }
.chart-tip b { display: block; font-size: 1rem; }
@media (max-width: 800px) { .detail { grid-template-columns: 1fr; } .detail .img { max-width: 240px; } }

/* ---------- account ---------- */
.dash { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.dash .wide { grid-column: 1 / -1; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; margin: 12px 0 18px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; font-weight: 700; }
.list { list-style: none; padding: 0; margin: 12px 0; display: grid; gap: 8px; }
.list li { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg-2); }
.list li .x { margin-left: auto; background: none; border: 0; color: var(--faint); cursor: pointer; font-size: 1.1rem; }
.list li .x:hover { color: var(--red); }
.form-row { display: grid; grid-template-columns: repeat(3, 1fr) auto; gap: 10px; align-items: end; }
@media (max-width: 800px) { .dash { grid-template-columns: 1fr; } .form-row { grid-template-columns: 1fr; } }

/* ---------- juridische pagina's ---------- */
.prose { max-width: 780px; margin: 0 auto; }
.prose h2 { font-size: 1.4rem; margin-top: 2em; font-style: normal; text-transform: none; }
.prose p, .prose li { color: #cfd8f6; }
.toast { position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%); z-index: 99; max-width: calc(100% - 32px); background: var(--card-2); box-shadow: 0 16px 40px -12px rgba(0,0,0,.8); }
.toast.ok { background: #0d2a1c; }
.toast.err { background: #2c1016; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

@media (max-width: 520px) {
  .period-toggle { display: flex; width: 100%; }
  .period-toggle button { flex: 1; padding: 10px 6px; font-size: .88rem; }
  .period-toggle small { display: block; margin: 0; }
  .compare th, .compare td { padding: 12px 10px; font-size: .88rem; }
  .compare { min-width: 520px; }
  .offers td, .offers th { padding: 10px 6px; font-size: .9rem; }
}
