:root {
    --vuv-teal: #0ea5e9;
    --vuv-green: #10b981;
    --vuv-navy: #1e3a5f;
    --vuv-ink: #050816;
    --vuv-paper: #e8f4ff;
    --vuv-muted: #9bb6d0;
    --vuv-gold: #fbbf24;
    --vuv-pink: #e879f9;
}

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

html,
body {
    margin: 0;
    min-height: 100%;
    height: 100%;
}

.oculto {
    display: none !important;
}

.vuv-keep-audio {
    position: fixed;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.vuv-body {
    font-family: Outfit, system-ui, sans-serif;
    color: var(--vuv-paper);
    background: #050816;
    overflow: hidden;
}

.vuv-app,
.vuv-canvas {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
}

.vuv-canvas {
    display: block;
    z-index: 1;
    touch-action: none;
}

.vuv-landing {
    position: fixed;
    z-index: 40;
    inset: 0;
    overflow: auto;
    padding: 1.25rem 1.25rem 2.5rem;
    background:
        linear-gradient(180deg, rgba(5, 8, 22, 0.72), rgba(5, 8, 22, 0.94)),
        radial-gradient(ellipse at top, rgba(14, 165, 233, 0.28), transparent 55%);
}

.vuv-app.is-playing .vuv-landing {
    display: none;
}

.vuv-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.vuv-logo-edumedia {
    height: 76px;
    width: auto;
    max-width: min(340px, 62vw);
    object-fit: contain;
    background: #fff;
    border-radius: 14px;
    padding: 0.5rem 0.9rem;
    box-shadow: 0 10px 26px rgba(2, 12, 27, 0.35);
}

.vuv-back {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--vuv-muted);
    text-decoration: none;
    font-size: 0.9rem;
}

.vuv-back:hover {
    color: #fff;
}

.vuv-kicker {
    margin: 1.4rem 0 0.35rem;
    color: var(--vuv-teal);
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-size: 0.78rem;
}

.vuv-landing h1 {
    margin: 0;
    font-family: Fredoka, Outfit, sans-serif;
    font-size: clamp(2rem, 6vw, 3.2rem);
    line-height: 1.1;
}

.vuv-lead {
    max-width: 40rem;
    color: var(--vuv-muted);
    line-height: 1.55;
}

.vuv-welcome {
    display: grid;
    grid-template-columns: minmax(16rem, 34rem) minmax(16rem, 22rem);
    gap: 1.1rem;
    align-items: start;
    max-width: 58rem;
    margin: 1rem 0 0.4rem;
}

.vuv-welcome__visual {
    margin: 0;
    border-radius: 0.9rem;
    overflow: hidden;
    background: #000;
}

.vuv-welcome__visual img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.vuv-welcome__card {
    padding: 1.1rem 1.15rem 1.25rem;
    border-radius: 1.1rem;
    background: rgba(15, 23, 42, 0.82);
    border: 1px solid rgba(148, 163, 184, 0.25);
    backdrop-filter: blur(10px);
}

.vuv-welcome__face {
    width: 5.4rem;
    height: 5.4rem;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid var(--vuv-teal);
    margin-bottom: 0.55rem;
    background: #123a5c;
}

.vuv-welcome__kicker {
    margin: 0 0 0.25rem;
    color: var(--vuv-green);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.vuv-welcome__card h2 {
    margin: 0 0 0.45rem;
    font-family: Fredoka, Outfit, sans-serif;
    font-size: 1.7rem;
}

.vuv-welcome__text {
    margin: 0 0 0.85rem;
    color: var(--vuv-muted);
    line-height: 1.55;
}

.vuv-mode-label {
    margin: 0.35rem 0 0.55rem;
    color: #fff;
    font-family: Fredoka, Outfit, sans-serif;
    font-size: 1.12rem;
    font-weight: 700;
}

.vuv-modes {
    display: grid;
    gap: 0.65rem;
    margin: 0 0 0.75rem;
}

.vuv-mode {
    appearance: none;
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 1rem;
    padding: 0.85rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-align: left;
    cursor: pointer;
    color: #062032;
    background: linear-gradient(135deg, var(--vuv-teal), var(--vuv-green));
    font: inherit;
}

.vuv-mode--xr {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.22);
}

