:root {
    /* Futuristic Silver - Light */
    --bg-color: #e2e8f0;
    --text-color: #334155;
    --card-bg: linear-gradient(135deg, #f8fafc 0%, #cbd5e1 100%);
    --card-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    --card-border: 1px solid rgba(255, 255, 255, 0.8);
    
    --metal-gradient: linear-gradient(180deg, #ffffff 0%, #94a3b8 100%);
    --metal-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    
    --number-bg: linear-gradient(135deg, #f1f5f9 0%, #94a3b8 100%);
    --number-text: #1e293b;
    --number-border: 1px solid rgba(255, 255, 255, 0.5);
    
    --button-gradient: linear-gradient(135deg, #475569 0%, #1e293b 100%);
    --button-text: #f8fafc;
    --button-shadow: 0 0 15px rgba(71, 85, 105, 0.4);
    --accent-glow: 0 0 10px rgba(255, 255, 255, 0.8);
    
    /* Robot Day - Silver */
    --robot-metal: linear-gradient(180deg, #ffffff 0%, #94a3b8 100%);
    --robot-accent: #cbd5e1;
    --robot-core: #6366f1;
    --robot-glow: rgba(212, 175, 55, 0.2);
    
    --transition-speed: 0.5s;
    --font-main: 'Syncopate', sans-serif; /* A futuristic-feeling font */
}

:root[data-theme="dark"] {
    /* Futuristic Silver - Dark (Chromium) */
    --bg-color: #020617;
    --text-color: #cbd5e1;
    --card-bg: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    --card-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
    --card-border: 1px solid rgba(148, 163, 184, 0.2);
    
    --metal-gradient: linear-gradient(180deg, #94a3b8 0%, #1e293b 100%);
    
    --number-bg: linear-gradient(135deg, #334155 0%, #0f172a 100%);
    --number-text: #f8fafc;
    --number-border: 1px solid rgba(148, 163, 184, 0.3);
    
    --button-gradient: linear-gradient(135deg, #94a3b8 0%, #475569 100%);
    --button-text: #020617;
    --button-shadow: 0 0 20px rgba(148, 163, 184, 0.4);
    --accent-glow: 0 0 15px rgba(148, 163, 184, 0.6);

    /* Robot Night - Shiny Gold */
    --robot-metal: linear-gradient(180deg, #fbbf24 0%, #b45309 100%);
    --robot-accent: #f59e0b;
    --robot-core: #fef3c7;
    --robot-glow: rgba(251, 191, 36, 0.6);
}

body {
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem; /* Space between robot and generator */
    min-height: 100vh;
    margin: 0;
    padding: 2rem;
    background-color: var(--bg-color);
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(148, 163, 184, 0.1) 0%, transparent 70%),
        radial-gradient(circle at 80% 70%, rgba(148, 163, 184, 0.1) 0%, transparent 70%);
    color: var(--text-color);
    transition: background-color var(--transition-speed), color var(--transition-speed);
    overflow-x: hidden;
}

futuristic-robot {
    display: block;
    width: 300px;
    height: 450px;
    z-index: 2;
    flex-shrink: 0;
}

@media (max-width: 900px) {
    body {
        flex-direction: column;
        gap: 2rem;
        overflow-y: auto;
    }
    futuristic-robot {
        width: 200px;
        height: 300px;
    }
}

/* Scanline effect */
body::after {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.05) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.01), rgba(0, 255, 0, 0.005), rgba(0, 0, 255, 0.01));
    background-size: 100% 2px, 3px 100%;
    pointer-events: none;
    z-index: 5;
}

toto-generator {
    display: block;
    z-index: 2;
}

theme-switcher {
    position: fixed;
    top: 2rem;
    right: 2rem;
    z-index: 10;
}
