/* Carzzy Apps: shared styles for the home page and category pages */
:root {
    --bg: #0a0a0a;
    --surface: #151515;
    --surface-2: #1a1a1a;
    --line: #333;
    --line-soft: #222;
    --text: #ffffff;
    --muted: #aaa;
    --dim: #777;
    --accent: #00d1b2;
    --accent-soft: rgba(0, 209, 178, 0.12);
    --accent-line: rgba(0, 209, 178, 0.35);
    --accent-glow: rgba(0, 209, 178, 0.2);
    --r: 20px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    background-color: var(--bg);
    color: var(--text);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Ambient glow + faint grid, like the arcade but in teal */
.ambient {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(900px 500px at 85% -10%, rgba(0, 209, 178, 0.14), transparent 60%),
        radial-gradient(700px 500px at -10% 30%, rgba(0, 209, 178, 0.07), transparent 60%),
        linear-gradient(transparent 96%, rgba(0, 209, 178, 0.045) 96%) 0 0 / 100% 44px,
        linear-gradient(90deg, transparent 96%, rgba(0, 209, 178, 0.045) 96%) 0 0 / 44px 100%;
    -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0,0,0,0.5) 50%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 0%, rgba(0,0,0,0.5) 50%, transparent 100%);
}

/* Sits under the fixed nav bar (z-index: 1) */
.page {
    position: relative;
    z-index: 0;
    isolation: isolate;
    width: min(1180px, 100%);
    margin: 0 auto;
    padding: 0 20px;
    overflow-x: clip;
}

a { color: inherit; }
h1, h2, h3, h4 { margin: 0; letter-spacing: -0.02em; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 10px; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 26px;
    border-radius: 50px;
    font-weight: bold;
    text-decoration: none;
    border: 2px solid var(--accent);
    transition: 0.3s;
    white-space: nowrap;
}
.btn-primary { background: var(--accent); color: var(--bg); }
.btn-primary:hover { box-shadow: 0 0 24px rgba(0, 209, 178, 0.45); transform: translateY(-2px); }
.btn-ghost, .contact-btn { background: transparent; color: var(--accent); }
.btn-ghost:hover, .contact-btn:hover { background: var(--accent); color: var(--bg); box-shadow: 0 0 20px rgba(0, 209, 178, 0.4); }


.accent-text { color: var(--accent); text-shadow: 0 0 30px rgba(0, 209, 178, 0.35); }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    padding: 130px 0 30px;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 44px;
    align-items: center;
}
/* Home page: site name is the h1, tagline sits under it. */
.hero .hero-title {
    margin: 0 0 14px;
    font-size: clamp(3.2rem, 7.6vw, 5.6rem);
    line-height: 0.95;
    letter-spacing: -0.035em;
    font-weight: 900;
}
.hero .hero-tagline {
    margin: 0 0 18px;
    color: var(--text);
    font-size: clamp(1.25rem, 2.4vw, 1.6rem);
    font-weight: 800;
    letter-spacing: -0.01em;
    line-height: 1.25;
}
.hero .lead {
    margin: 0 0 26px;
    max-width: 540px;
    color: var(--muted);
    font-size: clamp(1rem, 1.7vw, 1.15rem);
    line-height: 1.6;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }


.stats { display: flex; flex-wrap: wrap; gap: 30px; margin-top: 30px; }
.stats b { display: block; font-size: 1.7rem; font-weight: 900; letter-spacing: -0.02em; }
.stats span { color: var(--dim); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }

/* Featured card in hero */
.feature {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 26px;
    text-decoration: none;
    background: var(--surface);
    border: 1px solid var(--accent-line);
    box-shadow: 0 30px 80px rgba(0, 209, 178, 0.15);
    transition: transform 0.25s, box-shadow 0.25s;
}
.feature:hover { transform: translateY(-5px) rotate(-0.3deg); box-shadow: 0 34px 90px rgba(0, 209, 178, 0.25); }
.feature .cz-cover { aspect-ratio: 16 / 10; }
.feature-body { position: relative; display: block; padding: 26px 32px 32px; }
.feature-body .label {
    display: inline-block;
    padding: 5px 11px;
    border-radius: 999px;
    background: var(--accent);
    color: var(--bg);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.feature-body h3, .feature-body h4 { display: block; margin: 14px 0 8px; font-size: 1.9rem; font-weight: 900; color: #00d1b2; }
.feature-body .cz-play { display: inline-block; }
.feature-body p { display: block; margin: 0 0 24px; color: var(--muted); line-height: 1.6; }

/* ---------- Sections ---------- */
.sec { padding: 64px 0 0; }
.sh {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 22px;
}
.sh .eyebrow {
    display: block;
    margin-bottom: 6px;
    color: var(--accent);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}
.sh h2, .sh h3 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); font-weight: 900; }
.sh p { margin: 6px 0 0; color: var(--muted); }
.sh-actions { display: flex; align-items: center; gap: 8px; }
.see-all {
    color: var(--accent);
    font-weight: 700;
    text-decoration: none;
    padding: 8px 4px;
    white-space: nowrap;
}
.see-all:hover { text-decoration: underline; text-underline-offset: 4px; }

