/* ── Reset & Base ─────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --yellow:   #FFCB05;
    --blue:     #2A75BB;
    --red:      #E53E3E;
    --bg:       #f4f6ff;
    --surface:  #ffffff;
    --surface2: #f0f3ff;
    --border:   rgba(42,117,187,0.18);
    --text:     #1a1d2e;
    --text-2:   #4a5276;
    --shadow-sm: 0 2px 8px rgba(42,117,187,0.10);
    --shadow-md: 0 8px 32px rgba(42,117,187,0.15);
    --shadow-lg: 0 20px 60px rgba(42,117,187,0.18);
    --radius:   16px;
    --radius-sm: 8px;
    --radius-lg: 28px;
    --font-display: 'Bebas Neue', sans-serif;
    --font-body:    'Outfit', sans-serif;
    --transition:   0.22s cubic-bezier(.4,0,.2,1);
}

body.dark {
    --bg:       #0f1117;
    --surface:  #181c28;
    --surface2: #1e2335;
    --border:   rgba(255,203,5,0.14);
    --text:     #eef0fb;
    --text-2:   #9098c4;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.35);
    --shadow-md: 0 8px 32px rgba(0,0,0,0.40);
    --shadow-lg: 0 20px 60px rgba(0,0,0,0.50);
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    background-color: var(--bg);
    color: var(--text);
    min-height: 100vh;
    overflow-x: hidden;
    transition: background var(--transition), color var(--transition);
}

/* ── Animated background grid ────────────────────────────────────────────── */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 0;
    background-image:
        radial-gradient(circle at 20% 20%, rgba(255,203,5,0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(42,117,187,0.08) 0%, transparent 50%),
        linear-gradient(rgba(42,117,187,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(42,117,187,0.04) 1px, transparent 1px);
    background-size: 100% 100%, 100% 100%, 40px 40px, 40px 40px;
    pointer-events: none;
}

body.dark::before {
    background-image:
        radial-gradient(circle at 20% 20%, rgba(255,203,5,0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(42,117,187,0.07) 0%, transparent 50%),
        linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
    background-size: 100% 100%, 100% 100%, 40px 40px, 40px 40px;
}

/* ── Floating Pokéballs ───────────────────────────────────────────────────── */
.pokeballs-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}
.pokeball-float {
    position: absolute;
    display: block;
    width: auto;
    height: auto;
    aspect-ratio: 1;
    opacity: 0.05;
    animation: floatBall linear infinite;
}
.pokeball-float:nth-child(1) { width:80px;  left:5%;   top:10%; animation-duration:18s; animation-delay:0s; }
.pokeball-float:nth-child(2) { width:120px; right:8%;  top:25%; animation-duration:24s; animation-delay:4s; }
.pokeball-float:nth-child(3) { width:60px;  left:30%;  bottom:20%; animation-duration:16s; animation-delay:8s; }
.pokeball-float:nth-child(4) { width:100px; right:22%; bottom:15%; animation-duration:20s; animation-delay:2s; }
.pokeball-float:nth-child(5) { width:50px;  left:55%;  top:8%;  animation-duration:14s; animation-delay:6s; }

@keyframes floatBall {
    0%   { transform: translateY(0)   rotate(0deg);   opacity: 0.04; }
    25%  { transform: translateY(-30px) rotate(90deg);  opacity: 0.07; }
    50%  { transform: translateY(-15px) rotate(180deg); opacity: 0.04; }
    75%  { transform: translateY(-40px) rotate(270deg); opacity: 0.07; }
    100% { transform: translateY(0)   rotate(360deg); opacity: 0.04; }
}

/* ── Layout ───────────────────────────────────────────────────────────────── */
.wrap {
    position: relative;
    z-index: 1;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px 48px;
}

/* ── Chips (header meta) ─────────────────────────────────────────────────── */
.chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--surface);
    border: 1.5px solid var(--border);
    border-radius: 999px;
    padding: 6px 14px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text);
    box-shadow: var(--shadow-sm);
    transition: border-color var(--transition), box-shadow var(--transition);
}
.chip:hover { border-color: var(--yellow); box-shadow: 0 0 0 3px rgba(255,203,5,0.12); }
.chip a { color: var(--blue); text-decoration: none; font-weight: 700; }
body.dark .chip a { color: #93c5fd; }
.chip a:hover { text-decoration: underline; }

.chip-label { color: var(--text-2); font-weight: 400; }

/* Toggle switch */
.toggle-wrap { display: flex; align-items: center; gap: 8px; }
.toggle { position: relative; width: 36px; height: 20px; }
.toggle input { opacity: 0; width: 0; height: 0; }
.toggle-track {
    position: absolute; inset: 0;
    background: var(--border);
    border-radius: 999px;
    transition: background var(--transition);
    cursor: pointer;
}
.toggle input:checked + .toggle-track { background: var(--blue); }
.toggle-track::after {
    content: '';
    position: absolute;
    left: 3px; top: 3px;
    width: 14px; height: 14px;
    background: white;
    border-radius: 50%;
    transition: transform var(--transition);
    box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}
.toggle input:checked + .toggle-track::after { transform: translateX(16px); }

/* ── Hero / Header ───────────────────────────────────────────────────────── */
.hero {
    text-align: center;
    padding: 40px 0 32px;
    animation: fadeSlideDown 0.9s cubic-bezier(.4,0,.2,1) both;
}
@keyframes fadeSlideDown {
    from { opacity: 0; transform: translateY(-40px); }
    to   { opacity: 1; transform: translateY(0); }
}

.hero-logo {
    font-family: var(--font-display);
    font-size: clamp(3rem, 8vw, 6rem);
    letter-spacing: 6px;
    color: var(--yellow);
    text-shadow:
        -3px -3px 0 var(--blue),
         3px -3px 0 var(--blue),
        -3px  3px 0 var(--blue),
         3px  3px 0 var(--blue),
        0 0 40px rgba(255,203,5,0.4);
    line-height: 1.0;
}

.hero-sub {
    margin-top: 14px;
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    font-weight: 600;
    color: var(--text-2);
}

/* ── Card ─────────────────────────────────────────────────────────────────── */
.card {
    background: var(--surface);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-lg);
    animation: fadeUp 0.7s cubic-bezier(.4,0,.2,1) both;
    transition: background var(--transition), border-color var(--transition);
}
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}
.card:nth-child(2) { animation-delay: 0.1s; }
.card:nth-child(3) { animation-delay: 0.2s; }

