/* Základní styly */
body {
    font-family: Arial, sans-serif;
    background-color: #f0f4f8;
    color: #333;
    margin: 0;
    padding: 20px;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

h1, h2, h3, h4 {
    color: #0056b3;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    font-size: 16px;
    margin: 5px;
}
.btn:hover { background-color: #0056b3; }
.btn-secondary { background-color: #6c757d; }
.btn-secondary:hover { background-color: #5a6268; }

/* Administrace */
.admin-section {
    margin-bottom: 30px;
    border-top: 1px solid #ccc;
    padding-top: 20px;
}
input[type="text"], select, input[type="number"] {
    width: 100%;
    padding: 8px;
    margin: 5px 0 15px 0;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 4px;
}
.question-group {
    border: 1px solid #e0e0e0;
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 5px;
}

/* Herní pole - OPRAVENO */
.game-container {
    max-width: 1200px;
    margin: auto;
}
.game-board {
    margin: 20px auto;
    padding-bottom: 30px;
}

.hex-row {
    display: flex;
    justify-content: center;
    margin-bottom: -29px; /* Klíčové pro vertikální zapadnutí */
}

.hexagon {
    position: relative;
    width: 100px;
    height: 115.47px;
    margin: 0 2px;
    background-color: #ccc;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.3s;
}
.hexagon:hover {
    background-color: #e0e0e0;
}
.hexagon span {
    font-size: 32px; /* Zvětšeno */
    font-weight: bold;
    color: #333;
    text-shadow: 0 0 3px white;
}
.hexagon.blue { background-color: #3498db; }
.hexagon.red { background-color: #e74c3c; }


/* Ovládací prvky moderátora */
.game-controls {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 8px;
}
.game-controls select {
    width: auto;
    min-width: 200px;
}
.timer-control {
    display: flex;
    align-items: center;
    gap: 5px;
}
.timer-control input[type="number"] {
    width: 70px;
    margin: 0;
}

/* Panel s otázkou a odpovědí */
.qa-panel {
    background: #e9ecef;
    padding: 20px;
    border-radius: 5px;
    margin-top: 20px;
    text-align: center;
}
.answer-buttons {
    margin-top: 15px;
}


/* Okno pro hráče - speciální styly */
.player-view .placeholder-text {
    font-size: 24px; color: #888;
}
.focus-view {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    background-color: rgba(0,0,0,0.85);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}
#timer {
    font-size: 15vh;
    font-weight: bold;
}
#timer.times-up {
    color: #e74c3c;
    font-size: 10vh;
}
#selected-field-display {
    font-size: 25vh;
    font-weight: bold;
}
.answer-reveal {
    position: fixed;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.3);
    text-align: center;
    z-index: 1001;
    min-width: 400px;
    max-width: 80%;
}
.answer-reveal h3 {
    margin-top: 0;
}
/* Zvětšená odpověď pro hráče */
#revealedAnswerText {
    font-size: 2.5em;
    font-weight: bold;
    color: #0056b3;
    margin: 20px 0;
}