
/* =========================
   BASE
========================= */


html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    font-family: "Zen Maru Gothic", sans-serif;
    background: #1F5F6A;
}



/* =========================
   NAVIGATION
========================= */

.navbar {

    position: fixed;
    top: 10px;
    left: 50%;

    transform: translateX(-50%);

    width: 90%;
    max-width: 1400px;

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

    padding: 16px 30px;

    border-radius: 18px;

    background: rgba(0,0,0,0.18);
    backdrop-filter: blur(12px);

    z-index: 9999;
    overflow: hidden;
  
}

/*====================
     TEXT - NAVBAR
=======*/ 

.particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.blossom {

    position: absolute;
    width: 20px;   /* <- wichtig: runter skalieren */
    height: auto;
    font-size: 14px;
    top: -20px;
    opacity: 0.8;
    pointer-events: none;
    animation: sakuraFall linear infinite;
}
@keyframes sakuraFall {

    0% {

        transform:
            translateY(-20px)
            rotate(0deg);
        opacity: 0;
    }

    10% {
        opacity: 0.9;
    }

    50% {

        transform:
            translateY(40px)
            translateX(15px)
            rotate(180deg);
    }

    100% {

        transform:
            translateY(90px)
            translateX(-15px)
            rotate(360deg);

        opacity: 0;
    }
}


.nav_logo,
.nav-menu {
    position: relative;
    z-index: 2;
}


.nav_logo {
    font-size: 1rem;
    font-weight: 100;
    letter-spacing: 8px;
    color: white;
    margin-top: 5px;
    text-align: center;
}
.nav_logo-jp {
    display: block;
    font-size: 1rem;
     color: rgb(244,61,62);
    letter-spacing: 12px;
    margin-top: 10px;
}

.nav-menu {
    display: flex;
    gap: 35px;
    list-style: none;
    margin: 0;
    padding: 0;
}

/*.nav-menu a {

    color: white;
    text-decoration: none;
    font-size: 1rem;
    letter-spacing: 2px;
    transition: all 0.3s ease;
}*/
.nav-menu a {
    color: white;
    text-decoration: none;
    font-size: 1rem;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 90px;

}
.nav-menu a:hover {

    color: rgb(244,61,62);
    transform: translateY(0px);
}

.nav-menu a.active::after {

    content: attr(data-jp);
    display: block;
    margin-top: 4px;

    font-size: 0.9rem;
    letter-spacing: 2px;
    color: rgb(244,61,62);
    opacity: 0.95;
}
/* =========================
   CAMERA
========================= */

.world {
    position: fixed;
    top: 0;
    left: 0;

    width: 400vw;
    height: 100vh;

    display: flex;
    z-index: 2;
    will-change: transform;
    transform: translateZ(0);
}

/* Background */
.bg {
    position: absolute;
    width: 500vw;
    height: 100vh;

    
}

/* Front (Scenes) */
.front {
    display: flex;
    width: 400vw;
    height: 100vh;
}

/* =========================
   SCENES
========================= */


.scene {
    width: 100vw;
    height: 100vh;
    flex-shrink: 0;
    overflow: hidden;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
}
.scene.scroll {
    overflow-y: auto;
}
.s1 {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

  
  
  
/* =========================
   LOGO SCENE (1)
========================= */
.water-circles {
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    opacity: 0.6;
    filter: blur(0.5px);
}
.circle {
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.35);
    opacity: 0;
    box-sizing: border-box;
    animation: ripple 10s linear infinite;
}
@keyframes ripple {

    0% {
        transform: scale(0.3);
        opacity: 0.5;
    }

    100% {
        transform: scale(6);
        opacity: 0;
    }

}

.water-circles::before {
    content: "";
    position: absolute;
    inset: 0;

    background: radial-gradient(
        circle at 50% 30%,
        rgba(255, 240, 180, 0.18),
        transparent 60%
    );

    animation: sunGlow 8s ease-in-out infinite;
}

