/* ===== Global ===== */

*,
*::before,
*::after {
    box-sizing: border-box;
}

body.mz-body {
    margin: 0;
    font-family: var(--mz-font, "Plus Jakarta Sans", system-ui, sans-serif);
    color: var(--mz-text-body);
    background: var(--mz-surface-muted);
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

body.modal-open {
    overflow: hidden;
}

a {
    color: inherit;
}

/* ===== Figma header (text nav) ===== */

.figma-header {
    background: var(--mz-primary);
    border-radius: 0;
    position: sticky;
    top: 0;
    z-index: 1030;
    box-shadow: 0 2px 12px rgba(77, 89, 66, 0.15);
}

.figma-header__bar {
    padding: 0;
}

.figma-header__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.65rem clamp(1rem, 3vw, 2.5rem);
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.figma-header__brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: #fff;
    flex-shrink: 0;
}

.figma-header__logo {
    width: 90px;
    height: 90px;
    object-fit: contain;
}

.figma-header__brand-text {
    font-weight: 800;
    font-size: clamp(0.85rem, 2vw, 1.05rem);
    letter-spacing: 0.06em;
    line-height: 1.2;
    max-width: 8rem;
}

.figma-header__nav {
    display: flex;
    align-items: center;
    gap: clamp(0.75rem, 2.5vw, 2rem);
    flex-direction: row;
}

.figma-header__nav .nav-link {
    padding: 0.35rem 0;
}

.figma-nav-link {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: clamp(0.8rem, 1.5vw, 0.95rem);
    letter-spacing: 0.02em;
    white-space: nowrap;
    opacity: 0.88;
    transition: opacity 0.15s ease;
    padding: 0.35rem 0;
    border-bottom: 2px solid transparent;
}

.figma-nav-link:hover {
    color: #fff;
    opacity: 1;
}

.figma-nav-link.is-active {
    opacity: 1;
    border-bottom-color: rgba(255, 255, 255, 0.85);
}

.figma-header__toggle {
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 0.35rem 0.55rem;
    border-radius: 8px;
}

.figma-header__toggle .navbar-toggler-icon {
    filter: invert(1);
}

.figma-header__toggle:focus {
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.35);
}

/* ===== Landing page ===== */

body.mz-body--landing,
body.mz-body--app {
    background: var(--mz-surface-muted);
}

.figma-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - 80px);
}

.landing-page {
    flex: 1;
    padding: clamp(1.5rem, 4vw, 3rem) clamp(1rem, 4vw, 3rem);
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.landing-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: start;
}

.landing-heading {
    color: var(--mz-primary);
    font-weight: 800;
    font-size: clamp(1.35rem, 2.5vw, 1.75rem);
    margin-bottom: 1rem;
}

.landing-block p {
    color: var(--mz-text-body);
    line-height: 1.75;
    margin-bottom: 1rem;
    font-size: clamp(0.9rem, 1.5vw, 1rem);
}

.landing-about {
    margin-top: clamp(1.5rem, 3vw, 2.5rem);
}

.about-row {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.about-avatar {
    width: 100px;
    height: 100px;
    min-width: 100px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center top;
    border: 3px solid #c5c5c5;
}

.about-text p:last-child {
    margin-bottom: 0;
}

.landing-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.25rem;
}

.landing-cta {
    display: inline-block;
    background: #e8c547;
    color: #2a2a2a;
    font-weight: 800;
    font-size: clamp(0.75rem, 1.8vw, 0.95rem);
    letter-spacing: 0.04em;
    text-align: center;
    padding: 0.85rem clamp(1rem, 3vw, 2rem);
    border-radius: var(--mz-radius-pill);
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(200, 160, 40, 0.35);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    max-width: 100%;
}

.landing-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(200, 160, 40, 0.45);
    color: #2a2a2a;
}

.landing-logo {
    max-width: min(100%, 420px);
    height: auto;
}

.landing-characters {
    max-width: min(100%, 280px);
    height: auto;
    mix-blend-mode: multiply;
}

/* ===== Figma footer ===== */

