* {
    box-sizing: border-box;
}

body, html {
    margin: 0;
    padding: 0;
    background-color: #000;
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif;
    color: white;
}

header {
    position: fixed;
    top: 30px;
    left: 30px;
    z-index: 1000;
    display: flex;
    align-items: center;
}

.logo-img { height: 45px; width: auto; margin-right: 15px; }
.site-title { font-size: 1.1rem; letter-spacing: 0.25em; margin: 0; font-weight: bold; text-transform: uppercase; }

.section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    flex-shrink: 0;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain; 
}

.my-page       { background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('my-photo.jpg'); }
.bz            { background-image: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('bz-photo.jpg'); }
.sakanaction   { background-image: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('sakana-photo.jpg'); }
.ryokushaka    { background-image: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('ryokushaka-photo.jpg'); }
.mrsgreenapple { background-image: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('mga-photo.jpg'); }
.tomoo         { background-image: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('tomoo-photo.jpg'); }

.artist-logo {
    width: auto;
    max-width: 40%;
    max-height: 20%;
    margin-bottom: 30px;
    object-fit: contain;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.8));
}

.btn {
    padding: 15px 50px;
    font-size: 0.8rem;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.8);
    text-decoration: none;
    letter-spacing: 0.3em;
    background: rgba(0,0,0,0.3);
    backdrop-filter: blur(8px);
    transition: 0.4s;
}

.btn:hover {
    background: #fff;
    color: #000;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.6);
    transform: scale(1.05);
}

.site-title {
    overflow: hidden;
    white-space: nowrap;
    border-right: 2px solid #fff;
    animation: typing 2s steps(20, end), blink-caret 0.75s step-end infinite;
}

@keyframes typing { from { width: 0 } to { width: 100% } }
@keyframes blink-caret { from, to { border-color: transparent } 50% { border-color: #fff; } }

@media (min-width: 769px) {
    body, html {
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
    }
    
    body.sub-page, html {
        overflow-y: auto !important;
    }
    
    body::-webkit-scrollbar { display: none; }

    .wrapper {
        display: flex;
        width: 600vw;
        height: 100vh;
    }

    .section {
        width: 100vw;
        height: 100vh;
        background-size: contain;
        background-attachment: scroll; 
    }
}

@media (min-width: 769px) and (hover: hover) {
    .section {
        background-attachment: fixed;
    }
}

@media (max-width: 768px) {
    body, html {
        overflow-x: hidden;
        overflow-y: auto;
    }

    .wrapper {
        display: block;
        width: 100%;
    }

    .section {
        width: 100vw;
        height: 56.25vw;
        background-size: cover;
    }

    .artist-logo {
        max-width: 60%;
        max-height: 80px;
        margin-bottom: 15px;
    }

    .btn {
        padding: 8px 25px;
        font-size: 0.65rem;
    }
    header { top: 20px; left: 20px; }
    .logo-img { height: 30px; }
}

h1.site-title.is-rare-title {
    color: #000 !important;
    -webkit-text-fill-color: #000 !important;
    border-right-color: #000 !important; 
    animation: typing 2s steps(20, end), blink-caret-rare 0.75s step-end infinite !important;
}

@keyframes blink-caret-rare {
    from, to { border-color: transparent; }
    50% { border-color: #000; }
}

.video-modal {
    display: none;
    position: fixed;
    z-index: 100000;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}

.video-modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 900px;
}

.video-trigger-container {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    cursor: pointer;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    border-radius: 8px;
    box-shadow: 0 0 50px rgba(0,0,0,1);
}

.video-trigger-container iframe {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    border: none;
    border-radius: 8px;
}

.video-close-btn {
    position: absolute;
    top: -55px;
    right: 0;
    color: #fff;
    font-size: 45px;
    cursor: pointer;
    line-height: 1;
}

@media (max-width: 768px) {
    .video-modal-content {
        width: 95%;
    }
    .video-close-btn {
        top: -45px;
        font-size: 35px;
    }
}