* {
    box-sizing: border-box;
}

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

body {
    position: relative;
    overflow: hidden;

    color: white;
    font-family: Arial, Helvetica, sans-serif;
}

/* Soft dream-like atmosphere over the page */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none;

    background:
        radial-gradient(
            circle at 50% 45%,
            rgba(151, 116, 255, 0.18),
            transparent 35%
        ),
        radial-gradient(
            circle at 35% 60%,
            rgba(80, 190, 255, 0.08),
            transparent 35%
        ),
        rgba(0, 0, 0, 0.12);
}

/* Main video area */
.landing-page {
    position: relative;
    z-index: 0;

    width: 100%;
    min-height: 100svh;
    padding: 40px 20px;

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

    overflow: hidden;
}

.landing-video {
    display: block;
    width: 800px;
    max-width: 84vw;
    height: auto;

    border: none;
    outline: none;

    opacity: 0.88;
    filter:
        brightness(0.8)
        contrast(1.05)
        saturate(0.85);
}

.construction-message {
    margin: 0;

    color: rgba(255, 255, 255, 0.7);

    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.35em;
    text-align: center;
}

/* Password box */
.dream-access {
    position: fixed;
    top: 50%;
    left: 50%;
    z-index: 2;

    transform: translate(-50%, -50%);

    width: 330px;
    max-width: calc(100vw - 32px);
    padding: 22px;

    isolation: isolate;

    background: rgba(5, 5, 12, 0.68);

    border: 1px solid rgba(255, 255, 255, 0.34);
    border-radius: 16px;

    box-shadow:
        0 0 10px rgba(255, 255, 255, 0.18),
        0 0 30px rgba(146, 104, 255, 0.24),
        0 0 70px rgba(83, 173, 255, 0.12);

    backdrop-filter: blur(16px) saturate(140%);
    -webkit-backdrop-filter: blur(16px) saturate(140%);

    animation:
        dream-float 6s ease-in-out infinite,
        dream-glow 4s ease-in-out infinite alternate;
}

/* Blurred colored aura around the box */
.dream-access::before {
    content: "";
    position: absolute;
    inset: -2px;
    z-index: -1;

    border-radius: 18px;

    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.4),
        rgba(154, 112, 255, 0.5),
        rgba(80, 190, 255, 0.28),
        rgba(255, 255, 255, 0.2)
    );

    filter: blur(10px);
    opacity: 0.55;
}

/* Soft light inside the box */
.dream-access::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;

    border-radius: inherit;

    background:
        radial-gradient(
            circle at top,
            rgba(255, 255, 255, 0.12),
            transparent 55%
        );
}

.dream-access-title {
    margin: 0 0 16px;

    color: rgba(255, 255, 255, 0.92);

    font-size: 10px;
    font-weight: 400;
    letter-spacing: 0.3em;
    line-height: 1.6;
    text-align: center;

    text-shadow:
        0 0 6px rgba(255, 255, 255, 0.45),
        0 0 14px rgba(157, 119, 255, 0.45);
}

.dream-form {
    display: flex;
    gap: 8px;
}

.dream-password {
    width: 100%;
    min-width: 0;
    padding: 10px 11px;

    color: white;
    background: rgba(0, 0, 0, 0.48);

    border: 1px solid rgba(255, 255, 255, 0.32);
    border-radius: 7px;
    outline: none;

    font: inherit;
    font-size: 10px;
    letter-spacing: 0.15em;

    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease;
}

.dream-password::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.dream-password:focus {
    background: rgba(0, 0, 0, 0.68);
    border-color: rgba(255, 255, 255, 0.8);

    box-shadow:
        0 0 7px rgba(255, 255, 255, 0.25),
        0 0 18px rgba(143, 100, 255, 0.35);
}

.dream-button {
    padding: 10px 13px;

    color: black;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.98),
        rgba(212, 197, 255, 0.95)
    );

    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 7px;

    font: inherit;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.15em;

    cursor: pointer;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.dream-button:hover {
    transform: translateY(-1px);

    box-shadow:
        0 0 8px rgba(255, 255, 255, 0.65),
        0 0 22px rgba(151, 111, 255, 0.45);
}

