/* Little Dots Web Game Styles */

* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    font-family: 'Arial', sans-serif;
}

body {
    overflow: hidden;
    background-color: #000;
    width: 100vw;
    height: 100vh;
    position: relative;
    touch-action: none; /* Prevent browser zoom gestures */
}

canvas {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
}

/* Style for warning message */
.warning-message {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    max-width: 80%;
    z-index: 1000;
}

/* Loading spinner */
.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top: 4px solid #FF69B4;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Game buttons */
.game-button {
    background-color: #FF69B4;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 15px 30px;
    font-size: 24px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.game-button:hover {
    background-color: #FF5CAA;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .game-button {
        padding: 12px 24px;
        font-size: 20px;
    }
} 