:root {
    --primary: #22c55e;
    --primary-glow: rgba(34, 197, 94, 0.4);
    --bg-dark: #020617;
    --glass: rgba(255, 255, 255, 0.03);
    --border: rgba(255, 255, 255, 0.1);
}

body {
    background: #020617;
    color: #f1f5f9;
    font-family: 'Inter', sans-serif;
    margin: 0;
    min-height: 100vh;
    overflow-x: hidden;
}

#canvas-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.header {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(10px);
    position: relative;
    background: rgba(2, 6, 23, 0.5);
}

.back-btn {
    position: absolute;
    left: 20px;
    color: #94a3b8;
    text-decoration: none;
    font-size: 1.2rem;
}

.container {
    max-width: 450px;
    margin: auto;
    padding: 20px;
    position: relative;
}

.glass {
    background: var(--glass);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 24px;
    margin-bottom: 20px;
    backdrop-filter: blur(12px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.total-btc {
    font-family: 'JetBrains Mono', monospace;
    font-size: 2.2rem;
    color: var(--primary);
    font-weight: 800;
    text-shadow: 0 0 20px var(--primary-glow);
    margin-top: 8px;
}

@keyframes btc-pulse {
    0% { text-shadow: 0 0 10px var(--primary-glow); transform: scale(1); }
    50% { text-shadow: 0 0 30px var(--primary-glow); transform: scale(1.02); }
    100% { text-shadow: 0 0 10px var(--primary-glow); transform: scale(1); }
}

.label-small {
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 2px;
    color: #64748b;
    font-weight: 700;
}

.status-pill {
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.status-running { background: rgba(34, 197, 94, 0.1); color: #4ade80; border: 1px solid rgba(34, 197, 94, 0.2); }
.status-idle { background: rgba(239, 68, 68, 0.1); color: #f87171; border: 1px solid rgba(239, 68, 68, 0.2); }

.progress {
    height: 12px;
    background: #1e293b;
    border-radius: 10px;
    overflow: hidden;
    margin-top: 15px;
    border: 1px solid var(--border);
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #16a34a, #4ade80);
    box-shadow: 0 0 15px var(--primary-glow);
    position: relative;
    width: 0%;
}

@keyframes slide-glow {
    0% { filter: brightness(1); }
    50% { filter: brightness(1.5); }
    100% { filter: brightness(1); }
}

.terminal {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    color: #4ade80;
    height: 110px;
    overflow-y: hidden;
    line-height: 1.6;
    border-left: 2px solid var(--primary);
    padding-left: 10px;
    background: rgba(0,0,0,0.2);
}

.btn {
    width: 100%;
    padding: 18px;
    border: none;
    border-radius: 18px;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: white;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn:disabled { background: #334155; opacity: 0.6; cursor: not-allowed; }

.countdown { margin-top: 10px; font-weight: 700; color: #fbbf24; text-align: center; font-family: 'JetBrains Mono'; }

.dot { height: 8px; width: 8px; background-color: #22c55e; border-radius: 50%; display: inline-block; animation: blink 1.5s infinite; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }