:root {
    --bg-color: #edeceb;
}

body,
html {
    margin: 0;
    padding: 0;
    width: 100%;
    background-color: var(--bg-color);
    font-family: 'Inter', sans-serif;
    scroll-behavior: smooth;
}

.landing-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 0;
}

/* Character in the back wrapper */
.shoujo-wrapper {
    position: absolute;
    bottom: 5vh;
    width: 75vw;
    display: flex;
    justify-content: center;
    z-index: 1;
    pointer-events: none;
}

.shoujo-bg {
    width: 100%;
    height: auto;
    max-height: 85vh;
    object-fit: contain;
    filter: drop-shadow(0px 20px 30px rgba(0, 0, 0, 0.15));
}

/* Logos at the top */
.logo-left {
    position: absolute;
    top: 6vh;
    left: 5vw;
    width: 15vw;
    height: auto;
    z-index: 10;
}

.logo-right {
    position: absolute;
    top: 6vh;
    right: 5vw;
    width: 15vw;
    height: auto;
    z-index: 10;
}

/* Graphics on the sides */
.graphic-left {
    position: absolute;
    left: 3vw;
    top: 22vh;
    height: 70vh;
    opacity: 0.8;
    z-index: 5;
}

.graphic-right {
    position: absolute;
    right: 3vw;
    top: 22vh;
    height: 70vh;
    opacity: 0.8;
    z-index: 5;
}

/* Central Text */
.hero-text {
    position: absolute;
    top: 45%;
    left: 0;
    width: 100vw;
    text-align: center;
    z-index: 10;
}

.main-title {
    position: relative;
    display: inline-block;
    font-family: 'Montserrat', 'Noto Sans JP', sans-serif;
    font-weight: 300;
    font-size: 5vw;
    letter-spacing: 0.3em;
    color: #19160e;
    text-transform: uppercase;
    text-shadow:
        /* -2px -2px 0 var(--bg-color),
        2px -2px 0 var(--bg-color), */
        -2px 2px 0 var(--bg-color),
        /* 2px 2px 0 var(--bg-color), */
        0 0 10px var(--bg-color),
        0 0 20px var(--bg-color);
}

.sub-title {
    color: #D65A31;
    font-size: 1.5vw;
    font-weight: 600;
    letter-spacing: 0.1vw;
    white-space: nowrap;
    text-align: center;
    margin-top: 1.5vh;
    text-shadow:
        /* -1px -1px 0 var(--bg-color),
        1px -1px 0 var(--bg-color), */
        -1px 1px 0 var(--bg-color),
        /* 1px 1px 0 var(--bg-color), */
        0 0 8px var(--bg-color),
        0 0 15px var(--bg-color);
}

.hero-socials {
    margin-top: 5vh;
    display: flex;
    justify-content: center;
    gap: 2vw;
    z-index: 10;
}

.hero-socials a {
    color: #19160e;
    font-size: 2vw;
    opacity: 0.6;
    transition: all 0.3s ease;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.hero-socials a img {
    width: auto;
    height: 1em;
    filter: invert(10%) sepia(9%) saturate(1512%) hue-rotate(1deg) brightness(87%) contrast(92%);
    /* Approx #19160e (dark grey almost black) */
}

.hero-socials a:hover img {
    /* Magic CSS filter for #ff5234 mapping */
    filter: invert(41%) sepia(85%) saturate(1914%) hue-rotate(339deg) brightness(103%) contrast(105%);
}

.hero-socials a:hover {
    color: #ff5234;
    opacity: 1;
    transform: translateY(-3px);
}

.scroll-indicator {
    position: absolute;
    bottom: 3vh;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #19160e;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.6vw;
    font-weight: 600;
    letter-spacing: 0.2em;
    opacity: 0.6;
    animation: bounce 3s infinite;
    z-index: 10;
    pointer-events: auto;
    text-decoration: none;
    transition: color 0.3s ease, opacity 0.3s ease;
}

.scroll-indicator:hover {
    color: #ff5234;
    opacity: 1;
}

.scroll-indicator .arrow-down {
    width: 0.8vw;
    height: auto;
    fill: currentColor;
    margin-top: 0px;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0) translateX(-50%);
    }

    40% {
        transform: translateY(-4px) translateX(-50%);
    }

    60% {
        transform: translateY(-2px) translateX(-50%);
    }
}

