/* SpelSprint - stijl gebaseerd op het LayerData-ontwerp: lavendel > gradient > donker */
:root {
  --lav: #EDE8FF;
  --lav-card: #F7F5FF;
  --lav-line: #DCD3FF;
  --ink: #131316;
  --muted: #4B4B57;
  --purple: #6D3BFF;
  --purple-2: #8B5CFF;
  --purple-deep: #4F22D6;
  --orange: #FF6A1F;
  --orange-2: #FF8A47;
  --dark: #1B1B1D;
  --dark-card: #202023;
  --dark-line: rgba(255, 255, 255, .12);
  --white: #ffffff;
  --hd: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --bd: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --wrap: 1180px;
  --r: 8px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--bd); font-size: 15px; line-height: 1.6; color: var(--ink); background: var(--lav); }
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0 0 .4em; line-height: 1.05; }
h1, h2, .hd { font-family: var(--hd); font-weight: 800; text-transform: uppercase; letter-spacing: -.01em; }
h1 { font-size: clamp(34px, 4.2vw, 52px); }
h2 { font-size: clamp(30px, 3.6vw, 44px); }
h3 { font-family: var(--bd); font-weight: 500; font-size: 22px; letter-spacing: -.01em; }
.wrap { width: min(var(--wrap), calc(100% - 32px)); margin: 0 auto; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }
.hl { color: var(--purple); }
.lead { max-width: 560px; color: var(--muted); font-size: 15px; }
.small { font-size: 13px; color: var(--muted); }
.sec { padding: 96px 0; }
.sec-head { max-width: 640px; margin-bottom: 44px; }
.sec-head p { color: var(--muted); }

