:root{
    --brand-font: "Oxanium", system-ui, -apple-system, "Segoe UI", Roboto,
    "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI",
    Meiryo, "Helvetica Neue", Arial, sans-serif;
    --ls-selected-bg: rgba(255,255,255,.10);
    --ls-selected-fg: #F7F7F7;
    --ls-unselected-bg: transparent;
    --ls-unselected-fg: #F7F7F7;
    --ls-border: rgba(255,255,255,.30);
    --ls-focus: 0 0 0 3px rgba(255,255,255,.35);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

.mobile-break { display: none; }
@media (max-width: 768px) {
    .mobile-break { display: inline; }
}
.pc-break { display: none; }
@media (min-width: 769px) {
    .pc-break { display: inline; }
}

html {
    font-family: var(--brand-font), serif; line-height: 1.5;
    background-color: #111111;
    margin: 0;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 400;
    margin: 0;
    color: #F3F4F6;
    text-align: center;
}

h1 {
    font-size: 60px;
    font-weight: 800;
    line-height: 64px;
}

h2 {
    font-size: 36px;
    line-height: 40px;
    font-weight: 800;
}

h3 {
    font-size: 24px;
    line-height: 32px;
    font-weight: 200;
}

h4 {
    font-size: 20px;
    line-height: 28px;
    font-weight: 600;
}

p {
    font-size: 20px;
    font-weight: 200;
    margin: 0;
    color: #F3F4F6;
}


.body {
    background-color: #111111;
    margin: 0;
}

header {
    position: absolute;
    top: 24px;
    left: 24px;
    z-index: 10;
}

header .container {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 24px;
}

.kv-section {
    min-height: clamp(360px, 60vh, 720px);
    background-image: url("../../img/wl/kv_bg.jpg");
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}


.kv-section::after {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.2);
    pointer-events: none;
}

.kv-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 200px;
    background: linear-gradient(180deg, rgba(17, 17, 17, 0) 0%, #000000 84.62%);
    z-index: 1;
}

.kv-title h1 {
    background: radial-gradient(100% 650.54% at -6.01% 100%, #F7F7F7 0%, #3EE8B5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}

.kv-title {
    width: 100%;
    position: relative; z-index: 1;
    padding: 32px;
}

.kv-title h3 {
    margin: 28px auto 20px;
}

.kv-title .ml-form {
    display: block;
    width: fit-content;
    margin: 0 auto 48px;
}

.kv-title img {
    width: 512px;
}

.market-place-btn-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
}

.marketplace-btn {
    display: inline-block;
    min-width: 223px;
    background: radial-gradient(86.32% 89.3% at 100% 100%, #FFFFFF 0%, rgba(255, 255, 255, 0) 100%), radial-gradient(76.35% 76.35% at -33.11% -21.62%, #FFFFFF 0%, rgba(255, 255, 255, 0) 100%), linear-gradient(220.69deg, #9AF9FF 5.62%, #FFFF88 104.83%);
    color: #000;
    font-weight: 500;
    font-size: 14px;
    padding: 12px 32px;
    line-height: 14px;
    border: none;
    border-radius: 9999px; /* makes it fully rounded */
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.why-register {
    background-color: #000000;
    padding: 80px 32px 40px;
}

.why-register-container {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    justify-content: center;
    gap: clamp(12px, 2vw, 32px);
    margin-top: 60px;
}

.why-register h2 {
    z-index: 3;
}

.why-register-content {
    background-color: #1E2128;
    border-radius: 32px;
    max-width: 352px;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: start;
    gap: 20px;
    padding: 32px;
    z-index: 3;
}

.why-register-content img {
    width: 64px;
}

.why-register-content p {
    font-size: 16px;
    text-align: center;
}

.stay-connected {
    background-color: #000000;
    padding: 40px 32px 0;
}

.stay-connected-container {
    max-width: 660px;
    background-color: #1E2128;
    padding: 40px 100px;
    margin: auto;
    display: flex;
    align-items: center;
    flex-direction: column;
}

.stay-connected p {
    margin: 18px auto 44px;
    text-align: center;
}

.social-container {
    margin: auto;
    display: flex;
    flex-direction: row;
    max-width: 320px;
    align-items: center;
    justify-content: space-evenly;
    gap: 8px;
}

.stay-connected a {
    text-decoration: none;
}

.city-scene {
    width: 100%;
    aspect-ratio: 1440 / 864;
    min-height: clamp(360px, 60vh, 864px);
    background-image: url("../../img/wl/city.png");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.city-top-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 200px;
    background: linear-gradient(0deg, rgba(17, 17, 17, 0) 0%, #000000 84.62%);
    z-index: 1;
}

.city-bottom-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 200px;
    background: linear-gradient(180deg, rgba(17, 17, 17, 0) 0%, #000000 84.62%);
    z-index: 1;
}

.about-syfu {
    background-color: #000000;
    padding: 130px 32px;

    min-height: clamp(360px, 60vh, 720px);
    background-image: url("../../img/wl/about_bg.png");
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
    position: relative;
}

.about-syfu p {
    margin: 18px auto 44px;
    text-align: center;
}

.btn-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    padding: 24px;
}

.learn-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px; /* space between text and arrow */
    background-color: #00E6FF;
    color: #000; /* text color for good contrast */
    font-weight: 500;
    font-size: 14px;
    padding: 12px 32px;
    line-height: 14px;
    border: none;
    border-radius: 9999px; /* makes it fully rounded */
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.learn-more-btn:hover {
    background-color: #00bcd4; /* darker shade for hover */
}

.learn-more-btn img {
    width: 16px;
    height: 16px;
}

.footer {
    width: 80%;
    margin: auto;
    background-color: #111111;
    border-top: 1px solid #374151; /* thin gray line */
    padding: 20px;
}

.footer p {
    font-size: 14px;
}

@media (max-width: 768px) {
    h1 {
        margin-top: 60px;
        font-size: clamp(1.5rem, 9.6vw, 4rem);
        line-height: clamp(2rem, 12vw, 4.5rem);
    }

    h3 {
        font-size: clamp(0.875rem, 5.33vw, 1.5rem);
    }

    .kv-title img {
        margin: auto;
    }

    .why-register-container {
        flex-direction: column;
        align-items: center;
    }

    .stay-connected-container {
        padding: 40px 40px;
    }
    .btn-wrapper {
        flex-direction: column;
    }

    .market-place-btn-wrapper {
        flex-direction: column;
    }
}

.lang-switcher{
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 4px;
    position: relative;
    width: 138px;
    height: 44px;
    border: 1px solid var(--ls-border);
    border-radius: 30px;
    background: transparent;
    gap: 4px;
    isolation: isolate;
}

.lang-option{
    flex: 1 1 0;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: 0;
    border-radius: 26px;
    background: var(--ls-unselected-bg);
    color: var(--ls-unselected-fg);
    cursor: pointer;
    font: 600 12px/1 system-ui, -apple-system, "Segoe UI", Roboto,
    "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic UI",
    Meiryo, "Helvetica Neue", Arial, sans-serif;
    letter-spacing: .02em;
    transition: background-color .15s ease, color .15s ease, transform .08s ease;
}

.lang-option:hover{ transform: translateY(-1px); }
.lang-option:active{ transform: translateY(0); }
.lang-option:focus-visible{ outline: none; box-shadow: var(--ls-focus); }

/* Selected state (applies to EN or 日本語 when active) */
.lang-option[aria-pressed="true"]{
    background: var(--ls-selected-bg);
    color: var(--ls-selected-fg);
    flex-grow: 1.8;
}

.lang-icon{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
}