/* Mission Section */
.mission-section {
    position: relative;
    z-index: 20;
    margin-top: 100vh;
    min-height: 100vh;
    color: #19160e;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.mission-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 60vw;
    font-family: 'Noto Sans JP', sans-serif;
}

.mission-logo {
    width: 20vw;
    max-width: 250px;
    height: auto;
    margin-bottom: 4vh;
}

.title-tagline {
    font-size: 3vw;
    font-weight: 600;
    color: #ff5234;
    letter-spacing: 0.1em;
    margin: 0;
    margin-bottom: 4vh;
}

.mission-desc {
    margin: 0;
}

.mission-desc p {
    font-size: 1.4vw;
    font-weight: 300;
    line-height: 2.2;
    letter-spacing: 0.05em;
    color: #333;
    margin: 0;
    margin-bottom: 2vh;
}

.takuan-logo {
    width: 40vw;
    max-width: 800px;
    height: auto;
    filter: drop-shadow(0px 20px 30px rgba(0, 0, 0, 0.1));
    margin-bottom: 5vh;
}

/* About Section */
.about-section {
    position: relative;
    z-index: 20;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 10vh 5vw;
}

.about-content {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    max-width: 80vw;
    gap: 5vw;
    font-family: 'Noto Sans JP', sans-serif;
}

.about-text {
    flex: 1;
    color: #19160e;
    text-align: left;
    max-width: 40vw;
}

.highlight-text {
    font-size: 2vw;
    font-weight: 600;
    color: #ff5234;
    /* Brand Orange from LogoB.svg */
    margin-top: 3vh;
    margin-bottom: 1.5vh;
    letter-spacing: 0.05em;
}

.about-text p {
    font-size: 1.2vw;
    font-weight: 300;
    line-height: 2;
    letter-spacing: 0.05em;
    color: #333;
    margin: 0;
    margin-bottom: 2vh;
}

.highlight-inline {
    color: #ff5234;
    font-weight: 600;
}

.about-screenshot {
    flex: 1;
    width: 100%;
    max-width: 35vw;
    height: auto;
    border-radius: 12px;
    box-shadow: 0px 30px 60px rgba(0, 0, 0, 0.15);
}

/* Specs Section */
.specs-section {
    position: relative;
    z-index: 20;
    min-height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10vh 5vw;
}

.specs-content {
    max-width: 65vw;
    font-family: 'Noto Sans JP', sans-serif;
    color: #19160e;
    text-align: left;
    width: 100%;
}

/* Special Thanks Section */
.thanks-section {
    position: relative;
    z-index: 20;
    padding: 6vh 5vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-family: 'Noto Sans JP', sans-serif;
    text-align: center;
    gap: 1.5vh;
}

.thanks-label {
    font-size: 0.9vw;
    font-weight: 600;
    letter-spacing: 0.3em;
    color: #19160e;
    opacity: 0.4;
    text-transform: uppercase;
    margin: 0;
}

.thanks-name {
    font-size: 2.5vw;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: #ff5234;
    letter-spacing: 0.1em;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.thanks-name:hover {
    opacity: 0.7;
}

.thanks-logo {
    width: 12vw;
    height: auto;
    opacity: 0.8;
    transition: opacity 0.3s ease;
    filter: drop-shadow(0px 10px 20px rgba(0, 0, 0, 0.1));
}

.thanks-logo:hover {
    opacity: 1;
}

/* Section Dividers */
.section-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60vw;
    margin: 5vh auto;
    color: #19160e;
    font-size: 10px;
    opacity: 0.15;
    z-index: 20;
    position: relative;
}

.section-divider::before,
.section-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background-color: #19160e;
}

.section-divider::before {
    margin-right: 3vw;
}

.section-divider::after {
    margin-left: 3vw;
}

