html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100dvh;
    overflow-x: hidden;
    overflow-y: auto;
    background: black;
    font-family: "Noto Sans Thai", sans-serif;
    -webkit-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
}
/* Stop dragging mah shit bro */
img {
    -webkit-user-drag: none;
    user-drag: none;
    -webkit-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
}
/* Video */
#background-video {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100dvh;
    object-fit: cover;
    object-position: center;
    background: black;
    z-index: 0;
    pointer-events: none;
}

.content {
    position: relative;
    z-index: 2;
    min-height: 100dvh;
    padding: 60px 20px 65px;
    box-sizing: border-box;
}
/* Language */
.language-switch {
    position: fixed;
    top: 15px;
    left: 15px;
    z-index: 10;
    display: flex;
    gap: 8px;
}

.language-switch button {
    padding: 8px 14px;
    border: 1px solid rgba(180, 225, 255, 0.72);
    border-radius: 999px;
    background: rgba(15, 35, 60, 0.52);
    color: #eef8ff;
    font-family: "Noto Sans Thai", sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    backdrop-filter: blur(6px);
    -webkit-user-select: none;
    user-select: none;
    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.language-switch button:hover {
    background: rgba(145, 210, 255, 0.24);
    transform: translateY(-1px);
}
/* Back Home */
.home-button {
    position: fixed;
    top: 15px;
    right: 15px;
    z-index: 10;
    padding: 8px 14px;
    text-decoration: none;
    color: #eef8ff;
    background: rgba(15, 35, 60, 0.52);
    border: 1px solid rgba(180, 225, 255, 0.72);
    border-radius: 999px;
    font-family: "Noto Sans Thai", sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    backdrop-filter: blur(6px);
    -webkit-user-drag: none;
    -webkit-user-select: none;
    user-select: none;
    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.home-button:hover {
    background: rgba(145, 210, 255, 0.24);
    transform: translateY(-1px);
}
/* Headers */
h1 {
    position: relative;
    z-index: 2;
    margin: 1vh 20px 8px;
    text-align: center;
    color: #f7fbff;
    font-family: "Mali", cursive;
    font-size: clamp(1.9rem, 6vw, 2.8rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.02em;
    text-shadow:
        0 2px 5px rgba(0, 0, 0, 0.95),
        0 0 10px rgba(120, 190, 255, 0.35);
}

h2 {
    position: relative;
    z-index: 2;
    margin-top: 10px;
    margin-bottom: 6px;
    text-align: center;
    color: #dff2ff;
    font-family: "Mali", cursive;
    font-size: clamp(1.1rem, 3vw, 1.5rem);
    font-weight: 600;
    line-height: 1.35;
    text-shadow:
        0 2px 5px rgba(0, 0, 0, 0.9);
}
/* ASCII */
.ascii-wrapper {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    width: 100%;
    margin: 10px auto 14px;
}

.future-ascii {
    margin: 0;

    font-family: monospace;

    font-size: clamp(0.18rem, 0.62vw, 0.46rem);
    line-height: 0.95;

    white-space: pre;

    background: linear-gradient(
        90deg,
        #8fd3ff 0%,
        #aee2ff 45%,
        #eef9ff 55%,
        #ffffff 100%
    );

    -webkit-background-clip: text;
    background-clip: text;

    color: transparent;

    filter:
        drop-shadow(0 0 3px rgba(135, 210, 255, 0.85))
        drop-shadow(0 0 7px rgba(135, 210, 255, 0.60))
        drop-shadow(0 0 12px rgba(135, 210, 255, 0.35));

    text-shadow:
        0 2px 5px rgba(0, 0, 0, 0.8);
}
/* Future Text & Ending */
.future-text {
    position: relative;
    z-index: 2;
    width: 90%;
    max-width: 950px;
    margin: 18px auto;
    color: #f3fbff;
    font-family: "Noto Sans Thai", sans-serif;
    font-size: clamp(1rem, 1.9vw, 1.15rem);
    font-weight: 400;
    line-height: 1.7;
    text-align: center;
    text-shadow:
        0 2px 5px rgba(0, 0, 0, 1),
        0 0 8px rgba(0, 0, 0, 0.75);
}

.future-text p {
    margin: 0 0 17px;
}

.ending {
    color: #ccecff;
    font-family: "Mali", cursive;
    font-size: 1.04em;
    font-weight: 600;
    line-height: 1.5;
}

.signature {
    color: #9fdcff;
    font-family: "Mali", cursive;
    font-size: 1.12em;
    font-weight: 600;
    font-style: normal;
    margin-top: 4px;
}

/* Phone Debug */
@media (max-width: 600px) {
    .content {
        padding: 55px 10px 45px;
    }
    .language-switch {
        top: 10px;
        left: 10px;
        gap: 5px;
    }

    .language-switch button {
        padding: 6px 10px;
        font-size: 0.8rem;
    }

    .home-button {
        top: 10px;
        right: 10px;
        padding: 6px 10px;
        font-size: 0.8rem;
    }

    h1 {
        font-size: clamp(1.7rem, 8vw, 2.3rem);
        margin-top: 6px;
        margin-bottom: 6px;
    }

    h2 {
        font-size: clamp(1rem, 4.5vw, 1.3rem);
        margin-top: 8px;
        margin-bottom: 4px;
    }

    .ascii-wrapper {
        margin: 8px auto;
    }

    .future-ascii {
        font-size: clamp(0.12rem, 0.70vw, 0.29rem);
        line-height: 0.95;
    }

    .future-text {
        width: 96%;
        margin: 10px auto;
        font-size: 0.92rem;
        line-height: 1.55;
    }

    .future-text p {
        margin-bottom: 12px;
    }

    .ending {
        font-size: 1em;
        line-height: 1.45;
    }

    .signature {
        font-size: 1.08em;
        margin-top: 2px;
    }
}