:root {
    --piano-white: #f8f8f8;
    --piano-black: #222;
    --piano-white-active: #bde0fe;
    --piano-black-active: #4361ee;
}

body {
    font-family: 'Press Start 2P', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: #000000;
    color: #ffffff;
    margin: 0;
    padding: 0;
    overflow: hidden;
    overscroll-behavior: none;
    -webkit-font-smoothing: antialiased;
}

.font-geist-mono {
    font-family: 'Press Start 2P', monospace;
}

/* Piano Styles */
#piano {
    display: flex;
    position: relative;
    height: 150px;
    margin: auto;
}

.piano-key {
    position: relative;
    cursor: pointer;
    transition: all 0.05s ease;
    user-select: none;
}

.white-key {
    background-color: var(--piano-white);
    border: 1px solid #ccc;
    border-radius: 0 0 4px 4px;
    width: 40px;
    height: 150px;
    z-index: 1;
    box-shadow: 0 5px 0 rgba(0,0,0,0.1);
    margin: 0 2px;
    color: #333;
}

.black-key {
    background-color: var(--piano-black);
    border: 1px solid #000;
    border-radius: 0 0 3px 3px;
    width: 24px;
    height: 90px;
    margin-left: -13px;
    margin-right: -13px;
    z-index: 2;
    box-shadow: 0 3px 0 rgba(0,0,0,0.4);
    color: #eee;
}

.white-key.active {
    background-color: var(--piano-white-active);
    transform: translateY(3px);
    box-shadow: 0 2px 0 rgba(0,0,0,0.2);
}

.black-key.active {
    background-color: var(--piano-black-active);
    transform: translateY(2px);
    box-shadow: 0 1px 0 rgba(0,0,0,0.4);
}

.key-label {
    position: absolute;
    bottom: 10px;
    width: 100%;
    text-align: center;
    font-size: 10px;
    pointer-events: none;
}

/* Art Visualization Styles */
.art-row {
    display: flex;
    justify-content: center;
    width: 100%;
    height: 40px;
    transition: transform 0.5s ease;
}

.art-pixel {
    margin: 0 1px;
    transition: all 0.2s ease;
    height: 40px;
}

/* Animation for art pixels */
@keyframes pulse {
    0% { opacity: 0.7; }
    50% { opacity: 1; }
    100% { opacity: 0.7; }
}

.art-pixel svg {
    animation: pulse 2s infinite;
    display: block;
}
