/* ==================================================
   Dreamland.exe v2
   Y2K Moe Anime Profile
================================================== */


/* ==================================================
   RESET
================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


/* ==================================================
   BODY
================================================== */

body {
    background: linear-gradient(
        180deg,
        #ffdff0,
        #f8e9ff
    );

    font-family: 'Quicksand', sans-serif;

    color: #444;

    min-height: 100vh;

    overflow-x: hidden;
}


/* ==================================================
   PAGE
================================================== */

.page {
    width: min(1200px, calc(100% - 40px));

    margin: 30px auto;

    position: relative;
}


/* ==================================================
   HEADER / BANNER
================================================== */

.banner {
    background: linear-gradient(
        90deg,
        #ffb7da,
        #ffcce8
    );

    border: 4px solid white;

    border-radius: 25px;

    text-align: center;

    padding: 45px;

    box-shadow:
        0 0 20px #ffb6d9;

    margin-bottom: 20px;
}


.banner h1 {
    font-size: 60px;

    font-family: 'VT323', monospace;

    color: #fff;

    text-shadow:
        3px 3px 0 #ff82b9,
        0 0 10px #ff8fc2;
}


.banner p {
    margin-top: 10px;

    font-size: 20px;

    color: white;

    font-weight: 600;
}


/* ==================================================
   MAIN LAYOUT
================================================== */

.layout {
    display: grid;

    grid-template-columns: 250px minmax(0, 1fr);

    gap: 20px;

    align-items: start;
}


/* ==================================================
   SIDEBAR
================================================== */

.sidebar {
    display: flex;

    flex-direction: column;

    gap: 20px;

    min-width: 0;
}


/* ==================================================
   WINDOWS
================================================== */

.window {
    background: white;

    border-radius: 18px;

    overflow: hidden;

    box-shadow:
        0 8px 20px rgba(0, 0, 0, 0.15);

    border: 2px solid rgba(255, 182, 217, 0.5);
}


/* ==================================================
   TITLE BAR
================================================== */

.titlebar {
    background: linear-gradient(
        90deg,
        #ff92c2,
        #ffb5dc
    );

    color: white;

    padding: 10px 14px;

    font-weight: bold;

    font-size: 17px;

    text-shadow:
        1px 1px 2px rgba(0, 0, 0, 0.15);
}


/* ==================================================
   WINDOW CONTENT
================================================== */

.window-content {
    padding: 18px;
}


/* ==================================================
   AVATAR
================================================== */

.avatar {
    width: 180px;

    height: 180px;

    object-fit: cover;

    display: block;

    margin: auto;

    padding: 8px;

    background: white;

    border: 3px solid #ffc0cb;

    border-radius: 20px;

    transform: rotate(-3deg);

    box-shadow:
        6px 6px 15px rgba(0, 0, 0, 0.2);

    transition: 0.3s;
}


.avatar:hover {
    transform:
        rotate(2deg)
        scale(1.04);

    box-shadow:
        0 0 20px #ff8fc2;
}


/* ==================================================
   SIDEBAR TEXT
================================================== */

.sidebar h2 {
    text-align: center;

    margin: 15px 0;

    color: #ff70ad;
}


.sidebar p {
    margin: 8px 0;

    line-height: 1.5;
}


/* ==================================================
   NAVIGATION
================================================== */

.simple-nav {
    list-style: none;

    padding: 0;

    margin: 10px 0 0;
}


.simple-nav li {
    margin: 7px 0;
}


.simple-nav a {
    display: block;

    padding: 8px 10px;

    border-radius: 10px;

    color: #777;

    text-decoration: none;

    transition: 0.25s;
}


.simple-nav a:hover {
    background: #fff0f7;

    color: #ff5da8;

    transform: translateX(5px);
}


/* ==================================================
   MAIN
================================================== */

main {
    display: flex;

    flex-direction: column;

    gap: 20px;

    min-width: 0;
}


/* ==================================================
   DREAM MAP
================================================== */

.map-title {
    text-align: center;

    font-size: 20px;

    margin-bottom: 15px;

    font-weight: bold;

    color: #ff65aa;
}


.room-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 15px;

    margin-top: 15px;
}


.room {
    display: block;

    background: #fff;

    border: 3px solid #ffb6d9;

    border-radius: 18px;

    padding: 18px;

    text-align: center;

    text-decoration: none;

    color: #444;

    transition: 0.35s;

    box-shadow:
        0 5px 10px rgba(0, 0, 0, 0.1);
}


.room:hover {
    transform:
        translateY(-8px)
        scale(1.05);

    background: #fff0f7;

    box-shadow:
        0 0 20px hotpink;
}


.emoji {
    font-size: 42px;

    display: block;

    margin-bottom: 10px;
}


