/* =================================
   ASOBI BOUNCE
   STYLE v6.0
   Part1/5
================================= */

/* ===== RESET ===== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

/* ===== HTML ===== */

html{
    scroll-behavior:smooth;
}

/* ===== SCROLL OFFSET ===== */

#games,
#news,
#blog,
#about{

    scroll-margin-top:90px;

}

/* ===== BODY ===== */

body{

    background:
    linear-gradient(
        135deg,
        #fff7fb 0%,
        #fdf6ff 25%,
        #f4fbff 50%,
        #fffde7 75%,
        #fff7f0 100%
    );

    font-family:
        "Yu Gothic",
        "Hiragino Sans",
        sans-serif;

    color:#444;

    min-height:100vh;

    overflow-x:hidden;

    position:relative;
}

/* =================================
   SPLASH SCREEN
================================= */

#splash{

    position:fixed;

    inset:0;

    z-index:99999;

    overflow:hidden;
}

/* 上パネル */

.top-half{

    position:absolute;

    top:0;

    width:100%;

    height:50%;

    background:
    linear-gradient(
        135deg,
        #ff8fab,
        #cdb4db,
        #a0c4ff
    );

    transition:
        transform .45s ease-out;
}

/* 下パネル */

.bottom-half{

    position:absolute;

    bottom:0;

    width:100%;

    height:50%;

    background:
    linear-gradient(
        135deg,
        #ff8fab,
        #cdb4db,
        #a0c4ff
    );

    transition:
        transform .45s ease-out;
}

/* 中央の光 */

.split-light{

    position:absolute;

    left:0;

    top:50%;

    width:100%;

    height:4px;

    transform:
        translateY(-50%);

    background:white;

    box-shadow:
        0 0 10px white,
        0 0 30px white,
        0 0 60px white,
        0 0 100px white;

    z-index:3;

    animation:
        pulseLine 1s infinite;
}

/* タイトル */

.splash-content{

    position:absolute;

    inset:0;

    display:flex;

    flex-direction:column;

    justify-content:center;

    align-items:center;

    z-index:4;

    color:white;

    transition:
        opacity .2s ease;
}

.splash-content h1{

    font-size:4rem;

    letter-spacing:5px;

    margin-bottom:15px;

    text-shadow:
        0 10px 30px
        rgba(
            0,
            0,
            0,
            .15
        );
}

.splash-content p{

    font-size:1.2rem;

    letter-spacing:3px;
}

/* 開く */

#splash.hide .top-half{

    transform:
        translateY(-100%);
}

#splash.hide .bottom-half{

    transform:
        translateY(100%);
}

#splash.hide .splash-content{

    opacity:0;
}

#splash.hide .split-light{

    opacity:0;
}

@keyframes pulseLine{

    0%{

        opacity:.4;
    }

    50%{

        opacity:1;
    }

    100%{

        opacity:.4;
    }

}

/* =================================
   FLOATING SHAPES
================================= */

.floating-shapes{

    position:fixed;

    inset:0;

    overflow:hidden;

    pointer-events:none;

    z-index:-1;
}

.shape{

    position:absolute;

    border-radius:50%;

    opacity:.22;

    animation:
        floatShape linear infinite;
}

/* PINK */

.shape1{

    width:90px;
    height:90px;

    background:#ff8fab;

    left:5%;
    top:10%;

    animation-duration:18s;
}

/* BLUE */

.shape2{

    width:140px;
    height:140px;

    background:#a0c4ff;

    left:82%;
    top:15%;

    animation-duration:24s;
}

/* PURPLE */

.shape3{

    width:70px;
    height:70px;

    background:#cdb4db;

    left:20%;
    top:65%;

    animation-duration:20s;
}

/* GREEN */

.shape4{

    width:110px;
    height:110px;

    background:#95d5b2;

    left:75%;
    top:70%;

    animation-duration:22s;
}

/* YELLOW */

.shape5{

    width:80px;
    height:80px;

    background:#ffd166;

    left:45%;
    top:35%;

    animation-duration:26s;
}