/* ── Section heading ─────────────────────────────────────────────────────── */
.section-title {
    font-family: var(--font-display);
    font-size: 2rem;
    letter-spacing: 3px;
    color: var(--blue);
    text-align: center;
    margin-bottom: 28px;
}
body.dark .section-title { color: #93c5fd; }

/* ── Countdown ───────────────────────────────────────────────────────────── */
.countdown-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    max-width: 640px;
    margin: 0 auto 28px;
}
@media (max-width: 500px) { .countdown-grid { grid-template-columns: repeat(2, 1fr); } }

.countdown-cell {
    background: var(--surface2);
    border: 2px solid var(--yellow);
    border-radius: var(--radius);
    padding: 20px 10px;
    text-align: center;
    transition: transform var(--transition), box-shadow var(--transition);
    position: relative;
    overflow: hidden;
}
.countdown-cell::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,203,5,0.07), transparent);
    pointer-events: none;
}
.countdown-cell:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 12px 32px rgba(255,203,5,0.2);
}
.cd-num {
    font-family: var(--font-display);
    font-size: 3rem;
    color: var(--blue);
    line-height: 1;
    letter-spacing: 2px;
}
body.dark .cd-num { color: #93c5fd; }
.cd-lbl {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-2);
    margin-top: 6px;
}

/* ── Progress ────────────────────────────────────────────────────────────── */
.progress-wrap { max-width: 600px; margin: 0 auto 8px; }
.progress-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-2);
    margin-bottom: 8px;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.progress-track {
    width: 100%;
    height: 10px;
    border-radius: 999px;
    background: var(--surface2);
    border: 1.5px solid var(--border);
    overflow: hidden;
}
.progress-fill {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--red), var(--yellow));
    border-radius: 999px;
    transition: width 0.8s cubic-bezier(.4,0,.2,1);
}

