/* -----------------------------------------
   Spellen Overzicht – losse CSS
   ----------------------------------------- */

:root{
    --bg: #000000;
    --bg-soft: rgba(26, 26, 26, 0.32);
    --text: #e8eaf0;
    --muted: #f8f8f8;
    --accent: #ff0000;
    --ready: #1fd17f;
    --wip: #ffb020;
    --planned: #8aa0ff;
    --card-border: rgba(211, 87, 14, 0.19);
    --shadow: rgba(0,0,0,.35);
}

@media (prefers-color-scheme: light){
    :root{
        --bg: #f6f7fb;
        --bg-soft: #ffffff;
        --text: #0d1020;
        --muted: #80655a;
        --accent: #5b43f0;
        --card-border: #e7e9f2;
        --shadow: rgba(0,0,0,.08);
    }
}

*{ box-sizing: border-box; }
html, body{ height:100%; }
body{
    margin:0;
    font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
    color: var(--text);
    background: radial-gradient(1200px 800px at 10% -10%, rgba(176, 97, 17, 0.3), transparent 60%),
    radial-gradient(1000px 700px at 110% 10%, rgba(250, 250, 250, 0.29), transparent 60%),
    var(--bg);
    line-height: 1.55;
}
a {
    color: white;
    text-decoration: none;
    margin-top: 10px;
}
a:hover {
    color: white;
    text-decoration: underline;
}
a:visited {
    color: white;
    text-decoration: none;
}
.container{
    width: min(1100px, 92vw);
    margin: 0 auto;
}

.site-header{
    padding: 36px 0 8px;
}
.site-title{
    margin: 0;
    font-size: clamp(24px, 3.5vw, 40px);
    letter-spacing: .2px;
}
.site-subtitle{
    margin: 6px 0 0;
    color: var(--muted);
    font-size: clamp(14px, 1.8vw, 16px);
}

/* Grid */
.grid{
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(12, 1fr);
    margin: 22px 0 54px;
}
.card{
    grid-column: span 12;
    background: linear-gradient(180deg, var(--bg-soft), color-mix(in oklab, var(--bg-soft) 88%, black 12%));
    border: 1px solid var(--card-border);
    border-radius: 16px;
    overflow: clip;
    display: grid;
    grid-template-rows: 160px auto;
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
    box-shadow: 0 12px 28px var(--shadow);
}
@media (min-width: 640px){
    .card{ grid-column: span 6; }
}
@media (min-width: 980px){
    .card{ grid-column: span 4; }
}

/* Cover */
.card-cover{
    position: relative;
    display: grid;
    place-items: center;
    background:
            radial-gradient(120px 100px at 20% 20%, rgba(253, 253, 253, 0.48), transparent 60%),
            radial-gradient(140px 120px at 80% 30%, rgba(183, 110, 23, 0.44), transparent 65%),
            linear-gradient(180deg, color-mix(in oklab, var(--bg-soft) 78%, black 22%), var(--bg-soft));
    border-bottom: 1px solid var(--card-border);
}
.cover-emoji{
    font-size: 60px;
    filter: drop-shadow(0 6px 10px var(--shadow));
}

/* Body */
.card-body{
    padding: 16px;
    display: grid;
    gap: 10px;
}
.card-title{
    margin: 0;
    font-size: 20px;
}
.card-desc{
    margin: 0;
    color: var(--muted);
}
.card-footer{
    margin-top: 4px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

/* Badges */
.badge{
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid var(--card-border);
    background: color-mix(in oklab, var(--bg-soft) 88%, black 12%);
}
.badge::before{
    content: "";
    width: 8px; height: 8px;
    border-radius: 50%;
    box-shadow: 0 0 0 3px color-mix(in oklab, currentColor 30%, transparent 70%);
}
.badge--ready{ color: var(--ready); }
.badge--wip{ color: var(--wip); }
.badge--planned{ color: var(--planned); }

/* Buttons */
.btn{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 40px;
    padding: 0 14px;
    border-radius: 12px;
    border: 1px solid color-mix(in oklab, var(--accent) 60%, transparent 40%);
    color: white;
    background: linear-gradient(180deg, color-mix(in oklab, var(--accent) 90%, white 10%), var(--accent));
    text-decoration: none;
    font-weight: 600;
    letter-spacing: .2px;
    box-shadow: 0 6px 16px color-mix(in oklab, var(--accent) 20%, transparent 80%);
    transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}
.btn:hover{
    transform: translateY(-1px);
    box-shadow: 0 10px 24px color-mix(in oklab, var(--accent) 26%, transparent 74%);
    filter: brightness(1.04);
}
.btn:focus{
    outline: 3px solid color-mix(in oklab, var(--accent) 40%, white 60%);
    outline-offset: 2px;
}

/* Ghost / disabled */
.btn--ghost{
    background: transparent;
    color: var(--muted);
    border-color: var(--card-border);
    box-shadow: none;
    cursor: not-allowed;
    pointer-events: none;
}

/* Hover lift */
.card:hover{
    transform: translateY(-4px);
    box-shadow: 0 16px 36px var(--shadow);
    border-color: color-mix(in oklab, var(--accent) 24%, var(--card-border) 76%);
}

/* Footer */
.site-footer{
    padding: 28px 0 48px;
    color: var(--muted);
    text-align: center;
    border-top: 1px dashed var(--card-border);
}