.figma-footer {
    background: #fff;
    padding: clamp(1.25rem, 3vw, 2rem) clamp(1rem, 3vw, 2rem);
    margin-top: auto;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.figma-footer__logos {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: clamp(0.5rem, 1.5vw, 1.25rem);
    max-width: 1200px;
    margin: 0 auto;
    overflow-x: auto;
    padding-bottom: 0.25rem;
}

.footer-logo {
    height: auto;
    object-fit: contain;
    flex-shrink: 1;
}

.footer-logo--eu {
    max-height: 42px;
    max-width: min(520px, 55vw);
}

.footer-logo--program {
    max-height: 28px;
    max-width: 140px;
}

.footer-logo--wum {
    max-height: 32px;
    max-width: 160px;
}

.figma-footer__links {
    text-align: center;
    margin-top: 1rem;
    font-size: 0.85rem;
}

.figma-footer__links a {
    color: var(--mz-primary-dark);
    font-weight: 600;
    text-decoration: none;
}

.figma-footer__links a:hover {
    text-decoration: underline;
}

/* ===== Page shells (inner pages) ===== */

.page-with-nav {
    padding: clamp(1.5rem, 4vw, 2.5rem) clamp(1rem, 4vw, 3rem);
    min-height: 60vh;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

/* Legacy icon nav — removed; kept empty for reference */
.site-header { display: none; }


/* ===== Hero / landing ===== */

.hero-section {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: clamp(2rem, 5vw, 4rem);
    padding: clamp(1.5rem, 4vw, 3rem) clamp(1.5rem, 5vw, 5rem);
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-eyebrow {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--mz-primary-dark);
    background: var(--mz-card);
    padding: 0.35rem 0.75rem;
    border-radius: var(--mz-radius-pill);
    margin-bottom: 1rem;
}

.hero-section h1 {
    color: var(--mz-primary);
    font-weight: 800;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    line-height: 1.2;
    margin-bottom: 1rem;
}

.hero-section p {
    color: var(--mz-text-body);
    line-height: 1.75;
    margin-bottom: 1rem;
}

.hero-visual {
    text-align: center;
}

.hero-visual img {
    max-width: 100%;
    height: auto;
    border-radius: var(--mz-radius-lg);
    box-shadow: var(--mz-shadow);
}

.btn-mz-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--mz-primary);
    color: var(--mz-text-on-primary);
    font-weight: 700;
    font-size: 1.15rem;
    padding: 0.9rem 2rem;
    border-radius: var(--mz-radius-pill);
    border: none;
    text-decoration: none;
    box-shadow: var(--mz-shadow);
    transition: transform 0.15s ease, background 0.15s ease;
}

.btn-mz-cta:hover {
    transform: translateY(-2px);
    background: var(--mz-primary-dark);
    color: var(--mz-text-on-primary);
}

/* ===== Game dashboard (categories) ===== */

.game-dashboard {
    padding: clamp(1.5rem, 4vw, 3rem) clamp(1rem, 4vw, 3rem);
    min-height: 60vh;
    background: var(--mz-surface-muted);
}

.game-dashboard__title {
    text-align: center;
    color: var(--mz-primary);
    font-weight: 800;
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 0.5rem;
}

.game-dashboard__subtitle {
    text-align: center;
    color: var(--mz-text-body);
    margin-bottom: 2.5rem;
    font-size: 1rem;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
    align-items: end;
}

.category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--mz-text-body);
    border: none;
    background: transparent;
    padding: 0;
    cursor: pointer;
    transition: transform 0.25s ease;
}

.category-card:hover {
    transform: translateY(-6px);
    color: var(--mz-text-body);
}

.category-card__circle {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: var(--mz-input);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
    margin-bottom: 0.75rem;
    transition: box-shadow 0.25s ease;
}

.category-card:hover .category-card__circle {
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.18);
}

.category-card__circle img {
    max-height: 72px;
    width: auto;
}

.category-card__label {
    font-weight: 700;
    font-size: 1.05rem;
    text-align: center;
    color: var(--mz-primary-dark);
}

.category-card--disabled {
    opacity: 0.45;
    cursor: not-allowed;
    pointer-events: none;
}

/* ===== Quiz list ===== */

.quiz-list-page {
    padding: clamp(1.5rem, 4vw, 3rem) clamp(1rem, 4vw, 3rem);
    min-height: 60vh;
    background: var(--mz-surface-muted);
    max-width: 720px;
    margin: 0 auto;
}

.quiz-list-header {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--mz-primary);
}

.quiz-list-header h1 {
    font-weight: 800;
    font-size: 1.75rem;
    margin-bottom: 0.35rem;
}

.quiz-list-header p {
    opacity: 0.85;
    margin: 0;
}