/* ── Pokémon of the Day ──────────────────────────────────────────────────── */
.potd-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    padding: 16px 20px;
    background: var(--surface2);
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    margin-top: 24px;
}
.potd-info strong { color: var(--blue); }
body.dark .potd-info strong { color: #93c5fd; }
.potd-label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 2px; color: var(--text-2); font-weight: 700; }
.potd-name { font-size: 1.15rem; font-weight: 900; margin-top: 2px; }
.potd-type { font-size: 0.85rem; color: var(--text-2); }

/* Share */
.share-bar { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 7px 14px;
    border-radius: 999px;
    border: 1.5px solid var(--border);
    background: var(--surface);
    color: var(--text);
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition: border-color var(--transition), background var(--transition), transform var(--transition);
}
.share-btn:hover {
    border-color: var(--yellow);
    background: var(--yellow);
    color: #1a1d2e;
    transform: translateY(-1px);
}

/* ── Feature Cards ───────────────────────────────────────────────────────── */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}
.feature-tile {
    background: var(--surface2);
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 20px;
    text-align: center;
    transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
    position: relative;
    overflow: hidden;
}
.feature-tile::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--yellow), var(--blue));
    transform: scaleX(0);
    transition: transform var(--transition);
    transform-origin: left;
}
.feature-tile:hover {
    border-color: var(--yellow);
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}
.feature-tile:hover::after { transform: scaleX(1); }

.feature-icon { font-size: 2.8rem; margin-bottom: 12px; }
.feature-name {
    font-family: var(--font-display);
    font-size: 1.4rem;
    letter-spacing: 2px;
    color: var(--blue);
    margin-bottom: 8px;
}
body.dark .feature-name { color: #93c5fd; }
.feature-desc { font-size: 0.9rem; color: var(--text-2); line-height: 1.6; }

/* ── Shop ────────────────────────────────────────────────────────────────── */
.shop-search-bar {
    display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 24px;
}
.shop-search-bar .field { flex: 1; min-width: 200px; margin: 0; }
.shop-search-bar input {
    width: 100%; padding: 12px 16px; border: 1.5px solid var(--border);
    border-radius: var(--radius); font: inherit; background: var(--surface);
}
.shop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 18px;
}
.shop-card {
    background: var(--surface2);
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex; flex-direction: column;
    transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}