.arrow-btn {
    appearance: none;
    width: 40px; height: 40px;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--text);
    font: inherit;
    font-size: 1.1rem;
    cursor: pointer;
    transition: 0.25s;
}
.arrow-btn:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- Category tiles ---------- */
.cz-cats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}
.cz-cat {
    --mx: 50%; --my: 50%;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 190px;
    padding: 22px;
    border-radius: var(--r);
    border: 1px solid var(--line);
    background-color: var(--surface);
    text-decoration: none;
    transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.cz-cat::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background: var(--pattern);
    opacity: 0.55;
    -webkit-mask-image: linear-gradient(200deg, #000, transparent 75%);
    mask-image: linear-gradient(200deg, #000, transparent 75%);
}
.cz-cat::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: 0;
    transition: opacity 0.3s;
    background: radial-gradient(260px circle at var(--mx) var(--my), rgba(0, 209, 178, 0.16), transparent 60%);
}
.cz-cat > * { position: relative; z-index: 1; }
.cz-cat:hover, .cz-cat.is-current {
    border-color: var(--accent);
    box-shadow: 0 10px 30px var(--accent-glow);
}
.cz-cat:hover { transform: translateY(-5px); }
.cz-cat:hover::after { opacity: 1; }
.cz-cat-count { color: var(--accent); font-size: 0.75rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.cz-cat-name { margin-top: auto; padding-top: 30px; font-size: 1.7rem; font-weight: 900; letter-spacing: -0.02em; }
.cz-cat-blurb { margin-top: 4px; color: var(--muted); font-size: 0.88rem; line-height: 1.45; padding-right: 40px; }
.cz-cat-go {
    position: absolute;
    right: 18px; bottom: 18px;
    width: 36px; height: 36px;
    display: grid; place-items: center;
    border-radius: 50%;
    border: 1px solid var(--line);
    color: var(--muted);
    transition: 0.25s;
}
.cz-cat:hover .cz-cat-go, .cz-cat.is-current .cz-cat-go { background: var(--accent); border-color: var(--accent); color: var(--bg); transform: translateX(3px); }

/* ---------- Cover art (patterns, per category) ---------- */
[data-cover="games"] { --pattern: repeating-linear-gradient(135deg, rgba(0, 209, 178, 0.22) 0 2px, transparent 2px 16px); }
[data-cover="tools"] { --pattern: radial-gradient(rgba(0, 209, 178, 0.45) 1.4px, transparent 1.6px) 0 0 / 18px 18px; }
[data-cover="math"]  { --pattern: linear-gradient(rgba(0, 209, 178, 0.22) 1px, transparent 1px) 0 0 / 22px 22px, linear-gradient(90deg, rgba(0, 209, 178, 0.22) 1px, transparent 1px) 0 0 / 22px 22px; }
[data-cover="music"] { --pattern: repeating-linear-gradient(90deg, rgba(0, 209, 178, 0.3) 0 3px, transparent 3px 12px); }

.cz-cover {
    --glow: 50%;
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background:
        radial-gradient(140% 90% at var(--glow) 0%, rgba(0, 209, 178, 0.32), transparent 60%),
        linear-gradient(180deg, #0f1f1c, #101010);
}
.cz-cover::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--pattern);
    opacity: 0.8;
    transition: transform 0.6s ease;
}
[data-cover="music"] .cz-cover::before {
    -webkit-mask-image: linear-gradient(0deg, #000 20%, transparent 90%);
    mask-image: linear-gradient(0deg, #000 20%, transparent 90%);
}
.cz-cover::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(21, 21, 21, 0.97));
}
.cz-shot {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.6s ease, filter 0.3s;
    filter: saturate(0.95) brightness(0.92);
}
.cz-card:hover .cz-shot, .feature:hover .cz-shot { transform: scale(1.06); filter: none; }
.cz-cover.has-img::before { display: none; }
.cz-cover.has-img::after { background: linear-gradient(180deg, transparent 70%, rgba(21, 21, 21, 0.6)); box-shadow: inset 0 -1px 0 var(--line-soft); }

.cz-badges {
    position: absolute;
    top: 12px; left: 12px;
    z-index: 2;
    display: flex;
    gap: 6px;
}
.cz-badges span {
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(10, 10, 10, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.16);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text);
    backdrop-filter: blur(6px);
}
.cz-badges .new { background: var(--accent); border-color: var(--accent); color: var(--bg); }