.quiz-list {
    max-width: 560px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.quiz-list-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    background: var(--mz-input);
    color: var(--mz-text-body);
    padding: 1.1rem 1.35rem;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 4px 0 rgba(0, 0, 0, 0.06);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.quiz-list-item:hover {
    transform: translateY(-2px);
    color: var(--mz-text-body);
    box-shadow: 0 6px 0 rgba(0, 0, 0, 0.08);
}

.quiz-list-item i {
    font-size: 1.25rem;
    opacity: 0.7;
}

.quiz-list-empty {
    text-align: center;
    color: var(--mz-text-on-primary);
    padding: 2rem;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 14px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--mz-primary-dark);
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.back-link:hover {
    color: var(--mz-primary);
}

/* ===== Quiz gameplay ===== */

.mz-body--quiz {
    background: var(--mz-surface);
}

.quiz-scene {
    min-height: 100vh;
    background: var(--mz-surface);
    padding: clamp(1.25rem, 3vw, 2.5rem) clamp(1rem, 4vw, 3.75rem);
    display: flex;
    flex-direction: column;
}

.quiz-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.quiz-score-badge {
    min-width: 3.5rem;
    text-align: center;
    background: var(--mz-card);
    color: var(--mz-primary);
    font-size: 1.25rem;
    font-weight: 800;
    padding: 0.5rem 0.85rem;
    border-radius: 12px;
}

.quiz-progress {
    flex: 1;
    max-width: 640px;
}

.progress-track {
    width: 100%;
    height: 12px;
    background: var(--mz-card);
    border-radius: var(--mz-radius-pill);
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--mz-primary);
    border-radius: var(--mz-radius-pill);
    transition: width 0.35s ease;
}

.quiz-exit {
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: var(--mz-card);
    color: var(--mz-primary);
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s ease;
}

.quiz-exit:hover {
    background: var(--mz-primary);
    color: var(--mz-text-on-primary);
}

.quiz-center {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 1rem 0 2rem;
    width: 100%;
}

.quiz-center form {
    width: 100%;
    max-width: 440px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.quiz-question {
    color: var(--mz-primary);
    text-align: center;
    max-width: 720px;
    font-weight: 700;
    font-size: clamp(1.2rem, 2.5vw, 1.65rem);
    line-height: 1.4;
    margin-bottom: 2rem;
}

.quiz-question-small {
    font-size: 1.1rem;
    color: var(--mz-text-body);
    text-align: center;
    max-width: 640px;
    margin-bottom: 1rem;
    opacity: 0.85;
}

.answers {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    align-items: stretch;
}

.answer-btn {
    background: var(--mz-primary);
    border: none;
    border-radius: 12px;
    padding: 0.95rem 1.15rem;
    color: var(--mz-surface);
    font-weight: 600;
    font-family: var(--mz-font);
    font-size: 1rem;
    text-align: left;
    cursor: pointer;
    box-shadow: 0 4px 0 rgba(0, 0, 0, 0.08);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.answer-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 0 rgba(0, 0, 0, 0.1);
}

/* ===== Explanation ===== */

.result-indicator {
    font-size: 1.15rem;
    font-weight: 700;
    padding: 0.85rem 1.5rem;
    border-radius: 12px;
    margin-bottom: 1.25rem;
    text-align: center;
}

.result-indicator.correct {
    background: rgba(156, 167, 99, 0.25);
    color: var(--mz-primary-dark);
    border: 2px solid var(--mz-primary);
}

.result-indicator.wrong {
    background: rgba(131, 12, 53, 0.12);
    color: var(--mz-accent);
    border: 2px solid rgba(131, 12, 53, 0.35);
}

.explanation-box {
    background: #fff;
    border: 1px solid rgba(156, 167, 99, 0.35);
    padding: 1.35rem 1.5rem;
    margin: 1rem 0 1.5rem;
    text-align: left;
    border-radius: 14px;
    max-width: 640px;
    width: 100%;
    box-shadow: var(--mz-shadow);
}

.explanation-title {
    margin: 0 0 0.5rem;
    color: var(--mz-primary);
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.explanation-text {
    color: var(--mz-text-body);
    line-height: 1.65;
    margin: 0;
}

.correct-answer-reveal {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px dashed var(--mz-card);
    color: var(--mz-primary-dark);
    font-size: 0.95rem;
}

.quiz-actions {
    margin-top: 0.5rem;
}

.btn-mz-next {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--mz-primary);
    color: var(--mz-text-on-primary);
    padding: 0.85rem 2rem;
    border-radius: var(--mz-radius-pill);
    text-decoration: none;
    font-weight: 700;
    transition: transform 0.15s ease;
}

.btn-mz-next:hover {
    transform: translateY(-2px);
    color: var(--mz-text-on-primary);
}

/* ===== Result ===== */

.result-scene {
    justify-content: center;
    align-items: center;
}

.result-card {
    background: var(--mz-card);
    padding: clamp(2rem, 5vw, 3.5rem) clamp(2rem, 6vw, 4.5rem);
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--mz-shadow);
    max-width: 480px;
    width: 100%;
}

