@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');

:root {
    --primary-color: #3498db;
    --secondary-color: #2980b9;
    --background-color: #f4f7f9;
    --text-color: #333;
    --light-gray: #ecf0f1;
    --correct-color: #2ecc71;
    --incorrect-color: #e74c3c;
    --white: #ffffff;
    --border-radius: 8px;
    --box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    padding: 20px;
    /* ===== MÓDOSÍTÁS: Helyet hagyunk az alul rögzített láblécnek ===== */
    padding-bottom: 90px;
}

.container {
    background-color: var(--white);
    padding: 30px 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    width: 100%;
    max-width: 800px;
    text-align: center;
}

.hidden {
    display: none;
}

/* Kezdőképernyő */
.title {
    color: var(--primary-color);
    font-size: 2.5em;
    margin-bottom: 10px;
}

.description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #555;
}

.btn {
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 15px 30px;
    font-size: 1.1em;
    font-weight: 500;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    display: inline-block;
    text-decoration: none;
}

.btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
}

.btn:disabled {
    background-color: #bdc3c7;
    cursor: not-allowed;
    transform: translateY(0);
}

/* Kvíz nézet */
#progress-container {
    margin-bottom: 20px;
    font-size: 1.1em;
    font-weight: 500;
    color: #777;
}

#question-text {
    font-size: 1.5em;
    margin-bottom: 30px;
    text-align: left;
    line-height: 1.5;
}

.answer-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
    text-align: left;
}

.answer-option {
    display: block;
    background-color: var(--light-gray);
    border: 2px solid transparent;
    border-radius: var(--border-radius);
    padding: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.answer-option:hover {
    background-color: #dde4e7;
}

.answer-option input[type="radio"] {
    display: none;
}

.answer-option input[type="radio"]:checked + label {
    color: var(--secondary-color);
    font-weight: bold;
}

.answer-option.selected {
    border-color: var(--primary-color);
    background-color: #eaf5fc;
}

.answer-option label {
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
}

.answer-option .radio-custom {
    width: 20px;
    height: 20px;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    display: inline-block;
    position: relative;
    flex-shrink: 0;
}

.answer-option input[type="radio"]:checked + label .radio-custom::after {
    content: '';
    width: 10px;
    height: 10px;
    background-color: var(--primary-color);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Eredmény nézet */
#result-title {
    font-size: 2.2em;
    color: var(--primary-color);
}

#score-text {
    font-size: 1.4em;
    font-weight: 500;
    margin-bottom: 30px;
}

#incorrect-answers-list {
    text-align: left;
    margin-top: 20px;
}

#incorrect-answers-list h3 {
    border-bottom: 2px solid var(--light-gray);
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.incorrect-item {
    background-color: #fdfefe;
    border: 1px solid var(--light-gray);
    border-radius: var(--border-radius);
    padding: 20px;
    margin-bottom: 20px;
}

.incorrect-item p {
    font-weight: 500;
    margin-bottom: 15px;
}

.result-option {
    padding: 10px;
    border-radius: var(--border-radius);
    margin-bottom: 10px;
    opacity: 0.8;
}

.result-option.user-answer {
    background-color: var(--incorrect-color);
    color: var(--white);
    opacity: 1;
}

.result-option.correct-answer {
    background-color: var(--correct-color);
    color: var(--white);
    opacity: 1;
}

/* ===== ÚJ LÁBLÉC STÍLUSOK KEZDETE ===== */
.site-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--white);
    padding: 15px 0;
    text-align: center;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.08);
    z-index: 1000;
}

.site-footer a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 20px; /* Térköz a két SVG között */
    text-decoration: none;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.site-footer a:hover {
    opacity: 1;
}
/* ===== ÚJ LÁBLÉC STÍLUSOK VÉGE ===== */
