/* public/css/style.css */
body {
    margin: 0;
    padding: 20px;
    font-family: Arial, sans-serif;
    background: #1a1a1a;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    user-select: none;
}

h1 {
    margin: 0 0 20px 0;
    font-size: 2em;
    text-align: center;
}

.status {
    margin-bottom: 20px;
    padding: 10px;
    border-radius: 5px;
    font-weight: bold;
}

.connected { background: #2d5a2d; }
.disconnected { background: #5a2d2d; }

.game-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    max-width: 400px;
    width: 100%;
    aspect-ratio: 1;
}

.game-button {
    border: none;
    border-radius: 15px;
    font-size: 1.2em;
    font-weight: bold;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    cursor: pointer;
    transition: all 0.1s ease;
    position: relative;
    overflow: hidden;
}

.game-button:active {
    transform: scale(0.95);
}

.game-button.matched {
    animation: flash 0.3s ease-out;
}

@keyframes flash {
    0% { transform: scale(1); box-shadow: 0 0 0 0 white; }
    50% { transform: scale(1.05); box-shadow: 0 0 20px 5px white; }
    100% { transform: scale(1); box-shadow: 0 0 0 0 white; }
}

/* Button colors */
.btn-0 { background: linear-gradient(135deg, #ff6b6b, #ee5a5a); }
.btn-1 { background: linear-gradient(135deg, #4ecdc4, #45b7aa); }
.btn-2 { background: linear-gradient(135deg, #45b7d1, #3a9bc1); }
.btn-3 { background: linear-gradient(135deg, #96ceb4, #85c1a3); }
.btn-4 { background: linear-gradient(135deg, #feca57, #fd9644); }
.btn-5 { background: linear-gradient(135deg, #ff9ff3, #f368e0); }
.btn-6 { background: linear-gradient(135deg, #54a0ff, #2e86de); }
.btn-7 { background: linear-gradient(135deg, #5f27cd, #341f97); }
.btn-8 { background: linear-gradient(135deg, #00d2d3, #01a3a4); }

.instructions {
    margin-top: 20px;
    text-align: center;
    opacity: 0.8;
    font-size: 0.9em;
    max-width: 300px;
} 