
/* Fixed Toggle Button */
#tetris-launcher-btn {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 999999;
    padding: 12px 20px;
    background: #ff0055;
    color: #fff;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: transform 0.2s, background 0.2s;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

#tetris-launcher-btn:hover {
    transform: scale(1.05);
    background: #e6004c;
}

/* Modal Overlay */
#tetris-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 9999999;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
}

#tetris-modal-content {
    position: relative;
    background: #1a1a1a;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 0 30px rgba(255, 0, 85, 0.4);
    text-align: center;
    color: white;
}

#tetris-close-btn {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 40px;
    height: 40px;
    background: #ff0055;
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-size: 24px;
    font-weight: bold;
    border: 2px solid white;
}

#tetris-canvas {
    border: 2px solid #333;
    background: #000;
    display: block;
    margin: 0 auto;
}

.tetris-info {
    margin-top: 15px;
    font-family: monospace;
}

#tetris-score {
    font-size: 20px;
    color: #ff0055;
}