.shop-card:hover {
    border-color: var(--yellow);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.shop-card-img { aspect-ratio: 3/4; background: var(--surface); overflow: hidden; }
.shop-card-img img { width: 100%; height: 100%; object-fit: cover; }
.shop-card-placeholder {
    width: 100%; height: 100%; display: grid; place-items: center;
    font-size: 3rem; opacity: 0.35;
}
.shop-card-body { padding: 16px; display: flex; flex-direction: column; flex: 1; }
.shop-card-name {
    font-family: var(--font-display); font-size: 1.2rem; letter-spacing: 1px;
    color: var(--blue); margin-bottom: 6px;
}
body.dark .shop-card-name { color: #93c5fd; }
.shop-card-desc { font-size: 0.85rem; color: var(--text-2); line-height: 1.5; margin-bottom: 12px; flex: 1; }
.shop-card-footer { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.shop-card-price { font-weight: 900; font-size: 1.1rem; color: var(--red); }
.shop-buy-btn { padding: 8px 16px; font-size: 0.85rem; }
.shop-empty, .shop-loading, .shop-error { text-align: center; color: var(--text-2); padding: 40px 20px; grid-column: 1 / -1; }
.shop-modal-overlay {
    position: fixed; inset: 0; z-index: 9999;
    background: rgba(10, 14, 30, 0.72);
    display: grid; place-items: center; padding: 20px;
    backdrop-filter: blur(4px);
}
.shop-modal-overlay.hidden { display: none; }
.shop-modal {
    background: var(--surface);
    border: 1.5px solid var(--border);
    border-radius: calc(var(--radius) + 4px);
    max-width: 520px; width: 100%;
    max-height: 90vh; overflow: auto;
    box-shadow: var(--shadow-lg);
}
.shop-modal-head {
    display: flex; justify-content: space-between; align-items: center;
    padding: 18px 20px; border-bottom: 1.5px solid var(--border);
}
.shop-modal-head h3 { font-family: var(--font-display); font-size: 1.5rem; color: var(--blue); }
.shop-modal-close {
    border: none; background: var(--surface2); width: 36px; height: 36px;
    border-radius: 999px; cursor: pointer; font-size: 1.2rem;
}
.shop-modal-body { padding: 20px; }
.shop-modal-product { display: flex; gap: 16px; align-items: center; margin-bottom: 20px; }
.shop-modal-product img {
    width: 80px; height: 106px; object-fit: cover; border-radius: 10px;
    border: 1.5px solid var(--border);
}
.shop-modal-product img.hidden { display: none; }
.shop-modal-product-info strong { display: block; font-size: 1.05rem; }
.shop-modal-product-info span { color: var(--red); font-weight: 800; }
.payment-options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 12px 0 20px; }
.payment-option {
    display: flex; align-items: center; gap: 8px;
    padding: 12px 14px; border: 1.5px solid var(--border);
    border-radius: var(--radius); cursor: pointer; font-weight: 700; font-size: 0.9rem;
    transition: border-color var(--transition), background var(--transition);
}
.payment-option:has(input:checked) { border-color: var(--yellow); background: rgba(255,203,5,0.12); }
.payment-option input { accent-color: var(--blue); }

/* ── Kundenkonto (see account.css) ───────────────────────────────────────── */
.account-chip-btn {
    border: none; background: transparent; font: inherit; font-weight: 700;
    color: var(--blue); cursor: pointer; padding: 0;
}
body.dark .account-chip-btn { color: #93c5fd; }
.shop-guest-hint { font-size: 0.88rem; color: var(--text-2); margin-bottom: 12px; }
.shop-total-row {
    display: flex; justify-content: space-between; align-items: center;
    font-weight: 800; margin: 16px 0; padding-top: 12px;
    border-top: 1.5px solid var(--border);
}
@media (max-width: 480px) { .payment-options { grid-template-columns: 1fr; } }



/* ── Hidden background music player ─────────────────────────────────────── */
#pp-yt-player-wrap {
    position: fixed;
    left: -9999px;
    top: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    z-index: -1;
}

/* ── Contact Form ────────────────────────────────────────────────────────── */
.alert {
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
    font-weight: 700;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
    border-left: 4px solid;
}
.alert-success { background: rgba(22,163,74,0.10); border-color: #16a34a; color: #16a34a; }
.alert-error   { background: rgba(239,68,68,0.10);  border-color: var(--red); color: var(--red); }

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }

.field { display: flex; flex-direction: column; gap: 6px; }
.field.span-full { grid-column: 1 / -1; }

.field label {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-2);
}

.field input,
.field textarea {
    padding: 12px 16px;
    background: var(--surface2);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text);
    transition: border-color var(--transition), box-shadow var(--transition);
    outline: none;
}
.field input:focus,
.field textarea:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(42,117,187,0.12);
}
.field textarea { min-height: 130px; resize: vertical; }

/* Honeypot */
.hp-field { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }

/* ── Captcha ─────────────────────────────────────────────────────────────── */
.captcha-panel {
    background: var(--surface2);
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 20px;
}
.captcha-header {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-2);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.captcha-q {
    font-weight: 700;
    font-size: 1rem;
    color: var(--blue);
    text-align: center;
    margin-bottom: 12px;
}
body.dark .captcha-q { color: #93c5fd; }
.captcha-pokemon-name {
    text-align: center;
    font-family: var(--font-display);
    font-size: 1.8rem;
    letter-spacing: 3px;
    color: var(--red);
    margin: 8px 0 12px;
}
canvas#captchaCanvas {
    display: block;
    margin: 0 auto 12px;
    border-radius: var(--radius-sm);
    border: 1.5px solid var(--yellow);
    max-width: 100%;
}

