/* ============================================================
   BonusHeart — Design System
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Sora:wght@600;700;800&display=swap');

:root {
    /* Colors */
    --bg: #0b0b11;
    --bg-soft: #12121b;
    --surface: rgba(26, 26, 37, 0.55);
    --surface-solid: #15151f;
    --border: rgba(255, 255, 255, 0.08);
    --border-strong: rgba(255, 255, 255, 0.14);

    --primary: #7c5cff;
    --primary-soft: rgba(124, 92, 255, 0.15);
    --secondary: #00d4ff;
    --secondary-soft: rgba(0, 212, 255, 0.12);
    --accent: #ff4d8d;
    --success: #28d97f;
    --warning: #ffb547;

    --text: #ffffff;
    --muted: rgba(255, 255, 255, 0.66);
    --faint: rgba(255, 255, 255, 0.5);

    --gradient: linear-gradient(120deg, var(--primary), var(--secondary));

    /* Sizing */
    --radius-sm: 10px;
    --radius: 16px;
    --radius-lg: 24px;
    --maxw: 1140px;
    --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
    --shadow-glow: 0 0 40px rgba(124, 92, 255, 0.25);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* Ambient background glow */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(60vw 60vw at 12% -10%, rgba(124, 92, 255, 0.18), transparent 60%),
        radial-gradient(55vw 55vw at 100% 0%, rgba(0, 212, 255, 0.12), transparent 55%),
        radial-gradient(50vw 50vw at 50% 120%, rgba(255, 77, 141, 0.10), transparent 60%);
    pointer-events: none;
}

a { color: inherit; }

h1, h2, h3 {
    font-family: 'Sora', 'Inter', sans-serif;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

img { max-width: 100%; display: block; }

/* ============================================================
   NAVBAR
   ============================================================ */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 14px 30px;
    background: rgba(11, 11, 17, 0.72);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
}

/* Hamburger (nur mobil sichtbar) */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    padding: 0 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-strong);
    border-radius: 10px;
    cursor: pointer;
}
.nav-toggle span {
    display: block;
    height: 2px;
    width: 100%;
    background: var(--text);
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.2s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text);
    text-decoration: none;
    font-family: 'Sora', sans-serif;
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.logo img {
    width: 42px;
    height: 42px;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(124, 92, 255, 0.6));
}

.logo span {
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2px;
}

.nav-links a {
    color: var(--muted);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    padding: 8px 11px;
    border-radius: 10px;
    white-space: nowrap;
    transition: color 0.2s ease, background 0.2s ease;
}

/* Etwas kompakter im mittleren Desktop-Bereich, damit alle Bereiche passen */
@media (max-width: 1180px) {
    .nav-links a { padding: 8px 9px; font-size: 14px; }
    .nav-links { gap: 1px; }
}

.nav-links a:hover { color: var(--text); background: rgba(255, 255, 255, 0.06); }
.nav-links a.active { color: var(--text); background: var(--primary-soft); }

.nav-cta {
    background: var(--gradient);
    color: #fff !important;
}
.nav-cta:hover { opacity: 0.9; background: var(--gradient) !important; }

/* ============================================================
   LAYOUT
   ============================================================ */
main { min-height: 60vh; }

.container {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 56px 28px;
}

.section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
    margin: 56px 0 24px;
    flex-wrap: wrap;
}
.section-head:first-of-type { margin-top: 0; }

.section-head h2 { margin: 0; font-size: 28px; }
.section-head p { margin: 0; color: var(--muted); }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--secondary);
    margin-bottom: 14px;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
    position: relative;
    text-align: center;
    padding: 96px 32px;
    margin-bottom: 24px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(124, 92, 255, 0.22), rgba(0, 212, 255, 0.10));
    border: 1px solid var(--border-strong);
    box-shadow: var(--shadow-glow);
}

.hero::after {
    content: "";
    position: absolute;
    inset: -2px;
    background: radial-gradient(40% 60% at 50% 0%, rgba(124, 92, 255, 0.35), transparent 70%);
    pointer-events: none;
    animation: hero-glow 6s ease-in-out infinite;
}
@keyframes hero-glow {
    0%, 100% { opacity: 0.7; transform: scale(1); }
    50%      { opacity: 1; transform: scale(1.06); }
}

.hero > * { position: relative; z-index: 1; }

.hero-hint {
    margin: 22px auto 0;
    font-size: 14px;
    color: var(--faint);
}
.hero-hint kbd {
    font-family: 'Sora', sans-serif;
    font-size: 12px;
    padding: 1px 8px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--border-strong);
    color: var(--text);
}

.hero h1 {
    font-size: clamp(40px, 7vw, 76px);
    margin: 0 0 18px;
    background: linear-gradient(120deg, #fff 30%, var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero .lead {
    font-size: clamp(17px, 2.4vw, 22px);
    color: var(--muted);
    max-width: 640px;
    margin: 0 auto 32px;
}

.hero-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Page header (sub pages) */
.page-header {
    text-align: center;
    padding: 64px 24px 8px;
}
.page-header h1 { font-size: clamp(34px, 5vw, 52px); margin: 0 0 14px; }
.page-header p { color: var(--muted); font-size: 18px; max-width: 620px; margin: 0 auto; }

/* ============================================================
   BUTTONS
   ============================================================ */
.button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 22px;
    background: var(--gradient);
    color: #fff;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 15px;
    border: none;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
    box-shadow: 0 8px 24px rgba(124, 92, 255, 0.32);
}
.button:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(124, 92, 255, 0.45); }

.button.ghost {
    background: transparent;
    border: 1px solid var(--border-strong);
    box-shadow: none;
    color: var(--text);
}
.button.ghost:hover { background: rgba(255, 255, 255, 0.06); box-shadow: none; }

/* ============================================================
   CARDS / GRID
   ============================================================ */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 22px;
}

.card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 26px;
    border-radius: var(--radius);
    backdrop-filter: blur(8px);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    overflow: hidden;
}

.card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--gradient);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
    border-color: var(--border-strong);
}
.card:hover::before { opacity: 1; }

.card .card-icon {
    font-size: 32px;
    margin-bottom: 14px;
    line-height: 1;
}

.card h2, .card h3 { margin: 0 0 8px; font-size: 20px; }
.card h3 a { color: inherit; text-decoration: none; }
.card h3 a:hover { color: var(--accent); }
.card p { margin: 0 0 18px; color: var(--muted); flex: 1; }
.card .button { align-self: flex-start; margin-top: auto; }

/* Sichtbarer Tastatur-Fokus für alle interaktiven Elemente (A11y) */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
    outline: 2px solid var(--secondary);
    outline-offset: 2px;
}

/* Skip-Link: unsichtbar bis Tastatur-Fokus (A11y) */
.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 2000;
    background: #0b0b11;
    color: #fff;
    border: 2px solid var(--accent);
    border-top: 0;
    padding: 10px 18px;
    border-radius: 0 0 12px 12px;
    font-weight: 700;
    text-decoration: none;
}
.skip-link:focus {
    left: 16px;
}

/* Sitemap-Übersicht: Linkliste in Kacheln */
.sitemap-list { list-style: none; margin: 6px 0 0; padding: 0; }
.sitemap-list li { padding: 5px 0; border-top: 1px solid var(--border, rgba(255,255,255,.08)); }
.sitemap-list li:first-child { border-top: 0; }
.sitemap-list a { color: var(--muted); text-decoration: none; font-size: 15px; }
.sitemap-list a:hover { color: var(--accent); }

/* Featured article card with media strip */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 22px;
}

.feature-card {
    position: relative;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    overflow: hidden;
    background: var(--surface);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
    border-color: var(--border-strong);
}
.feature-card .media {
    height: 150px;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 54px;
}
.feature-card .media {
    overflow: hidden;
}
.feature-card .media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.feature-card:hover .media img { transform: scale(1.06); }
.feature-card .body { padding: 22px 24px 26px; }
.feature-card h3 { margin: 0 0 8px; font-size: 21px; }
.feature-card p { color: var(--muted); margin: 0 0 16px; }

/* ============================================================
   ARTIKEL-COVERBILD & MEDIA-BILDER (SVG-Grafiken)
   ============================================================ */
.cover-figure {
    margin: 0 0 30px;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    position: relative;
    background: var(--bg-soft);
}
.cover-figure img {
    display: block;
    width: 100%;
    height: clamp(200px, 34vw, 360px);
    object-fit: cover;
}
.cover-figure figcaption {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    padding: 28px 22px 16px;
    font-size: 14px;
    color: var(--muted);
    background: linear-gradient(to top, rgba(11,11,17,0.85), transparent);
}
/* Bild im quadratischen Kachel-Icon (card-icon) */
.card .card-icon img,
.deal-card .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
    display: block;
}

