* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.game-container {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    padding: 30px;
    max-width: 1200px;
    width: 100%;
}

.header {
    text-align: center;
    margin-bottom: 20px;
}

h1 {
    color: #333;
    font-size: 2.5em;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.tagline {
    color: #666;
    font-size: 1.2em;
}

.game-info {
    display: flex;
    justify-content: space-around;
    background: linear-gradient(135deg, #fff5e6 0%, #ffe6cc 100%);
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 1.1em;
    font-weight: bold;
    flex-wrap: wrap;
    gap: 10px;
}

.info-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.label {
    color: #8B4513;
    font-size: 0.9em;
}

.value {
    color: #D2691E;
    font-size: 1.3em;
}

canvas {
    display: block;
    width: 100%;
    height: 500px;
    border: 3px solid #8B4513;
    border-radius: 10px;
    cursor: pointer;
    background: linear-gradient(to bottom, #f5deb3 0%, #deb887 100%);
    position: relative;
}

.controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.btn {
    background: linear-gradient(135deg, #FF6B6B 0%, #FF8E53 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 1em;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.6);
}

.btn:active {
    transform: translateY(0);
}

.instructions {
    margin-top: 20px;
    padding: 20px;
    background: linear-gradient(135deg, #fff5e6 0%, #ffe6cc 100%);
    border-radius: 10px;
}

.instructions h3 {
    color: #8B4513;
    text-align: center;
    margin-bottom: 15px;
}

.hints-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.hint-item {
    background: white;
    padding: 15px;
    border-radius: 10px;
    border-left: 4px solid #FF6B6B;
    color: #666;
    line-height: 1.6;
}

.hint-item strong {
    color: #8B4513;
    display: block;
    margin-bottom: 5px;
}

/* Responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 2em;
    }
    
    .game-info {
        flex-direction: column;
    }
    
    canvas {
        height: 400px;
    }
    
    .controls {
        flex-direction: column;
    }
    
    .hints-grid {
        grid-template-columns: 1fr;
    }
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}