.specs-list {
    display: flex;
    flex-direction: column;
    gap: 3vh;
    margin-top: 5vh;
}

.spec-item {
    display: flex;
    flex-direction: row;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding-bottom: 2.5vh;
}

.spec-item dt {
    font-size: 1.2vw;
    font-weight: 600;
    color: #ff5234;
    flex: 0 0 15vw;
}

.spec-item dd {
    font-size: 1.2vw;
    font-weight: 300;
    line-height: 1.8;
    color: #333;
    margin: 0;
    flex: 1;
}

/* Footer Section */
.site-footer {
    position: relative;
    z-index: 20;
    padding: 10vh 5vw 5vh 5vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-family: 'Montserrat', sans-serif;
}

.footer-links {
    display: flex;
    gap: 4vw;
    margin-bottom: 3vh;
}

.footer-link {
    color: #19160e;
    text-decoration: none;
    font-size: 1vw;
    font-weight: 600;
    letter-spacing: 0.1em;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #ff5234;
}

.footer-copy {
    font-size: 1vw;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 300;
    color: #19160e;
    opacity: 0.5;
}

/* =========================================
   Mobile Responsiveness Breakpoint
   ========================================= */
@media (max-width: 768px) {

    /* Hero Section */
    .logo-left,
    .logo-right {
        width: 35vw;
    }

    .graphic-left,
    .graphic-right {
        width: 12vw;
    }

    .hero-text .main-title {
        font-size: 8vw;
        font-weight: 600;
        text-align: center;
        line-height: 1.1;
    }

    .hero-text .sub-title {
        position: static;
        font-size: 4vw;
        letter-spacing: 0.5vw;
        font-weight: 600;
        text-align: center !important;
        margin-top: 2vh;
        display: block;
        width: 100%;
    }

    .hero-socials {
        margin-top: 4vh;
        gap: 6vw;
    }

    .hero-socials a {
        font-size: 6vw;
    }

    .hero-socials a img {
        height: 1.5em;
    }

    .scroll-indicator {
        font-size: 2.5vw;
        bottom: 2vh;
    }

    .scroll-indicator .arrow-down {
        width: 2.5vw;
        margin-top: 0px;
    }

    .shoujo-wrapper {
        width: 95vw;
    }

    /* Mission Section */
    .mission-content {
        max-width: 90vw;
    }

    .mission-logo {
        width: 50vw;
    }

    .title-tagline {
        font-size: 6vw;
        margin-bottom: 2vh;
    }

    .mission-desc p {
        font-size: 4vw;
        line-height: 1.8;
    }

    /* Takuan & About Section */
    .takuan-logo {
        width: 85vw;
        margin-bottom: 3vh;
    }

    /* About Section */
    .about-section {
        padding: 5vh 5vw;
    }

    .about-content {
        flex-direction: column-reverse;
        /* Puts image above the text */
        gap: 4vh;
        max-width: 90vw;
    }

    .about-screenshot {
        max-width: 85vw;
    }

    .about-text {
        max-width: 90vw;
    }

    .highlight-text {
        font-size: 5vw;
    }

    .about-text p {
        font-size: 3.5vw;
    }

    /* Specs Section */
    .specs-content {
        max-width: 90vw;
    }

    .section-divider {
        width: 85vw;
        margin: 6vh auto;
    }

    .spec-item {
        flex-direction: column;
        gap: 1vh;
    }

    .spec-item dt {
        font-size: 4vw;
        flex: auto;
    }

    .spec-item dd {
        font-size: 3.5vw;
        flex: auto;
    }

    /* Footer Secton */
    .footer-links {
        flex-direction: row;
        gap: 4vw;
    }

    .footer-link {
        font-size: 2.5vw;
    }

    .footer-copy {
        font-size: 2vw;
        margin-top: 2vh;
    }

    /* Special Thanks Section */
    .thanks-label {
        font-size: 3.5vw;
    }

    .thanks-name {
        font-size: 6vw;
    }

    .thanks-logo {
        width: 50vw;
    }
}