/* ORANGE */

.shape6{

    width:120px;
    height:120px;

    background:#ffb4a2;

    left:90%;
    top:55%;

    animation-duration:30s;
}

@keyframes floatShape{

    0%{

        transform:
            translateY(0)
            rotate(0deg);

    }

    50%{

        transform:
            translateY(-40px)
            rotate(180deg);

    }

    100%{

        transform:
            translateY(0)
            rotate(360deg);

    }

}

/* ===== Part1終了 ===== */
/* ===== Part2/5へ続く ===== */
/* =================================
   ASOBI BOUNCE
   STYLE v6.0
   Part2/5
================================= */

/* =================================
   HEADER
================================= */

header{

    text-align:center;

    padding:80px 20px 60px;
}

header h1{

    font-size:4rem;

    background:
    linear-gradient(
        135deg,
        #ff8fab,
        #7b68ee
    );

    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;

    background-clip:text;

    margin-bottom:15px;
}

header p{

    color:#7b68ee;

    font-size:1.2rem;

    font-weight:bold;

    letter-spacing:2px;
}

/* =================================
   NAVIGATION
================================= */

nav{

    position:sticky;

    top:0;

    z-index:100;

    display:flex;

    justify-content:center;

    align-items:center;

    gap:15px;

    flex-wrap:wrap;

    padding:15px;

    backdrop-filter:blur(12px);

    background:
        rgba(
            255,
            255,
            255,
            .75
        );

    border-bottom:
        1px solid
        rgba(
            255,
            255,
            255,
            .5
        );
}

nav a{

    text-decoration:none;

    color:white;

    font-weight:bold;

    padding:12px 24px;

    border-radius:999px;

    background:
    linear-gradient(
        135deg,
        #ff8fab,
        #ffb4a2
    );

    transition:.3s;

    box-shadow:
        0 6px 15px
        rgba(
            255,
            143,
            171,
            .25
        );
}

nav a:hover{

    transform:
        translateY(-3px);

    background:
    linear-gradient(
        135deg,
        #ff6b9a,
        #ff9770
    );

    box-shadow:
        0 10px 25px
        rgba(
            255,
            143,
            171,
            .35
        );
}

/* =================================
   MAIN
================================= */

main{

    max-width:1100px;

    margin:auto;

    padding:30px 20px;
}

/* =================================
   SECTION
================================= */

section{

    background:
        rgba(
            255,
            255,
            255,
            .78
        );

    backdrop-filter:
        blur(12px);

    border-radius:25px;

    padding:30px;

    margin-bottom:30px;

    box-shadow:
        0 10px 30px
        rgba(
            123,
            104,
            238,
            .08
        );

    transition:.3s;
}

section:hover{

    transform:
        translateY(-3px);
}

section h2{

    color:#7b68ee;

    font-size:2rem;

    margin-bottom:20px;
}

section p{

    line-height:1.9;
}

/* =================================
   WELCOME
================================= */

.welcome{

    text-align:center;
}

.welcome h2{

    font-size:2.5rem;

    margin-bottom:20px;
}

.welcome p{

    margin-bottom:10px;
}

/* ===== Part2終了 ===== */
/* ===== Part3/5へ続く ===== */
/* =================================
   ASOBI BOUNCE
   STYLE v6.0
   Part3/5
================================= */

/* =================================
   GAMES
================================= */

.game-list{

    display:grid;

    grid-template-columns:
        repeat(
            auto-fit,
            minmax(
                280px,
                1fr
            )
        );

    gap:20px;
}

/* =================================
   GAME CARD
================================= */

.game-card{

    background:white;

    border-radius:20px;

    padding:30px;

    text-align:center;

    transition:.35s;

    box-shadow:
        0 8px 25px
        rgba(
            0,
            0,
            0,
            .08
        );
}

.game-card:hover{

    transform:
        translateY(-8px);

    box-shadow:
        0 18px 35px
        rgba(
            123,
            104,
            238,
            .15
        );
}

