:root {
    --negro: #050607;
    --negro-suave: rgba(5, 6, 7, 0.72);

    --oro: #c8aa67;
    --oro-claro: #e5d3a3;
    --oro-apagado: #97805a;

    --azul-magico: #8bbcff;

    --texto: #f3eee3;
    --texto-suave: rgba(243, 238, 227, 0.72);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    background: var(--negro);
    color: var(--texto);
    font-family: Georgia, "Times New Roman", serif;
    overflow: hidden;
}

button {
    font: inherit;
}


/* =========================================================
   ESCENARIO
   ========================================================= */

.entrada-dragonhall {
    position: relative;

    width: 100vw;
    height: 100svh;
    min-height: 600px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;

    padding:
        clamp(2rem, 5vh, 4rem)
        clamp(1.25rem, 4vw, 4rem)
        clamp(1.4rem, 3vh, 2.5rem);

    isolation: isolate;

    background-image:
        url("../assets/images/puerta.jpg");

    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}


/* =========================================================
   VELO DE LECTURA
   No tapa la puerta: solo ayuda a integrar el texto.
   ========================================================= */

.velo {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;

    background:
        linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.62) 0%,
            rgba(0, 0, 0, 0.15) 25%,
            rgba(0, 0, 0, 0.05) 55%,
            rgba(0, 0, 0, 0.56) 100%
        );
}


/* =========================================================
   IDENTIDAD
   ========================================================= */

.identidad-institucional {
    width: min(92vw, 720px);
    text-align: center;

    text-shadow:
        0 2px 12px rgba(0, 0, 0, 0.95),
        0 0 28px rgba(0, 0, 0, 0.8);

    animation: aparecer 1.4s ease-out both;
}

.universidad {
    margin-bottom: 0.55rem;

    color: var(--oro-claro);

    font-size: clamp(0.68rem, 1.25vw, 0.9rem);
    font-weight: 600;

    letter-spacing: 0.34em;
    text-transform: uppercase;
}

h1 {
    color: var(--texto);

    font-size: clamp(2.1rem, 5vw, 4.8rem);
    font-weight: 400;
    line-height: 1;

    letter-spacing: 0.04em;

    text-transform: uppercase;
}

.separador {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;

    width: min(75%, 360px);

    margin: 1rem auto 0.8rem;

    color: var(--oro);
}

.separador span:not(.rombo) {
    display: block;

    flex: 1;
    height: 1px;

    background:
        linear-gradient(
            to right,
            transparent,
            var(--oro),
            transparent
        );
}

.rombo {
    font-size: 0.48rem;

    text-shadow:
        0 0 8px rgba(200, 170, 103, 0.8);
}

.acceso-reservado {
    color: var(--texto-suave);

    font-size: clamp(0.72rem, 1.4vw, 0.92rem);
    letter-spacing: 0.19em;

    text-transform: uppercase;
}


/* =========================================================
   ACCESO
   ========================================================= */

.acceso {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;

    width: min(90vw, 330px);

    margin-top: auto;
    margin-bottom: clamp(1.7rem, 5vh, 4rem);

    animation: aparecer-desde-abajo 1.4s 0.25s ease-out both;
}

.boton-acceso {
    position: relative;

    width: 100%;
    min-height: 48px;

    padding: 0.85rem 1.4rem;

    border-radius: 2px;

    cursor: pointer;

    font-size: 0.76rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;

    transition:
        border-color 220ms ease,
        background-color 220ms ease,
        color 220ms ease,
        box-shadow 220ms ease,
        transform 220ms ease;
}

.boton-principal {
    border: 1px solid rgba(200, 170, 103, 0.75);

    background:
        linear-gradient(
            180deg,
            rgba(29, 24, 16, 0.9),
            rgba(10, 9, 7, 0.9)
        );

    color: var(--oro-claro);

    box-shadow:
        0 7px 30px rgba(0, 0, 0, 0.35),
        inset 0 0 20px rgba(200, 170, 103, 0.04);
}

