/* ===========================================================
   Grapapack — design tokens + base layout
   Pulled from concept-arcade-faithful.jsx (Concept 07).
   =========================================================== */

:root {
    /* Brand */
    --gp-yellow:        #ffcb05;
    --gp-yellow-deep:   #f5b800;
    --gp-yellow-dark:   #d4a200;
    --gp-cyan:          #43e8d8;
    --gp-cyan-dark:     #0a1a1a;
    --gp-purple:        #3c2bd9;
    --gp-magic:         #7a3aff;
    --gp-magic-light:   #c084fc;
    --gp-red:           #ff3548;
    --gp-red-deep:      #c8101b;
    --gp-led-red:       #ff3040;

    /* Surfaces */
    --gp-ink:           #06080f;   /* deepest bg */
    --gp-ink-2:         #0a0d1a;   /* nav, panel base */
    --gp-ink-3:         #0e1428;   /* panel surfaces */
    --gp-ink-4:         #1a1c30;   /* raised panel */
    --gp-coil:          #a0a8c0;

    /* Text */
    --gp-text:          #ffffff;
    --gp-text-dim:      rgba(255,255,255,.70);
    --gp-text-muted:    rgba(255,255,255,.55);

    /* Borders */
    --gp-line:          rgba(255,255,255,.06);
    --gp-line-strong:   rgba(255,255,255,.10);

    /* Typography */
    --gp-font-body:     'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --gp-font-display:  'Bungee', 'Bebas Neue', sans-serif;
    --gp-font-heading:  'Bebas Neue', 'Bungee', sans-serif;
    --gp-font-numeric:  'Orbitron', 'JetBrains Mono', monospace;
    --gp-font-mono:     'JetBrains Mono', ui-monospace, monospace;

    /* Radii */
    --gp-radius-sm:     4px;
    --gp-radius:        8px;
    --gp-radius-lg:     14px;

    /* Shadows */
    --gp-glow-yellow:   0 0 30px rgba(255,203,5,.35);
    --gp-glow-cyan:     0 0 16px rgba(67,232,216,.55);
    --gp-glow-red:      0 0 30px rgba(255,53,72,.5);

    /* Layout */
    --gp-container:     1440px;
    --gp-nav-height:    64px;
}

/* ----- Reset / base ----- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
    font-family: var(--gp-font-body);
    background: #000;
    color: var(--gp-text);
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--gp-yellow); text-decoration: none; }
a:hover { color: var(--gp-cyan); }
button { font-family: inherit; cursor: pointer; }

/* ----- Headings ----- */
h1, h2, h3, h4 { font-family: var(--gp-font-display); letter-spacing: 1.5px; margin: 0 0 0.6em; }
h1 { font-size: clamp(32px, 5vw, 56px); color: var(--gp-cyan); text-shadow: 2px 2px 0 var(--gp-ink-2); }
h2 { font-family: var(--gp-font-heading); font-size: clamp(22px, 3vw, 34px); letter-spacing: 2.5px; color: var(--gp-yellow); }
h3 { font-family: var(--gp-font-heading); font-size: 20px; letter-spacing: 2px; color: var(--gp-yellow); }

/* ----- Container ----- */
.gp-container { width: 100%; max-width: var(--gp-container); margin: 0 auto; padding: 0 28px; }

/* ===========================================================
   Capsule emblem (placeholder Pokéball-style mark)
   =========================================================== */
.gp-capsule {
    display: inline-block; position: relative;
    width: var(--gp-capsule-size); height: var(--gp-capsule-size);
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #fff, #ff3030 50%, #800 100%);
    border: 2px solid var(--gp-ink-2);
    vertical-align: middle;
}
.gp-capsule__stripe {
    position: absolute; left: 0; right: 0; top: 50%;
    height: var(--gp-capsule-stripe);
    background: var(--gp-ink-2);
    transform: translateY(-50%);
}
.gp-capsule__center {
    position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
    width: var(--gp-capsule-inner); height: var(--gp-capsule-inner);
    border-radius: 50%; background: #fff; border: 2px solid var(--gp-ink-2);
}

/* ===========================================================
   Top navigation (header.php)
   =========================================================== */
/* Gestyled om de homepage look te matchen: zwarte bg, logo links,
   gele uppercase CTAs centraal, cart + hamburger rechts. Nav-hoogte
   groeit met het logo (auto + min-height fallback). */
