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

body {
    color: #000000;

    font-family: "BIZ UDGothic", sans-serif;
    font-size: 14px;
    line-height: 1.7;

    background-image: url("assets/background2.jpg");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
}


/* PAGE AREA */

.image-area {
    min-height: 100vh;

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

    padding: 60px 24px;
    box-sizing: border-box;
}

.fate-logo {
    position: absolute;

    width: 260px;
    height: auto;

    left: 320px;
    top: 250px;

    z-index: 3;
}

.mobile-fate-logo {
    display: none;
}


/* CUSTOM TEXT SHAPE */

.text-box {
    background-image: url("assets/fate_shape_again.png");
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;

    width: 1300px;
    height: 722px;
    max-width: none;

    padding-top: 250px;
    padding-right: 210px;
    padding-bottom: 150px;
    padding-left: 250px;

    box-sizing: border-box;
    position: relative;
}

/* STICKERS */

.sticker {
    position: absolute;
    height: auto;
    z-index: 2;
    pointer-events: none;
}

.sticker-one {
    width: 120px;
    left: -15px;
    bottom: 0px;
}

.sticker-two {
    width: 170px;
    right: 100px;
    top: -30px;
    transform: rotate(10deg);
}


/* MAIN TITLE */

h1 {
    font-family: "BIZ UDGothic", sans-serif;
    font-size: 52px;
    font-weight: 400;

    margin-top: 0;
    margin-bottom: 30px;
}


/* TWO COLUMNS */

.columns {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 50px;
    align-items: flex-start;

    position: relative;
    left: 35px;
    top: 70px;
}


/* DESCRIPTION */

.description {
    max-width: 620px;
    padding-left: 0;
}

.description p {
    max-width: 500px;
    margin-top: 0;
    margin-bottom: 18px;
}


/* ARCHIVE */

.archive {
    position: relative;
    left: -50px;
}

.archive h2 {
    margin-top: 0;
    margin-bottom: 12px;
}

.archive ul {
    margin-top: 0;
    padding-left: 0;
    list-style: none;
}

.archive li {
    margin-bottom: 3px;
}

.archive a {
    color: #3063F2;
    position: relative;
    display: inline-block;
    white-space: nowrap;
}


/* KAOMOJI HOVER */

.archive li a:hover::after {
    content: attr(data-kaomoji);
    color: #000000;

    position: absolute;
    left: 100%;
    margin-left: 10px;

    white-space: nowrap;
}

.full-archive {
    display: block;
    width: fit-content;

    margin-top: 18px;

    font-size: 12px;
    color: #3063F2;
}

/* CREDITS */

.credits-link {
    position: static;
    display: inline-block;
    margin-top: 20px;

    font-size: 11px;
    color: #3063F2;
}

/* MOBILE */

@media (max-width: 700px) {
    body {
    background-attachment: scroll;
    }
    .image-area {
    min-height: 100vh;
    padding: 20px 12px;

    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

    /* Replace the decorative blob with a simple white box on mobile */
    .text-box {
        width: 100%;
        height: auto;
        max-width: 100%;

        background-image: none;
        background-color: #ffffff;

        padding: 28px 22px;
        box-sizing: border-box;

        position: relative;
    }
    
    .fate-logo {
    display: none;
}

.mobile-fate-logo {
    display: block;

    width: 100%;
    max-width: 400px;
    height: auto;

    margin: 0 auto -35px auto;

    position: relative;
    z-index: 5;
}

    /* Stack description + archive vertically */
    .columns {
        display: block;

        position: static;
        left: auto;
        top: auto;
    }

    /* DESCRIPTION */

    .description {
        width: 100%;
        max-width: none;
        padding-left: 0;
    }

    .description p {
        width: 100%;
        max-width: none;

        margin-top: 0;
        margin-bottom: 18px;
    }

    /* ARCHIVE */

    .archive {
        width: 100%;
        position: static;
        left: auto;

        padding-right: 0;
        margin-top: 32px;
    }

    .archive h2 {
        margin-top: 0;
        margin-bottom: 12px;
    }

    .archive ul {
        margin-top: 0;
        padding-left: 0;
        list-style: none;
    }

    .archive li {
        margin-bottom: 3px;
    }

    .archive a {
        white-space: nowrap;
    }

    /* No kaomoji hover on mobile */

    .archive a:hover::after {
        display: none;
    }

    /* CREDITS */

    .credits-link {
        position: static;
        display: block;

        margin-top: 30px;
        text-align: right;
    }

    /* Hide decorative stickers on mobile for now */

    .sticker {
        display: none;
    }

}