:root {
    --bg-color: #1a1a2e;
    --text-color: #ffffff;
    --celeste: #00d2d3;
    --violeta: #5f27cd;
    --naranja: #ff9f43;
    --verde: #10ac84;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    user-select: none;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
}

.btn-install {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #ff9f43;
    border: none;
    padding: 8px 15px;
    border-radius: 20px;
    color: #fff;
    cursor: pointer;
    font-weight: bold;
    z-index: 100;
}

.wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
}

header {
    text-align: center;
    margin-bottom: 2rem;
}

h1 {
    font-size: 2.5rem;
    letter-spacing: 2px;
    margin-bottom: 10px;
    text-shadow: 0 0 10px rgba(255,255,255,0.3);
}

.score-board {
    display: flex;
    gap: 20px;
    font-size: 1.1rem;
    opacity: 0.8;
    align-items: center;
    justify-content: center;
}

.level-select {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--naranja);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    padding: 2px 5px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    cursor: pointer;
    outline: none;
    transition: all 0.3s;
}

.level-select:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: var(--naranja);
}

.level-select option {
    background-color: var(--bg-color);
    color: white;
}

.game-board {
    position: relative;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 0 50px rgba(0,0,0,0.5);
    background: #2d3436;
    border: 10px solid #2d3436;
}

.color {
    width: 50%;
    height: 50%;
    position: absolute;
    cursor: pointer;
    transition: all 0.1s;
    opacity: 0.7;
}

.color:hover {
    opacity: 1;
}

.color.light {
    opacity: 1;
    filter: brightness(1.5);
    box-shadow: inset 0 0 20px rgba(255,255,255,0.5);
}

.celeste { background: var(--celeste); top: 0; left: 0; }
.violeta { background: var(--violeta); top: 0; right: 0; }
.naranja { background: var(--naranja); bottom: 0; left: 0; }
.verde   { background: var(--verde); bottom: 0; right: 0; }

.btn-start {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: #2d3436;
    border: 5px solid var(--bg-color);
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    z-index: 10;
    text-transform: uppercase;
    transition: transform 0.2s;
}

.btn-start:active {
    transform: translate(-50%, -50%) scale(0.95);
}

.btn-start.playing {
    font-size: 2.5rem; 
    pointer-events: none; 
}

.controls {
    margin-top: 3rem;
    display: flex;
    gap: 20px;
}

.control-btn {
    background: transparent;
    border: 2px solid rgba(255,255,255,0.2);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s;
}

.control-btn:hover {
    background: rgba(255,255,255,0.1);
    border-color: white;
}

@media (max-width: 450px) {
    .score-board {
        flex-direction: column;
        gap: 10px;
        font-size: 0.9rem;
    }
    
    .game-board {
        width: 260px;
        height: 260px;
    }
}