.gp-nav {
    min-height: 54px;
    background: var(--gp-ink-2);
    border-bottom: 1px solid rgba(255,255,255,.04);
    display: flex; align-items: center; justify-content: space-between;
    padding: 5px 24px;
    position: sticky; top: 0; z-index: 9400;
    gap: 16px;
}
.gp-nav__brand { display: flex; align-items: center; color: inherit; flex: 0 0 auto; }
.gp-nav__brand:hover { color: inherit; }
.gp-nav__logo {
    width: 150px;
    height: auto;
    max-height: 58px;
    display: block;
    object-fit: contain;
    user-select: none;
}

.gp-nav__center {
    display: flex; align-items: center; gap: 14px;
    flex: 1; justify-content: center;
}
.gp-nav__btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 9px 20px;
    background: rgba(0, 0, 0, .35);
    border: 1.5px solid var(--gp-yellow);
    border-radius: 6px;
    color: var(--gp-text);
    font-family: var(--gp-font-body);
    font-weight: 800; font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    transition: background .15s, color .15s, box-shadow .15s, transform .12s;
    white-space: nowrap;
}
.gp-nav__btn:hover {
    background: var(--gp-yellow);
    color: var(--gp-ink-2);
    box-shadow: 0 0 18px rgba(255, 203, 5, .55);
}
.gp-nav__btn:active { transform: translateY(1px); }

/* Header taglines — donkerblauwe neon tekst, rouleert tussen meerdere lines. */
.gp-nav__tagline {
    position: relative;
    min-height: 1.4em;
    text-align: center;
    flex: 1;
}
.gp-nav__tagline-line {
    position: absolute;
    inset: 0;
    display: flex; align-items: center; justify-content: center;
    color: #5b9eff;
    font-family: var(--gp-font-body);
    font-weight: 800;
    font-size: clamp(11px, 1.3vw, 16px);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-shadow:
        0 0 6px rgba(91, 158, 255, .9),
        0 0 14px rgba(91, 158, 255, .55),
        0 0 24px rgba(60, 80, 180, .35);
    opacity: 0;
    transition: opacity .6s ease;
    white-space: nowrap;
}
.gp-nav__tagline-line.is-active { opacity: 1; }

