/* Homepage — eigen karakter bovenop style.css */
body[data-page="home"]::before { display: none; }

.stat-lbl { display: block; font-size: .85rem; font-weight: 700; color: var(--muted-2); margin-top: 2px; }

/* ---------- Hero ---------- */
.h-hero { position: relative; overflow: hidden; padding: 90px 0 110px; }
.h-hero::after { /* gloed rechts */
  content: ''; position: absolute; z-index: -1; width: 720px; height: 720px; right: -180px; top: -160px;
  background: radial-gradient(circle, rgba(59,130,246,.28), transparent 62%);
  filter: blur(10px);
}
.h-hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }

.h-title {
  font-family: var(--display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(2.5rem, 6.4vw, 5.4rem); line-height: .95; letter-spacing: -.035em; margin: 0 0 26px;
}
.h-title .line > .outline { background: linear-gradient(90deg, #3b82f6, #93c5fd 60%, #3b82f6); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: rise .9s cubic-bezier(.2,.8,.2,1) .16s both, shine 6s linear 1s infinite; }
@keyframes shine { to { background-position: -200% 0; } }
.h-title .line { display: block; overflow: hidden; }
.h-title .line > span { display: inline-block; animation: rise .9s cubic-bezier(.2,.8,.2,1) both; }
.h-title .line:nth-child(2) > span { animation-delay: .08s; }
.h-title .line:nth-child(3) > span { animation-delay: .16s; }
@keyframes rise { from { transform: translateY(105%); } to { transform: none; } }

.h-lead { color: var(--muted); font-size: 1.08rem; max-width: 470px; }
.h-actions { display: flex; align-items: center; gap: 22px; margin-top: 34px; flex-wrap: wrap; }

.h-stats { display: flex; margin-top: 52px; border-top: 1px solid var(--border); padding-top: 22px; }
.h-stats > div { padding-right: 30px; margin-right: 30px; border-right: 1px solid var(--border); }
.h-stats > div:last-child { border: 0; margin: 0; padding: 0; }
.h-stats strong { display: block; font-family: var(--display); font-size: 1.7rem; font-weight: 700; letter-spacing: -.02em; }

/* App-venster rechts */
.h-visual { position: relative; }
.win {
  background: rgba(15, 23, 42, .85); backdrop-filter: blur(10px);
  border: 1px solid var(--border-2); border-radius: 14px; overflow: hidden;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.8), 0 0 0 1px rgba(59,130,246,.06);
  transform: perspective(1400px) rotateY(-8deg) rotateX(3deg); transition: transform .5s;
}
.h-visual:hover .win { transform: perspective(1400px) rotateY(-3deg) rotateX(1deg); }
.win-bar { display: flex; align-items: center; gap: 7px; padding: 12px 14px; border-bottom: 1px solid var(--border); }
.win-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--border-2); }
.win-bar i:first-child { background: #ef4444aa; } .win-bar i:nth-child(2) { background: #fbbf24aa; } .win-bar i:nth-child(3) { background: #10b981aa; }
.win-tabs { display: flex; gap: 4px; padding: 12px 14px 0; }
.win-tabs span { font-size: .75rem; font-weight: 800; padding: 7px 14px; border-radius: 8px 8px 0 0; color: var(--muted-2); }
.win-tabs span.on { background: var(--bg); color: var(--text); }
.win-list { background: var(--bg); padding: 8px; display: flex; flex-direction: column; gap: 6px; }
.win-row {
  display: grid; grid-template-columns: 46px 1fr auto; gap: 12px; align-items: center;
  padding: 10px; border-radius: 10px; background: var(--card); border: 1px solid var(--border);
  animation: slidein .6s cubic-bezier(.2,.8,.2,1) both;
}
.win-row:nth-child(2) { animation-delay: .1s; } .win-row:nth-child(3) { animation-delay: .2s; } .win-row:nth-child(4) { animation-delay: .3s; }
@keyframes slidein { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }
.win-row .th { width: 46px; height: 34px; border-radius: 6px; background: linear-gradient(135deg, #1e3a8a, #0f172a); overflow: hidden; }
.win-row .th img { width: 100%; height: 100%; object-fit: cover; }
.win-row .nm { font-weight: 800; font-size: .84rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.win-row .ct { font-size: .72rem; font-weight: 800; color: var(--accent-light); }
.win-row .bar { height: 8px; border-radius: 4px; background: var(--card-2); }
.win-row .dl { font-size: .75rem; font-weight: 700; color: var(--muted-2); display: flex; align-items: center; gap: 4px; }


/* ---------- Marquee ---------- */
.marquee { background: var(--accent); transform: rotate(-1.6deg); margin: 10px -20px 0; padding: 16px 0; overflow: hidden; border-block: 2px solid #1e3a8a; }
.marquee-track { display: flex; width: max-content; animation: scroll 38s linear infinite; }
.marquee span {
  font-family: var(--display); font-weight: 800; font-size: 1.35rem; text-transform: uppercase; letter-spacing: -.01em;
  padding: 0 22px; white-space: nowrap; display: flex; align-items: center; gap: 44px; color: #fff;
}
.marquee span::after { content: '✦'; font-size: .9rem; color: #bfdbfe; }
.marquee span:nth-child(even) { color: #1e3a8a; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- Sectiekoppen ---------- */
.h-sec { padding-top: 110px; }
.h-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: 36px; flex-wrap: wrap; }
.h-head h2 { font-family: var(--display); font-weight: 800; font-size: clamp(1.8rem, 4vw, 3rem); line-height: 1; letter-spacing: -.03em; text-transform: uppercase; }
.h-head p { color: var(--muted); max-width: 360px; }

/* ---------- Game-panelen ---------- */
.games { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.game {
  position: relative; overflow: hidden; min-height: 280px; padding: 32px; border-radius: 22px;
  background: var(--card); border: 1px solid var(--border);
  display: flex; flex-direction: column; justify-content: space-between; isolation: isolate;
  transition: border-color .25s, transform .25s;
}
.game:hover { border-color: var(--accent); transform: translateY(-4px); }
.game .bgword {
  position: absolute; right: -14px; bottom: -34px; z-index: -1;
  font-family: var(--display); font-weight: 900; font-size: 9.5rem; line-height: 1; letter-spacing: -.06em;
  color: rgba(96,165,250,.06); transition: color .3s, transform .5s;
}
.game:hover .bgword { color: rgba(96,165,250,.13); transform: translateX(-12px); }
.game.roblox .bgword { color: rgba(52,211,153,.05); }
.game.roblox:hover { border-color: var(--success); }
.game.roblox:hover .bgword { color: rgba(52,211,153,.12); }
.game-top { display: flex; justify-content: flex-end; }
.game-arrow {
  width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--border-2); display: grid; place-items: center; font-size: 1.3rem;
  transition: background .25s, border-color .25s, transform .25s;
}
.game:hover .game-arrow { background: var(--accent); border-color: var(--accent); transform: rotate(-45deg); }
.game.roblox:hover .game-arrow { background: var(--success); border-color: var(--success); }
.game h3 { font-family: var(--display); font-weight: 800; font-size: 2.5rem; letter-spacing: -.03em; text-transform: uppercase; line-height: 1; }
.game p { color: var(--muted); margin-top: 12px; max-width: 330px; }

/* ---------- Bento tools ---------- */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.tile {
  position: relative; overflow: hidden; border-radius: 22px; padding: 28px;
  background: var(--card); border: 1px solid var(--border); display: flex; flex-direction: column;
  transition: border-color .25s;
}
.tile:hover { border-color: var(--border-2); }
.tile > * { position: relative; z-index: 1; }
.tile::before, .tile::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .35s;
}
.tile::before { background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(96,165,250,.10), transparent 45%); }
.tile::after {
  padding: 1px;
  background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%), rgba(96,165,250,.75), transparent 45%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
          mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
.bento:hover .tile::before, .bento:hover .tile::after { opacity: 1; }
.t-discord::before { background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.14), transparent 45%); }
.t-discord::after { background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.8), transparent 45%); }
.t-free::before { background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(255,196,0,.09), transparent 45%); }
.t-free::after { background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%), rgba(255,196,0,.7), transparent 45%); }
.tile h3 { font-family: var(--display); font-weight: 700; font-size: 1.45rem; letter-spacing: -.02em; margin-bottom: 8px; }
.tile p { color: var(--muted); font-size: .93rem; max-width: 380px; }
.tile .go { margin-top: auto; padding-top: 22px; font-weight: 800; display: inline-flex; align-items: center; gap: 8px; color: var(--accent-light); }
.tile .go .i { transition: transform .2s; }
.tile:hover .go .i { transform: translateX(4px); }
.tile .t-text { display: flex; flex-direction: column; height: 100%; min-width: 0; }

