body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #1a1a2e;
    color: #eee;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Zajištění šířky pro header a footer */
#header-placeholder, #footer-placeholder {
    width: 100%;
}

/* Herní lišta */
.game-info-bar {
    width: 100%;
    background-color: #0f0e1c;
    padding: 20px 0;
    display: flex;
    justify-content: center;
    border-bottom: 1px solid #333;
}

.header-content {
    width: 100%;
    max-width: 1200px;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.game-title { 
    color: #00e0ff; 
    text-shadow: 0 0 15px rgba(0, 224, 255, 0.6); 
    margin: 0; }

/* Kontejner pro vycentrování hry mezi headerem a footerem */
.main-content {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 40px 20px;
    box-sizing: border-box;
}

.game-container {
    background: #0f0e1c;
    border: 1px solid #333;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    text-align: center;
    min-width: 350px;
    max-width: 600px;
    width: 100%;
}

.header {
    margin-bottom: 30px;
}

.level-display {
    font-size: 2.5em;
    font-weight: bold;
    color: #00e0ff;
    margin-bottom: 10px;
    text-shadow: 0 0 15px rgba(0, 224, 255, 0.4);
}

.score-display {
    font-size: 1.1em;
    color: #aaa;
    margin-bottom: 20px;
}

.score-display span {
    color: #fff;
    font-weight: bold;
}

.question-area {
    background: #161625;
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 30px;
    border: 1px solid #252545;
}

.question {
    font-size: 2.5em;
    color: #fff;
    margin-bottom: 30px;
    font-weight: bold;
}

.answers {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    max-width: 350px;
    margin: 0 auto;
}

.answer-btn {
    padding: 15px 20px;
    font-size: 1.5em;
    background-color: transparent;
    color: #00e0ff;
    border: 2px solid #00e0ff;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
    font-family: 'Montserrat', sans-serif;
}

.answer-btn:hover {
    background-color: #00e0ff;
    color: #0f0e1c;
    box-shadow: 0 0 15px rgba(0, 224, 255, 0.4);
    transform: translateY(-2px);
}

.answer-btn.correct {
    background-color: #4CAF50;
    color: white;
    border-color: #4CAF50;
    box-shadow: 0 0 15px rgba(76, 175, 80, 0.6);
}

.answer-btn.wrong {
    background-color: #f44336;
    color: white;
    border-color: #f44336;
    box-shadow: 0 0 15px rgba(244, 67, 54, 0.6);
}

.feedback {
    font-size: 1.2em;
    font-weight: bold;
    margin-top: 20px;
    height: 30px;
}

.correct-feedback { color: #4CAF50; text-shadow: 0 0 10px rgba(76, 175, 80, 0.4); }
.wrong-feedback { color: #f44336; text-shadow: 0 0 10px rgba(244, 67, 54, 0.4); }

.progress-bar {
    width: 100%;
    height: 8px;
    background: #333;
    border-radius: 4px;
    margin: 20px 0;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #00e0ff, #0099ff);
    transition: width 0.5s ease;
    box-shadow: 0 0 10px #00e0ff;
}

.game-over {
    display: none;
    background: rgba(244, 67, 54, 0.1);
    border: 1px solid #f44336;
    color: #eee;
    padding: 20px;
    border-radius: 10px;
    margin-top: 20px;
}

.game-over h2 { color: #f44336; margin-top: 0; }

.restart-btn {
    background-color: transparent;
    color: #00e0ff;
    border: 2px solid #00e0ff;
    padding: 12px 30px;
    font-size: 1.1em;
    border-radius: 8px;
    cursor: pointer;
    margin-top: 15px;
    transition: all 0.3s ease;
    font-weight: bold;
    text-transform: uppercase;
    font-family: 'Montserrat', sans-serif;
}

.restart-btn:hover {
    background-color: #00e0ff;
    color: #0f0e1c;
    box-shadow: 0 0 15px rgba(0, 224, 255, 0.4);
}