.gp-nav__actions { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.gp-nav__icon-btn {
    width: 42px; height: 42px;
    border-radius: 8px;
    border: 1.5px solid rgba(255,255,255,.15);
    background: var(--gp-ink-4); color: var(--gp-text);
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 18px; line-height: 1;
    cursor: pointer;
    transition: background .15s, border-color .15s;
}
.gp-nav__icon-btn:hover { border-color: var(--gp-yellow); }
.gp-nav__icon-btn--primary {
    background: var(--gp-yellow); color: var(--gp-ink-2);
    border-color: var(--gp-yellow);
}
.gp-nav__icon-btn--primary:hover { filter: brightness(1.1); }
.gp-nav__icon-btn[aria-expanded="true"] { background: var(--gp-yellow); color: var(--gp-ink-2); }

.gp-hamburger { display: flex; flex-direction: column; gap: 3px; }
.gp-hamburger span { display:block; width: 18px; height: 2px; background: #fff; }
.gp-nav__icon-btn[aria-expanded="true"] .gp-hamburger span { background: var(--gp-ink-2); }

@media (max-width: 700px) {
    .gp-nav { padding: 4px 12px; gap: 8px; min-height: 46px; }
    .gp-nav__logo { width: 84px; max-height: 44px; }
    .gp-nav__center { gap: 6px; }
    .gp-nav__btn { padding: 6px 10px; font-size: 10px; letter-spacing: 0.08em; }
    .gp-nav__icon-btn { width: 38px; height: 38px; font-size: 16px; }
}

/* ===========================================================
   Hamburger drawer
   =========================================================== */
.gp-drawer {
    position: fixed; top: 0; right: 0; bottom: 0;
    width: 320px; max-width: 100%;
    background: var(--gp-ink-2);
    border-left: 1px solid var(--gp-line-strong);
    box-shadow: -8px 0 24px rgba(0, 0, 0, .5);
    transform: translateX(100%); transition: transform .25s ease;
    z-index: 9600; padding: 24px 20px; overflow-y: auto;
}
.gp-drawer[data-open="true"] { transform: translateX(0); }
.gp-drawer ul { list-style: none; padding: 0; margin: 0; }
.gp-drawer li + li { border-top: 1px solid var(--gp-line); }
.gp-drawer a {
    display: block; padding: 14px 4px;
    font-family: var(--gp-font-heading); font-size: 18px; letter-spacing: 2px;
    color: var(--gp-text);
}
.gp-drawer a:hover { color: var(--gp-yellow); }

/* ===========================================================
   Buttons
   =========================================================== */
.gp-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 14px 22px; border-radius: var(--gp-radius);
    font-family: var(--gp-font-display); font-size: 16px; letter-spacing: 2px;
    text-transform: uppercase; text-decoration: none;
    border: 2px solid var(--gp-ink-2);
    background: var(--gp-yellow); color: var(--gp-ink-2);
    transition: transform .1s;
}
.gp-btn:hover { transform: translateY(-1px); color: var(--gp-ink-2); }
.gp-btn:active { transform: translateY(0); }
.gp-btn--pay {
    background: linear-gradient(180deg, var(--gp-red), var(--gp-red-deep));
    color: #fff;
    border: 3px solid var(--gp-ink-2);
    box-shadow:
        0 0 0 2px var(--gp-red),
        0 6px 0 var(--gp-ink-2),
        var(--gp-glow-red),
        inset 0 -4px 0 rgba(0,0,0,.3);
    font-size: 22px; padding: 16px 24px;
}
.gp-btn--pay:hover { color: #fff; }
.gp-btn--cyan {
    background: var(--gp-ink-2); color: var(--gp-cyan);
    border: 2px solid var(--gp-cyan); box-shadow: var(--gp-glow-cyan);
}
.gp-btn--ghost { background: transparent; color: var(--gp-text); border: 1.5px solid var(--gp-yellow); }

/* ===========================================================
   Panels (cards used in sidebars)
   =========================================================== */
.gp-panel {
    background: var(--gp-ink-3);
    border: 1px solid var(--gp-line);
    border-radius: var(--gp-radius);
    overflow: hidden;
}
.gp-panel__head {
    padding: 10px 12px;
    font-family: var(--gp-font-heading); font-size: 14px; letter-spacing: 2.5px;
    color: var(--gp-yellow);
    border-bottom: 1px solid var(--gp-line);
}
.gp-panel__body { padding: 12px; }

/* ===========================================================
   Footer: security strip + ribbon
   =========================================================== */
.gp-footer {
    background: var(--gp-ink);
    padding: 0;
    border-top: 1px solid var(--gp-line);
    margin-top: 60px;
}
.gp-footer__strip {
    height: 36px;
    display: flex; align-items: center; justify-content: center; gap: 36px;
    font-family: var(--gp-font-body); font-size: 10px; font-weight: 700;
    letter-spacing: 1.5px; color: var(--gp-text); opacity: .7;
    text-transform: uppercase;
    flex-wrap: wrap; padding: 0 20px;
}
.gp-footer__strip .sep { opacity: .4; }

/* Footer nav — single row of links beheerd via Weergave → Menus → Footer */
.gp-footer__nav {
    border-top: 1px solid var(--gp-line);
    padding: 18px 20px;
    display: flex; justify-content: center;
}
.gp-footer__menu {
    list-style: none; padding: 0; margin: 0;
    display: flex; flex-wrap: wrap; justify-content: center;
    gap: 8px 26px;
}
.gp-footer__menu li { margin: 0; }
.gp-footer__menu a {
    color: var(--gp-text); opacity: .75;
    font-family: var(--gp-font-body); font-weight: 700; font-size: 12px;
    letter-spacing: 1.2px; text-transform: uppercase;
    text-decoration: none;
    transition: color .15s, opacity .15s;
}
.gp-footer__menu a:hover {
    color: var(--gp-yellow); opacity: 1;
}
.gp-footer__menu .current-menu-item a { color: var(--gp-yellow); opacity: 1; }
.gp-footer__copyright {
    text-align: center;
    padding: 14px 20px 20px;
    font-family: var(--gp-font-mono); font-size: 11px;
    color: var(--gp-text); opacity: .4;
    letter-spacing: 1px;
}

/* ===========================================================
   Generic page wrapper
   =========================================================== */
.gp-main { min-height: calc(100vh - var(--gp-nav-height) - 36px - 60px); padding: 40px 0; }
.gp-page-title { margin-bottom: 28px; }

/* Mobile tweaks */
@media (max-width: 900px) {
    .gp-nav__menu { display: none; }
    .gp-nav__tagline { display: none; }
}

/* ─── FAQ accordion onder de homepage machine ─── */
.gp-faq {
    max-width: 800px;
    margin: 40px auto 60px;
    padding: 0 24px;
}
.gp-faq__title {
    font-family: var(--gp-font-display);
    font-size: clamp(24px, 3vw, 36px);
    color: var(--gp-yellow);
    text-align: center;
    letter-spacing: 0.1em;
    margin: 0 0 24px;
    text-shadow: 0 0 18px rgba(255, 203, 5, .35);
}
.gp-faq__list {
    display: flex; flex-direction: column;
    gap: 10px;
}
.gp-faq__item {
    background: rgba(255, 255, 255, .03);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 8px;
    overflow: hidden;
    transition: border-color .15s;
}
.gp-faq__item[open] {
    border-color: var(--gp-yellow);
    background: rgba(255, 203, 5, .04);
}
.gp-faq__q {
    list-style: none;
    cursor: pointer;
    padding: 16px 20px;
    display: flex; align-items: center; justify-content: space-between;
    gap: 12px;
    color: var(--gp-text);
    font-family: var(--gp-font-body);
    font-weight: 700; font-size: 15px;
    letter-spacing: 0.02em;
    user-select: none;
}
.gp-faq__q::-webkit-details-marker,
.gp-faq__q::marker { display: none; }
.gp-faq__q-text { flex: 1; }
.gp-faq__q-icon {
    flex: 0 0 auto;
    width: 22px; height: 22px;
    display: inline-flex; align-items: center; justify-content: center;
    background: rgba(255, 203, 5, .15);
    border-radius: 50%;
    color: var(--gp-yellow);
    font-weight: 900; font-size: 16px;
    transition: transform .25s ease, background .15s;
}
.gp-faq__item[open] .gp-faq__q-icon {
    transform: rotate(45deg);
    background: var(--gp-yellow);
    color: var(--gp-ink-2);
}
.gp-faq__q:hover .gp-faq__q-icon { background: var(--gp-yellow); color: var(--gp-ink-2); }
.gp-faq__a {
    padding: 0 20px 18px;
    color: var(--gp-text-dim);
    font-size: 14px;
    line-height: 1.6;
}
.gp-faq__a p:first-child { margin-top: 0; }
.gp-faq__a p:last-child  { margin-bottom: 0; }
.gp-faq__a a { color: var(--gp-cyan); }

@media (max-width: 600px) {
    .gp-faq { padding: 0 16px; margin: 24px auto 40px; }
    .gp-faq__q { padding: 14px 16px; font-size: 14px; }
    .gp-faq__a { padding: 0 16px 14px; }
}

/* ─── HOW IT WORKS popup modal ───────────────────────────────── */
.gp-hiw-modal {
    position: fixed; inset: 0;
    z-index: 9999;
    display: flex; align-items: center; justify-content: center;
    padding: 24px;
    animation: gp-hiw-fade .2s ease-out;
}
.gp-hiw-modal[hidden] { display: none; }
@keyframes gp-hiw-fade { from { opacity: 0; } to { opacity: 1; } }

.gp-hiw-modal__backdrop {
    position: absolute; inset: 0;
    background: rgba(6, 8, 15, 0.85);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    cursor: pointer;
}
.gp-hiw-modal__panel {
    position: relative;
    z-index: 1;
    max-width: 560px;
    width: 100%;
    max-height: 80vh;
    overflow: auto;
    background: linear-gradient(180deg, #1a1d2e, #0e1020);
    color: #fff;
    border: 2px solid var(--gp-cyan, #43e8d8);
    border-radius: 12px;
    box-shadow:
        0 24px 60px rgba(0, 0, 0, .7),
        0 0 40px rgba(67, 232, 216, .35);
    padding: 32px 28px 28px;
    animation: gp-hiw-pop .25s cubic-bezier(.2, .8, .35, 1.25);
}
@keyframes gp-hiw-pop {
    from { transform: scale(.85); opacity: 0; }
    to   { transform: scale(1);   opacity: 1; }
}
.gp-hiw-modal__close {
    position: absolute; top: 8px; right: 12px;
    width: 36px; height: 36px;
    background: transparent;
    border: 0;
    color: rgba(255, 255, 255, .7);
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    border-radius: 50%;
    transition: background .15s, color .15s;
}
.gp-hiw-modal__close:hover {
    background: rgba(255, 255, 255, .1);
    color: #fff;
}
.gp-hiw-modal__title {
    margin: 0 0 18px;
    font-family: var(--gp-font-display, 'Bungee'), sans-serif;
    font-size: clamp(20px, 4vw, 30px);
    color: var(--gp-cyan, #43e8d8);
    text-align: center;
    letter-spacing: 0.06em;
    text-shadow: 0 0 16px rgba(67, 232, 216, .55);
}
.gp-hiw-modal__body {
    font-size: 15px;
    line-height: 1.55;
}
.gp-hiw-modal__body p { margin: 0 0 12px; }
.gp-hiw-modal__body p:last-child { margin-bottom: 0; }
.gp-hiw-modal__body a { color: var(--gp-cyan, #43e8d8); }
.gp-hiw-modal__body ul,
.gp-hiw-modal__body ol { margin: 0 0 12px 1.4em; padding: 0; }

/* ─── Slot-lock sticky countdown bar (alle pagina's) ──────── */
.gp-lock-bar {
    position: fixed; top: 0; left: 0; right: 0;
    z-index: 9500;
    display: flex; align-items: center; justify-content: center;
    gap: 12px;
    padding: 10px 16px;
    background: linear-gradient(90deg, #ff3548, #c8101b);
    color: #fff;
    text-decoration: none;
    font-family: var(--gp-font-display, 'Bungee'), sans-serif;
    font-size: 13px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    box-shadow: 0 4px 16px rgba(0, 0, 0, .45);
    text-shadow: 0 1px 0 rgba(0, 0, 0, .35);
    cursor: pointer;
    transition: filter .15s ease-out, box-shadow .15s ease-out;
}
.gp-lock-bar:hover {
    color: #fff;
    filter: brightness(1.12);
    box-shadow: 0 6px 24px rgba(0, 0, 0, .55);
}
.gp-lock-bar[hidden] { display: none; }
/* Wanneer de expire-balk zichtbaar is: pagina + sticky nav exact de
   balk-hoogte naar beneden schuiven zodat de (vaste) balk nooit over de
   nav/hamburger valt. Body-class wordt door app.js getoggled. */
body.gp-lockbar-on { --gp-lockbar-h: 46px; padding-top: var(--gp-lockbar-h); }
body.gp-lockbar-on .gp-nav { top: var(--gp-lockbar-h); }
@media (max-width: 560px) {
    body.gp-lockbar-on { --gp-lockbar-h: 40px; }
}
.gp-lock-bar.is-checkout {
    background: linear-gradient(90deg, #1d8b4a, #0a5b2c);
}
.gp-lock-bar__icon {
    display: inline-flex;
    align-items: center;
    color: var(--gp-yellow, #ffcb05);
    line-height: 0;
    flex: 0 0 auto;
}
.gp-lock-bar__icon svg {
    display: block;
    filter: drop-shadow(0 1px 0 rgba(0, 0, 0, .4));
}
.gp-lock-bar__time {
    color: var(--gp-yellow, #ffcb05);
    font-size: 16px;
    min-width: 56px;
    text-align: left;
}
.gp-lock-bar__cta {
    margin-left: 6px;
    padding: 4px 10px;
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 999px;
    font-size: 11px;
    letter-spacing: 0.1em;
    color: #fff;
    transition: background .15s, transform .15s;
}
.gp-lock-bar:hover .gp-lock-bar__cta {
    background: rgba(255, 255, 255, .25);
    transform: translateX(2px);
}
.gp-lock-bar.is-urgent .gp-lock-bar__time {
    animation: gp-lock-pulse 0.6s ease-in-out infinite;
}
@media (max-width: 560px) {
    .gp-lock-bar { gap: 8px; padding: 8px 12px; font-size: 11px; }
    .gp-lock-bar__cta { display: none; }
    .gp-lock-bar__icon svg { width: 18px; height: 18px; }
}
@keyframes gp-lock-pulse {
    0%, 100% { opacity: 1; }
    50%      { opacity: 0.45; }
}
