#tetris-launcher {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: #ff4757;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    z-index: 999999;
    transition: transform 0.2s, background 0.2s;
}

#tetris-launcher:hover {
    transform: scale(1.1);
    background: #ff6b81;
}

.tetris-modal-overlay {
    display: none;
    position: fixed;
    z-index: 1000000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.85);
    backdrop-filter: blur(5px);
}

.tetris-modal-content {
    background-color: #2f3542;
    margin: 5% auto;
    padding: 20px;
    border-radius: 15px;
    width: fit-content;
    position: relative;
    box-shadow: 0 0 30px rgba(0,0,0,0.5);
    color: white;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.tetris-close {
    color: #a4b0be;
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.2s;
}

.tetris-close:hover {
    color: #ff4757;
}

.tetris-game-container {
    display: flex;
    gap: 20px;
    padding-top: 20px;
}

#tetris-canvas {
    border: 4px solid #57606f;
    background-color: #000;
    display: block;
}

.tetris-info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 150px;
}

.tetris-score {
    font-size: 24px;
    margin-bottom: 20px;
    color: #70a1ff;
    font-weight: bold;
}

.tetris-controls p {
    margin: 5px 0;
    font-size: 14px;
    color: #ced6e0;
}
