.launch-gate {
    min-height: 100dvh;
    height: 100dvh;
    overflow: hidden;
    padding: clamp(0.9rem, 2vw, 1.4rem);
}

.launch-gate-shell {
    position: relative;
    width: min(1040px, 100%);
    max-height: calc(100dvh - clamp(1.8rem, 4vw, 2.8rem));
    overflow: hidden;
    padding: clamp(1rem, 3.2vh, 2.1rem) clamp(1rem, 4vw, 2.6rem);
    text-align: left;
    align-items: stretch;
}

.launch-gate-shell::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at top left, rgba(18, 188, 206, 0.34), transparent 38%),
        linear-gradient(135deg, rgba(18, 188, 206, 0.14), transparent 34%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 54%);
}

.launch-gate-shell > * {
    position: relative;
    z-index: 1;
}

.launch-gate-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: clamp(0.75rem, 2vh, 1.2rem);
}

.launch-gate-logo {
    display: inline-flex;
    align-items: center;
    min-width: 0;
}

.launch-gate-logo-img {
    height: clamp(28px, 5vh, 42px);
    width: auto;
}

.launch-gate-logo-light { display: none; }
.launch-gate-logo-dark { display: block; }

.launch-gate-theme-toggle {
    position: static;
    flex: 0 0 auto;
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.24);
    color: rgba(232, 252, 255, 0.95);
    backdrop-filter: blur(18px);
}

.launch-gate-signal {
    width: 100%;
    height: 3px;
    margin: 0 0 clamp(0.8rem, 2vh, 1.1rem);
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
}

.launch-gate-signal span {
    display: block;
    width: 38%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, transparent, #12bcce, #9df7ff, transparent);
    animation: launch-gate-signal 3.2s ease-in-out infinite;
}

.launch-gate-badge-wrapper { margin-bottom: clamp(0.7rem, 1.8vh, 1rem); }

.launch-gate-title {
    max-width: 880px;
    font-size: clamp(1.65rem, 4.4vw, 3.3rem);
    line-height: 1.05;
    margin-bottom: clamp(0.65rem, 1.7vh, 0.95rem);
}

.launch-gate-subtitle {
    max-width: 800px;
    font-size: clamp(0.9rem, 1.7vw, 1.05rem);
    line-height: 1.55;
    margin-bottom: clamp(0.85rem, 2.1vh, 1.25rem);
}

.launch-gate-highlights {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(0.6rem, 1.5vw, 0.9rem);
    margin-bottom: clamp(0.85rem, 2.1vh, 1.25rem);
}

.launch-gate-card {
    padding: clamp(0.85rem, 2vh, 1.1rem);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.11);
}

.launch-gate-card-accent { background: rgba(18, 188, 206, 0.11); }

.launch-gate-card-icon {
    display: inline-flex;
    margin-bottom: 0.55rem;
    color: #7eefff;
    font-size: 0.78rem;
    font-weight: 800;
}

.launch-gate-card-label {
    display: block;
    margin-bottom: 0.35rem;
    color: #bff8ff;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.launch-gate-card strong {
    color: rgba(255, 255, 255, 0.88);
    font-family: var(--font-primary);
    font-size: clamp(0.78rem, 1.35vw, 0.92rem);
    line-height: 1.45;
}

.launch-gate-actions {
    justify-content: flex-start;
    margin-bottom: clamp(0.7rem, 1.8vh, 1rem);
}

.launch-gate-footnote {
    margin-bottom: 0;
    padding-top: clamp(0.65rem, 1.8vh, 1rem);
}

.launch-gate-copyright {
    margin: clamp(0.55rem, 1.5vh, 0.85rem) 0 0;
    color: rgba(255, 255, 255, 0.48);
    font-size: 0.76rem;
}

[data-theme="light"] .launch-gate {
    background: radial-gradient(circle at top left, rgba(18, 188, 206, 0.15), transparent 34%), linear-gradient(160deg, #f7feff 0%, #eefcfd 52%, #ffffff 100%);
}

[data-theme="light"] .launch-gate-shell {
    background: rgba(255, 255, 255, 0.86);
    border-color: rgba(18, 188, 206, 0.18);
    box-shadow: 0 24px 70px rgba(18, 188, 206, 0.16);
    color: #0f172a;
}

[data-theme="light"] .launch-gate-logo-light { display: block; }
[data-theme="light"] .launch-gate-logo-dark { display: none; }
[data-theme="light"] .launch-gate-title { color: #0f172a; }
[data-theme="light"] .launch-gate-subtitle,
[data-theme="light"] .launch-gate-footnote,
[data-theme="light"] .launch-gate-copyright { color: rgba(15, 23, 42, 0.68); }
[data-theme="light"] .launch-gate-card {
    background: rgba(255, 255, 255, 0.82);
    border: 1.5px solid rgba(7, 142, 153, 0.28);
    box-shadow: 0 14px 32px rgba(7, 142, 153, 0.1);
}
[data-theme="light"] .launch-gate-card-accent { background: rgba(18, 188, 206, 0.12); border-color: rgba(7, 142, 153, 0.34); }
[data-theme="light"] .launch-gate-card-icon,
[data-theme="light"] .launch-gate-card-label { color: #078e99; }
[data-theme="light"] .launch-gate-card strong { color: #16323a; }
[data-theme="light"] .launch-gate-badge { color: #078e99; background: rgba(18, 188, 206, 0.11); border-color: rgba(18, 188, 206, 0.2); }
[data-theme="light"] .launch-gate-theme-toggle { background: rgba(255, 255, 255, 0.86); border-color: rgba(18, 188, 206, 0.22); color: #078e99; }
[data-theme="light"] .launch-gate-signal { background: rgba(18, 188, 206, 0.14); }
[data-theme="light"] .launch-gate-shell::before {
    background:
        radial-gradient(circle at top left, rgba(18, 188, 206, 0.32), transparent 38%),
        linear-gradient(135deg, rgba(18, 188, 206, 0.16), transparent 34%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.12), transparent 54%);
}

@keyframes launch-gate-signal {
    0% { transform: translateX(-110%); opacity: 0; }
    20% { opacity: 1; }
    80% { opacity: 1; }
    100% { transform: translateX(270%); opacity: 0; }
}

@media (max-width: 760px) {
    .launch-gate { height: auto; min-height: 100dvh; overflow: auto; padding: 0.8rem; }
    .launch-gate-shell { max-height: none; overflow: visible; border-radius: 26px; }
    .launch-gate-header { align-items: flex-start; }
    .launch-gate-logo-img { max-width: min(62vw, 230px); }
    .launch-gate-highlights { grid-template-columns: 1fr; }
    .launch-gate-actions { flex-direction: column; }
    .launch-gate-actions .btn { width: 100%; }
}

@media (min-width: 761px) and (max-height: 720px) {
    .launch-gate-title { font-size: clamp(1.45rem, 3.6vw, 2.6rem); }
    .launch-gate-card { padding: 0.75rem; }
    .launch-gate-card strong { font-size: 0.78rem; }
    .launch-gate-actions .btn-lg { padding: 0.78rem 1.25rem; }
}
