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: 15px 0;
    display: flex;
    justify-content: center;
    border-bottom: 1px solid #333;
    box-sizing: border-box;
}

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

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

#global-timer {
    font-size: 1.2rem;
    color: #00e0ff;
    font-weight: bold;
}

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

#app-mount {
    background: #0f0e1c;
    border: 1px solid #333;
    border-radius: 15px;
    padding: 30px 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    text-align: center;
    width: 100%;
    max-width: 800px;
    box-sizing: border-box;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Menu s výběrem kvízů */
.quiz-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 20px;
    width: 100%;
}

.quiz-card {
    background: #161625;
    border: 1px solid #252545;
    border-radius: 12px;
    padding: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.quiz-card:hover {
    transform: translateY(-5px);
    border-color: #00e0ff;
    box-shadow: 0 5px 20px rgba(0, 224, 255, 0.2);
}

.quiz-card h3 {
    margin: 10px 0 5px 0;
    color: #00e0ff;
}

.quiz-card p {
    font-size: 0.9rem;
    color: #aaa;
    margin: 0;
}

/* Obrazovka s otázkou */
.quiz-header-ui {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 20px;
}

.progress-tag {
    background: rgba(0, 224, 255, 0.1);
    color: #00e0ff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
}

.question h3 {
    font-size: 1.8rem;
    margin: 20px 0 30px 0;
    line-height: 1.4;
}

.options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.opt-btn {
    padding: 15px 20px;
    font-size: 1.1rem;
    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;
    width: 100%;
    text-align: center;
}

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

/* Obrazovka s výsledky */
.stats-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 20px 0;
}

.stat-box {
    background: #161625;
    padding: 15px 25px;
    border-radius: 10px;
    border: 1px solid #252545;
}

.stat-box span { color: #aaa; font-size: 0.9rem; }
.stat-box strong { color: #fff; font-size: 1.5rem; display: block; }

.action-btn {
    background-color: #00e0ff;
    color: #0f0e1c;
    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;
}

.action-btn:hover {
    box-shadow: 0 0 15px rgba(0, 224, 255, 0.4);
    transform: translateY(-2px);
}

.results-grid {
    margin-top: 40px;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.res-item { background: #161625; padding: 15px 20px; border-radius: 8px; border-left: 5px solid; }
.res-item.correct { border-left-color: #4CAF50; }
.res-item.incorrect { border-left-color: #f44336; }
.res-q { font-weight: bold; margin-bottom: 8px; }
.res-info { font-size: 0.95rem; color: #ccc; }

/* Responzivita */
@media (max-width: 768px) {
    .header-content { padding: 0 20px; flex-direction: column; gap: 10px; }
    .game-title { font-size: 1.5rem; }
    #app-mount { padding: 20px; }
    .options { grid-template-columns: 1fr; }
    .question h3 { font-size: 1.5rem; }
}