@keyframes sunGlow {
    0% { opacity: 0.4; }
    50% { opacity: 0.7; }
    100% { opacity: 0.4; }
}
.sun-glow {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;

    background: radial-gradient(
        circle at 50% 30%,
        rgba(255, 240, 180, 0.25),
        rgba(0, 0, 0, 0) 60%
    );

    animation: sunPulse 6s ease-in-out infinite alternate;
}
@keyframes sunPulse {
    0% {
        opacity: 0.4;
        transform: scale(1);
    }
    100% {
        opacity: 0.7;
        transform: scale(1.05);
    }
}



.logo {
    width: 260px;
    max-width: 70%;
    filter: drop-shadow(0 0 30px rgba(12, 65, 86, 0.6));
    z-index: 2;
}
.logo {
    animation: floatLogo 4s ease-in-out infinite;
}

@keyframes floatLogo {
    0%   { transform: translateY(0); }
    50%  { transform: translateY(-12px); }
    100% { transform: translateY(0); }
}

.location {
    margin-top: 10px;
    font-size: 1.6rem;
    letter-spacing: 10px;
    color: rgba(255, 255, 255, 0.75);
    text-transform: uppercase;
    text-align: center;
    display: block;
    animation: locationFade 3s ease-in-out infinite;
}

@keyframes locationFade {
    0% {
        opacity: 0.4;
        transform: translateY(0px);
    }
    50% {
        opacity: 1;
        transform: translateY(-2px);
    }
    100% {
        opacity: 0.4;
        transform: translateY(0px);
    }
}
  
  
/*========================
YAM YAM CREW (2)
  =====================*/
.s2 {
    position: relative;
}
.scene2-title {
    position: absolute;
    top: 20vh;
    left: 50%;
    transform: translateX(-50%);

    text-align: center;
}

.scene2-title .small {

    display: block;

    font-size: 1rem;
    letter-spacing: 6px;

    color: rgba(254, 254, 254, 0.6);

    text-transform: uppercase;
}

.scene2-title .big {

    display: block;

    font-size: 2.5rem;
    font-weight: 700;

    color: rgb(45, 27, 1);
}

.mascot-1 {
    animation: characterFloat 5s ease-in-out infinite;
}

@keyframes characterFloat {

    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }

}

.mascot-2 {
    animation: sway 5s ease-in-out infinite;
    transform-origin: bottom center;
}

@keyframes sway {

    0% {
        transform: rotate(-2deg);
    }

    50% {
        transform: rotate(2deg);
    }

    100% {
        transform: rotate(-2deg);
    }

}

.mascot-3 {
    animation: breathe 4s ease-in-out infinite;
    transform-origin: center center;
}

@keyframes breathe {

    0% {
        transform: translateY(0px) scale(1);
    }

    50% {
        transform: translateY(-2px) scale(1.025, 1.04);
    }

    100% {
        transform: translateY(0px) scale(1);
    }

}
  
  
  
.mascots {

    width: 90%;
    max-width: 1600px;
    margin-top: 200px;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

.mascot-card {

    text-align: center;
}


.mascot-card h2 {

    font-family: "Zen Maru Gothic", sans-serif;
    color: white;
    margin-top: 20px;
    margin-bottom: 8px;

    font-size: 1.5rem;
}
.mascot-card h3 {
    font-family: "Hiragino Sans", sans-serif;
    color: rgb(244,61,62);
    margin: 0;

    font-size: 1rem;
}


#scene2 {
    position: relative;
    overflow: hidden;
}

.story-overlay {
    position: absolute;
    inset: 0;
    display: none;
    justify-content: center;
    align-items: center;
    background: rgba(11, 86, 112, 0.7);
    backdrop-filter: blur(5px);
    z-index: 10;
}

.story-overlay.active {
    display: flex;
}
#scene2.active-overlay .mascots {
    filter: blur(4px);
    transform: scale(0.98);
}


.story-box {
    width: 800px;
    max-width: 90vw;
    position: relative;
    min-height: 450px;

    background-image: url("../assets/Story_bg.png");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.25);
}
.story-inner {

    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-top: 20px;
    padding-bottom: 20px;
    box-sizing: border-box;
}


.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    background: rgba(5, 59, 74, 0.15);
    backdrop-filter: blur(10px);

    color: white;
    font-size: 20px;
    transition: all 0.3s ease;
}

.close-btn:hover {

    background: rgba(244,61,62,0.25);

    transform: rotate(90deg) scale(1.1);

    color: white;
}


  