.room h3 {
    margin: 5px 0;

    color: #ff65aa;
}


.room p {
    font-size: 14px;

    color: #777;
}


/* ==================================================
   GALLERY
================================================== */

.gallery-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 15px;

    margin-top: 15px;
}


.gallery-grid img {
    width: 100%;

    height: 180px;

    object-fit: cover;

    border-radius: 15px;

    border: 3px solid #ffb6d9;

    transition: 0.35s;

    display: block;
}


.gallery-grid img:hover {
    transform:
        scale(1.06)
        rotate(2deg);

    box-shadow:
        0 0 18px hotpink;
}


/* ==================================================
   BUTTON
================================================== */

.cute-button {
    display: inline-block;

    background: #ff8fc2;

    color: white;

    padding: 10px 20px;

    border-radius: 30px;

    text-decoration: none;

    margin-top: 20px;

    transition: 0.3s;

    font-weight: 700;

    box-shadow:
        0 4px 10px rgba(255, 105, 180, 0.25);
}


.cute-button:hover {
    background: #ff5da8;

    transform: scale(1.05);

    box-shadow:
        0 0 15px #ff8fc2;
}


.center {
    text-align: center;
}


/* ==================================================
   SECTION TITLE
================================================== */

.section-title {
    font-size: 20px;

    color: #ff65aa;

    font-weight: 700;

    margin-bottom: 10px;
}


/* ==================================================
   SAKURA
================================================== */

#sakura-container {
    position: fixed;

    inset: 0;

    pointer-events: none;

    overflow: hidden;

    z-index: 9999;
}


.sakura {
    position: fixed;

    top: -50px;

    font-size: 22px;

    pointer-events: none;

    user-select: none;

    z-index: 9999;

    animation:
        sakuraFall linear forwards;
}


@keyframes sakuraFall {

    0% {
        transform:
            translateY(-50px)
            rotate(0deg);

        opacity: 1;
    }


    50% {
        transform:
            translateY(50vh)
            translateX(60px)
            rotate(180deg);

        opacity: 1;
    }


    100% {
        transform:
            translateY(110vh)
            translateX(120px)
            rotate(360deg);

        opacity: 0.8;
    }
}


/* ==================================================
   STAR TRAIL
================================================== */

#star-container {
    position: fixed;

    inset: 0;

    pointer-events: none;

    z-index: 10000;
}


.star {
    position: fixed;

    pointer-events: none;

    color: #ff8fc2;

    font-size: 14px;

    animation: starFade 0.8s linear forwards;
}


@keyframes starFade {

    0% {
        opacity: 1;

        transform:
            scale(1)
            rotate(0deg);
    }

    100% {
        opacity: 0;

        transform:
            scale(0)
            rotate(180deg);
    }
}


/* ==================================================
   FOOTER
================================================== */

footer {
    text-align: center;

    margin-top: 25px;

    padding: 20px;

    color: #ff70ad;

    font-size: 14px;
}


/* ==================================================
   MOBILE / SMALL SCREEN
================================================== */

@media (max-width: 900px) {

    .page {
        width: calc(100% - 20px);

        margin: 15px auto;
    }


    .layout {
        grid-template-columns: 1fr;
    }


    .sidebar {
        display: grid;

        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }


    .sidebar .window:first-child {
        grid-column: 1 / -1;
    }


    .banner {
        padding: 30px 15px;
    }


    .banner h1 {
        font-size: 45px;
    }


    .gallery-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}


/* ==================================================
   PHONE
================================================== */

@media (max-width: 600px) {

    .page {
        width: calc(100% - 16px);

        margin: 8px auto;
    }


    .sidebar {
        display: flex;

        flex-direction: column;
    }


    .banner h1 {
        font-size: 38px;
    }


    .banner p {
        font-size: 16px;
    }


    .room-grid {
        grid-template-columns: 1fr;
    }


    .gallery-grid {
        grid-template-columns: 1fr;
    }


    .gallery-grid img {
        height: 220px;
    }


    .avatar {
        width: 150px;

        height: 150px;
    }

}








/* ========================================
   🌸 SAKURA FALLING
======================================== */

.sakura {
    position: fixed;
    top: -60px;

    pointer-events: none;
    user-select: none;

    z-index: 9999;

    font-size: 25px;

    animation-name: sakuraFall;
    animation-timing-function: linear;
    animation-fill-mode: forwards;

    will-change: transform;
}


@keyframes sakuraFall {

    0% {
        transform:
            translate3d(0, -60px, 0)
            rotate(0deg);

        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    50% {
        transform:
            translate3d(80px, 50vh, 0)
            rotate(180deg);
    }

    100% {
        transform:
            translate3d(-100px, 110vh, 0)
            rotate(360deg);

        opacity: 0;
    }

}