/* Knoppen */
.btn { display: inline-flex; align-items: center; gap: 8px; border: 1px solid currentColor; border-radius: 6px; background: transparent; color: inherit; padding: 11px 22px; font: 500 14px var(--bd); cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.btn:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-solid { background: var(--purple); border-color: var(--purple); color: #fff; }
.btn-solid:hover { background: var(--purple-deep); border-color: var(--purple-deep); }
.btn-sm { padding: 8px 14px; font-size: 13px; }
.on-dark .btn:hover, .sec-dark .btn:hover { background: #fff; color: var(--ink); border-color: #fff; }
.on-dark .btn-solid:hover { background: var(--orange); border-color: var(--orange); color: #fff; }

/* Header */
.site-header { background: var(--lav); position: relative; z-index: 20; }
.nav-row { display: flex; align-items: center; justify-content: space-between; height: 74px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-name { font-family: var(--hd); font-weight: 800; font-size: 24px; letter-spacing: .01em; }
.brand-name span { color: var(--purple); }
.brand-mark { position: relative; width: 26px; height: 30px; display: block; }
.brand-mark .f { position: absolute; left: 0; width: 26px; height: 15px; }
.brand-mark .top { top: 0; background: var(--purple-2); clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); }
.brand-mark .left { top: 7.5px; height: 22px; background: var(--purple-deep); clip-path: polygon(0 0, 50% 33%, 50% 100%, 0 67%); }
.brand-mark .right { top: 7.5px; height: 22px; background: var(--orange); clip-path: polygon(50% 33%, 100% 0, 100% 67%, 50% 100%); }
.main-nav { display: flex; gap: 22px; font-size: 14px; }
.main-nav a { padding: 6px 0; border-bottom: 1px solid transparent; }
.main-nav a:hover, .main-nav a[aria-current] { border-bottom-color: var(--ink); }
.nav-right { display: flex; align-items: center; gap: 18px; font-size: 14px; }
.nav-contact { color: var(--purple); font-weight: 500; }
.nav-cart { display: inline-flex; align-items: center; gap: 6px; }
.cart-count { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--ink); color: #fff; font-size: 11px; font-weight: 600; }
.nav-toggle { display: none; width: 40px; height: 40px; border: 0; background: none; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; height: 2px; background: var(--ink); margin: 5px 0; }

/* Hero (lavendel) */
.hero { background: var(--lav); padding: 48px 0 32px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 40px; min-height: 420px; }
.hero h1 { margin-bottom: 18px; }
.hero .lead { margin-bottom: 26px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.eyebrow { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--purple); margin-bottom: 14px; }
.scroll-hint { text-align: center; padding: 56px 0 20px; font-size: 13px; color: var(--muted); }
.scroll-hint::after { content: ''; display: block; width: 10px; height: 10px; margin: 8px auto 0; border-right: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); transform: rotate(45deg); animation: bob 1.6s ease-in-out infinite; }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(45deg); } 50% { transform: translateY(6px) rotate(45deg); } }

/* Isometrische 3D-kubussen (paars/oranje zoals in het ontwerp) */
.cube { position: relative; width: var(--s); height: var(--s); transform-style: preserve-3d; transform: rotateX(-35.264deg) rotateY(45deg); }
.cube .f { position: absolute; inset: 0; backface-visibility: hidden; }
.cube .top { transform: rotateX(90deg) translateZ(calc(var(--s) / 2)); }
.cube .left { transform: translateZ(calc(var(--s) / 2)); }
.cube .right { transform: rotateY(90deg) translateZ(calc(var(--s) / 2)); }
.c-purple .top { background: linear-gradient(135deg, #C4B0FF, #A78BFF); }
.c-purple .left { background: linear-gradient(180deg, #7D4DFF, #6D3BFF); }
.c-purple .right { background: linear-gradient(180deg, #5A2BE6, #4A1FCC); }
.c-orange .top { background: linear-gradient(135deg, #FFB88A, #FF9A5C); }
.c-orange .left { background: linear-gradient(180deg, #FF7A33, #FF6A1F); }
.c-orange .right { background: linear-gradient(180deg, #E8560F, #CF4A0C); }
.c-dark .top { background: #3B3B42; }
.c-dark .left { background: #2A2A2F; }
.c-dark .right { background: #202024; }
.c-outline .f { border: 1.5px solid var(--orange-2); }
.c-outline-p .f { border: 1.5px solid var(--purple-2); }
.hero-3d { position: relative; height: 380px; }
.hero-3d .cube { position: absolute; animation: float 6s ease-in-out infinite; }
.hero-tile { position: absolute; top: 50%; left: 50%; width: 200px; aspect-ratio: 2 / 3; border-radius: 14px; overflow: hidden; background: var(--dark-card); box-shadow: 0 24px 48px rgba(40, 20, 90, .28); animation: float 6s ease-in-out infinite; }
.hero-tile img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero-tile.t1 { z-index: 3; transform: translate(-50%, -50%); }
.hero-tile.t2 { z-index: 2; width: 170px; transform: translate(-125%, -46%) rotate(-9deg); animation-delay: -2s; }
.hero-tile.t3 { z-index: 1; width: 170px; transform: translate(25%, -42%) rotate(9deg); animation-delay: -4s; }
.hero-3d .glow { position: absolute; left: 20%; right: 10%; bottom: -10px; height: 60px; border-radius: 50%; background: radial-gradient(ellipse, rgba(109,59,255,.35), rgba(255,106,31,.18) 60%, transparent 75%); filter: blur(14px); }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
.cube-cluster { position: relative; width: 260px; height: 230px; flex: 0 0 260px; }
.cube-cluster .cube { position: absolute; }

/* Lichte kaartsectie (zoals logo-grid) */
.card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.lcard { background: var(--lav-card); border: 1px solid var(--lav-line); border-radius: var(--r); padding: 26px 22px; min-height: 130px; }
.lcard strong { display: block; font-family: var(--hd); font-weight: 800; font-size: 40px; line-height: 1; margin-bottom: 8px; }
.lcard span { color: var(--muted); font-size: 14px; }
.lcard.platform { display: grid; place-items: center; min-height: 92px; font-weight: 600; font-size: 16px; color: var(--ink); }

/* Gradientsectie (paars -> oranje) met grote nummers */
.sec-gradient { color: #fff; padding: 110px 0 120px; background: linear-gradient(158deg, #6A34F0 0%, #7A42EA 28%, #B94FBF 52%, #EE6440 74%, #FF6A1F 88%, #7B3BF0 100%); position: relative; overflow: hidden; }
.sec-gradient::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 85% 50%, rgba(255,120,40,.55), transparent 50%); pointer-events: none; }
.sec-gradient > * { position: relative; }
.sec-gradient h2 { color: #fff; margin-bottom: 20px; }
.steps { display: grid; gap: 40px; }
.step { display: grid; grid-template-columns: 240px 1fr; gap: 24px; align-items: start; padding: 20px 0; }
.step-num { font-family: var(--hd); font-weight: 800; font-size: clamp(120px, 15vw, 200px); line-height: .85; color: rgba(255,255,255,.28); letter-spacing: -.03em; }
.step h3 { color: #fff; font-size: 26px; margin: 24px 0 14px; }
.step ul { list-style: none; margin: 0; padding: 0; }
.step li { position: relative; padding-left: 22px; margin-bottom: 8px; font-size: 15px; color: rgba(255,255,255,.95); }
.step li::before { content: '\2192'; position: absolute; left: 0; top: 0; }

/* Donkere sectie met kaarten */
.sec-dark { background: var(--dark); color: #fff; padding: 100px 0; }
.sec-dark h2 { color: #fff; }
.sec-dark .sec-head p, .sec-dark .lead { color: rgba(255,255,255,.72); }
.dcard { background: var(--dark-card); border: 1px solid var(--dark-line); border-radius: var(--r); padding: 40px; display: grid; grid-template-columns: 1fr 260px; gap: 40px; align-items: center; margin-bottom: 28px; }
.dcard h3 { color: #fff; font-size: 26px; margin-bottom: 14px; }
.dcard p { color: rgba(255,255,255,.72); max-width: 520px; }
.dcard .price-row { display: flex; align-items: center; gap: 18px; margin-top: 18px; }
.dcard .price { font-size: 22px; font-weight: 600; }
.dcover { border-radius: var(--r); box-shadow: 0 16px 40px rgba(0,0,0,.35); }
.dcover:hover img { transform: scale(1.04); }
.sec-dark .btn { color: #fff; }

/* Game-kaarten */
.game-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gcard { background: var(--dark-card); border: 1px solid var(--dark-line); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; color: #fff; }
.gcover { position: relative; display: block; aspect-ratio: 2 / 3; overflow: hidden; color: #fff; }
.gcover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; }
.gcard:hover .gcover img { transform: scale(1.04); }
.badge { position: absolute; top: 12px; left: 12px; z-index: 1; font: 600 11px var(--bd); letter-spacing: .08em; text-transform: uppercase; background: var(--orange); color: #fff; padding: 4px 8px; border-radius: 4px; }
.g-rpg { background: linear-gradient(140deg, #6D3BFF, #B94FBF); }
.g-actie { background: linear-gradient(140deg, #FF6A1F, #C2185B); }
.g-avontuur { background: linear-gradient(140deg, #2AA7C7, #6D3BFF); }
.g-fps { background: linear-gradient(140deg, #E0500F, #4F22D6); }
.g-horror { background: linear-gradient(140deg, #3A1C5C, #C2185B); }
.g-indie { background: linear-gradient(140deg, #14B8A6, #6D3BFF); }
.g-multiplayer { background: linear-gradient(140deg, #F59E0B, #FF6A1F); }
.g-racing { background: linear-gradient(140deg, #EF4444, #FF6A1F); }
.g-strategie { background: linear-gradient(140deg, #0EA5E9, #4F22D6); }
.g-sport { background: linear-gradient(140deg, #22C55E, #0EA5E9); }
.gbody { padding: 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.gmeta { display: flex; gap: 10px; font-size: 12px; color: rgba(255,255,255,.6); }
.gbody h3 { font-size: 17px; font-weight: 600; margin: 0; }
.gbody p { font-size: 13px; color: rgba(255,255,255,.7); margin: 0; flex: 1; }
.grow { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; }
.price { font-weight: 600; }

/* Lichte pagina-kop (subpagina's) */
.page-hero { background: var(--lav); padding: 40px 0 56px; }
.page-hero .hero-grid { min-height: 260px; }
.page-hero .cube-cluster { justify-self: end; }

/* Winkel */
.shop-tools { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 28px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 7px 14px; border: 1px solid var(--dark-line); border-radius: 999px; font-size: 13px; color: rgba(255,255,255,.8); }
.chip:hover, .chip[aria-current] { background: #fff; color: var(--ink); border-color: #fff; }
.shop-tools form { margin-left: auto; display: flex; gap: 8px; }
select, input, textarea { font: 400 14px var(--bd); padding: 10px 12px; border-radius: 6px; border: 1px solid var(--lav-line); background: var(--lav-card); color: var(--ink); }
.sec-dark select, .sec-dark input { background: var(--dark-card); color: #fff; border-color: var(--dark-line); }
.count { color: rgba(255,255,255,.6); font-size: 13px; }

/* Productpagina */
.product { display: grid; grid-template-columns: minmax(0, 380px) 1fr; gap: 48px; align-items: start; }
.product .gcover { border-radius: var(--r); box-shadow: 0 16px 40px rgba(0,0,0,.35); }
.product .price { font-size: 30px; font-family: var(--hd); font-weight: 800; }
.spec { list-style: none; padding: 0; margin: 20px 0; border-top: 1px solid var(--dark-line); }
.spec li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--dark-line); font-size: 14px; }
.spec li span:first-child { color: rgba(255,255,255,.6); }
.prose { max-width: 760px; }
.prose h2 { font-size: 30px; margin-top: 40px; }
.prose h3 { font-size: 20px; margin-top: 26px; }
.prose ul { padding-left: 20px; }
.prose li { margin-bottom: 6px; }
.sec-dark .prose p, .sec-dark .prose li { color: rgba(255,255,255,.78); }
.sec-light .prose p, .sec-light .prose li { color: var(--muted); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }

/* FAQ */
.faq details { border-top: 1px solid var(--dark-line); padding: 14px 0; }
.faq details:last-child { border-bottom: 1px solid var(--dark-line); }
.faq summary { cursor: pointer; font-weight: 500; font-size: 16px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 20px; line-height: 1; color: var(--orange-2); }
.faq details[open] summary::after { content: '\2013'; }
.faq p { margin: 10px 0 0; color: rgba(255,255,255,.75); font-size: 14px; max-width: 700px; }

/* Formulieren */
.form { display: grid; gap: 14px; max-width: 560px; }
.form label { display: grid; gap: 6px; font-size: 13px; font-weight: 500; }
.form textarea { min-height: 140px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.notice { border: 1px solid var(--dark-line); border-left: 3px solid var(--orange); padding: 16px 18px; border-radius: var(--r); background: var(--dark-card); }

/* Winkelwagen */
.cart-list { list-style: none; padding: 0; margin: 0 0 24px; }
.cart-list li { display: grid; grid-template-columns: auto 1fr auto auto auto; gap: 16px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--dark-line); }
.cart-thumb { width: 48px; height: 72px; object-fit: cover; border-radius: 6px; display: block; }
.qty { display: inline-flex; border: 1px solid var(--dark-line); border-radius: 6px; overflow: hidden; }
.qty button { width: 30px; border: 0; background: transparent; color: #fff; cursor: pointer; font-size: 16px; }
.qty span { min-width: 30px; display: grid; place-items: center; font-size: 14px; }
.cart-total { display: flex; justify-content: space-between; font-size: 18px; font-weight: 600; padding: 16px 0; }
.remove { background: none; border: 0; color: rgba(255,255,255,.5); cursor: pointer; font-size: 18px; }
.remove:hover { color: var(--orange-2); }
.empty { color: rgba(255,255,255,.65); }

/* Footer */
.site-footer { background: var(--dark); color: rgba(255,255,255,.75); border-top: 1px solid var(--dark-line); padding: 56px 0 24px; font-size: 14px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; }
.foot-grid h4 { color: #fff; font-size: 14px; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 14px; }
.foot-grid a { display: block; margin-bottom: 8px; }
.foot-grid a:hover { color: #fff; }
.foot-brand .brand-name { color: #fff; }
.foot-brand p { margin-top: 14px; max-width: 320px; }
.site-footer address { font-style: normal; margin-bottom: 10px; }
.foot-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--dark-line); font-size: 13px; }
.foot-bottom nav { display: flex; gap: 16px; flex-wrap: wrap; }

/* Toast */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 6px; font-size: 14px; opacity: 0; transition: .25s; pointer-events: none; z-index: 50; border: 1px solid rgba(255,255,255,.15); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* Responsief */
@media (max-width: 960px) {
  .card-grid, .game-grid { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .hero-grid, .product, .two-col { grid-template-columns: 1fr; }
  .hero-3d { height: 360px; }
  .dcard { grid-template-columns: 1fr; }
  .dcard .dcover { max-width: 220px; order: -1; }
  .step { grid-template-columns: 1fr; gap: 0; }
  .step h3 { margin-top: 0; }
  .page-hero .cube-cluster { display: none; }
}
@media (max-width: 720px) {
  .main-nav { display: none; position: absolute; left: 0; right: 0; top: 74px; background: var(--lav); flex-direction: column; gap: 0; padding: 8px 16px 16px; border-bottom: 1px solid var(--lav-line); }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 0; border-bottom: 1px solid var(--lav-line); }
  .nav-toggle { display: block; }
  .nav-contact { display: none; }
  .sec, .sec-dark { padding: 64px 0; }
  .sec-gradient { padding: 72px 0; }
  .card-grid, .game-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .lcard { padding: 18px 14px; }
  .lcard strong { font-size: 30px; }
  .dcard { padding: 24px; }
  .cart-list li { grid-template-columns: auto 1fr auto; }
  .form-row { grid-template-columns: 1fr; }
  .hero { padding-top: 24px; }
  .hero-3d { height: 260px; transform: scale(.72); transform-origin: 50% 0; }
  .product { grid-template-columns: 1fr; }
  .product .gcover { max-width: 300px; }
}
@media (max-width: 460px) { .game-grid { grid-template-columns: 1fr; } }