.vuv-mode i {
    font-size: 1.45rem;
    width: 1.6rem;
    text-align: center;
}

.vuv-mode span {
    display: flex;
    flex-direction: column;
    gap: 0.12rem;
}

.vuv-mode strong {
    font-size: 1.05rem;
}

.vuv-mode em {
    font-style: normal;
    font-size: 0.82rem;
    opacity: 0.82;
    font-weight: 500;
}

.vuv-mode:hover {
    filter: brightness(1.08);
}

.vuv-mode:disabled {
    opacity: 0.5;
    cursor: wait;
}

.vuv-brief {
    margin: 1.4rem 0;
    max-width: 28rem;
    padding: 1rem 1.1rem 1.15rem;
    border-radius: 1.1rem;
    background: rgba(15, 23, 42, 0.72);
    border: 1px solid rgba(148, 163, 184, 0.25);
}

.vuv-brief__kicker {
    margin: 0 0 0.6rem;
    color: var(--vuv-green);
    font-size: 0.8rem;
    font-weight: 600;
}

.vuv-brief__steps {
    margin: 0;
    padding-left: 1.15rem;
    color: var(--vuv-muted);
    line-height: 1.55;
}

.vuv-btn {
    appearance: none;
    border: 0;
    border-radius: 999px;
    padding: 0.78rem 1.2rem;
    font: 600 1rem Outfit, sans-serif;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.vuv-btn--primary {
    background: linear-gradient(135deg, var(--vuv-teal), var(--vuv-green));
    color: #062032;
}

.vuv-btn--ghost {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.vuv-xr-status {
    margin: 0 0 1rem;
    color: var(--vuv-muted);
    font-size: 0.88rem;
}

.vuv-xr-status.is-ok {
    color: #6ee7b7;
}

.vuv-xr-status.is-no {
    color: #fde68a;
}

.vuv-tips {
    max-width: 42rem;
    margin: 0 0 1.4rem;
    padding: 0;
    list-style: none;
    color: var(--vuv-muted);
    font-size: 0.92rem;
}

.vuv-tips li {
    display: flex;
    gap: 0.55rem;
    margin: 0.45rem 0;
    line-height: 1.45;
}

.vuv-tips i {
    color: var(--vuv-teal);
    margin-top: 0.2rem;
}

.vuv-roster {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
}

.vuv-roster__card {
    margin: 0;
    width: 8.4rem;
    background: rgba(15, 23, 42, 0.65);
    border-radius: 0.7rem;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.2);
}

.vuv-roster__card img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.vuv-roster__card figcaption {
    padding: 0.4rem 0.5rem 0.55rem;
    font-size: 0.78rem;
    font-weight: 600;
}

.vuv-brand {
    margin: 1.6rem 0 0;
    color: #64748b;
    font-size: 0.8rem;
}

.vuv-hud {
    position: fixed;
    z-index: 5;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.7rem 0.8rem;
    background: linear-gradient(180deg, rgba(5, 8, 22, 0.82), transparent);
}

.vuv-icon-btn {
    width: 2.4rem;
    height: 2.4rem;
    border: 0;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.75);
    color: #fff;
    cursor: pointer;
    font-size: 1rem;
}

.vuv-chip {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.25rem 0.7rem 0.25rem 0.25rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.78);
}

.vuv-chip__avatar {
    position: relative;
    width: 2.55rem;
    height: 2.55rem;
    flex-shrink: 0;
}

.vuv-chip__avatar img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid var(--vuv-teal);
    background: #123a5c;
}

.vuv-voice-waves {
    position: absolute;
    inset: -0.42rem;
    pointer-events: none;
    opacity: 0;
}

.vuv-app.is-speaking .vuv-voice-waves {
    opacity: 1;
}

.vuv-voice-waves span {
    position: absolute;
    inset: 0;
    border: 2px solid var(--vuv-teal);
    border-radius: 50%;
    animation: vuv-voice-wave 1.15s ease-out infinite;
}

.vuv-voice-waves span:nth-child(2) {
    animation-delay: 0.22s;
    border-color: var(--vuv-gold);
}

.vuv-voice-waves span:nth-child(3) {
    animation-delay: 0.44s;
    border-color: #7dd3fc;
}

