/* ══════════════════════════════════════════════════════════
   base.css — French Tarot | MagmaCrunch Media © 2026
   Global styles, CSS variables, CRT scanlines, buttons
   ══════════════════════════════════════════════════════════ */

:root {
    --mc-back-color: var(--gold);
    --mc-back-glow: 0 0 8px #ffff00;
    --bg-dark: #0a0612;
    --bg-mid: #150b29;
    --bg-light: #1a0a2a;
    --accent: #00e5ff;
    --accent-glow: rgba(0, 229, 255, 0.4);
    --gold: #ffd700;
    --gold-glow: rgba(255, 215, 0, 0.4);
    --rose: #ff2d78;
    --rose-glow: rgba(255, 45, 120, 0.4);
    --green: #39ff6e;
    --green-glow: rgba(57, 255, 110, 0.4);
    --white: #f0ead8;
    --black: #080808;
    --font-pixel: 'Press Start 2P', monospace;
    --font-mono: 'VT323', monospace;
    --card-face-bg: #f0ead8;
    --card-back-bg: #1e4d2b;
    --fc-red: #cc0000;
    --fc-black: #111111;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

body {
    background: var(--bg-dark);
    color: var(--white);
    font-family: var(--font-pixel);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* CRT scanlines overlay */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0,0,0,0.08) 2px,
        rgba(0,0,0,0.08) 4px
    );
    pointer-events: none;
    z-index: 10000;
}

/* Container */
.container {
    display: flex;
    flex-direction: column;
    height: 100vh;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 12px;
    position: relative;
}


/* Buttons */
button {
    font-family: var(--font-pixel);
    background: transparent;
    border: 2px solid var(--accent);
    color: var(--accent);
    padding: 10px 16px;
    cursor: pointer;
    transition: all 0.15s;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
button:hover {
    background: var(--accent);
    color: var(--bg-dark);
    box-shadow: 0 0 16px var(--accent-glow);
}
button:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

/* Primary button */
button.primary {
    background: var(--accent);
    color: var(--bg-dark);
}
button.primary:hover {
    background: #fff;
    box-shadow: 0 0 20px var(--accent-glow);
}

/* Secondary button */
button.secondary {
    border-color: var(--gold);
    color: var(--gold);
}
button.secondary:hover {
    background: var(--gold);
    color: var(--bg-dark);
    box-shadow: 0 0 16px var(--gold-glow);
}

/* Danger button */
button.danger {
    border-color: var(--rose);
    color: var(--rose);
}
button.danger:hover {
    background: var(--rose);
    color: var(--bg-dark);
    box-shadow: 0 0 16px var(--rose-glow);
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 3px; }