/* Rij 1: Vertex Fixer breed (tekst links, wireframe rechts) + Decryptor smal */
.t-fix { grid-column: span 7; min-height: 340px; display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 24px; align-items: stretch; }
.t-dec { grid-column: span 5; }
/* Rij 2: gratis smal + Discord breed */
.t-free { grid-column: span 5; min-height: 250px; }
.t-discord { grid-column: span 7; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: end; }

/* Verticale stappen in de decryptor-tegel */
.vsteps { margin-top: 24px; display: flex; flex-direction: column; }
.vstep { position: relative; display: grid; grid-template-columns: 30px 1fr; gap: 14px; padding-bottom: 20px; }
.vstep:last-child { padding-bottom: 0; }
.vstep:not(:last-child)::before { content: ''; position: absolute; left: 14px; top: 30px; bottom: 0; width: 2px; background: var(--border-2); }
.vstep.done:not(:last-child)::before { background: linear-gradient(var(--success), var(--accent)); }
.vstep .dot { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: .85rem; border: 2px dashed var(--border-2); background: var(--card); }
.vstep.done .dot { border: 0; background: var(--success); color: #04130d; }
.vstep.on .dot { border: 2px solid var(--accent); box-shadow: 0 0 0 0 rgba(59,130,246,.6); animation: ping 2s infinite; }
.vstep.on .dot::after { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--accent-light); }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(59,130,246,0); } 100% { box-shadow: 0 0 0 0 rgba(59,130,246,0); } }
.vstep b { display: block; font-size: .95rem; line-height: 1.3; padding-top: 3px; }
.vstep small { color: var(--muted-2); font-size: .82rem; }
.vstep:not(.done):not(.on) b { color: var(--muted); }
.vstep .pbar { height: 4px; border-radius: 2px; background: var(--card-2); margin-top: 8px; overflow: hidden; max-width: 220px; }
.vstep .pbar > i { display: block; height: 100%; background: var(--accent); animation: fill 2.4s ease-in-out infinite; }
@keyframes fill { 0% { width: 0; } 70%, 100% { width: 100%; } }