.result-title {
    color: var(--mz-primary);
    font-weight: 800;
    margin-bottom: 1rem;
}

.result-score {
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--mz-primary);
    line-height: 1.1;
}

.result-percent {
    margin-top: 0.5rem;
    font-size: 1.35rem;
    color: var(--mz-accent);
    font-weight: 700;
}

.result-message {
    color: var(--mz-text-body);
    margin-top: 0.75rem;
    font-size: 0.95rem;
}

.result-actions {
    margin-top: 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    justify-content: center;
}

.btn-mz-outline {
    background: transparent;
    border: 2px solid var(--mz-primary);
    color: var(--mz-primary);
    padding: 0.7rem 1.5rem;
    border-radius: var(--mz-radius-pill);
    text-decoration: none;
    font-weight: 700;
    font-family: var(--mz-font);
    cursor: pointer;
    transition: background 0.15s ease;
}

.btn-mz-outline:hover {
    background: rgba(156, 167, 99, 0.12);
    color: var(--mz-primary);
}

.btn-mz-danger {
    background: var(--mz-accent);
    color: #fff;
    padding: 0.7rem 1.5rem;
    border-radius: var(--mz-radius-pill);
    text-decoration: none;
    font-weight: 700;
    border: none;
    display: inline-block;
}

.btn-mz-danger:hover {
    color: #fff;
    opacity: 0.92;
}

/* ===== Exit modal ===== */

.exit-modal {
    position: fixed;
    inset: 0;
    background: rgba(77, 89, 66, 0.45);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    z-index: 2000;
    backdrop-filter: blur(4px);
}

.exit-modal.hidden {
    display: none;
}

.exit-card {
    background: var(--mz-surface);
    padding: 2rem 2.25rem;
    border-radius: 20px;
    text-align: center;
    max-width: 400px;
    width: 100%;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.exit-card h3 {
    color: var(--mz-primary);
    font-weight: 800;
    font-size: 1.25rem;
}

.exit-card p {
    color: var(--mz-text-body);
    margin-bottom: 0;
}

.exit-actions {
    margin-top: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

/* ===== Info / content pages ===== */

.info-scene {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: clamp(2rem, 4vw, 4rem);
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.info-left h1,
.info-right h1,
.account-left h1,
.account-right h2 {
    color: var(--mz-primary);
    font-weight: 800;
}

.info-left h2 {
    color: var(--mz-primary);
    font-weight: 700;
    margin-top: 2rem;
    font-size: 1.35rem;
}

.info-left p,
.legal-content p,
.legal-content li {
    color: var(--mz-text-body);
    line-height: 1.75;
}

.legal-content h2 {
    color: var(--mz-primary);
    font-size: 1.15rem;
    font-weight: 700;
    margin-top: 1.75rem;
}

.legal-content a {
    color: var(--mz-primary-dark);
    font-weight: 600;
}

.legal-page {
    display: block;
    padding-bottom: 2rem;
}

/* ===== Links page ===== */

.links-page {
    max-width: 820px;
    margin: 0 auto;
    width: 100%;
}

.links-intro {
    color: var(--mz-text-body);
    line-height: 1.65;
    margin-bottom: 2rem;
}

.links-section {
    margin-bottom: 2.5rem;
}

.links-section__title {
    color: var(--mz-primary);
    font-weight: 800;
    font-size: 1.35rem;
    margin-bottom: 1.25rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--mz-card);
}

.links-subsection__title {
    color: var(--mz-primary-dark);
    font-weight: 700;
    font-size: 1.05rem;
    margin: 1.25rem 0 0.65rem;
}

.links-list {
    list-style: none;
    padding: 0;
    margin: 0 0 0.5rem;
}

.links-list li {
    margin-bottom: 0.45rem;
    padding-left: 1.1rem;
    position: relative;
}

.links-list li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--mz-primary);
    font-weight: 700;
}

.links-list a {
    color: var(--mz-text-body);
    text-decoration: none;
    font-weight: 500;
    line-height: 1.5;
    border-bottom: 1px solid transparent;
    transition: color 0.15s ease, border-color 0.15s ease;
}

.links-list a:hover {
    color: var(--mz-primary-dark);
    border-bottom-color: var(--mz-primary);
}