/* ============================================================
   BADGES & PILLS
   ============================================================ */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.03em;
    padding: 5px 11px;
    border-radius: 999px;
    background: var(--primary-soft);
    color: #c9bcff;
    border: 1px solid rgba(124, 92, 255, 0.3);
}
.badge.cyan { background: var(--secondary-soft); color: #9be9ff; border-color: rgba(0, 212, 255, 0.3); }
.badge.pink { background: rgba(255, 77, 141, 0.12); color: #ffa6c5; border-color: rgba(255, 77, 141, 0.3); }
.badge.green { background: rgba(40, 217, 127, 0.12); color: #8fefc0; border-color: rgba(40, 217, 127, 0.3); }

.tag-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }

/* ============================================================
   HIGHLIGHT / INFO BOXES
   ============================================================ */
.highlight-box {
    background: var(--secondary-soft);
    border: 1px solid rgba(0, 212, 255, 0.28);
    padding: 16px 20px;
    margin: 24px 0;
    border-radius: var(--radius-sm);
    color: #d6f6ff;
}

.info-box {
    background: var(--primary-soft);
    border-left: 4px solid var(--primary);
    padding: 16px 20px;
    margin: 22px 0;
    border-radius: var(--radius-sm);
}

/* CTA banner */
.cta-banner {
    margin: 72px 0 0;
    text-align: center;
    padding: 56px 32px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, rgba(124, 92, 255, 0.25), rgba(0, 212, 255, 0.12));
    border: 1px solid var(--border-strong);
}
.cta-banner h2 { font-size: 30px; margin: 0 0 12px; }
.cta-banner p { color: var(--muted); max-width: 560px; margin: 0 auto 26px; }

/* ============================================================
   STAT STRIP
   ============================================================ */
.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 18px;
    margin: 40px 0 8px;
}
.stat {
    text-align: center;
    padding: 24px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
}
.stat .num {
    font-family: 'Sora', sans-serif;
    font-size: 34px;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.stat .label { color: var(--muted); font-size: 14px; }

/* ============================================================
   ARTICLE
   ============================================================ */
.article {
    max-width: 760px;
    margin: 0 auto;
}
.article h1 { font-size: clamp(32px, 5vw, 46px); margin: 0 0 14px; }
.article .lead { font-size: 19px; color: var(--muted); margin-bottom: 8px; }
.article h2 { margin-top: 40px; font-size: 26px; color: var(--text); }
.article h2 .accent, .article h3 .accent { color: var(--primary); }
.article p { color: rgba(255, 255, 255, 0.82); }

.article-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--faint);
    font-size: 14px;
    margin: 16px 0 28px;
    flex-wrap: wrap;
}
.article-meta span { display: inline-flex; align-items: center; gap: 6px; }

/* Ranked game/product cards */
.game-card {
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 22px 24px;
    margin: 16px 0;
    border-radius: var(--radius);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.game-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: var(--border-strong);
}
.game-card h3 { margin: 0 0 6px; font-size: 20px; display: flex; align-items: center; gap: 10px; }
.game-card p { margin: 0; color: var(--muted); }
.game-card .meta { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 14px; color: var(--faint); font-size: 14px; }
.game-card .meta b { color: var(--text); font-weight: 600; }

.rank-list { list-style: none; padding: 0; margin: 16px 0; counter-reset: rank; }
.rank-list li {
    background: var(--surface);
    border: 1px solid var(--border);
    margin: 10px 0;
    padding: 16px 20px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    gap: 14px;
}
.rank-list li::before {
    counter-increment: rank;
    content: counter(rank);
    flex: 0 0 32px;
    height: 32px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: var(--primary-soft);
    color: #c9bcff;
    font-weight: 700;
    font-family: 'Sora', sans-serif;
}

/* Spec table */
.spec-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 1px solid var(--border);
}
.spec-table th, .spec-table td { padding: 14px 18px; text-align: left; }
.spec-table th { background: rgba(255, 255, 255, 0.04); font-weight: 600; }
.spec-table tr + tr td { border-top: 1px solid var(--border); }
.spec-table td:first-child { color: var(--muted); }

/* Pros / Cons */
.proscons { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 24px 0; }
.proscons > div { padding: 20px 22px; border-radius: var(--radius-sm); border: 1px solid var(--border); }
.proscons .pros { background: rgba(40, 217, 127, 0.07); border-color: rgba(40, 217, 127, 0.25); }
.proscons .cons { background: rgba(255, 77, 141, 0.07); border-color: rgba(255, 77, 141, 0.25); }
.proscons h4 { margin: 0 0 10px; font-size: 16px; }
.proscons ul { margin: 0; padding-left: 20px; color: var(--muted); }
.proscons li { margin: 6px 0; }

/* ============================================================
   DEALS
   ============================================================ */
.deal-card {
    display: flex;
    align-items: center;
    gap: 18px;
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 18px 22px;
    border-radius: var(--radius);
    margin: 14px 0;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.deal-card:hover { transform: translateY(-3px); border-color: var(--border-strong); box-shadow: var(--shadow); }
a.deal-card { text-decoration: none; color: inherit; }
.deal-card .thumb {
    flex: 0 0 64px; height: 64px; border-radius: 12px;
    background: var(--gradient);
    display: grid; place-items: center; font-size: 30px;
}
.deal-card .info { flex: 1; min-width: 0; }
.deal-card .info h3 { margin: 0 0 4px; font-size: 18px; }
.deal-card .info p { margin: 0; color: var(--muted); font-size: 14px; }
.deal-card .price { text-align: right; white-space: nowrap; }
.deal-card .price .now { font-family: 'Sora', sans-serif; font-size: 22px; font-weight: 800; }
.deal-card .price .was { color: var(--faint); text-decoration: line-through; font-size: 14px; }
.deal-card .price .off {
    display: inline-block; margin-top: 4px; font-size: 12px; font-weight: 700;
    color: #8fefc0; background: rgba(40, 217, 127, 0.14);
    padding: 2px 8px; border-radius: 6px;
}

/* ============================================================
   FORMS
   ============================================================ */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-width: 560px;
    margin: 32px auto 0;
    text-align: left;
}
.contact-form label { font-weight: 600; font-size: 14px; }
.contact-form input,
.contact-form textarea {
    background: rgba(255, 255, 255, 0.04);
    color: #fff;
    border: 1px solid var(--border-strong);
    border-radius: 12px;
    padding: 13px 16px;
    font-size: 15px;
    font-family: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: var(--faint); }
.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(124, 92, 255, 0.2);
}
.contact-form .button { width: fit-content; }

/* ============================================================
   FOOTER
   ============================================================ */
footer {
    margin-top: 96px;
    padding: 56px 28px 32px;
    background: rgba(11, 11, 17, 0.7);
    border-top: 1px solid var(--border);
}
.footer-inner {
    max-width: var(--maxw);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr;
    gap: 40px;
}
.footer-brand .footer-logo {
    display: flex; align-items: center; gap: 10px;
    font-family: 'Sora', sans-serif; font-size: 22px; font-weight: 800;
    margin-bottom: 12px;
}
.footer-brand .footer-logo img { width: 34px; height: 34px; }
.footer-brand p { color: var(--muted); max-width: 320px; margin: 0; }

.footer-col h4 {
    font-family: 'Sora', sans-serif;
    font-size: 14px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--faint);
    margin: 0 0 14px;
}
.footer-col a {
    display: block;
    color: var(--muted);
    text-decoration: none;
    padding: 5px 0;
    transition: color 0.2s ease;
}
.footer-col a:hover { color: var(--secondary); }

.footer-bottom {
    max-width: var(--maxw);
    margin: 40px auto 0;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    color: var(--faint);
    font-size: 14px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 860px) {
    .footer-inner { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
}

/* Navigation: ab hier Hamburger-Menü, damit alle Themenbereiche Platz haben */
@media (max-width: 1140px) {
    nav { padding: 12px 18px; }
    .nav-toggle { display: flex; }

    /* Menü als Dropdown – nur wenn JS aktiv ist (Progressive Enhancement) */
    .js .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        padding: 14px 18px 18px;
        background: rgba(11, 11, 17, 0.97);
        backdrop-filter: blur(16px);
        border-bottom: 1px solid var(--border);
    }
    .js .nav-links.open { display: flex; animation: rise 0.25s ease both; }
    .js .nav-links a { padding: 12px 14px; font-size: 16px; }
}

@media (max-width: 680px) {
    .container { padding: 40px 18px; }
    .proscons { grid-template-columns: 1fr; }
    .deal-card { flex-wrap: wrap; }
    .deal-card .price { text-align: left; width: 100%; }
    .footer-inner { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; text-align: center; }
}

/* ============================================================
   FILTER BAR (Deals)
   ============================================================ */