@keyframes vuv-voice-wave {
    0% {
        transform: scale(0.62);
        opacity: 0.85;
    }
    100% {
        transform: scale(1.55);
        opacity: 0;
    }
}

.vuv-chip__kicker {
    margin: 0;
    font-size: 0.68rem;
    color: var(--vuv-teal);
    text-transform: uppercase;
}

.vuv-chip__name {
    margin: 0;
    font-weight: 700;
    font-size: 0.92rem;
}

.vuv-progress {
    margin: 0 0 0 0.4rem;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.8);
    font-weight: 700;
}

.vuv-check {
    position: fixed;
    z-index: 5;
    top: 4.4rem;
    right: 0.8rem;
    margin: 0;
    padding: 0.55rem 0.7rem;
    list-style: none;
    width: 13.4rem;
    max-height: calc(100vh - 7rem);
    overflow: auto;
    border-radius: 0.85rem;
    background: rgba(15, 23, 42, 0.78);
    font-size: 0.78rem;
}

.vuv-check li {
    display: flex;
    gap: 0.4rem;
    align-items: center;
    margin: 0.22rem 0;
    color: var(--vuv-muted);
}

.vuv-check li.is-on {
    color: #6ee7b7;
}

.vuv-hint {
    position: fixed;
    z-index: 5;
    left: 50%;
    bottom: 1rem;
    transform: translateX(-50%);
    margin: 0;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.7);
    color: var(--vuv-muted);
    font-size: 0.8rem;
    text-align: center;
    max-width: calc(100% - 1.5rem);
}

.vuv-app.is-xr .vuv-hint__desk,
.vuv-app:not(.is-xr) .vuv-hint__xr {
    display: none;
}

.vuv-reticle {
    position: fixed;
    z-index: 5;
    inset: 0;
    pointer-events: none;
}

.vuv-reticle__ring {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 2.4rem;
    height: 2.4rem;
    margin: -1.2rem 0 0 -1.2rem;
    border: 2px solid rgba(255, 255, 255, 0.55);
    border-radius: 50%;
}

.vuv-reticle.is-hot .vuv-reticle__ring {
    border-color: var(--vuv-teal);
    box-shadow: 0 0 16px var(--vuv-teal);
}

.vuv-reticle__cross {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 8px;
    height: 8px;
    margin: -4px 0 0 -4px;
    border-radius: 50%;
    background: #fff;
}

.vuv-look {
    position: fixed;
    z-index: 5;
    left: 50%;
    bottom: 3.4rem;
    transform: translateX(-50%);
    margin: 0;
    padding: 0.55rem 0.9rem;
    border-radius: 1rem;
    background: rgba(8, 47, 73, 0.88);
    text-align: center;
    min-width: 14rem;
}

.vuv-look strong {
    display: block;
    font-family: Fredoka, Outfit, sans-serif;
}

.vuv-look span {
    font-size: 0.8rem;
    color: #bae6fd;
}

.vuv-info {
    position: fixed;
    z-index: 8;
    left: 0.8rem;
    bottom: 3.6rem;
    width: min(22rem, calc(100% - 1.6rem));
    display: grid;
    grid-template-columns: 5.2rem 1fr;
    gap: 0.7rem;
    padding: 0.75rem;
    border-radius: 1rem;
    background: rgba(8, 25, 48, 0.92);
    border: 1px solid rgba(125, 211, 252, 0.35);
}

.vuv-info__photo {
    width: 5.2rem;
    height: 5.2rem;
    object-fit: cover;
    border-radius: 0.7rem;
}

.vuv-info__kicker {
    margin: 0;
    color: var(--vuv-teal);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
}

.vuv-info h3 {
    margin: 0.1rem 0 0.2rem;
    font-family: Fredoka, Outfit, sans-serif;
    font-size: 1.15rem;
}

.vuv-info__sci {
    margin: 0 0 0.35rem;
    color: #7dd3fc;
    font-size: 0.78rem;
}

.vuv-info__body p:last-child {
    margin: 0;
    font-size: 0.88rem;
    line-height: 1.4;
    color: var(--vuv-muted);
}

.vuv-info__actions {
    grid-column: 1 / -1;
    display: flex;
    justify-content: flex-end;
}

