:root {
    --bg: #000000;
    --panel: #050505;
    --panel-soft: #0b0b0c;
    --line: rgba(255, 255, 255, 0.14);
    --line-strong: rgba(255, 255, 255, 0.24);
    --text: #f5f5f5;
    --muted: #8d8d96;
    --radius: 26px;
}

* {
    box-sizing: border-box;
}

html {
    background: var(--bg);
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: "SF Pro Display", "Helvetica Neue", "Noto Sans JP", "Noto Sans TC", sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(255, 255, 255, 0.08), transparent 30%),
        radial-gradient(circle at bottom right, rgba(255, 255, 255, 0.05), transparent 28%),
        #000;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

.site-shell {
    width: min(100%, 1440px);
    min-height: 100vh;
    margin: 0 auto;
    padding: 24px 40px 32px;
}

.launch-modal {
    position: fixed;
    inset: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(0, 0, 0, 0.34);
    transition: opacity 0.2s ease;
}

.launch-modal.is-hidden {
    opacity: 0;
    pointer-events: none;
}

.launch-modal-window {
    width: min(60vw, 60vh, 720px);
    min-width: min(88vw, 320px);
    min-height: min(60vh, 420px);
    padding: 28px 32px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.launch-modal-message {
    color: #fff;
    font-size: clamp(1.6rem, 2.3vw, 2.4rem);
    line-height: 1.5;
    font-weight: 800;
}

.launch-modal-message p {
    margin: 0 0 14px;
}

.launch-modal-button {
    align-self: flex-end;
    min-width: 140px;
    min-height: 48px;
    border: 0;
    border-radius: 999px;
    background: #ffffff;
    color: #111;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
}

.site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    margin-bottom: 52px;
}

.brand-header {
    display: flex;
    align-items: center;
    min-height: 72px;
}

.brand-header-logo {
    width: min(320px, 26vw);
    height: auto;
    display: block;
}

.top-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    position: relative;
}

.locale-switcher select {
    min-width: 132px;
    height: 40px;
    padding: 8px 38px 8px 14px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #0a0a0a;
    color: var(--text);
    font-size: 0.95rem;
    outline: none;
}

.locale-switcher select:focus {
    border-color: rgba(255, 255, 255, 0.7);
}

.menu-toggle {
    display: inline-flex;
    width: 52px;
    height: 52px;
    padding: 0;
    border: 0;
    background: transparent;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 7px;
    cursor: pointer;
}

.menu-toggle span:not(.sr-only) {
    display: block;
    width: 44px;
    height: 4px;
    background: #ffffff;
    border-radius: 999px;
}

.site-menu-panel {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    z-index: 20;
    display: grid;
    gap: 12px;
    min-width: 220px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 0;
    background: rgba(8, 8, 8, 0.96);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.36);
}

.site-menu-panel[hidden] {
    display: none;
}

.page-shell {
    display: grid;
    grid-template-columns: minmax(420px, 560px) minmax(420px, 1fr);
    gap: 88px;
    align-items: start;
}

.auth-card {
    width: 100%;
    max-width: 560px;
}

.mobile-brand {
    display: none;
}

.card-header {
    display: grid;
    gap: 16px;
    margin-bottom: 26px;
}

.hero-title {
    margin: 0;
    line-height: 1.08;
    font-size: clamp(1.95rem, 2.75vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.06em;
    white-space: nowrap;
}

.hero-copy {
    max-width: none;
    margin: 0;
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.7;
}

.notice-card {
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.32);
}