.dream-button:active {
    transform: translateY(0);
}

.dream-error {
    min-height: 12px;
    margin: 10px 0 0;

    color: rgba(255, 210, 235, 0.85);

    font-size: 8px;
    letter-spacing: 0.2em;
    text-align: center;

    text-shadow: 0 0 8px rgba(255, 100, 180, 0.45);
}

@keyframes dream-float {
    0%,
    100% {
        transform: translate(-50%, -50%);
    }

    50% {
        transform: translate(-50%, calc(-50% - 6px));
    }
}

@keyframes dream-glow {
    from {
        box-shadow:
            0 0 10px rgba(255, 255, 255, 0.16),
            0 0 28px rgba(146, 104, 255, 0.2),
            0 0 60px rgba(83, 173, 255, 0.09);
    }

    to {
        box-shadow:
            0 0 14px rgba(255, 255, 255, 0.25),
            0 0 42px rgba(146, 104, 255, 0.34),
            0 0 85px rgba(83, 173, 255, 0.16);
    }
}

@media (max-width: 500px) {
    .dream-access {
        width: 290px;
        padding: 19px;
    }

    .dream-form {
        flex-direction: column;
    }

    .dream-button {
        width: 100%;
    }

    .construction-message {
        font-size: 10px;
        letter-spacing: 0.25em;
    }
}

@media (prefers-reduced-motion: reduce) {
    .dream-access {
        animation: none;
    }
}
/* -------------------------------------------------
   LOW-KEY DESKTOP PASSWORD BOX
   Mobile layout remains unchanged
-------------------------------------------------- */

@media (min-width: 900px) {
    .dream-access {
        top: auto;
        right: auto;
        bottom: 28px;
        left: 50%;

        transform: translateX(-50%);

        width: 390px;
        max-width: calc(100vw - 48px);
        padding: 14px 16px;

        background: rgba(0, 0, 0, 0.82);
        border: 1px solid rgba(255, 255, 255, 0.18);
        border-radius: 8px;

        box-shadow:
            0 0 12px rgba(255, 255, 255, 0.08),
            0 0 26px rgba(135, 105, 255, 0.08);

        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);

        animation: none;
    }

    .dream-access::before {
        inset: -1px;

        border-radius: 9px;

        background: linear-gradient(
            90deg,
            transparent,
            rgba(255, 255, 255, 0.18),
            transparent
        );

        filter: blur(7px);
        opacity: 0.22;
    }

    .dream-access::after {
        background: none;
    }

    .dream-access-title {
        margin: 0 0 10px;

        font-size: 9px;
        font-weight: 400;
        letter-spacing: 0.28em;

        text-shadow: none;
    }

    .dream-form {
        display: grid;
        grid-template-columns: 1fr auto;
        gap: 8px;
    }

    .dream-password {
        padding: 8px 10px;

        background: rgba(0, 0, 0, 0.8);
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 4px;

        font-size: 10px;
        letter-spacing: 0.14em;
    }

    .dream-password:focus {
        border-color: rgba(255, 255, 255, 0.55);

        box-shadow:
            0 0 6px rgba(255, 255, 255, 0.12),
            0 0 14px rgba(140, 110, 255, 0.1);
    }

    .dream-button {
        padding: 8px 13px;

        color: rgba(255, 255, 255, 0.88);
        background: rgba(255, 255, 255, 0.08);

        border: 1px solid rgba(255, 255, 255, 0.22);
        border-radius: 4px;

        font-size: 9px;
        font-weight: 400;
        letter-spacing: 0.16em;
    }

    .dream-button:hover {
        background: rgba(255, 255, 255, 0.14);

        box-shadow:
            0 0 8px rgba(255, 255, 255, 0.12);
    }

    .dream-error {
        min-height: 9px;
        margin: 6px 0 0;

        font-size: 7px;
        letter-spacing: 0.18em;
    }
}
@media (min-width: 900px) {
    body {
        background: black;
    }

    body::before {
        background: none;
    }
}