.vuv-controles {
    position: fixed;
    z-index: 12;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: min(28rem, calc(100% - 1.6rem));
    padding: 1.2rem 1.3rem 1.3rem;
    border-radius: 1.2rem;
    background: rgba(8, 25, 48, 0.96);
    border: 1px solid rgba(125, 211, 252, 0.3);
}

.vuv-controles__kicker {
    margin: 0 0 0.3rem;
    color: var(--vuv-teal);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
}

.vuv-controles h2 {
    margin: 0 0 0.7rem;
    font-family: Fredoka, Outfit, sans-serif;
}

.vuv-controles__list {
    margin: 0 0 1rem;
    padding-left: 1.1rem;
    color: var(--vuv-muted);
    line-height: 1.5;
}

.vuv-quiz {
    position: fixed;
    z-index: 22;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: min(32rem, calc(100% - 1.6rem));
    padding: 1.2rem 1.3rem 1.35rem;
    border-radius: 1.2rem;
    background: rgba(8, 25, 48, 0.96);
    border: 1px solid rgba(52, 211, 153, 0.35);
    pointer-events: auto;
}

.vuv-quiz__kicker {
    margin: 0 0 0.35rem;
    color: var(--vuv-green);
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
}

.vuv-quiz h2 {
    margin: 0 0 0.9rem;
    font-family: Fredoka, Outfit, sans-serif;
    font-size: 1.35rem;
    line-height: 1.3;
}

.vuv-quiz__opts {
    display: grid;
    gap: 0.55rem;
}

.vuv-quiz__opts button {
    appearance: none;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 0.85rem;
    padding: 0.75rem 0.9rem;
    min-height: 2.85rem;
    background: rgba(15, 23, 42, 0.8);
    color: #fff;
    font: 600 1rem Outfit, sans-serif;
    cursor: pointer;
    text-align: left;
    pointer-events: auto;
}

.vuv-quiz__opts button:hover {
    border-color: var(--vuv-teal);
}

.vuv-quiz__opts button.is-ok {
    background: rgba(16, 185, 129, 0.28);
    border-color: #34d399;
}

.vuv-quiz__opts button.is-bad {
    background: rgba(244, 63, 94, 0.28);
    border-color: #fb7185;
}

.vuv-quiz__why {
    margin: 0.8rem 0 0.9rem;
    color: #bae6fd;
    line-height: 1.45;
}

.vuv-result {
    position: fixed;
    z-index: 14;
    inset: 0;
    display: grid;
    place-items: center;
    background: rgba(5, 8, 22, 0.72);
}

.vuv-polaroid {
    width: min(22rem, calc(100% - 2rem));
    padding: 1rem;
    border-radius: 1.1rem;
    background: #f8fafc;
    color: #0f172a;
}

.vuv-polaroid__stamp {
    margin: 0 0 0.6rem;
    color: #0f766e;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.78rem;
    letter-spacing: 0.04em;
}

.vuv-polaroid figure {
    margin: 0;
}

.vuv-polaroid img {
    width: 100%;
    border-radius: 0.6rem;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.vuv-polaroid figcaption {
    padding: 0.55rem 0.15rem 0;
}

.vuv-polaroid strong {
    display: block;
    font-family: Fredoka, Outfit, sans-serif;
}

.vuv-polaroid em {
    font-style: normal;
    color: #64748b;
    font-size: 0.85rem;
}

.vuv-result__score {
    margin: 0.7rem 0;
    font-weight: 700;
}

.vuv-result__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.vuv-app.is-xr .vuv-reticle,
.vuv-app.is-xr .vuv-hint,
.vuv-app.is-xr .vuv-look,
.vuv-app.is-xr .vuv-check,
.vuv-app.is-xr .vuv-info,
.vuv-app.is-xr .vuv-controles,
.vuv-app.is-xr .vuv-quiz,
.vuv-app.is-xr .vuv-result,
.vuv-app.is-xr .vuv-hud {
    display: none !important;
}

@media (max-width: 720px) {
    .vuv-welcome {
        grid-template-columns: 1fr;
    }

    .vuv-info {
        grid-template-columns: 1fr;
    }

    .vuv-info__photo {
        width: 100%;
        height: 8rem;
    }

    .vuv-check {
        display: none;
    }
}