.notice-eyebrow {
    margin-bottom: 10px;
    color: #f2f2f2;
    font-size: 0.83rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.notice-title {
    margin: 0 0 14px;
    font-size: clamp(1.5rem, 2.2vw, 2rem);
    line-height: 1.25;
}

.notice-copy,
.notice-subcopy {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.notice-subcopy {
    margin-top: 18px;
    font-size: 0.95rem;
}

.launch-date-block {
    margin-top: 22px;
    padding: 18px 20px;
    border-radius: 0;
    border: 1px solid var(--line-strong);
    background: rgba(255, 255, 255, 0.03);
}

.launch-date-label {
    display: block;
    margin-bottom: 8px;
    color: var(--muted);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.launch-date {
    font-size: clamp(1.4rem, 2vw, 1.9rem);
    letter-spacing: -0.02em;
}

.feature-grid {
    display: grid;
    gap: 16px;
    margin-top: 24px;
}

.feature-tile {
    padding: 18px 20px;
    border: 1px solid var(--line);
    border-radius: 0;
    background: rgba(255, 255, 255, 0.02);
}

.feature-tile h3 {
    margin: 0 0 10px;
    font-size: 1.05rem;
}

.feature-tile p {
    margin: 0;
    color: var(--muted);
    line-height: 1.65;
}

.ad-panel {
    display: grid;
    grid-template-columns: repeat(2, minmax(240px, 1fr));
    gap: 28px 24px;
    padding-top: 48px;
}

.ad-tile {
    aspect-ratio: 1 / 1;
    display: grid;
    place-items: center;
    padding: 0;
    margin: 0;
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.07)),
        rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.92);
    font-size: clamp(1.3rem, 1.9vw, 1.9rem);
    font-weight: 300;
    text-align: center;
    letter-spacing: 0.02em;
    border-radius: 0;
}

.ad-tile-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.site-footer-global {
    padding: 54px 0 10px;
}

.site-footer-copy {
    display: flex;
    justify-content: center;
    align-items: center;
    color: #686871;
    font-size: 0.85rem;
    text-align: center;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (max-width: 1260px) {
    .site-shell {
        padding-inline: 28px;
    }

    .page-shell {
        grid-template-columns: minmax(360px, 520px) minmax(340px, 1fr);
        gap: 54px;
    }

    .ad-panel {
        grid-template-columns: repeat(2, minmax(220px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 980px) {
    .site-shell {
        padding: 20px 20px 28px;
    }

    .site-header {
        margin-bottom: 28px;
    }

    .brand-header {
        display: none;
    }

    .top-actions {
        width: 100%;
        justify-content: flex-end;
    }

    .site-menu-panel {
        top: calc(100% + 10px);
        right: 0;
    }

    .page-shell {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .mobile-brand {
        display: block;
        margin: 6px 0 24px;
    }

    .mobile-brand-logo {
        width: min(260px, 58vw);
        height: auto;
        display: block;
    }

    .auth-card {
        max-width: none;
    }

    .hero-title {
        font-size: clamp(1.9rem, 6vw, 2.6rem);
        white-space: normal;
    }

    .ad-panel {
        grid-template-columns: repeat(2, minmax(180px, 1fr));
        gap: 18px;
        padding-top: 0;
    }

    .site-footer-global {
        padding-top: 34px;
    }

    .launch-modal-window {
        width: min(88vw, 720px);
        min-height: 320px;
    }
}

@media (max-width: 640px) {
    .site-shell {
        padding: 16px 16px 24px;
    }

    .site-header {
        margin-bottom: 22px;
    }

    .top-actions {
        gap: 12px;
    }

    .locale-switcher select {
        min-width: 122px;
        font-size: 0.9rem;
    }

    .menu-toggle {
        width: 46px;
        height: 46px;
    }

    .menu-toggle span:not(.sr-only) {
        width: 32px;
        height: 3px;
    }

    .site-menu-panel {
        left: auto;
        right: 0;
        top: calc(100% + 10px);
        min-width: 200px;
    }

    .mobile-brand {
        margin: 2px 0 20px;
    }

    .mobile-brand-logo {
        width: min(220px, 58vw);
    }

    .ad-panel {
        grid-template-columns: repeat(2, minmax(140px, 1fr));
        gap: 14px;
    }

    .launch-modal-window {
        width: min(88vw, 420px);
        min-width: 0;
        min-height: 280px;
        padding: 22px 20px;
    }

    .launch-modal-message {
        font-size: 1.35rem;
    }

    .notice-card,
    .feature-tile {
        padding-inline: 16px;
    }
}
