/* Configuration: Tile Sizes handled in JS for Canvas */
:root {
    --bg: #111111;
    --pad-base: #1e1e1e;
    --pad-highlight: #2a2a2a;
    --active-color: #00f3ff;
    /* Techno Cyan */
}

body {
    background: var(--bg);
    background-image: radial-gradient(circle at 50% 50%, #1a1a1a 0%, #000 100%);
    min-height: 100vh;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    font-family: 'Segoe UI', sans-serif;
}

#canvas-container {
    width: 100vw;
    height: 100vh;
    display: block;
}

canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    touch-action: none;
    /* Disable native touch gestures/scrolling */
    /* Optional: can add CSS cursor here if needed */
    cursor: crosshair;
}

#whatsapp-btn {
    position: fixed;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;

    background: #111;
    color: #F3E8EE;
    border: 2px solid #F3E8EE;

    padding: 14px 30px;
    border-radius: 4px;
    /* Slightly rounded, matching tile vibe */

    font-family: 'Courier New', Courier, monospace;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-decoration: none;
    white-space: nowrap;

    transition: all 0.2s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);

    /* Subtle breathing animation to tempt interaction */
    animation: btn-pulse 6s infinite ease-in-out;
}

@keyframes btn-pulse {
    0% {
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
        transform: translateX(-50%) scale(1);
    }

    50% {
        box-shadow: 0 0 25px rgba(243, 232, 238, 0.3);
        transform: translateX(-50%) scale(1.02);
    }

    100% {
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
        transform: translateX(-50%) scale(1);
    }
}

#whatsapp-btn:hover {
    background: #F3E8EE;
    color: #111;
    box-shadow: 0 0 30px rgba(243, 232, 238, 0.6), 0 0 10px rgba(243, 232, 238, 0.8) inset;
    transform: translateX(-50%) translateY(-2px) scale(1.05);
    animation: none;
    /* Stop pulse on hover to focus */
    cursor: pointer;
}

#whatsapp-btn:active {
    transform: translateX(-50%) translateY(0) scale(0.98);
}