/* ChainSoda-inspired Dark Theme */
:root {
    --bg-brightness: 0.15;
    --bg-blur: 0px;
    --unveil-blur: 10px;
    --mouse-x: 0px;
    --mouse-y: 0px;
}

body,
html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    /* Manage scroll internally */
    background-color: #000;
    font-family: 'Montserrat', 'Noto Sans JP', sans-serif;
    color: white;
}

#site-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1;
    overflow: hidden;
}

/* Background Handling */
.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background: #000;
}

.bg-image {
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    filter: brightness(var(--bg-brightness)) contrast(1.1) blur(calc(var(--bg-blur) + var(--unveil-blur)));
    transition: filter 0.1s linear;
    will-change: filter;
}

#visual-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    mix-blend-mode: lighten;
    /* Ensure flashlight effect works */
}

/* Page Layout */
.page {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10;
    /* Centering content by default */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
}

.page.active {
    opacity: 1;
    pointer-events: auto;
}

.page.hidden {
    opacity: 0;
    pointer-events: none;
}

/* Scrollable Content Area for Company/News */
.scroll-container {
    width: 100%;
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 80px 20px;
    box-sizing: border-box;
}

/* Glassmorphism Card */
.glass-card {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    width: 100%;
    max-width: 900px;
    padding: 60px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

/* Typography & Elements */
.logo-container {
    margin-bottom: 3rem;
    text-align: center;
}

.logo-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 4rem;
    letter-spacing: 0.2em;
    color: white;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
    margin: 0;
    line-height: 1;
}

.logo-sub {
    font-size: 1rem;
    letter-spacing: 0.5em;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 1rem;
    display: block;
}

.btn-minimal {
    display: inline-block;
    padding: 1rem 4rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    font-size: 0.8rem;
    transition: all 0.4s ease;
    background: transparent;
    cursor: pointer;
    text-decoration: none;
    margin: 1rem;
    position: relative;
    overflow: hidden;
}

.btn-minimal:hover {
    border-color: rgba(255, 255, 255, 1);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.2);
}

/* Definition List Style */
.info-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: left;
    width: 100%;
}

@media (min-width: 768px) {
    .info-grid {
        grid-template-columns: 150px 1fr;
        gap: 3rem;
    }
}

.info-item {
    display: contents;
    /* Allows grid items to flow correctly */
}

dt {
    font-weight: 300;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 0.5rem;
    align-self: start;
    padding-top: 0.5rem;
}

dd {
    font-weight: 400;
    color: white;
    font-size: 1rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 2rem;
    margin-left: 0;
    line-height: 1.8;
}

/* Footer in Glass Card? */
.site-footer {
    margin-top: 4rem;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.3);
    text-align: center;
}

@media (max-width: 768px) {
    .glass-card {
        padding: 30px 20px;
    }

    .logo-text {
        font-size: 2.5rem;
    }

    .btn-minimal {
        padding: 0.8rem 2.5rem;
        width: 80%;
        text-align: center;
    }

    .info-grid {
        display: block;
    }

    .info-item {
        display: block;
        margin-bottom: 2rem;
    }

    dt {
        display: block;
        margin-bottom: 0.5rem;
    }

    dd {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding-bottom: 1rem;
        margin-bottom: 2rem;
    }
}