.boton-principal:hover,
.boton-principal:focus-visible {
    border-color: var(--oro-claro);

    background:
        linear-gradient(
            180deg,
            rgba(46, 38, 24, 0.94),
            rgba(13, 11, 8, 0.94)
        );

    box-shadow:
        0 7px 30px rgba(0, 0, 0, 0.45),
        0 0 22px rgba(200, 170, 103, 0.18);

    transform: translateY(-1px);
}

.boton-secundario {
    border: 1px solid rgba(229, 211, 163, 0.23);

    background: rgba(4, 6, 9, 0.58);

    color: rgba(243, 238, 227, 0.75);
}

.boton-secundario:hover,
.boton-secundario:focus-visible {
    border-color: rgba(139, 188, 255, 0.55);

    color: #e5efff;

    background: rgba(6, 12, 21, 0.75);

    box-shadow:
        0 0 18px rgba(93, 156, 255, 0.12);

    transform: translateY(-1px);
}

.boton-acceso:focus-visible {
    outline: 1px solid var(--oro-claro);
    outline-offset: 4px;
}


/* =========================================================
   PIE
   ========================================================= */

.marca-inferior {
    position: absolute;
    bottom: 1rem;

    color: rgba(243, 238, 227, 0.42);

    font-size: 0.62rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

/* =========================================================
   TERMINAL DE IDENTIFICACIÓN
   ========================================================= */

.terminal-identificacion {
    position: absolute;
    inset: 0;
    z-index: 20;

    display: flex;
    align-items: flex-end;
    justify-content: center;

    padding:
        4vh
        clamp(1rem, 4vw, 4rem)
        5vh;

    background:
        radial-gradient(
            ellipse at 50% 85%,
            rgba(46, 145, 210, 0.13),
            transparent 45%
        ),
        rgba(0, 0, 0, 0.38);

    backdrop-filter: blur(1.5px);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition:
        opacity 320ms ease,
        visibility 320ms ease;
}

.terminal-identificacion[hidden] {
    display: none;
}

.terminal-identificacion.activo {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}


/* =========================================================
   MARCO PRINCIPAL
   ========================================================= */

.terminal-marco {
    position: relative;

    width: min(92vw, 880px);

    padding:
        clamp(1.3rem, 2.5vw, 2rem)
        clamp(1.2rem, 3vw, 2.4rem)
        1rem;

    overflow: hidden;

    border: 1px solid rgba(112, 198, 255, 0.46);

    clip-path:
        polygon(
            3% 0,
            97% 0,
            100% 11%,
            100% 89%,
            97% 100%,
            3% 100%,
            0 89%,
            0 11%
        );

    background:
        linear-gradient(
            180deg,
            rgba(6, 18, 28, 0.97),
            rgba(3, 10, 16, 0.98)
        );

    box-shadow:
        0 30px 70px rgba(0, 0, 0, 0.72),
        0 0 36px rgba(77, 175, 240, 0.18),
        inset 0 0 40px rgba(60, 163, 229, 0.06);

    transform-origin: center bottom;

    opacity: 0;

    transform:
        perspective(1200px)
        rotateX(7deg)
        translateY(70px)
        scale(0.96);

    transition:
        opacity 850ms ease,
        transform 950ms cubic-bezier(0.16, 1, 0.3, 1);
}

.terminal-identificacion.activo .terminal-marco {
    opacity: 1;

    transform:
        perspective(1200px)
        rotateX(2deg)
        translateY(0)
        scale(1);
}

.terminal-marco::before {
    content: "";

    position: absolute;
    inset: 5px;

    pointer-events: none;

    border: 1px solid rgba(200, 170, 103, 0.17);

    clip-path:
        polygon(
            3% 0,
            97% 0,
            100% 11%,
            100% 89%,
            97% 100%,
            3% 100%,
            0 89%,
            0 11%
        );
}

.terminal-marco::after {
    content: "";

    position: absolute;
    inset: 0;

    pointer-events: none;

    opacity: 0.22;

    background:
        repeating-linear-gradient(
            to bottom,
            transparent 0,
            transparent 3px,
            rgba(111, 202, 255, 0.045) 4px
        );
}


/* =========================================================
   CABECERA
   ========================================================= */

.terminal-cabecera {
    position: relative;
    z-index: 2;

    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;

    gap: 1.2rem;

    padding-bottom: 1rem;

    border-bottom: 1px solid rgba(111, 197, 255, 0.14);
}

.terminal-sello {
    position: relative;

    display: grid;
    place-items: center;

    width: 52px;
    height: 52px;
}

.sello-anillo {
    position: absolute;
    inset: 3px;

    border: 1px solid rgba(111, 197, 255, 0.68);
    border-radius: 50%;

    box-shadow: 0 0 12px rgba(67, 168, 235, 0.2);

    animation: girar-sello 12s linear infinite;
}

.sello-anillo::before,
.sello-anillo::after {
    content: "";

    position: absolute;

    background: var(--azul-magico);
}

.sello-anillo::before {
    top: 50%;
    left: -4px;

    width: 8px;
    height: 1px;
}

.sello-anillo::after {
    top: -4px;
    left: 50%;

    width: 1px;
    height: 8px;
}

.sello-nucleo {
    width: 12px;
    height: 12px;

    border: 1px solid var(--oro-claro);

    background: rgba(89, 184, 255, 0.16);

    box-shadow:
        0 0 8px rgba(139, 188, 255, 0.8),
        0 0 18px rgba(89, 184, 255, 0.35);

    transform: rotate(45deg);
}

.terminal-universidad {
    margin-bottom: 0.3rem;

    color: var(--oro);

    font-size: 0.58rem;

    letter-spacing: 0.28em;
    text-transform: uppercase;
}

.terminal-titulos h2 {
    color: #b9e5ff;

    font-size: clamp(1rem, 2vw, 1.35rem);
    font-weight: 400;

    letter-spacing: 0.13em;
    text-transform: uppercase;

    text-shadow: 0 0 14px rgba(89, 184, 255, 0.2);
}

.terminal-subtitulo {
    margin-top: 0.32rem;

    color: rgba(190, 221, 239, 0.5);

    font-family: "Courier New", monospace;
    font-size: 0.55rem;

    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.terminal-estado {
    display: flex;
    align-items: center;

    gap: 0.45rem;

    color: rgba(185, 229, 255, 0.56);

    font-family: "Courier New", monospace;
    font-size: 0.52rem;

    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.estado-luz {
    width: 6px;
    height: 6px;

    border-radius: 50%;

    background: var(--azul-magico);

    box-shadow: 0 0 8px var(--azul-magico);

    animation: pulso-terminal 1.8s ease-in-out infinite;
}


/* =========================================================
   CUERPO
   ========================================================= */

.terminal-cuerpo {
    position: relative;
    z-index: 2;

    display: grid;
    grid-template-columns: 120px 1fr;
    align-items: center;

    gap: clamp(1.3rem, 4vw, 3rem);

    padding:
        clamp(1rem, 2.5vh, 1.6rem)
        clamp(0.4rem, 2vw, 1rem);
}


/* =========================================================
   NÚCLEO
   ========================================================= */

.terminal-nucleo {
    position: relative;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    height: 165px;
}

.nucleo-halo {
    position: absolute;

    width: 100px;
    height: 100px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(76, 185, 255, 0.25),
            rgba(38, 122, 181, 0.08) 45%,
            transparent 70%
        );

    filter: blur(8px);

    animation: halo-terminal 2.4s ease-in-out infinite;
}

.nucleo-cristal {
    position: relative;
    z-index: 2;

    width: 31px;
    height: 91px;

    clip-path:
        polygon(
            50% 0,
            84% 22%,
            100% 72%,
            50% 100%,
            0 72%,
            16% 22%
        );

    border: 1px solid rgba(193, 233, 255, 0.75);

    background:
        linear-gradient(
            90deg,
            rgba(33, 116, 173, 0.72),
            rgba(164, 225, 255, 0.94) 48%,
            rgba(37, 128, 188, 0.72)
        );

    box-shadow:
        0 0 8px #58bdff,
        0 0 24px rgba(61, 171, 243, 0.7),
        0 0 45px rgba(43, 135, 198, 0.35);

    animation: cristal-terminal 2.4s ease-in-out infinite;
}

.nucleo-cristal::after {
    content: "";

    position: absolute;

    top: 9px;
    bottom: 12px;
    left: 50%;

    width: 1px;

    background: rgba(232, 249, 255, 0.88);

    box-shadow: 0 0 5px white;
}

.nucleo-base {
    position: relative;
    z-index: 1;

    width: 68px;
    height: 12px;

    margin-top: -2px;

    border: 1px solid rgba(200, 170, 103, 0.45);
    border-radius: 50%;

    background: rgba(8, 16, 21, 0.95);

    box-shadow: 0 0 12px rgba(71, 176, 245, 0.25);
}


/* =========================================================
   FORMULARIO
   ========================================================= */

.form-identificacion {
    display: grid;
    grid-template-columns: 1fr 0.75fr;

    gap: 1rem 1.1rem;

    width: 100%;

    align-items: end;
}

.campo-terminal label {
    display: block;

    margin: 0 0 0.42rem 0.15rem;

    color: rgba(180, 221, 245, 0.62);

    font-family: "Courier New", monospace;
    font-size: 0.58rem;

    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.control-terminal {
    position: relative;

    display: flex;
    align-items: center;

    min-height: 49px;

    border: 1px solid rgba(88, 179, 238, 0.32);

    background:
        linear-gradient(
            90deg,
            rgba(10, 35, 51, 0.78),
            rgba(7, 21, 32, 0.7)
        );

    box-shadow:
        inset 0 0 20px rgba(57, 156, 220, 0.04);

    transition:
        border-color 200ms ease,
        box-shadow 200ms ease,
        background 200ms ease;
}

.control-terminal:focus-within {
    border-color: rgba(111, 202, 255, 0.76);

    background:
        linear-gradient(
            90deg,
            rgba(11, 45, 66, 0.86),
            rgba(7, 24, 36, 0.8)
        );

    box-shadow:
        0 0 14px rgba(56, 164, 235, 0.12),
        inset 0 0 18px rgba(57, 156, 220, 0.06);
}

.control-marca {
    min-width: 49px;

    padding-left: 0.8rem;

    color: rgba(200, 170, 103, 0.65);

    font-family: "Courier New", monospace;
    font-size: 0.55rem;

    letter-spacing: 0.08em;
}

.control-terminal input {
    width: 100%;

    padding:
        0.8rem
        2rem
        0.8rem
        0.4rem;

    border: 0;
    outline: 0;

    background: transparent;

    color: #b9e5ff;

    font-family: "Courier New", monospace;
    font-size: 0.85rem;

    letter-spacing: 0.15em;

    caret-color: var(--azul-magico);
}

.control-terminal input::placeholder {
    color: rgba(162, 207, 233, 0.24);
}

.control-indicador {
    position: absolute;
    right: 11px;

    width: 5px;
    height: 5px;

    border-radius: 50%;

    background: rgba(99, 190, 247, 0.45);

    box-shadow: 0 0 5px rgba(99, 190, 247, 0.35);
}


/* =========================================================
   VERIFICACIÓN
   ========================================================= */

.boton-verificar {
    grid-column: 1 / -1;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 1rem;

    width: 100%;

    padding: 0.72rem 1rem;

    border: 1px solid rgba(200, 170, 103, 0.34);

    cursor: pointer;

    background:
        linear-gradient(
            90deg,
            rgba(8, 20, 29, 0.85),
            rgba(19, 40, 51, 0.9),
            rgba(8, 20, 29, 0.85)
        );

    color: var(--oro-claro);

    font-size: 0.64rem;

    letter-spacing: 0.2em;
    text-transform: uppercase;

    transition:
        border-color 200ms ease,
        box-shadow 200ms ease,
        color 200ms ease;
}

.boton-verificar span {
    width: min(15%, 65px);
    height: 1px;

    background:
        linear-gradient(
            to right,
            transparent,
            rgba(103, 194, 250, 0.6)
        );
}

.boton-verificar span:last-child {
    transform: rotate(180deg);
}

.boton-verificar:hover,
.boton-verificar:focus-visible {
    border-color: rgba(111, 202, 255, 0.68);

    color: #f4fbff;

    box-shadow:
        0 0 18px rgba(65, 170, 237, 0.13),
        inset 0 0 18px rgba(58, 159, 224, 0.05);

    outline: none;
}


/* =========================================================
   PIE DEL TERMINAL
   ========================================================= */

.terminal-pie {
    position: relative;
    z-index: 2;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding-top: 0.7rem;

    border-top: 1px solid rgba(111, 197, 255, 0.1);
}

.boton-volver {
    border: 0;

    cursor: pointer;

    background: transparent;

    color: rgba(184, 219, 239, 0.52);

    font-family: "Courier New", monospace;
    font-size: 0.56rem;

    letter-spacing: 0.13em;
    text-transform: uppercase;

    transition:
        color 180ms ease,
        text-shadow 180ms ease;
}

.boton-volver:hover,
.boton-volver:focus-visible {
    color: #b9e5ff;

    text-shadow: 0 0 8px rgba(86, 181, 243, 0.4);

    outline: none;
}

.terminal-referencia {
    display: flex;

    gap: 1.5rem;

    color: rgba(115, 176, 211, 0.3);

    font-family: "Courier New", monospace;
    font-size: 0.45rem;

    letter-spacing: 0.09em;
    text-transform: uppercase;
}

/* =========================================================
   TERMINAL DE PRIMERA ACREDITACIÓN
   ========================================================= */

.terminal-acreditacion {
    position: absolute;
    inset: 0;
    z-index: 20;

    display: flex;
    align-items: flex-end;
    justify-content: center;

    padding:
        3vh
        clamp(1rem, 4vw, 4rem)
        4vh;

    background:
        radial-gradient(
            ellipse at 50% 85%,
            rgba(46, 145, 210, 0.13),
            transparent 45%
        ),
        rgba(0, 0, 0, 0.38);

    backdrop-filter: blur(1.5px);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition:
        opacity 320ms ease,
        visibility 320ms ease;
}

.terminal-acreditacion[hidden] {
    display: none;
}

.terminal-acreditacion.activo {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.terminal-acreditacion.activo .terminal-marco {
    opacity: 1;

    transform:
        perspective(1200px)
        rotateX(2deg)
        translateY(0)
        scale(1);
}


/* =========================================================
   FORMULARIO DE ACREDITACIÓN
   ========================================================= */

.form-acreditacion {
    position: relative;
    z-index: 2;

    padding:
        clamp(1rem, 2.3vh, 1.5rem)
        clamp(0.4rem, 2vw, 1rem)
        0.9rem;
}

.acreditacion-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap:
        0.85rem
        1.1rem;
}

.campo-ancho {
    grid-column: 1 / -1;
}


/* =========================================================
   SELECT DE HERMANDAD
   ========================================================= */

.control-select select {
    width: 100%;

    padding:
        0.8rem
        2.2rem
        0.8rem
        0.4rem;

    border: 0;
    outline: 0;

    appearance: none;

    background: transparent;

    color: #b9e5ff;

    font-family: "Courier New", monospace;
    font-size: 0.78rem;

    letter-spacing: 0.1em;

    cursor: pointer;
}

.control-select select:invalid {
    color: rgba(162, 207, 233, 0.3);
}

.control-select select option {
    background: #07131d;
    color: #d9efff;
}


/* =========================================================
   ARCHIVO DE CREDENCIAL
   ========================================================= */

.campo-archivo {
    margin-top: 0.15rem;
}

.control-archivo {
    display: flex;
    align-items: center;

    gap: 1rem;

    min-height: 52px;

    padding:
        0.45rem
        0.7rem;

    border: 1px solid rgba(88, 179, 238, 0.28);

    background:
        linear-gradient(
            90deg,
            rgba(10, 35, 51, 0.72),
            rgba(7, 21, 32, 0.66)
        );
}

.control-archivo input[type="file"] {
    position: absolute;

    width: 1px;
    height: 1px;

    overflow: hidden;

    opacity: 0;

    pointer-events: none;
}

.boton-archivo {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 0.55rem;

    flex-shrink: 0;

    min-height: 36px;

    padding:
        0.55rem
        0.9rem;

    border: 1px solid rgba(200, 170, 103, 0.38);

    cursor: pointer;

    background:
        linear-gradient(
            180deg,
            rgba(24, 29, 30, 0.9),
            rgba(8, 15, 19, 0.9)
        );

    color: var(--oro-claro);

    font-family: "Courier New", monospace;
    font-size: 0.54rem;

    letter-spacing: 0.11em;
    text-transform: uppercase;

    transition:
        border-color 180ms ease,
        box-shadow 180ms ease,
        color 180ms ease;
}

.boton-archivo:hover,
.boton-archivo:focus-visible {
    border-color: rgba(111, 202, 255, 0.68);

    color: #edf9ff;

    box-shadow:
        0 0 14px rgba(65, 170, 237, 0.12);

    outline: none;
}

.nombre-archivo {
    min-width: 0;

    overflow: hidden;

    color: rgba(183, 219, 239, 0.42);

    font-family: "Courier New", monospace;
    font-size: 0.52rem;

    letter-spacing: 0.07em;

    text-overflow: ellipsis;
    white-space: nowrap;
}


/* =========================================================
   NOTA Y ENVÍO
   ========================================================= */

.nota-acreditacion {
    margin:
        0.8rem
        0
        0.65rem;

    color: rgba(174, 210, 231, 0.42);

    font-family: "Courier New", monospace;
    font-size: 0.5rem;

    line-height: 1.45;
    letter-spacing: 0.08em;
    text-align: center;
    text-transform: uppercase;
}

.boton-enviar-acreditacion {
    margin-top: 0;
}


/* =========================================================
   ADAPTACIÓN DEL TERMINAL DE ACREDITACIÓN
   ========================================================= */

@media (max-width: 760px) {

    .terminal-acreditacion {
        align-items: center;

        padding:
            1.2rem
            1rem;
    }

    .terminal-acreditacion .terminal-marco {
        max-height: 92svh;

        overflow-y: auto;
    }

    .acreditacion-grid {
        grid-template-columns: 1fr;
    }

    .campo-ancho {
        grid-column: auto;
    }

    .control-archivo {
        align-items: stretch;
        flex-direction: column;

        gap: 0.55rem;
    }

    .boton-archivo {
        width: 100%;
    }

    .nombre-archivo {
        text-align: center;
    }

}


/* =========================================================
   ANIMACIONES DEL TERMINAL
   ========================================================= */

@keyframes girar-sello {
    to {
        transform: rotate(360deg);
    }
}

@keyframes pulso-terminal {
    0%,
    100% {
        opacity: 0.45;
    }

    50% {
        opacity: 1;
    }
}

@keyframes halo-terminal {
    0%,
    100% {
        opacity: 0.55;
        transform: scale(0.92);
    }

    50% {
        opacity: 1;
        transform: scale(1.08);
    }
}

@keyframes cristal-terminal {
    0%,
    100% {
        filter: brightness(0.9);
    }

    50% {
        filter: brightness(1.25);
    }
}

/* =========================================================
   TRANSICIÓN PORTADA → TERMINAL
   ========================================================= */

.identidad-institucional,
.acceso,
.marca-inferior {
    transition: none;
}

.salida-portada {
    pointer-events: none;

    animation:
        desvanecer-portada
        1.4s
        ease-in-out
        forwards !important;
}

@keyframes desvanecer-portada {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}


/* =========================================================
   ANIMACIONES
   ========================================================= */

@keyframes aparecer {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes aparecer-desde-abajo {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* =========================================================
   MÓVIL
   ========================================================= */

@media (max-width: 600px) {

    .entrada-dragonhall {
        padding-top: 2.2rem;

        background-position: center center;
    }

    .universidad {
        letter-spacing: 0.24em;
    }

    h1 {
        font-size: clamp(2rem, 10vw, 3rem);
    }

    .acceso-reservado {
        line-height: 1.55;
        letter-spacing: 0.13em;
    }

    .acceso {
        width: min(88vw, 315px);
        margin-bottom: 3rem;
    }

}


/* =========================================================
   REDUCCIÓN DE MOVIMIENTO
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

}