.captcha-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 12px;
}
.mode-tabs {
    display: flex;
    gap: 6px;
    margin-left: auto;
}
.mode-tab {
    padding: 5px 12px;
    border-radius: 999px;
    border: 1.5px solid var(--border);
    background: var(--surface);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-2);
    text-decoration: none;
    transition: all var(--transition);
}
.mode-tab:hover,
.mode-tab.active { border-color: var(--blue); color: var(--blue); background: rgba(42,117,187,0.06); }
body.dark .mode-tab:hover,
body.dark .mode-tab.active { color: #93c5fd; border-color: #93c5fd; }

/* ── Buttons ─────────────────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 999px;
    border: none;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
}
.btn-outline {
    background: transparent;
    border: 1.5px solid var(--border);
    color: var(--text-2);
}
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }

.btn-primary {
    background: var(--blue);
    color: white;
    padding: 14px 48px;
    font-size: 1rem;
    font-family: var(--font-display);
    letter-spacing: 3px;
    font-weight: 400;
    box-shadow: 0 6px 24px rgba(42,117,187,0.35);
}
.btn-primary:hover {
    background: #1e5fa0;
    transform: translateY(-2px);
    box-shadow: 0 10px 32px rgba(42,117,187,0.5);
}
.btn-center { display: flex; justify-content: center; }

/* ── Newsletter ──────────────────────────────────────────────────────────── */
.newsletter-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 10px;
}
.newsletter-row input { flex: 1; min-width: 200px; }

/* ── Footer ──────────────────────────────────────────────────────────────── */
footer {
    text-align: center;
    padding: 24px 0;
    color: var(--text-2);
    font-size: 0.85rem;
    position: relative;
    z-index: 1;
}
footer a { color: var(--blue); font-weight: 700; text-decoration: none; }
body.dark footer a { color: #93c5fd; }
footer a:hover { text-decoration: underline; }
.footer-online { display:flex; align-items:center; justify-content:center; gap:8px; flex-wrap:wrap; font-weight:600; }
.footer-sep { opacity:0.5; }
.footer-legal { display:flex; align-items:center; justify-content:center; gap:10px; flex-wrap:wrap; margin-top:10px; font-weight:700; }
.footer-legal a { color:var(--blue); text-decoration:none; font-size:0.88rem; }
body.dark .footer-legal a { color:#93c5fd; }
.footer-legal a:hover { text-decoration:underline; }
.live-dot-sm { width:8px; height:8px; border-radius:50%; background:#22c55e; box-shadow:0 0 0 3px rgba(34,197,94,.2); display:inline-block; }
.footer-online.is-live .live-dot-sm { animation:pulse-dot 1.8s infinite; }
@keyframes pulse-dot { 0%,100%{transform:scale(1);opacity:1} 50%{transform:scale(1.1);opacity:.75} }

/* ── Loader overlay ──────────────────────────────────────────────────────── */
.loader-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(8px);
    display: none;
    place-items: center;
}
.loader-box {
    background: var(--surface);
    border: 1.5px solid var(--yellow);
    border-radius: var(--radius-lg);
    padding: 36px 40px;
    text-align: center;
    max-width: 300px;
    box-shadow: var(--shadow-lg);
}
.spinner {
    width: 44px; height: 44px;
    border: 4px solid var(--border);
    border-top-color: var(--blue);
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
    margin: 0 auto 14px;
}
@keyframes spin { to { transform: rotate(360deg); } }
.loader-title { font-family: var(--font-display); font-size: 1.6rem; letter-spacing: 2px; color: var(--blue); }
body.dark .loader-title { color: #93c5fd; }
.loader-sub { font-size: 0.85rem; color: var(--text-2); margin-top: 6px; }

/* ── Utilities ───────────────────────────────────────────────────────────── */
.sr-only { position:absolute; width:1px; height:1px; padding:0; overflow:hidden; clip:rect(0,0,0,0); border:0; }
@media (max-width: 768px) { .card { padding: 24px 18px; } }