.info-right,
.form-panel {
    background: var(--mz-card);
    padding: clamp(1.5rem, 3vw, 2.5rem);
    border-radius: 20px;
    box-shadow: var(--mz-shadow);
}

.contact-intro {
    color: var(--mz-text-body);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.info-right ul {
    color: var(--mz-text-body);
    padding-left: 1.2rem;
    line-height: 1.6;
}

.form-panel .mz-control,
.info-right .mz-control {
    width: 100%;
    background: var(--mz-surface-muted);
    border: 2px solid transparent;
    border-radius: 12px;
    padding: 0.75rem 1rem;
    margin-bottom: 0.75rem;
    color: var(--mz-text-body);
    font-family: var(--mz-font);
}

.form-panel .mz-control:focus,
.info-right .mz-control:focus {
    outline: none;
    border-color: var(--mz-primary);
}

.form-panel .textarea,
.info-right textarea.mz-control {
    min-height: 120px;
    resize: vertical;
}

.form-label-mz {
    display: block;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--mz-text-body);
    margin-bottom: 0.35rem;
    margin-top: 0.5rem;
}

.contact-success,
.mz-alert-success {
    background: var(--mz-primary);
    color: var(--mz-text-on-primary);
    padding: 0.75rem 1rem;
    border-radius: 12px;
    margin-bottom: 1rem;
    font-weight: 600;
}

/* ===== Account ===== */

.account-scene {
    display: grid;
    grid-template-columns: minmax(280px, 400px) 1fr;
    gap: clamp(2rem, 4vw, 4rem);
    max-width: 1100px;
    margin: 0 auto;
    width: 100%;
}

.account-form-card {
    background: #fff;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: var(--mz-shadow);
    border: 1px solid rgba(156, 167, 99, 0.2);
}

.account-form-card .mz-control {
    width: 100%;
    background: var(--mz-surface);
    border: 1px solid var(--mz-card);
    border-radius: 10px;
    padding: 0.65rem 0.85rem;
    margin-bottom: 0.5rem;
}

.points-card {
    background: var(--mz-card);
    padding: 1.75rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--mz-shadow);
}

.points-value {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--mz-primary);
}

.attempt-list {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.attempt-item {
    background: #fff;
    border: 1px solid var(--mz-card);
    padding: 1rem 1.15rem;
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.attempt-score {
    font-weight: 800;
    color: var(--mz-accent);
    font-size: 1.15rem;
}

.empty-state {
    color: var(--mz-text-body);
    opacity: 0.8;
    padding: 1rem 0;
}

/* ===== Footer ===== */

.site-footer {
    background: var(--mz-surface-muted);
    padding: 2rem 1.5rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(156, 167, 99, 0.25);
}

.site-footer .container {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.site-footer-tagline {
    font-size: 0.85rem;
    color: var(--mz-text-body);
    margin-bottom: 1.25rem;
}

.partner-logos {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1.5rem 2.5rem;
    margin-bottom: 1.25rem;
}

.partner-logos img {
    max-height: 48px;
    width: auto;
    max-width: 140px;
    object-fit: contain;
    opacity: 0.9;
}

.site-footer-links {
    font-size: 0.9rem;
}

.site-footer-links a {
    color: var(--mz-primary-dark);
    font-weight: 600;
    text-decoration: none;
}

.site-footer-links a:hover {
    text-decoration: underline;
}

/* ===== Responsive ===== */

@media (max-width: 991.98px) {
    .landing-grid {
        grid-template-columns: 1fr;
    }

    .landing-visual {
        order: -1;
    }

    .figma-header__nav {
        flex-direction: column;
        align-items: stretch;
        padding: 0.75rem 0 0.5rem;
        gap: 0;
        width: 100%;
    }

    .figma-nav-link {
        padding: 0.65rem 0 !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    }
}

@media (max-width: 576px) {
    .about-row {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .figma-header__brand-text {
        max-width: none;
    }

    /*.figma-header__logo {*/
    /*    width: 90px;*/
    /*    height: 90px;*/
    /*}*/

    .hero-section,
    .info-scene,
    .account-scene {
        grid-template-columns: 1fr;
    }

    .footer-logo--eu {
        max-height: 32px;
        max-width: 45vw;
    }

    .footer-logo--program {
        max-height: 22px;
        max-width: 90px;
    }

    .footer-logo--wum {
        max-height: 26px;
        max-width: 100px;
    }
}

@media (max-width: 576px) {
    .quiz-top {
        flex-wrap: wrap;
    }

    .quiz-progress {
        order: 3;
        width: 100%;
        max-width: none;
    }
}