/* ---------- Project cards ---------- */
.cz-card {
    --mx: 50%; --my: 50%;
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: var(--r);
    background: var(--surface);
    border: 1px solid var(--line);
    text-decoration: none;
    color: var(--text);
    transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.cz-card::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s;
    background: radial-gradient(320px circle at var(--mx) var(--my), rgba(0, 209, 178, 0.10), transparent 60%);
}
.cz-card:hover, .cz-card:focus-visible {
    transform: translateY(-5px);
    border-color: var(--accent);
    box-shadow: 0 18px 50px var(--accent-glow);
    outline: none;
}
.cz-card:hover::after { opacity: 1; }
.cz-card:hover .cz-cover::before { transform: scale(1.08); }

.cz-body {
    position: relative;
    z-index: 1;
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 8px;
    padding: 16px 20px 20px;
}
.cz-kind { color: var(--dim); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.cz-title { color: var(--accent); font-size: 1.35rem; font-weight: 800; letter-spacing: -0.01em; }
.cz-desc { color: var(--muted); font-size: 0.9rem; line-height: 1.55; }
.cz-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: auto;
    padding-top: 8px;
}
.cz-tags { display: flex; flex-wrap: wrap; gap: 6px; min-width: 0; }
.tag {
    padding: 3px 9px;
    border-radius: 999px;
    border: 1px solid var(--line);
    color: var(--muted);
    font-size: 0.7rem;
    font-weight: 600;
    white-space: nowrap;
}
.cz-play {
    flex: none;
    padding: 8px 16px;
    border-radius: 999px;
    border: 1px solid var(--accent-line);
    background: var(--accent-soft);
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 800;
    transition: 0.25s;
}
.cz-card:hover .cz-play, .feature:hover .cz-play { background: var(--accent); color: var(--bg); }

/* Grid (category pages) */
.cz-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    gap: 20px;
}