.filter-bar {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 8px 0 28px;
}
.filter-bar button {
    padding: 9px 18px;
    border-radius: 999px;
    border: 1px solid var(--border-strong);
    background: rgba(255, 255, 255, 0.04);
    color: var(--muted);
    font: inherit;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.filter-bar button:hover { color: var(--text); border-color: var(--primary); }
.filter-bar button.active {
    color: #fff;
    background: var(--gradient);
    border-color: transparent;
}

/* ============================================================
   BACK TO TOP
   ============================================================ */
.to-top {
    position: fixed;
    right: 22px;
    bottom: 22px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    font-size: 20px;
    color: #fff;
    background: var(--gradient);
    box-shadow: 0 8px 24px rgba(124, 92, 255, 0.4);
    opacity: 0;
    transform: translateY(16px);
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
    z-index: 900;
}
.to-top.show { opacity: 1; transform: translateY(0); pointer-events: auto; }
.to-top:hover { transform: translateY(-3px); }

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes rise {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Ohne JS: Hero blendet sanft ein. Cards bleiben sofort sichtbar. */
.hero { animation: rise 0.5s ease both; }

/* Mit JS: Scroll-Reveal übernimmt das Einblenden der Elemente */
.js .reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}
.js .reveal.in-view {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    * { animation: none !important; transition: none !important; }
    .js .reveal { opacity: 1; transform: none; }
}

/* ============================================================
   GENRE TILES
   ============================================================ */
.genre-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 18px;
}
.genre-tile {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 150px;
    padding: 22px;
    border-radius: var(--radius);
    color: #fff;
    text-decoration: none;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.genre-tile::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.35));
    z-index: 0;
}
.genre-tile > * { position: relative; z-index: 1; }
.genre-tile .g-icon { font-size: 34px; margin-bottom: auto; }
.genre-tile h3 { margin: 10px 0 2px; font-size: 20px; }
.genre-tile span { color: rgba(255, 255, 255, 0.85); font-size: 14px; }
.genre-tile:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.genre-tile.shooter  { background: linear-gradient(135deg, #ff4d8d, #7c5cff); }
.genre-tile.rpg      { background: linear-gradient(135deg, #7c5cff, #00d4ff); }
.genre-tile.horror   { background: linear-gradient(135deg, #1a1a2e, #ff4d8d); }
.genre-tile.coop     { background: linear-gradient(135deg, #00d4ff, #28d97f); }
.genre-tile.racing   { background: linear-gradient(135deg, #ffb547, #ff4d8d); }
.genre-tile.strategy { background: linear-gradient(135deg, #28d97f, #7c5cff); }

/* Platform chips */
.platform-row { display: flex; gap: 12px; flex-wrap: wrap; }
.platform {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 12px;
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--text);
    text-decoration: none;
    font-weight: 600;
    transition: border-color 0.2s ease, transform 0.2s ease;
}
.platform:hover { border-color: var(--primary); transform: translateY(-3px); }
.platform .p-ico { font-size: 22px; }

/* ============================================================
   REVIEW SCORE
   ============================================================ */
.review-head {
    display: flex;
    align-items: center;
    gap: 26px;
    flex-wrap: wrap;
    margin: 24px 0 8px;
    padding: 26px;
    border-radius: var(--radius);
    background: var(--surface);
    border: 1px solid var(--border);
}
.score-badge {
    flex: 0 0 auto;
    width: 104px;
    height: 104px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-family: 'Sora', sans-serif;
    font-weight: 800;
    font-size: 36px;
    color: #fff;
    background: conic-gradient(var(--primary) calc(var(--score) * 36deg), rgba(255,255,255,0.08) 0);
    position: relative;
}
.score-badge::before {
    content: "";
    position: absolute;
    inset: 8px;
    border-radius: 50%;
    background: var(--surface-solid);
}
.score-badge span { position: relative; z-index: 1; }
.score-badge small { font-size: 14px; opacity: 0.6; font-weight: 600; }
.review-head .verdict-text h3 { margin: 0 0 6px; font-size: 22px; }
.review-head .verdict-text p { margin: 0; color: var(--muted); }

/* Rating bars */
.rating-bars { margin: 24px 0; display: grid; gap: 14px; }
.rating-bars .bar-row { display: grid; grid-template-columns: 140px 1fr 42px; align-items: center; gap: 14px; }
.rating-bars .bar-label { color: var(--muted); font-size: 14px; }
.rating-bars .bar-track {
    height: 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    overflow: hidden;
}
.rating-bars .bar-fill {
    height: 100%;
    border-radius: 999px;
    background: var(--gradient);
    width: 0;
    transition: width 1s ease;
}
.rating-bars .bar-val { text-align: right; font-weight: 700; font-family: 'Sora', sans-serif; }

/* Stars */
.stars { color: #ffb547; letter-spacing: 2px; font-size: 18px; }
.stars .empty { color: rgba(255, 255, 255, 0.2); }

/* Review list cards */
.review-list { display: grid; gap: 16px; }
.review-item {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 18px 22px;
    border-radius: var(--radius);
    background: var(--surface);
    border: 1px solid var(--border);
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.review-item:hover { transform: translateY(-4px); border-color: var(--border-strong); box-shadow: var(--shadow); }
.review-item .r-score {
    flex: 0 0 56px;
    height: 56px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    font-family: 'Sora', sans-serif;
    font-weight: 800;
    font-size: 20px;
    color: #fff;
    background: var(--gradient);
}
.review-item .r-info { flex: 1; min-width: 0; }
.review-item .r-info h3 { margin: 0 0 3px; font-size: 18px; }
.review-item .r-info p { margin: 0; color: var(--muted); font-size: 14px; }
.review-item .r-arrow { color: var(--faint); font-size: 20px; }

/* ============================================================
   TIMELINE (Release-Kalender)
   ============================================================ */
.timeline { position: relative; margin: 24px 0; padding-left: 28px; }
.timeline::before {
    content: "";
    position: absolute;
    left: 7px;
    top: 6px;
    bottom: 6px;
    width: 2px;
    background: linear-gradient(var(--primary), var(--secondary));
}
.timeline-item { position: relative; margin: 0 0 22px; }
.timeline-item::before {
    content: "";
    position: absolute;
    left: -28px;
    top: 6px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--bg);
    border: 3px solid var(--primary);
}
.timeline-item .t-date {
    font-family: 'Sora', sans-serif;
    font-weight: 700;
    color: var(--secondary);
    font-size: 14px;
    letter-spacing: 0.04em;
}
.timeline-item .t-card {
    margin-top: 8px;
    padding: 18px 22px;
    border-radius: var(--radius);
    background: var(--surface);
    border: 1px solid var(--border);
}
.timeline-item .t-card h3 { margin: 0 0 4px; font-size: 18px; }
.timeline-item .t-card p { margin: 0; color: var(--muted); font-size: 14px; }

/* ============================================================
   GAME FINDER (Quiz)
   ============================================================ */
.finder {
    margin: 24px 0;
    padding: 32px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, rgba(124, 92, 255, 0.16), rgba(0, 212, 255, 0.08));
    border: 1px solid var(--border-strong);
}
.finder-step { display: none; }
.finder-step.active { display: block; animation: rise 0.3s ease both; }
.finder-step h3 { margin: 0 0 18px; font-size: 22px; }
.finder-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; }
.finder-options button {
    padding: 20px 16px;
    border-radius: var(--radius);
    border: 1px solid var(--border-strong);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
    font: inherit;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.finder-options button:hover { transform: translateY(-3px); border-color: var(--primary); background: rgba(124, 92, 255, 0.12); }
.finder-progress { display: flex; gap: 8px; margin-top: 22px; }
.finder-progress span {
    flex: 1;
    height: 5px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    transition: background 0.3s ease;
}
.finder-progress span.done { background: var(--gradient); }
.finder-result { display: none; }
.finder-result.show { display: block; animation: rise 0.4s ease both; }
.finder-reset {
    margin-top: 16px;
    background: none;
    border: none;
    color: var(--secondary);
    cursor: pointer;
    font: inherit;
    font-weight: 600;
    text-decoration: underline;
}

@media (max-width: 680px) {
    .rating-bars .bar-row { grid-template-columns: 100px 1fr 38px; }
    .review-head { gap: 18px; }
}

/* ============================================================
   BREADCRUMB
   ============================================================ */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--muted);
    margin: 0 0 24px;
    flex-wrap: wrap;
}
.breadcrumb a { color: var(--secondary); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { color: var(--faint); }
.breadcrumb span[aria-current] { color: var(--text); font-weight: 600; }

/* ============================================================
   WERTUNGS-LEGENDE
   ============================================================ */
.legend {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}
.legend-item {
    font-size: 13px;
    color: var(--muted);
    padding: 7px 13px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
}
.legend-item b { color: var(--text); font-family: 'Sora', sans-serif; }

/* ============================================================
   REVIEW: PRO / CONTRA
   ============================================================ */
.proscons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin: 24px 0;
}
.proscons .pc-col {
    padding: 22px;
    border-radius: var(--radius);
    background: var(--surface);
    border: 1px solid var(--border);
}
.proscons .pc-col h4 {
    margin: 0 0 14px;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.proscons .pros h4 { color: #28d97f; }
.proscons .cons h4 { color: var(--accent); }
.proscons ul { margin: 0; padding-left: 20px; display: grid; gap: 8px; }
.proscons li { color: var(--muted); font-size: 14px; }
.proscons .pc-col.pros { border-color: rgba(40, 217, 127, 0.3); }
.proscons .pc-col.cons { border-color: rgba(255, 77, 141, 0.3); }

/* ============================================================
   REVIEW: SPEC-/INFO-TABELLE
   ============================================================ */
.spec-table {
    width: 100%;
    border-collapse: collapse;
    margin: 8px 0;
    font-size: 14px;
}
.spec-table th,
.spec-table td {
    text-align: left;
    padding: 12px 14px;
    border-bottom: 1px solid var(--border);
}
.spec-table th { color: var(--muted); font-weight: 600; width: 38%; }
.spec-table td { color: var(--text); }
.spec-table tr:last-child th,
.spec-table tr:last-child td { border-bottom: none; }

@media (max-width: 680px) {
    .proscons { grid-template-columns: 1fr; }
}

/* ============================================================
   PROSE (Fließtext in Artikeln/Reviews)
   ============================================================ */
.prose { margin: 28px 0; max-width: 760px; }
.prose h2 {
    font-size: 24px;
    margin: 32px 0 12px;
}
.prose h2:first-child { margin-top: 0; }
.prose p {
    color: var(--muted);
    line-height: 1.75;
    margin: 0 0 16px;
    font-size: 16px;
}
.prose a { color: var(--secondary); }
.prose ul, .prose ol { color: var(--muted); line-height: 1.75; padding-left: 22px; margin: 0 0 16px; }
.prose li { margin-bottom: 6px; }
.prose blockquote {
    margin: 20px 0;
    padding: 14px 20px;
    border-left: 3px solid var(--primary);
    background: rgba(124, 92, 255, 0.08);
    border-radius: 0 var(--radius) var(--radius) 0;
    color: var(--text);
    font-style: italic;
}

/* ============================================================
   SOUND-TOGGLE (unten links)
   ============================================================ */
.sound-toggle {
    position: fixed;
    left: 22px;
    bottom: 22px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid var(--border-strong);
    cursor: pointer;
    font-size: 20px;
    line-height: 1;
    color: #fff;
    background: rgba(20, 20, 36, 0.85);
    backdrop-filter: blur(8px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
    transition: transform 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
    z-index: 900;
}
.sound-toggle:hover { transform: translateY(-3px); border-color: var(--primary); }
.sound-toggle.off { opacity: 0.55; }

@media (max-width: 560px) {
    .sound-toggle { width: 42px; height: 42px; font-size: 17px; left: 16px; bottom: 16px; }
}

/* ============================================================
   INTERAKTIVE CHECKLISTE
   ============================================================ */
.checklist-progress {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 8px 0 22px;
}
.checklist-progress .bar-track {
    flex: 1;
    height: 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    overflow: hidden;
}
.checklist-progress .bar-fill {
    height: 100%;
    width: 0;
    border-radius: 999px;
    background: var(--gradient);
    transition: width 0.4s ease;
}
.checklist-count {
    font-family: 'Sora', sans-serif;
    font-weight: 700;
    font-size: 14px;
    color: var(--secondary);
    white-space: nowrap;
}
.checklist { display: grid; gap: 12px; margin: 0 0 24px; }
.checklist-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    border-radius: var(--radius);
    background: var(--surface);
    border: 1px solid var(--border);
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease, transform 0.15s ease;
}
.checklist-item:hover { border-color: var(--border-strong); transform: translateX(3px); }
.checklist-item:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.checklist-item .check {
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    border-radius: 7px;
    border: 2px solid var(--faint);
    display: grid;
    place-items: center;
    font-size: 14px;
    color: transparent;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.checklist-item .ck-text { flex: 1; }
.checklist-item .ck-text h4 { margin: 0 0 2px; font-size: 16px; transition: color 0.2s ease; }
.checklist-item .ck-text p { margin: 0; color: var(--muted); font-size: 14px; }
.checklist-item.done { border-color: rgba(40, 217, 127, 0.4); background: rgba(40, 217, 127, 0.06); }
.checklist-item.done .check { background: #28d97f; border-color: #28d97f; color: #08130c; }
.checklist-item.done .check::after { content: "✓"; }
.checklist-item.done .ck-text h4 { color: var(--muted); text-decoration: line-through; }

/* ============================================================
   COUNTDOWN-TIMER
   ============================================================ */
.countdown {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin: 8px 0;
}
.countdown .cd-unit {
    min-width: 72px;
    padding: 14px 10px;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-strong);
    text-align: center;
}
.countdown .cd-num {
    display: block;
    font-family: 'Sora', sans-serif;
    font-weight: 800;
    font-size: 30px;
    line-height: 1;
    color: #fff;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.countdown .cd-label {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--muted);
}
.countdown.ended .cd-num { -webkit-text-fill-color: var(--faint); }

/* ============================================================
   SCROLL-FORTSCHRITTSBALKEN
   ============================================================ */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0;
    background: var(--gradient);
    box-shadow: 0 0 10px rgba(124, 92, 255, 0.6);
    z-index: 1000;
    transition: width 0.1s linear;
}

/* ============================================================
   NAV-SUCH-BUTTON
   ============================================================ */
.nav-search {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 10px;
    border: 1px solid var(--border-strong);
    background: rgba(255, 255, 255, 0.04);
    color: var(--muted);
    font: inherit;
    font-size: 14px;
    cursor: pointer;
    transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}
.nav-search:hover { color: var(--text); border-color: var(--primary); background: var(--primary-soft); }
.nav-search kbd {
    font-family: 'Sora', sans-serif;
    font-size: 12px;
    padding: 1px 7px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--border-strong);
    color: var(--text);
}
@media (max-width: 860px) {
    .nav-search .ns-text, .nav-search kbd { display: none; }
    .nav-search { padding: 8px 10px; }
}

/* ============================================================
   BEFEHLS-/SUCHPALETTE (Command Palette)
   ============================================================ */
.cmdk-overlay {
    position: fixed;
    inset: 0;
    z-index: 1100;
    display: none;
    align-items: flex-start;
    justify-content: center;
    padding: 12vh 16px 16px;
    background: rgba(5, 5, 10, 0.6);
    backdrop-filter: blur(6px);
}
.cmdk-overlay.show { display: flex; animation: cmdk-fade 0.18s ease both; }
@keyframes cmdk-fade { from { opacity: 0; } to { opacity: 1; } }

.cmdk {
    width: 100%;
    max-width: 560px;
    background: var(--surface-solid);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    animation: cmdk-pop 0.2s ease both;
}
@keyframes cmdk-pop { from { opacity: 0; transform: translateY(-12px) scale(0.98); } to { opacity: 1; transform: none; } }

.cmdk-input {
    width: 100%;
    padding: 18px 20px;
    border: none;
    border-bottom: 1px solid var(--border);
    background: transparent;
    color: var(--text);
    font: inherit;
    font-size: 17px;
    outline: none;
}
.cmdk-input::placeholder { color: var(--faint); }

.cmdk-results {
    list-style: none;
    margin: 0;
    padding: 8px;
    max-height: 50vh;
    overflow-y: auto;
}
.cmdk-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 11px 14px;
    border-radius: 10px;
    cursor: pointer;
}
.cmdk-item.active { background: var(--primary-soft); }
.cmdk-item .ci-icon { font-size: 20px; flex: 0 0 24px; text-align: center; }
.cmdk-item .ci-text { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.cmdk-item .ci-text b { font-size: 15px; }
.cmdk-item .ci-text small { color: var(--muted); font-size: 12.5px; }
.cmdk-item .ci-go { color: var(--faint); font-size: 13px; opacity: 0; }
.cmdk-item.active .ci-go { opacity: 1; color: var(--secondary); }
.cmdk-item .ci-badge {
    flex-shrink: 0;
    font-size: 11px;
    font-weight: 700;
    color: var(--muted);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 3px 8px;
    white-space: nowrap;
}
.cmdk-empty { padding: 24px; text-align: center; color: var(--muted); }

.cmdk-foot {
    display: flex;
    gap: 18px;
    padding: 12px 18px;
    border-top: 1px solid var(--border);
    font-size: 12px;
    color: var(--faint);
}
.cmdk-foot kbd {
    font-family: 'Sora', sans-serif;
    padding: 1px 6px;
    margin-right: 3px;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border);
    color: var(--muted);
}

/* ============================================================
   KONAMI EASTER-EGG: 1UP-Toast + Konfetti
   ============================================================ */
.toast-1up {
    position: fixed;
    left: 50%;
    top: 90px;
    transform: translate(-50%, -20px);
    z-index: 1200;
    padding: 14px 26px;
    border-radius: 999px;
    font-family: 'Sora', sans-serif;
    font-weight: 800;
    font-size: 18px;
    color: #fff;
    background: var(--gradient);
    box-shadow: 0 12px 40px rgba(124, 92, 255, 0.5);
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.toast-1up.show { opacity: 1; transform: translate(-50%, 0); }

.confetti {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 1150;
    overflow: hidden;
}
.confetti i {
    position: absolute;
    top: -16px;
    width: 10px;
    height: 14px;
    border-radius: 2px;
    animation-name: confetti-fall;
    animation-timing-function: linear;
    animation-iteration-count: 1;
}
@keyframes confetti-fall {
    0%   { transform: translateY(-10vh) rotate(0deg); opacity: 1; }
    100% { transform: translateY(110vh) rotate(720deg); opacity: 0.9; }
}

@media (prefers-reduced-motion: reduce) {
    .confetti { display: none; }
    .scroll-progress { transition: none; }
}

/* ===== Farbschema-Umschalter ===== */
.theme-toggle {
    position: fixed;
    left: 22px;
    bottom: 80px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid var(--border-strong);
    cursor: pointer;
    font-size: 20px;
    line-height: 1;
    color: #fff;
    background: rgba(20, 20, 36, 0.85);
    backdrop-filter: blur(8px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
    transition: transform 0.2s ease, border-color 0.2s ease;
    z-index: 900;
}
.theme-toggle:hover { transform: translateY(-3px); border-color: var(--primary); }
.theme-toggle.open { transform: rotate(20deg); border-color: var(--primary); }

.theme-pop {
    position: fixed;
    left: 22px;
    bottom: 138px;
    display: flex;
    gap: 10px;
    padding: 12px;
    border-radius: var(--radius);
    border: 1px solid var(--border-strong);
    background: rgba(20, 20, 36, 0.92);
    backdrop-filter: blur(10px);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.5);
    z-index: 901;
    opacity: 0;
    transform: translateY(8px) scale(0.96);
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease;
}
.theme-pop.show {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}
.theme-swatch {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid transparent;
    cursor: pointer;
    padding: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
    transition: transform 0.15s ease, border-color 0.15s ease;
}
.theme-swatch:hover { transform: scale(1.12); }
.theme-swatch.active {
    border-color: #fff;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.25), 0 2px 8px rgba(0, 0, 0, 0.35);
}

@media (max-width: 560px) {
    .theme-toggle { width: 42px; height: 42px; font-size: 17px; left: 16px; bottom: 68px; }
    .theme-pop { left: 16px; bottom: 120px; }
}

/* ===== Partikel-Hintergrund im Hero ===== */
.hero-canvas {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.85;
}

/* ===== 3D-Tilt-Karten ===== */
.tilt {
    transform-style: preserve-3d;
    will-change: transform;
    transition: transform 0.25s cubic-bezier(0.22, 0.61, 0.36, 1), box-shadow 0.25s ease;
}

@media (prefers-reduced-motion: reduce) {
    .theme-pop { transition: none; }
    .tilt { transition: none; transform: none !important; }
}

/* ===== Magnetische Buttons ===== */
.magnetic { transition: transform 0.18s ease-out; }

/* ===== XP / Level HUD ===== */
.xp-hud {
    position: fixed;
    right: 22px;
    bottom: 80px;
    z-index: 900;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 8px 14px;
    border-radius: 999px;
    cursor: pointer;
    color: #fff;
    font-family: 'Sora', sans-serif;
    border: 1px solid var(--border-strong);
    background: rgba(20, 20, 36, 0.85);
    backdrop-filter: blur(8px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
    transition: transform 0.2s ease, border-color 0.2s ease;
}
.xp-hud:hover { transform: translateY(-3px); border-color: var(--primary); }
.xp-hud.pulse { animation: xp-pulse 0.6s ease; }
@keyframes xp-pulse {
    0% { transform: scale(1); }
    40% { transform: scale(1.12); box-shadow: 0 0 0 4px var(--primary-soft), 0 8px 24px rgba(0,0,0,0.35); }
    100% { transform: scale(1); }
}
.xp-ava { font-size: 16px; line-height: 1; }
.xp-lvl {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.5px;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    white-space: nowrap;
}
.xp-meta { display: flex; }
.xp-bar {
    display: block;
    width: 70px;
    height: 7px;
    border-radius: 999px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.12);
}
.xp-fill {
    display: block;
    height: 100%;
    width: 0;
    border-radius: 999px;
    background: var(--gradient);
    transition: width 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ===== Achievement-Toast ===== */
.ach-toast {
    position: fixed;
    right: 22px;
    bottom: 134px;
    z-index: 1200;
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 320px;
    padding: 12px 16px;
    border-radius: 14px;
    color: #fff;
    border: 1px solid var(--border-strong);
    background: rgba(20, 20, 36, 0.94);
    backdrop-filter: blur(10px);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transform: translateX(24px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.ach-toast.show { opacity: 1; transform: translateX(0); }
.ach-toast-ic {
    font-size: 26px;
    line-height: 1;
    flex-shrink: 0;
    filter: drop-shadow(0 2px 6px rgba(124, 92, 255, 0.5));
}
.ach-toast-tx { display: flex; flex-direction: column; font-size: 14px; line-height: 1.35; }
.ach-toast-tx b {
    font-family: 'Sora', sans-serif;
    font-size: 11px;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: var(--secondary);
}

/* ===== Achievement-Panel (Modal) ===== */
.ach-overlay {
    position: fixed;
    inset: 0;
    z-index: 1300;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(8, 8, 18, 0.7);
    backdrop-filter: blur(6px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}
.ach-overlay.show { opacity: 1; pointer-events: auto; }
.ach-panel {
    width: min(520px, 100%);
    max-height: 80vh;
    overflow-y: auto;
    padding: 24px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-strong);
    background: var(--surface, #12121f);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
    transform: translateY(12px) scale(0.97);
    transition: transform 0.2s ease;
}
.ach-overlay.show .ach-panel { transform: translateY(0) scale(1); }
.ach-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.ach-head h3 { margin: 0; font-size: 22px; }
.ach-progress { font-size: 13px; color: var(--muted); white-space: nowrap; }
.ach-list { display: flex; flex-direction: column; gap: 10px; }
.ach-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 14px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.02);
    transition: border-color 0.2s ease, transform 0.15s ease;
}
.ach-item.done { border-color: var(--primary); background: var(--primary-soft); }
.ach-item.locked { opacity: 0.6; }
.ach-item:hover { transform: translateX(3px); }
.ach-ic { font-size: 26px; line-height: 1; flex-shrink: 0; width: 30px; text-align: center; }
.ach-tx { display: flex; flex-direction: column; flex: 1; font-size: 14px; color: var(--muted); line-height: 1.35; }
.ach-tx b { font-family: 'Sora', sans-serif; font-size: 15px; color: var(--text); }
.ach-xp {
    font-family: 'Sora', sans-serif;
    font-weight: 800;
    font-size: 13px;
    color: var(--secondary);
    flex-shrink: 0;
}
.ach-foot { margin-top: 18px; font-size: 13px; color: var(--faint); text-align: center; }
.ach-subhead {
    margin: 22px 0 12px;
    font-family: 'Sora', sans-serif;
    font-weight: 800;
    font-size: 13px;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: var(--faint);
}

/* Spieler-Profil */
.profile-card {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
    padding: 14px;
    border-radius: var(--radius);
    border: 1px solid var(--border-strong);
    background:
        radial-gradient(120% 160% at 0% 0%, var(--primary-soft), transparent 60%),
        rgba(255, 255, 255, 0.02);
}
.pf-ava {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 1px solid var(--border-strong);
    background: rgba(255, 255, 255, 0.04);
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    transition: transform 0.15s ease, border-color 0.15s ease;
}
.pf-ava:hover { transform: scale(1.06) rotate(-4deg); border-color: var(--primary); }
.pf-info { display: flex; flex-direction: column; gap: 4px; flex: 1; min-width: 0; }
.pf-name {
    width: 100%;
    border: none;
    border-bottom: 1px dashed transparent;
    background: transparent;
    color: var(--text);
    font-family: 'Sora', sans-serif;
    font-weight: 800;
    font-size: 18px;
    padding: 2px 0;
    outline: none;
    transition: border-color 0.15s ease;
}
.pf-name:hover { border-bottom-color: var(--border-strong); }
.pf-name:focus { border-bottom-color: var(--primary); }
.pf-sub { font-size: 13px; color: var(--muted); }

/* Glücksrad-Button im Panel */
.ach-actions {
    display: flex;
    gap: 10px;
    margin-top: 18px;
}
.ach-wheel, .ach-quiz {
    flex: 1;
    padding: 12px;
    border-radius: var(--radius);
    border: 1px solid var(--border-strong);
    background:
        radial-gradient(120% 200% at 50% 0%, var(--secondary-soft), transparent 70%),
        rgba(255, 255, 255, 0.03);
    color: var(--text);
    font-family: 'Sora', sans-serif;
    font-weight: 800;
    font-size: 14px;
    cursor: pointer;
    transition: transform 0.15s ease, border-color 0.15s ease;
}
.ach-quiz {
    background:
        radial-gradient(120% 200% at 50% 0%, var(--primary-soft), transparent 70%),
        rgba(255, 255, 255, 0.03);
}
.ach-wheel:hover { transform: translateY(-2px); border-color: var(--secondary); }
.ach-quiz:hover { transform: translateY(-2px); border-color: var(--primary); }

/* HUD-Hinweis-Punkt (einsammelbare Quest) */
.xp-dot {
    position: absolute;
    top: -3px;
    right: -3px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--accent, #ffb547);
    border: 2px solid var(--surface, #12121f);
    opacity: 0;
    transform: scale(0.4);
    transition: opacity 0.2s ease, transform 0.2s ease;
}
.xp-hud { position: fixed; }
.xp-hud.has-claim .xp-dot { opacity: 1; transform: scale(1); animation: xp-dot-pulse 1.4s ease-in-out infinite; }
@keyframes xp-dot-pulse {
    0%, 100% { box-shadow: 0 0 0 0 var(--accent, #ffb547); }
    50% { box-shadow: 0 0 0 5px rgba(255, 181, 71, 0); }
}

/* Tagesquests im Fortschritts-Panel */
.quest-sec { margin-bottom: 6px; }
.quest-head {
    font-family: 'Sora', sans-serif;
    font-weight: 800;
    font-size: 13px;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: var(--faint);
    margin-bottom: 12px;
}
.quest-list { display: flex; flex-direction: column; gap: 10px; }
.quest-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 14px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.02);
    transition: border-color 0.2s ease;
}
.quest-row.ready { border-color: var(--accent, #ffb547); background: rgba(255, 181, 71, 0.08); }
.quest-row.claimed { opacity: 0.6; }
.q-ic { font-size: 24px; line-height: 1; flex-shrink: 0; width: 28px; text-align: center; }
.q-tx { display: flex; flex-direction: column; flex: 1; gap: 7px; min-width: 0; }
.q-tx b { font-family: 'Sora', sans-serif; font-size: 14px; color: var(--text); }
.q-bar {
    display: block;
    height: 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    overflow: hidden;
}
.q-fill {
    display: block;
    height: 100%;
    border-radius: 999px;
    background: var(--gradient, linear-gradient(90deg, var(--primary), var(--secondary)));
    transition: width 0.4s ease;
}
.q-act { font-family: 'Sora', sans-serif; font-weight: 800; font-size: 13px; color: var(--muted); flex-shrink: 0; }
.q-act.done { color: var(--secondary); }
.q-claim {
    flex-shrink: 0;
    border: none;
    border-radius: 999px;
    padding: 8px 14px;
    font-family: 'Sora', sans-serif;
    font-weight: 800;
    font-size: 12px;
    color: #1a1320;
    background: var(--accent, #ffb547);
    cursor: pointer;
    transition: transform 0.15s ease, filter 0.15s ease;
}
.q-claim:hover { transform: translateY(-2px); filter: brightness(1.08); }

@media (max-width: 560px) {
    .xp-hud { right: 16px; bottom: 68px; padding: 7px 12px; }
    .xp-bar { width: 54px; }
    .ach-toast { right: 16px; left: 16px; bottom: 120px; max-width: none; }
}

@media (prefers-reduced-motion: reduce) {
    .magnetic { transition: none; }
    .xp-hud.pulse { animation: none; }
    .xp-hud.has-claim .xp-dot { animation: none; }
    .ach-toast, .ach-overlay, .ach-panel, .xp-fill, .q-fill { transition: none; }
}

/* ===== Mini-Game: Reflex-Test ===== */
.rx-overlay {
    position: fixed;
    inset: 0;
    z-index: 1300;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(8, 8, 18, 0.7);
    backdrop-filter: blur(6px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}
.rx-overlay.show { opacity: 1; pointer-events: auto; }
.rx-modal {
    position: relative;
    width: min(440px, 100%);
    padding: 28px;
    text-align: center;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-strong);
    background: var(--surface, #12121f);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
    transform: translateY(12px) scale(0.97);
    transition: transform 0.2s ease;
}
.rx-overlay.show .rx-modal { transform: translateY(0) scale(1); }
.rx-modal h3 { margin: 6px 0 18px; font-size: 24px; }
.rx-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.05);
    color: var(--muted);
    cursor: pointer;
    font-size: 14px;
    transition: color 0.15s ease, border-color 0.15s ease;
}
.rx-close:hover { color: #fff; border-color: var(--primary); }

.rx-stage {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 200px;
    padding: 24px;
    border-radius: var(--radius);
    cursor: pointer;
    user-select: none;
    border: 1px solid var(--border-strong);
    transition: background 0.12s ease, border-color 0.12s ease;
}
.rx-stage:focus-visible { outline: 2px solid var(--secondary); outline-offset: 3px; }
.rx-big { font-family: 'Sora', sans-serif; font-weight: 800; font-size: 30px; color: #fff; }
.rx-sub { font-size: 14px; color: var(--muted); }

.rx-idle { background: var(--primary-soft); }
.rx-wait { background: rgba(255, 77, 141, 0.18); border-color: rgba(255, 77, 141, 0.5); }
.rx-go   { background: rgba(40, 217, 127, 0.28); border-color: #28d97f; }
.rx-go .rx-big { font-size: 38px; }
.rx-fail { background: rgba(255, 181, 71, 0.16); border-color: rgba(255, 181, 71, 0.5); }
.rx-done { background: var(--secondary-soft); border-color: var(--secondary); }

.rx-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 20px;
}
.rx-stats > div {
    padding: 12px 8px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.02);
}
.rx-stats span {
    display: block;
    font-family: 'Sora', sans-serif;
    font-weight: 800;
    font-size: 18px;
    color: #fff;
}
.rx-stats small { display: block; margin-top: 2px; font-size: 12px; color: var(--faint); }

@media (prefers-reduced-motion: reduce) {
    .rx-overlay, .rx-modal, .rx-stage { transition: none; }
}

/* ===== Arcade-Hub ===== */
.arcade-overlay {
    position: fixed;
    inset: 0;
    z-index: 1300;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(8, 8, 18, 0.7);
    backdrop-filter: blur(6px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}
.arcade-overlay.show { opacity: 1; pointer-events: auto; }
.arcade-modal {
    position: relative;
    width: min(480px, 100%);
    padding: 28px;
    text-align: center;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-strong);
    background: var(--surface, #12121f);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
    transform: translateY(12px) scale(0.97);
    transition: transform 0.2s ease;
}
.arcade-overlay.show .arcade-modal { transform: translateY(0) scale(1); }
.arcade-body h3 { margin: 6px 0 20px; font-size: 24px; }
.arcade-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.05);
    color: var(--muted);
    cursor: pointer;
    font-size: 14px;
    transition: color 0.15s ease, border-color 0.15s ease;
    z-index: 2;
}
.arcade-close:hover { color: #fff; border-color: var(--primary); }

.arcade-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.arcade-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 18px 10px;
    border-radius: var(--radius);
    cursor: pointer;
    color: var(--text);
    border: 1px solid var(--border-strong);
    background: rgba(255, 255, 255, 0.02);
    transition: transform 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
.arcade-card:hover { transform: translateY(-4px); border-color: var(--primary); background: var(--primary-soft); }
.arcade-card .ac-ic { font-size: 32px; line-height: 1; }
.arcade-card b { font-family: 'Sora', sans-serif; font-size: 15px; }
.arcade-card small { font-size: 12px; color: var(--faint); }
.arcade-card .ac-best { margin-top: 4px; font-size: 12px; font-weight: 700; color: var(--secondary); }

/* Tageschallenge-Banner */
.daily-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
    padding: 12px 14px;
    border-radius: var(--radius);
    border: 1px solid var(--border-strong);
    background:
        radial-gradient(120% 140% at 0% 0%, var(--primary-soft), transparent 60%),
        rgba(255, 255, 255, 0.02);
    text-align: left;
}
.daily-banner .db-label { font-size: 13px; color: var(--muted); }
.daily-banner .db-label b { color: var(--text); font-weight: 800; }
.daily-banner .db-play { padding: 8px 16px; font-size: 13px; }

/* Bestenliste */
.arcade-leaderboard {
    width: 100%;
    margin-top: 14px;
    padding: 11px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.03);
    color: var(--muted);
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
.arcade-leaderboard:hover { color: #fff; border-color: var(--secondary); background: var(--secondary-soft); }
.lb-list { display: flex; flex-direction: column; gap: 8px; }
.lb-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.02);
}
.lb-rank { font-size: 18px; color: var(--secondary); width: 22px; text-align: center; }
.lb-ic { font-size: 20px; }
.lb-name { flex: 1; font-family: 'Sora', sans-serif; font-weight: 700; font-size: 14px; text-align: left; }
.lb-best { font-weight: 800; font-size: 13px; color: var(--secondary); }
.lb-best.none { color: var(--faint); font-weight: 600; font-style: italic; }
.lb-foot { margin-top: 14px; font-size: 13px; color: var(--muted); text-align: center; }
.lb-foot b { color: var(--text); }

/* Card-Glow: maus-folgender Lichtschein */
.glow-spot {
    position: absolute;
    top: 0;
    left: 0;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    pointer-events: none;
    transform: translate(calc(var(--gx, 50%) - 130px), calc(var(--gy, 50%) - 130px));
    background: radial-gradient(circle, var(--primary-soft), transparent 70%);
    opacity: 0;
    transition: opacity 0.25s ease;
    z-index: 0;
    mix-blend-mode: screen;
}
.glow-on .glow-spot { opacity: 1; }

/* gemeinsame Spiel-Elemente */
.game-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.game-back {
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.05);
    color: var(--muted);
    border-radius: 999px;
    padding: 6px 12px;
    font-size: 13px;
    cursor: pointer;
    transition: color 0.15s ease, border-color 0.15s ease;
}
.game-back:hover { color: #fff; border-color: var(--primary); }
.game-title { font-family: 'Sora', sans-serif; font-weight: 800; font-size: 18px; }
.game-result { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; height: 100%; }
.gr-score { font-family: 'Sora', sans-serif; font-weight: 800; font-size: 34px; color: #fff; }
.gr-sub { font-size: 14px; color: var(--muted); }
.gr-again { margin-top: 6px; }

/* Zielklick */
.aim-hud { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 12px; font-size: 14px; color: var(--muted); }
.aim-hud b { color: #fff; font-family: 'Sora', sans-serif; }
.aim-field {
    position: relative;
    height: 280px;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: crosshair;
    border: 1px solid var(--border-strong);
    background:
        radial-gradient(circle at 20% 20%, var(--primary-soft), transparent 50%),
        rgba(0, 0, 0, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
}
.aim-start { color: var(--muted); font-size: 16px; }
.aim-target {
    position: absolute;
    border-radius: 50%;
    border: 3px solid #fff;
    cursor: pointer;
    padding: 0;
    background: radial-gradient(circle at 35% 30%, var(--secondary), var(--primary));
    box-shadow: 0 0 16px var(--primary-soft);
    animation: aim-pop 0.12s ease;
}
@keyframes aim-pop { from { transform: scale(0.4); } to { transform: scale(1); } }

/* Merk-Sequenz */
.mem-hud { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 14px; font-size: 14px; color: var(--muted); }
.mem-hud b { color: #fff; font-family: 'Sora', sans-serif; }
.mem-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    max-width: 300px;
    margin: 0 auto;
}
.mem-pad {
    height: 110px;
    border-radius: var(--radius);
    border: 2px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    opacity: 0.55;
    transition: opacity 0.12s ease, transform 0.08s ease, box-shadow 0.12s ease;
}
.mem-pad:hover { opacity: 0.8; }
.mem-pad.flash { opacity: 1; transform: scale(0.96); }
.mem-0 { background: #ff4d8d; }
.mem-1 { background: #00d4ff; }
.mem-2 { background: #28d97f; }
.mem-3 { background: #ffb547; }
.mem-0.flash { box-shadow: 0 0 26px #ff4d8d; }
.mem-1.flash { box-shadow: 0 0 26px #00d4ff; }
.mem-2.flash { box-shadow: 0 0 26px #28d97f; }
.mem-3.flash { box-shadow: 0 0 26px #ffb547; }
.mem-msg { margin: 16px 0 14px; font-size: 14px; color: var(--muted); min-height: 20px; }
.mem-msg b { color: #fff; }

/* Snake */
.snake-hud, .click-hud, .math-hud {
    display: flex; justify-content: space-between; gap: 10px;
    margin-bottom: 12px; font-size: 14px; color: var(--muted);
}
.snake-hud b, .click-hud b, .math-hud b { color: #fff; font-family: 'Sora', sans-serif; }
.snake-canvas {
    display: block;
    margin: 0 auto;
    border-radius: var(--radius);
    border: 1px solid var(--border-strong);
    background: rgba(0, 0, 0, 0.3);
    max-width: 100%;
}
.snake-msg { margin: 12px 0 10px; font-size: 13px; color: var(--muted); min-height: 18px; }
.snake-msg b { color: #fff; }
.dpad {
    display: grid;
    grid-template-columns: repeat(3, 46px);
    grid-template-rows: repeat(2, 46px);
    gap: 6px;
    justify-content: center;
}
.dp {
    border: 1px solid var(--border-strong);
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    border-radius: 10px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.12s ease, border-color 0.12s ease;
}
.dp:hover, .dp:active { background: var(--primary-soft); border-color: var(--primary); }
.dp-up    { grid-column: 2; grid-row: 1; }
.dp-left  { grid-column: 1; grid-row: 2; }
.dp-down  { grid-column: 2; grid-row: 2; }
.dp-right { grid-column: 3; grid-row: 2; }

/* Schnellklick */
.click-zone {
    width: 100%;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: var(--radius);
    cursor: pointer;
    color: #fff;
    border: 1px solid var(--border-strong);
    background: radial-gradient(circle at 50% 40%, var(--primary-soft), rgba(0,0,0,0.25));
    transition: transform 0.05s ease;
    user-select: none;
}
.click-zone.bump { transform: scale(0.98); }
.click-zone.done { cursor: default; background: var(--secondary-soft); }
.cz-big { font-family: 'Sora', sans-serif; font-weight: 800; font-size: 34px; }
.cz-sub { font-size: 14px; color: var(--muted); }

/* Mathe-Blitz */
.math-q {
    font-family: 'Sora', sans-serif;
    font-weight: 800;
    font-size: 34px;
    text-align: center;
    margin: 10px 0 18px;
    color: #fff;
    min-height: 44px;
}
.math-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.math-opt {
    padding: 18px 0;
    border-radius: var(--radius);
    border: 1px solid var(--border-strong);
    background: rgba(255, 255, 255, 0.03);
    color: #fff;
    font-family: 'Sora', sans-serif;
    font-weight: 700;
    font-size: 22px;
    cursor: pointer;
    transition: transform 0.12s ease, border-color 0.12s ease, background 0.12s ease;
}
.math-opt:hover { transform: translateY(-3px); border-color: var(--primary); background: var(--primary-soft); }
.math-opt.wrong { animation: math-shake 0.3s ease; border-color: #ff4d6d; }
@keyframes math-shake { 0%,100%{transform:translateX(0)} 25%{transform:translateX(-6px)} 75%{transform:translateX(6px)} }
.math-msg { margin: 16px 0 14px; text-align: center; font-size: 14px; color: var(--muted); min-height: 20px; }
.math-msg b { color: #fff; }

@media (max-width: 560px) {
    .arcade-grid { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {
    .arcade-overlay, .arcade-modal, .arcade-card, .mem-pad, .aim-target,
    .click-zone, .math-opt, .dp { transition: none; animation: none; }
}

/* ===== "Wo kaufen?"-Box & Deal-Buttons ===== */
.buy-box {
    margin: 30px 0;
    padding: 22px 24px;
    border-radius: var(--radius);
    border: 1px solid var(--border-strong);
    background:
        radial-gradient(120% 160% at 0% 0%, var(--primary-soft), transparent 60%),
        radial-gradient(120% 160% at 100% 100%, var(--secondary-soft), transparent 60%),
        rgba(255, 255, 255, 0.03);
}
.buy-head {
    font-family: 'Sora', sans-serif;
    font-weight: 800;
    font-size: 18px;
    margin-bottom: 14px;
}
.buy-links { display: flex; flex-wrap: wrap; gap: 10px; }
.buy-chip {
    display: inline-flex;
    align-items: center;
    padding: 9px 16px;
    border-radius: 999px;
    border: 1px solid var(--border-strong);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text);
    font-weight: 700;
    font-size: 14px;
}
.buy-note { margin: 14px 0 0; font-size: 13px; color: var(--faint); }
/* "Erhältlich bei"-Hinweis in den Deal-Karten */
.deal-where {
    display: inline-flex;
    align-items: center;
    margin-top: 10px;
    font-size: 13px;
    font-weight: 700;
    color: var(--muted);
    white-space: nowrap;
}

/* ===== Artikel-Inhaltsverzeichnis ===== */
.toc {
    position: fixed;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 60;
    max-height: 76vh;
    overflow: auto;
}
.toc-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.toc a {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    padding: 5px 4px;
    text-decoration: none;
    color: var(--faint);
}
.toc a::after {
    content: '';
    flex: 0 0 auto;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    border: 2px solid var(--border-strong);
    background: transparent;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.toc .toc-tx {
    max-width: 0;
    overflow: hidden;
    white-space: nowrap;
    opacity: 0;
    font-size: 12.5px;
    font-weight: 600;
    text-align: right;
    transition: max-width 0.25s ease, opacity 0.2s ease, padding 0.2s ease;
}
.toc:hover .toc-tx,
.toc a.active .toc-tx {
    max-width: 220px;
    opacity: 1;
    padding: 3px 11px;
    background: var(--surface-solid, #15151f);
    border: 1px solid var(--border);
    border-radius: 8px;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.45);
}
.toc a:hover { color: var(--text); }
.toc a:hover::after { border-color: var(--secondary); }
.toc a.active { color: var(--text); }
.toc a.active::after {
    background: var(--primary);
    border-color: var(--primary);
    transform: scale(1.3);
    box-shadow: 0 0 10px var(--primary);
}
@media (max-width: 1099px) { .toc { display: none; } }

/* Mobile/Tablet: aufklappbare Inhalts-Box */
.toc-inline {
    margin: 4px 0 26px;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius);
    background: var(--surface);
    overflow: hidden;
}
.toc-inline summary {
    cursor: pointer;
    list-style: none;
    padding: 13px 16px;
    font-family: 'Sora', sans-serif;
    font-weight: 800;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.toc-inline summary::-webkit-details-marker { display: none; }
.toc-inline summary::after { content: '▾'; color: var(--muted); transition: transform 0.2s ease; }
.toc-inline[open] summary::after { transform: rotate(180deg); }
.toc-inline ul { list-style: none; margin: 0; padding: 0 8px 10px; }
.toc-inline li a {
    display: block;
    padding: 9px 14px;
    border-radius: 8px;
    color: var(--muted);
    text-decoration: none;
    font-size: 14.5px;
    border-left: 2px solid transparent;
}
.toc-inline li a:hover { color: var(--text); background: rgba(255, 255, 255, 0.04); }
.toc-inline li a.active { color: var(--text); background: var(--primary-soft); border-left-color: var(--primary); }
.toc-inline .toc-tx { max-width: none; opacity: 1; white-space: normal; text-align: left; }
@media (min-width: 1100px) { .toc-inline { display: none; } }
@media (prefers-reduced-motion: reduce) {
    .toc .toc-tx, .toc a::after, .toc-inline summary::after { transition: none; }
}

/* ===== Merkliste / Bookmarks ===== */
.bookmark-bar {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.page-header .bookmark-bar {
    justify-content: center;
    margin-top: 22px;
}
.article .bookmark-bar {
    margin: 0 0 22px;
}
.bm-toggle, .bm-open {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 16px;
    border-radius: 999px;
    border: 1px solid var(--border-strong);
    background: rgba(255, 255, 255, 0.04);
    color: var(--muted);
    font-family: 'Sora', sans-serif;
    font-weight: 700;
    font-size: 13.5px;
    cursor: pointer;
    transition: transform 0.15s ease, border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}
.bm-toggle:hover, .bm-open:hover { transform: translateY(-2px); color: var(--text); border-color: var(--primary); }
.bm-toggle.active {
    color: #fff;
    border-color: transparent;
    background: var(--gradient);
    box-shadow: 0 8px 22px rgba(124, 92, 255, 0.4);
}
.bm-overlay {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(8, 8, 16, 0.72);
    backdrop-filter: blur(6px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}
.bm-overlay.show { opacity: 1; pointer-events: auto; }
.bm-modal {
    position: relative;
    width: min(440px, 100%);
    padding: 26px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-strong);
    background: var(--surface-solid, #15151f);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
    transform: translateY(12px) scale(0.97);
    transition: transform 0.2s ease;
}
.bm-overlay.show .bm-modal { transform: translateY(0) scale(1); }
.bm-modal h3 { margin: 6px 0 18px; font-size: 22px; }
.bm-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid var(--border-strong);
    background: rgba(255, 255, 255, 0.04);
    color: var(--muted);
    cursor: pointer;
    font-size: 15px;
}
.bm-close:hover { color: var(--text); border-color: var(--accent); }
.bm-list { display: flex; flex-direction: column; gap: 8px; max-height: 60vh; overflow-y: auto; }
.bm-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 4px 4px 4px 14px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.03);
}
.bm-item:hover { border-color: var(--border-strong); }
.bm-link {
    flex: 1;
    color: var(--text);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    padding: 8px 0;
}
.bm-link:hover { color: var(--secondary); }
.bm-rm {
    flex: 0 0 32px;
    height: 32px;
    border-radius: 8px;
    border: 1px solid var(--border-strong);
    background: rgba(255, 255, 255, 0.04);
    color: var(--muted);
    cursor: pointer;
    font-size: 13px;
}
.bm-rm:hover { color: #fff; border-color: var(--accent); background: rgba(255, 77, 141, 0.16); }
.bm-empty { color: var(--muted); font-size: 14px; line-height: 1.6; margin: 4px 0; }
@media (prefers-reduced-motion: reduce) {
    .bm-overlay, .bm-modal, .bm-toggle, .bm-open { transition: none; }
}

/* ===== Gaming-Quiz ===== */
.quiz-overlay {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(8, 8, 16, 0.72);
    backdrop-filter: blur(6px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}
.quiz-overlay.show { opacity: 1; pointer-events: auto; }
.quiz-modal {
    position: relative;
    width: min(500px, 100%);
    padding: 26px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-strong);
    background: var(--surface-solid, #15151f);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
    transform: translateY(12px) scale(0.97);
    transition: transform 0.2s ease;
}
.quiz-overlay.show .quiz-modal { transform: translateY(0) scale(1); }
.quiz-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid var(--border-strong);
    background: rgba(255, 255, 255, 0.04);
    color: var(--muted);
    cursor: pointer;
    font-size: 15px;
}
.quiz-close:hover { color: var(--text); border-color: var(--accent); }
.quiz-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 10px 0 8px;
    font-size: 13px;
    color: var(--muted);
    font-weight: 700;
}
.quiz-barwrap {
    height: 6px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.08);
    overflow: hidden;
    margin-bottom: 20px;
}
.quiz-bar {
    display: block;
    height: 100%;
    width: 0;
    border-radius: 6px;
    background: var(--gradient);
    transition: width 0.35s ease;
}
.quiz-q {
    font-family: 'Sora', sans-serif;
    font-weight: 800;
    font-size: 19px;
    line-height: 1.35;
    margin-bottom: 18px;
}
.quiz-opts { display: flex; flex-direction: column; gap: 10px; }
.quiz-opt {
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: left;
    padding: 13px 15px;
    border-radius: var(--radius);
    border: 1px solid var(--border-strong);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.12s ease, border-color 0.15s ease, background 0.15s ease;
}
.quiz-opt:not(:disabled):hover { transform: translateX(3px); border-color: var(--primary); background: var(--primary-soft); }
.quiz-letter {
    flex: 0 0 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
    font-family: 'Sora', sans-serif;
    font-weight: 800;
    font-size: 13px;
    color: var(--muted);
}
.quiz-opt.correct {
    border-color: var(--success);
    background: rgba(40, 217, 127, 0.14);
}
.quiz-opt.correct .quiz-letter { background: var(--success); color: #06210f; }
.quiz-opt.wrong {
    border-color: var(--accent);
    background: rgba(255, 77, 141, 0.14);
}
.quiz-opt.wrong .quiz-letter { background: var(--accent); color: #2a0512; }
.quiz-opt:disabled { cursor: default; opacity: 0.92; }
.quiz-expl {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    margin-top: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.5;
    transition: max-height 0.3s ease, opacity 0.3s ease, margin-top 0.3s ease;
}
.quiz-expl.show { max-height: 160px; opacity: 1; margin-top: 14px; }
.quiz-next { width: 100%; margin-top: 16px; justify-content: center; }
.quiz-next[hidden] { display: none; }
/* Ergebnis */
.quiz-result { text-align: center; padding: 6px 0 2px; }
.quiz-medal { font-size: 56px; line-height: 1; margin-bottom: 8px; }
.quiz-score { font-family: 'Sora', sans-serif; font-weight: 800; font-size: 24px; }
.quiz-reward { color: var(--secondary); font-weight: 700; margin: 8px 0 20px; }
.quiz-again { width: 100%; justify-content: center; }
@media (prefers-reduced-motion: reduce) {
    .quiz-overlay, .quiz-modal, .quiz-bar, .quiz-expl, .quiz-opt { transition: none; }
}

/* ===== Tägliches Glücksrad ===== */
.wheel-overlay {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(8, 8, 16, 0.72);
    backdrop-filter: blur(6px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}
.wheel-overlay.show { opacity: 1; pointer-events: auto; }
.wheel-modal {
    position: relative;
    width: min(380px, 100%);
    padding: 26px;
    text-align: center;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-strong);
    background: var(--surface, #12121f);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
    transform: translateY(12px) scale(0.97);
    transition: transform 0.2s ease;
}
.wheel-overlay.show .wheel-modal { transform: translateY(0) scale(1); }
.wheel-modal h3 { margin: 6px 0 18px; font-size: 22px; }
.wheel-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.05);
    color: var(--muted);
    cursor: pointer;
    font-size: 14px;
    transition: color 0.15s ease, border-color 0.15s ease;
}
.wheel-close:hover { color: #fff; border-color: var(--primary); }
.wheel-stage {
    position: relative;
    width: 240px;
    height: 240px;
    margin: 0 auto 8px;
}
.wheel-pointer {
    position: absolute;
    top: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 11px solid transparent;
    border-right: 11px solid transparent;
    border-top: 18px solid var(--accent, #ffb547);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
    z-index: 3;
}
.wheel-disc {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 6px solid rgba(255, 255, 255, 0.12);
    box-shadow: inset 0 0 0 2px rgba(0, 0, 0, 0.25), 0 12px 36px rgba(0, 0, 0, 0.45);
    will-change: transform;
}
.wheel-disc::after {
    content: "🎮";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    background: var(--surface, #12121f);
    border: 2px solid rgba(255, 255, 255, 0.2);
    z-index: 2;
}
.wheel-label {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    transform-origin: 0 0;
}
.wl-tx {
    position: absolute;
    transform-origin: center;
    font-family: 'Sora', sans-serif;
    font-weight: 800;
    font-size: 15px;
    color: #fff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.55);
    white-space: nowrap;
    /* zentriert den Text um seinen Ankerpunkt */
    margin-left: -12px;
    width: 24px;
    text-align: center;
}
.wheel-msg { margin: 14px 0 16px; font-size: 14px; color: var(--muted); min-height: 20px; }
.wheel-spin { width: 100%; }
.wheel-spin:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }

@media (prefers-reduced-motion: reduce) {
    .wheel-overlay, .wheel-modal { transition: none; }
    .wheel-disc { transition: none !important; }
}

/* ===== Hilfe-Overlay ===== */
.help-overlay {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(8, 8, 16, 0.72);
    backdrop-filter: blur(6px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}
.help-overlay.show { opacity: 1; pointer-events: auto; }
.help-modal {
    position: relative;
    width: min(520px, 100%);
    max-height: 84vh;
    overflow-y: auto;
    padding: 26px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-strong);
    background: var(--surface-solid, #15151f);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
    transform: translateY(12px) scale(0.97);
    transition: transform 0.2s ease;
}
.help-overlay.show .help-modal { transform: translateY(0) scale(1); }
.help-modal h3 { margin: 6px 0 18px; font-size: 22px; }
.help-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.05);
    color: var(--muted);
    cursor: pointer;
    font-size: 14px;
    transition: color 0.15s ease, border-color 0.15s ease;
}
.help-close:hover { color: #fff; border-color: var(--primary); }
.help-group { margin-bottom: 20px; }
.help-group:last-child { margin-bottom: 0; }
.help-grouphead {
    font-family: 'Sora', sans-serif;
    font-weight: 800;
    font-size: 13px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--faint);
    margin-bottom: 10px;
}
.help-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 9px 0;
    border-bottom: 1px solid var(--border);
}
.help-group .help-row:last-child { border-bottom: none; }
.help-key {
    flex-shrink: 0;
    min-width: 124px;
    font-family: 'Sora', sans-serif;
    font-weight: 700;
    font-size: 14px;
    color: var(--text);
}
.help-desc { font-size: 14px; color: var(--muted); line-height: 1.4; }
.help-foot { margin-top: 18px; font-size: 13px; color: var(--faint); text-align: center; }
.help-foot kbd {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--border-strong);
    border-radius: 6px;
    padding: 1px 6px;
    font-size: 12px;
}

/* ===== Seitenübergänge ===== */
.page-curtain {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: var(--bg, #0b0b11);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
body.page-leaving .page-curtain { opacity: 1; pointer-events: auto; }
body.has-pt main { animation: page-in 0.5s cubic-bezier(0.16, 1, 0.3, 1) both; }
@keyframes page-in {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
    .help-overlay, .help-modal { transition: none; }
    body.has-pt main { animation: none; }
    .page-curtain { transition: none; }
}
