@import url('../styles.css');

.info-side h1 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    background: var(--grad-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.info-side .hint { font-size: 0.95rem; color: #b7c6d6; margin-top: 1rem; line-height: 1.7; }
.buttons-panel { display: flex; gap: 1rem; margin-top: 1rem; flex-wrap: wrap; align-items: center; }
.score-panel { display: flex; gap: 1.2rem; font-size: 1.1rem; margin-bottom: 1rem; color: var(--text-muted); flex-wrap: wrap; }

body { background: var(--grad-bg); color: #fff; min-height: 100vh; margin: 0; }

/* Bolos specific */
.bolos-canvas {
    background: #0a1020;
    border: 3px solid var(--accent-color);
    border-radius: 16px;
    display: block;
    margin: 0 auto 1.5rem auto;
    box-shadow: 0 4px 24px rgba(0,0,0,0.3);
    touch-action: manipulation;
    cursor: pointer;
}
/* El canvas es un objetivo de foco real (canvasCursor), asi que necesita un
   indicador visible propio: el borde naranja del reposo lo taparia. */
.bolos-canvas:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 2px;
}

.diff-wrap { color: var(--text-muted); font-size: 1rem; display: flex; gap: 0.6rem; align-items: center; }
#diffSel {
    background: #242424; color: #fff; border: 1px solid #444;
    border-radius: 8px; padding: 0.5rem 0.8rem; font-size: 1rem; cursor: pointer;
}

.bolos-mobile-btns { display: none; gap: 0.8rem; justify-content: center; margin-top: 0.5rem; }
.bolos-mobile-btns button {
    background: var(--grad-primary); color: #222; border: none; border-radius: 8px;
    padding: 0.6rem 1.4rem; font-size: 1rem; font-weight: bold; cursor: pointer;
}

#startBtn, #restartBtn, #throwBtn {
    margin: 0;   /* la regla compartida da 0 0.5rem; aquí separa .buttons-panel */
    background: var(--grad-primary);
    color: #222; border: none; border-radius: 8px;
    padding: 0.9rem 1.6rem; font-size: 1.05rem; font-weight: bold;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    transition: opacity 0.2s, transform 0.2s;
}
#startBtn:hover, #restartBtn:hover, #throwBtn:hover { opacity: 0.9; transform: scale(1.05); }
.info-side code { background: #1d2c46; padding: 0.1rem 0.35rem; border-radius: 4px; color: #8fd3f4; }
