@font-face {
    font-family: 'NotoSansEthiopic';
    src: url('NotoSansEthiopic-VariableFont_wdth,wght.ttf') format('truetype');
}

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

body {
    font-family: 'Comic Sans MS', 'Arial Rounded MT Bold', 'Helvetica Rounded', Arial, sans-serif;
    background: linear-gradient(135deg, #FF6B9D 0%, #FFA07A 25%, #FFD93D 50%, #6BCF7F 75%, #4ECDC4 100%);
    background-size: 400% 400%;
    animation: gradientFlow 15s ease infinite;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    overflow: hidden;
}

@keyframes gradientFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.game-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
    animation: fadeIn 0.8s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

#gameCanvas {
    background: linear-gradient(180deg, #E3F2FD 0%, #FFFACD 100%);
    border: 8px solid #FF6B9D;
    border-radius: 25px;
    box-shadow: 0 15px 40px rgba(255, 107, 157, 0.4),
                0 0 0 4px #FFF,
                0 0 0 8px #FFD93D;
    cursor: grab;
    transition: transform 0.2s ease;
    touch-action: none;
}

#gameCanvas:active {
    cursor: grabbing;
}

#gameCanvas:hover {
    transform: scale(1.01);
}

.instructions {
    background: linear-gradient(135deg, #FFFFFF 0%, #FFF9E6 100%);
    padding: 30px 35px;
    border-radius: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15),
                0 0 0 4px #FFD93D,
                0 0 0 8px #4ECDC4;
    max-width: 800px;
    text-align: center;
    border: 4px solid #FF6B9D;
}

.instructions h2 {
    color: #FF6B9D;
    font-size: 32px;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(255, 107, 157, 0.3);
    font-weight: bold;
}

.instructions p {
    color: #2C3E50;
    line-height: 1.8;
    margin: 10px 0;
    font-size: 18px;
    font-weight: 600;
}