/* Shelf (home page rows) */
.cz-shelf {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(240px, calc((100% - 60px) / 4));
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding: 0 20px;
    padding: 10px 20px 24px;
    margin: -10px -20px -14px;
    scrollbar-width: none;
}
.cz-shelf::-webkit-scrollbar { display: none; }
.cz-shelf > * { scroll-snap-align: start; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Ad ---------- */
.ad-panel { margin: 0; }
.ad-frame {
    position: relative;
    border-left: 3px solid var(--accent);
    border-right: 3px solid var(--accent);
    border-radius: 4px;
    padding: 0 clamp(12px, 5%, 48px);
}
.ad-frame::before, .ad-frame::after {
    content: "";
    display: block;
    height: 3px;
    margin: 0 calc(-1 * clamp(12px, 5%, 48px));
    background: linear-gradient(90deg, var(--accent), rgba(0, 209, 178, 0.25) 50%, var(--accent));
}
.ad-frame::before { margin-bottom: 14px; }
.ad-frame::after { margin-top: 14px; }
.ad-content { max-width: 940px; margin: 0 auto; }
.ad-label { margin: 0 0 10px; text-align: center; color: var(--muted); letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.75rem; }
/* KosherKitchenAI ad: styled after kosherkitchenai.com */
.ad-banner.kka {
    --kka-cream: #FBF7F2;
    --kka-ink: #231A15;
    --kka-ink-2: #5C4F45;
    --kka-line: #E8DED1;
    --kka-paprika: #C43D16;
    position: relative;
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 28px;
    align-items: center;
    overflow: hidden;
    padding: 30px;
    border-radius: 20px;
    background:
        radial-gradient(420px 260px at 100% 0%, rgba(245, 160, 58, 0.22), transparent 70%),
        radial-gradient(360px 240px at 0% 100%, rgba(228, 87, 42, 0.10), transparent 70%),
        var(--kka-cream);
    color: var(--kka-ink);
    font-family: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
    text-decoration: none;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
    transition: transform 0.25s, box-shadow 0.25s;
}
.ad-banner.kka:hover { transform: translateY(-3px); box-shadow: 0 26px 60px rgba(196, 61, 22, 0.35); }
.kka span { display: block; }
.kka .kka-main { min-width: 0; }
.kka .kka-brand { display: flex; align-items: center; gap: 10px; }
.kka-logo { width: 38px; height: 38px; flex: none; border-radius: 9px; }
.kka-logo.sm { width: 22px; height: 22px; border-radius: 6px; }
.kka .kka-word { font: 600 1.55rem/1 "Fraunces", Georgia, "Times New Roman", serif; letter-spacing: -0.01em; color: var(--kka-ink); }
.kka-word em { font-style: italic; font-weight: 500; color: var(--kka-paprika); }
.kka .kka-labels { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 18px; }
.kka .kka-tag { display: inline-block; padding: 3px 9px; border-radius: 6px; color: #fff; font-size: 0.75rem; font-weight: 600; }
.kka-tag.meat { background: #A8202C; }
.kka-tag.dairy { background: #1F4FB8; }
.kka-tag.pareve { background: #17703F; }
.kka .kka-note { display: inline-block; margin-left: 4px; color: var(--kka-ink-2); font-size: 0.8rem; }
.kka .kka-title {
    margin-top: 12px;
    font: 700 clamp(1.5rem, 3.2vw, 2.2rem)/1.04 "Bricolage Grotesque", "Figtree", system-ui, sans-serif;
    letter-spacing: -0.035em;
    color: var(--kka-ink);
}
.kka .kka-title span { display: inline; color: var(--kka-paprika); }
.kka .kka-desc { margin-top: 12px; color: var(--kka-ink-2); font-size: 0.98rem; line-height: 1.55; max-width: 460px; }
.kka .kka-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; margin-top: 20px; }
.kka .kka-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 22px;
    border-radius: 14px;
    background: linear-gradient(135deg, #E4572A, #C43D16 60%, #9F3112);
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    box-shadow: 0 10px 24px rgba(196, 61, 22, 0.35);
    transition: transform 0.2s;
}
.kka .kka-cta span { display: inline; }
.ad-banner.kka:hover .kka-cta { transform: translateX(3px); }
.kka .kka-checks { display: flex; flex-wrap: wrap; gap: 6px 14px; color: var(--kka-ink-2); font-size: 0.82rem; }
.kka .kka-checks span { display: inline; }

.kka .kka-demo { position: relative; min-height: 250px; padding: 18px; border-radius: 18px;
    background: linear-gradient(160deg, #F7A440 0%, #E4572A 55%, #BF341C 100%); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.15); }
.kka .kka-bubble { max-width: 82%; margin-left: auto; padding: 11px 14px; border-radius: 14px 14px 4px 14px;
    background: var(--kka-ink); color: #FFF8EF; font-size: 0.86rem; line-height: 1.4; box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2); }
.kka .kka-card { margin-top: 14px; padding: 14px 16px; border-radius: 14px; background: #fff; box-shadow: 0 14px 30px rgba(35, 26, 21, 0.25); }
.kka .kka-chef { display: flex; align-items: center; gap: 7px; color: var(--kka-ink-2); font-size: 0.78rem; }
.kka-chef b { color: var(--kka-ink); font-weight: 600; }
.kka .kka-dish { margin-top: 8px; font: 700 1.1rem/1.2 "Bricolage Grotesque", "Figtree", system-ui, sans-serif; letter-spacing: -0.02em; color: var(--kka-ink); }
.kka .kka-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.kka .kka-pill { display: inline-block; padding: 3px 9px; border-radius: 6px; background: #F4ECE1; color: var(--kka-ink-2); font-size: 0.75rem; font-weight: 500; }
.kka .kka-ready { margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--kka-line); color: var(--kka-ink-2); font-size: 0.8rem; }

@media (max-width: 760px) {
    .ad-banner.kka { grid-template-columns: 1fr; padding: 22px; gap: 20px; }
    .kka .kka-demo { min-height: 0; }
    .kka .kka-cta { width: 100%; justify-content: center; }
}

.ad-contact { color: var(--accent); text-align: center; margin: 14px 0 0; font-size: 0.95rem; font-weight: 600; line-height: 1.5; }
.ad-contact a { color: var(--accent); }

/* ---------- Contact + footer ---------- */
.contact-section {
    margin: 80px auto 0;
    max-width: 680px;
    text-align: center;
    border: 1px solid var(--line-soft);
    border-radius: 24px;
    padding: 44px 24px;
    background: radial-gradient(400px 200px at 50% 0%, rgba(0, 209, 178, 0.12), transparent 70%), var(--surface);
}
.contact-section h2, .contact-section h3, .contact-section h4 { margin: 0 0 10px; font-size: 1.6rem; font-weight: 900; }
.contact-section p { margin: 0 0 22px; color: var(--muted); line-height: 1.6; }

/* ---------- Category page header ---------- */
.crumbs { display: flex; gap: 8px; align-items: center; color: var(--dim); font-size: 0.85rem; font-weight: 600; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--accent); }

.cat-switch {
    display: flex;
    gap: 8px;
    margin-top: 26px;
    overflow-x: auto;
    scrollbar-width: none;
    padding-bottom: 4px;
}
.cat-switch::-webkit-scrollbar { display: none; }
.cat-switch a {
    flex: none;
    padding: 9px 18px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    transition: 0.25s;
}
.cat-switch a:hover { color: var(--text); border-color: #555; }
.cat-switch a[aria-current="page"] { background: var(--accent); border-color: var(--accent); color: var(--bg); }

.cat-hero { padding: 120px 0 10px; }
.cat-hero h1, .cat-hero h2 { margin: 16px 0 10px; color: var(--accent); font-size: clamp(2.6rem, 7vw, 4.6rem); font-weight: 900; line-height: 1; }
.cat-hero .lead { margin: 0; max-width: 560px; color: var(--muted); font-size: 1.08rem; line-height: 1.6; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
    .hero-grid { grid-template-columns: 1fr; gap: 36px; }
    .cz-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .cz-shelf { grid-auto-columns: minmax(260px, 42%); }
}

@media (max-width: 640px) {
    .page { padding: 0 16px; }
    .hero { padding-top: 110px; }
    .cat-hero { padding-top: 104px; }
    .sec { padding-top: 48px; }
    .stats { gap: 22px; }
    .stats b { font-size: 1.4rem; }
    .cz-cats { gap: 12px; }
    .cz-cat { min-height: 150px; padding: 16px; }
    .cz-cat-name { font-size: 1.35rem; padding-top: 20px; }
    .cz-cat-blurb { display: none; }
    .cz-cat-go { width: 30px; height: 30px; right: 14px; bottom: 14px; }
    .cz-shelf { grid-auto-columns: 80%; gap: 14px; padding: 10px 16px 24px; margin: -10px -16px -14px; scroll-padding: 0 16px; }
    .cz-grid { grid-template-columns: 1fr; gap: 16px; }
    .cz-cover { aspect-ratio: 16 / 8; }
    .feature .cz-cover { aspect-ratio: 16 / 9; }
    .feature-body { padding: 22px 22px 26px; }
    .feature-body h3, .feature-body h4 { font-size: 1.6rem; }
    .sh-actions .arrow-btn { display: none; }
    .btn { flex: 1 1 auto; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; transition: none; }
    .ad-banner.kka, .kka .kka-cta { transition: none; }
    .cz-card, .cz-cat, .feature, .cz-cover::before, .cz-shot { transition: none; }
}

/* ---------- Sub-category pages (Mastermind, Leaderboards, Jeopardy…) ---------- */
.cz-desc b { color: var(--accent); }
.cz-badges .soon { background: rgba(24, 18, 6, 0.88); border-color: rgba(243, 199, 121, 0.6); color: #f3c779; }
.cz-badges .arcade { background: rgba(124, 77, 255, 0.25); border-color: rgba(167, 139, 250, 0.6); color: #d8ccff; }

/* Lazer Arcade card: purple/cyan version of the teal card */
[data-cover="arcade"] {
    --pattern: repeating-linear-gradient(135deg, rgba(167, 139, 250, 0.25) 0 2px, transparent 2px 16px);
}
[data-cover="arcade"] .cz-cover {
    background:
        radial-gradient(140% 90% at var(--glow) 0%, rgba(124, 77, 255, 0.4), transparent 60%),
        linear-gradient(180deg, #1a1430, #101010);
}
.cz-card[data-cover="arcade"] .cz-title {
    background: linear-gradient(90deg, #a78bfa, #22d3ee);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.cz-card[data-cover="arcade"]:hover {
    border-color: #a78bfa;
    box-shadow: 0 18px 50px rgba(124, 77, 255, 0.3);
}
.cz-card[data-cover="arcade"] .cz-play { border-color: rgba(167, 139, 250, 0.5); background: rgba(124, 77, 255, 0.15); color: #c4b5fd; }
.cz-card[data-cover="arcade"]:hover .cz-play { background: #a78bfa; color: #120b26; }