.game-card h3{

    color:#ff8fab;

    font-size:1.8rem;

    margin-bottom:15px;
}

.game-card p{

    margin-bottom:10px;

    line-height:1.8;
}

/* =================================
   PLAY BUTTON
================================= */

.play-button{

    display:inline-block;

    margin-top:15px;

    padding:14px 28px;

    text-decoration:none;

    color:white;

    font-weight:bold;

    border-radius:999px;

    background:
    linear-gradient(
        135deg,
        #a0c4ff,
        #cdb4db
    );

    transition:.3s;
}

.play-button:hover{

    transform:
        scale(1.05);

    box-shadow:
        0 10px 25px
        rgba(
            123,
            104,
            238,
            .25
        );
}

/* =================================
   NEWS
================================= */

#news{

    border-left:
        8px solid #ff8fab;
}

/* =================================
   NEWS CARD
================================= */

.news-card{

    background:white;

    padding:22px;

    border-radius:20px;

    margin-bottom:15px;

    box-shadow:
        0 6px 20px
        rgba(
            0,
            0,
            0,
            .08
        );

    transition:.3s;
}

.news-card:hover{

    transform:
        translateY(-5px);

    box-shadow:
        0 15px 30px
        rgba(
            123,
            104,
            238,
            .15
        );
}

.news-card h3{

    color:#ff8fab;

    margin-bottom:10px;
}

.news-card p{

    line-height:1.8;
}

/* =================================
   NEWS LINK
================================= */

.news-link{

    display:inline-block;

    margin-top:10px;

    text-decoration:none;

    font-weight:bold;

    color:#7b68ee;

    transition:.3s;
}

.news-link:hover{

    color:#ff8fab;

    transform:
        translateX(5px);
}

/* ===== Part3終了 ===== */
/* ===== Part4/5へ続く ===== */
/* =================================
   ASOBI BOUNCE
   STYLE v6.0
   Part4/5
================================= */

/* =================================
   BLOG SECTION
================================= */

#blog{

    border-left:
        8px solid #a0c4ff;
}

/* =================================
   BLOG CARD
================================= */

.blog-card{

    background:white;

    padding:22px;

    border-radius:20px;

    margin-bottom:15px;

    box-shadow:
        0 6px 20px
        rgba(
            0,
            0,
            0,
            .08
        );

    transition:.3s;
}

.blog-card:hover{

    transform:
        translateY(-5px);

    box-shadow:
        0 15px 30px
        rgba(
            123,
            104,
            238,
            .15
        );
}

.blog-card h3{

    color:#ff8fab;

    margin-bottom:10px;
}

.blog-card p{

    line-height:1.9;
}

/* =================================
   BLOG DATE
================================= */

.blog-date{

    display:inline-block;

    padding:6px 12px;

    margin-bottom:15px;

    border-radius:999px;

    color:white;

    font-size:.8rem;

    font-weight:bold;

    background:
    linear-gradient(
        135deg,
        #a0c4ff,
        #cdb4db
    );
}

/* =================================
   BLOG PAGE
================================= */

.blog-post{

    background:white;

    border-radius:25px;

    padding:30px;

    margin-bottom:25px;

    box-shadow:
        0 8px 25px
        rgba(
            0,
            0,
            0,
            .08
        );

    transition:.3s;
}

.blog-post:hover{

    transform:
        translateY(-5px);

    box-shadow:
        0 18px 35px
        rgba(
            123,
            104,
            238,
            .15
        );
}

.blog-post h2{

    color:#ff8fab;

    margin-bottom:15px;
}

.blog-post p{

    line-height:1.9;

    margin-bottom:12px;
}

/* =================================
   ABOUT
================================= */

#about{

    border-left:
        8px solid #ffd166;
}

/* =================================
   HOME BUTTON
================================= */

.back-home{

    text-align:center;
}

