* {
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    text-align: center;
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%);
    color: #f8fafc;
    margin: 0;
    padding: 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

h1 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
    background: linear-gradient(to right, #f43f5e, #fb7185);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Moderní žebříček s efektem poloprůhlednosti */
#score-board {
    background: rgba(30, 41, 59, 0.7);
    backdrop-filter: blur(10px);
    padding: 15px 25px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 20px;
    text-align: left;
    min-width: 280px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
}

#score-board h3 {
    margin: 0 0 10px 0;
    font-size: 1.1rem;
    color: #fb7185;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
}

#players-list {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

#players-list li {
    padding: 8px 10px;
    font-size: 0.95rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: #cbd5e1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 6px;
    transition: background 0.2s;
}

#players-list li:hover {
    background: rgba(255, 255, 255, 0.03);
}

#players-list li:last-child {
    border-bottom: none;
}

/* Zvýraznění tvého jména v žebříčku */
#players-list li strong {
    color: #38bdf8;
}

/* Herní plocha */
#gameCanvas {
    position: relative;
    width: 700px;
    height: 500px;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.5);
}

/* Interaktivní tečka */
#target {
    position: absolute;
    width: 45px;
    height: 45px;
    background: radial-gradient(circle at 30% 30%, #fb7185, #e11d48);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 20px rgba(225, 29, 72, 0.6), inset 0 2px 4px rgba(255, 255, 255, 0.4);
    transition: transform 0.1s ease, box-shadow 0.2s ease;
}

#target:hover {
    transform: scale(1.08);
    box-shadow: 0 0 25px rgba(225, 29, 72, 0.9), inset 0 2px 4px rgba(255, 255, 255, 0.5);
}

#target:active {
    transform: scale(0.92);
}