.mesh { display: flex; align-items: center; min-width: 0; }
.mesh svg { width: 100%; height: auto; }
.mesh svg { overflow: visible; touch-action: pan-y; }
.mesh .face { fill: rgba(59,130,246,.05); stroke: rgba(96,165,250,.45); stroke-width: 1; stroke-linejoin: round; transition: fill .3s; }
.t-fix:hover .mesh .face { fill: rgba(59,130,246,.09); }
.mesh .v { fill: var(--accent-light); }
.mesh .bad { fill: #ef4444; filter: drop-shadow(0 0 6px rgba(239,68,68,.8)); transition: fill .25s, filter .25s; }
.mesh .bad.fixed { fill: var(--success-light); filter: drop-shadow(0 0 8px rgba(52,211,153,.9)); }
.mesh .bad-edge { stroke: rgba(239,68,68,.75); stroke-width: 1.2; stroke-dasharray: 3 3; }
.mesh .ring { fill: none; stroke: var(--success-light); stroke-width: 1.5; }

.t-discord { background: linear-gradient(150deg, #5865f2, #3b44b8); border-color: transparent; }
.t-discord p { color: #e0e3ff; }
.t-discord .big { font-family: var(--display); font-weight: 800; font-size: clamp(3rem, 5.4vw, 4.6rem); letter-spacing: -.05em; line-height: 1; }
.t-discord .t-count { text-align: right; }
.t-discord .go { color: #fff; }
.t-discord p { max-width: 330px; }
.t-discord .stat-lbl { color: #c7cbff; }
.live { display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 800; color: #e0e3ff; margin-bottom: 12px; }
.live i { width: 8px; height: 8px; border-radius: 50%; background: #3ba55d; box-shadow: 0 0 0 0 rgba(59,165,93,.7); animation: live 2s infinite; }
@keyframes live { 70% { box-shadow: 0 0 0 9px rgba(59,165,93,0); } 100% { box-shadow: 0 0 0 0 rgba(59,165,93,0); } }
.t-discord .dico { position: absolute; right: -30px; top: -40px; font-size: 13rem; opacity: .1; rotate: 12deg; }

.t-free .price {
  font-family: var(--display); font-weight: 800; font-size: 5rem; line-height: 1; letter-spacing: -.05em; margin-top: auto;
  background: linear-gradient(180deg, #ffe680 0%, #ffc400 55%, #ff9f00 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 26px rgba(255,196,0,.35)); transition: filter .3s;
}
.t-free:hover .price { filter: drop-shadow(0 0 38px rgba(255,196,0,.55)); }
.t-free .price small { -webkit-text-fill-color: var(--muted); }
.dl-bounce {
  position: absolute !important; top: 24px; right: 24px; width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; font-size: 1.2rem; color: #ffc400; background: rgba(255,196,0,.1); border: 1px solid rgba(255,196,0,.25);
}
.dl-bounce .i { animation: drop 1.8s cubic-bezier(.5,0,.5,1) infinite; }
@keyframes drop { 0%, 100% { transform: translateY(-3px); } 50% { transform: translateY(4px); } }
.t-free .price small { font-size: 1rem; color: var(--muted); letter-spacing: 0; font-family: var(--font); font-weight: 700; }

/* ---------- Nieuwste releases ---------- */
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 280px); gap: 16px; overflow-x: auto; padding-bottom: 12px; scroll-snap-type: x mandatory; }
.rail > * { scroll-snap-align: start; }
.rail::-webkit-scrollbar { height: 6px; } .rail::-webkit-scrollbar-thumb { background: var(--border-2); border-radius: 3px; }

/* ---------- Slot ---------- */
.h-end { padding-top: 130px; padding-bottom: 40px; text-align: center; position: relative; }
.end-mark { width: 150px; height: auto; margin: 0 auto 30px; animation: float 5s ease-in-out infinite; }
@keyframes float { 50% { translate: 0 -10px; } }
.h-end h2 {
  font-family: var(--display); font-weight: 900; text-transform: uppercase; line-height: .9; letter-spacing: -.05em;
  font-size: clamp(2.8rem, 10vw, 8.5rem);
}
.h-end h2 .outline { display: block; background: linear-gradient(180deg, #334155, #0f172a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.h-end p { color: var(--muted); margin: 22px auto 30px; max-width: 420px; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .h-hero-grid { grid-template-columns: 1fr; }
  .h-visual { max-width: 520px; margin: 20px auto 0; width: 100%; }
  .t-fix, .t-dec { grid-column: span 12; }
  .t-free, .t-discord { grid-column: span 6; }
  .t-discord { grid-template-columns: 1fr; align-items: start; }
  .t-discord .t-count { text-align: left; }
}
@media (max-width: 700px) {
  .games { grid-template-columns: 1fr; }
  .game { min-height: 240px; padding: 24px; }
  .game .bgword { font-size: 6.5rem; }
  .t-fix, .t-dec, .t-free, .t-discord { grid-column: span 12; }
  .t-fix { grid-template-columns: 1fr; min-height: 0; }
  .h-stats > div { padding-right: 16px; margin-right: 16px; }
  .h-stats strong { font-size: 1.3rem; }
  .win { transform: none; }
  .h-sec { padding-top: 80px; }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track, .end-mark, .vstep .pbar > i, .vstep.on .dot, .live i, .dl-bounce .i, .h-title .line > span, .win-row { animation: none; }
}