.home-button{

    display:inline-block;

    text-decoration:none;

    color:white;

    font-weight:bold;

    padding:14px 26px;

    border-radius:999px;

    background:
    linear-gradient(
        135deg,
        #95d5b2,
        #4ecdc4
    );

    transition:.3s;
}

.home-button:hover{

    transform:
        translateY(-4px);

    box-shadow:
        0 10px 25px
        rgba(
            78,
            205,
            196,
            .25
        );
}

/* =================================
   FOOTER
================================= */

footer{

    text-align:center;

    padding:40px 20px;

    color:#7b68ee;

    font-weight:bold;

    margin-top:30px;
}

/* ===== Part4終了 ===== */
/* ===== Part5/5へ続く ===== */
/* =================================
   ASOBI BOUNCE
   STYLE v6.0
   Part5/5
================================= */

/* =================================
   BLOG IMAGE
================================= */

.blog-image{

    width:100%;

    height:300px;

    object-fit:cover;

    border-radius:20px;

    margin-bottom:20px;

    cursor:pointer;

    transition:.35s;

    box-shadow:
        0 8px 20px
        rgba(
            0,
            0,
            0,
            .08
        );
}

.blog-post:hover .blog-image{

    transform:
        scale(1.02);

}

/* =================================
   BLOG GALLERY
================================= */

.blog-gallery{

    display:grid;

    grid-template-columns:
        repeat(
            auto-fit,
            minmax(
                200px,
                1fr
            )
        );

    gap:15px;

    margin-bottom:20px;
}

.blog-gallery img{

    width:100%;

    height:200px;

    object-fit:cover;

    border-radius:15px;

    cursor:pointer;

    transition:.3s;
}

.blog-gallery img:hover{

    transform:
        scale(1.03);

}

/* =================================
   IMAGE MODAL
================================= */

.image-modal{

    display:none;

    position:fixed;

    inset:0;

    z-index:9999;

    background:
        rgba(
            0,
            0,
            0,
            .88
        );

    justify-content:center;

    align-items:center;

    padding:20px;
}

.image-modal.show{

    display:flex;
}

.image-modal img{

    max-width:95vw;

    max-height:90vh;

    border-radius:20px;

    box-shadow:
        0 20px 50px
        rgba(
            0,
            0,
            0,
            .45
        );

    animation:
        zoomIn .25s ease;
}

.image-modal-close{

    position:absolute;

    top:20px;

    right:30px;

    color:white;

    font-size:40px;

    font-weight:bold;

    line-height:1;

    cursor:pointer;

    transition:.3s;
}

.image-modal-close:hover{

    color:#ff8fab;

    transform:
        scale(1.15);

}

/* =================================
   ANIMATION
================================= */

@keyframes zoomIn{

    from{

        opacity:0;

        transform:
            scale(.8);

    }

    to{

        opacity:1;

        transform:
            scale(1);

    }

}

/* =================================
   TABLET
================================= */

@media(max-width:768px){

    header h1{

        font-size:3rem;
    }

    nav{

        gap:10px;
    }

    nav a{

        padding:10px 18px;
    }

    section{

        padding:25px;
    }

    .blog-image{

        height:250px;
    }

}

/* =================================
   MOBILE
================================= */

@media(max-width:480px){

    header{

        padding:50px 15px;
    }

    header h1{

        font-size:2.3rem;
    }

    header p{

        font-size:1rem;
    }

    section{

        padding:20px;
    }

    section h2{

        font-size:1.6rem;
    }

    .game-card{

        padding:20px;
    }

    .blog-post{

        padding:20px;
    }

    .blog-image{

        height:200px;
    }

    .blog-gallery{

        grid-template-columns:1fr;
    }

    .image-modal-close{

        font-size:32px;

        top:15px;

        right:20px;
    }

    .splash-content h1{

        font-size:2.2rem;
    }

    .splash-content p{

        font-size:.9rem;

        letter-spacing:2px;
    }

}

/* =================================
   END OF FILE
   ASOBI BOUNCE STYLE v6.0
================================= */