:root {
    --bg: #050505;
    --bg-deep: #000000;
    --panel: #0c0c0c;
    --line: rgba(255, 255, 255, 0.08);
    --text: #e8e8e8;
    --muted: #8a8a8a;
    --red: #cd0505;
    --red-hot: #e10606;
    --red-deep: #8f0404;
    --white: #f2f2f2;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }

html { background: var(--bg-deep); }

body {
    margin: 0;
    min-height: 100vh;
    color: var(--text);
    background: var(--bg);
    font-family: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

a { color: inherit; text-decoration: none; }

.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;
}

/* ——— Stage ——— */
.soon {
    position: relative;
    min-height: 100svh;
    display: grid;
    place-items: center;
    overflow: hidden;
    padding: clamp(72px, 12vh, 120px) 24px;
    background: var(--bg);
}

/* ——— Atmosphere ——— */
.bg-glow {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 45% at 50% 30%, rgba(205, 5, 5, 0.22), transparent 60%),
        radial-gradient(ellipse 35% 30% at 82% 78%, rgba(205, 5, 5, 0.1), transparent 65%),
        radial-gradient(ellipse 30% 25% at 12% 82%, rgba(143, 4, 4, 0.12), transparent 60%);
    animation: glowPulse 9s ease-in-out infinite alternate;
}

.bg-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: radial-gradient(ellipse 75% 65% at 50% 45%, #000 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse 75% 65% at 50% 45%, #000 30%, transparent 75%);
}

.bg-noise {
    position: absolute;
    inset: 0;
    opacity: 0.05;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    pointer-events: none;
}

/* ——— Floating shapes ——— */
.shape {
    position: absolute;
    pointer-events: none;
    will-change: translate;
    transition: translate 0.6s var(--ease);
}

.shape-ring {
    width: clamp(120px, 16vw, 220px);
    height: clamp(120px, 16vw, 220px);
    top: 16%;
    right: 12%;
    border: 1px solid rgba(205, 5, 5, 0.4);
    border-radius: 50%;
    animation: floatY 11s ease-in-out infinite, spin 40s linear infinite;
}

.shape-ring::after {
    content: "";
    position: absolute;
    inset: 18%;
    border: 1px dashed rgba(255, 255, 255, 0.14);
    border-radius: 50%;
}

.shape-square {
    width: clamp(70px, 9vw, 120px);
    height: clamp(70px, 9vw, 120px);
    bottom: 20%;
    left: 9%;
    border: 1px solid rgba(255, 255, 255, 0.16);
    transform: rotate(18deg);
    animation: floatY 9s ease-in-out infinite reverse;
}

.shape-square::after {
    content: "";
    position: absolute;
    inset: 26%;
    background: rgba(205, 5, 5, 0.5);
}

.shape-tri {
    width: 0;
    height: 0;
    top: 24%;
    left: 14%;
    border-left: clamp(28px, 4vw, 52px) solid transparent;
    border-right: clamp(28px, 4vw, 52px) solid transparent;
    border-bottom: clamp(48px, 7vw, 90px) solid rgba(205, 5, 5, 0.16);
    filter: drop-shadow(0 0 18px rgba(205, 5, 5, 0.25));
    animation: floatY 13s ease-in-out infinite 1.2s;
}

.shape-cross {
    width: 26px;
    height: 26px;
    bottom: 30%;
    right: 18%;
    animation: floatY 8s ease-in-out infinite 0.6s, spin 24s linear infinite;
}

.shape-cross::before,
.shape-cross::after {
    content: "";
    position: absolute;
    background: rgba(242, 242, 242, 0.5);
}

.shape-cross::before { left: 50%; top: 0; width: 2px; height: 100%; transform: translateX(-50%); }
.shape-cross::after { top: 50%; left: 0; height: 2px; width: 100%; transform: translateY(-50%); }

.shape-dot {
    width: 10px;
    height: 10px;
    top: 62%;
    left: 22%;
    border-radius: 50%;
    background: var(--red-hot);
    box-shadow: 0 0 24px 6px rgba(225, 6, 6, 0.45);
    animation: floatY 7s ease-in-out infinite 2s;
}

/* ——— Corner marks ——— */
.corner {
    position: absolute;
    width: 26px;
    height: 26px;
    border: 0 solid rgba(205, 5, 5, 0.65);
    z-index: 3;
}

.corner-tl { top: 22px; left: 22px; border-top-width: 2px; border-left-width: 2px; }
.corner-tr { top: 22px; right: 22px; border-top-width: 2px; border-right-width: 2px; }
.corner-bl { bottom: 22px; left: 22px; border-bottom-width: 2px; border-left-width: 2px; }
.corner-br { bottom: 22px; right: 22px; border-bottom-width: 2px; border-right-width: 2px; }

/* ——— Side coordinates ——— */
.coord {
    position: absolute;
    top: 50%;
    margin: 0;
    z-index: 3;
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.34em;
    white-space: nowrap;
}

.coord-left { left: 18px; transform: translateY(-50%) rotate(180deg); writing-mode: vertical-rl; }
.coord-right { right: 18px; transform: translateY(-50%); writing-mode: vertical-rl; }

/* ——— Marquee ——— */
.marquee {
    position: absolute;
    left: 0;
    right: 0;
    z-index: 2;
    overflow: hidden;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(6px);
    padding: 10px 0;
}

.marquee-top { top: 0; }
.marquee-bottom { bottom: 0; }

.marquee-track {
    display: flex;
    align-items: center;
    gap: 42px;
    width: max-content;
    animation: marquee 26s linear infinite;
}

.marquee-track.reverse { animation-direction: reverse; }

.marquee-track span {
    font-family: "Oswald", "Arial Narrow", Arial, sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.4em;
    color: rgba(242, 242, 242, 0.75);
    white-space: nowrap;
}

.marquee-track i {
    font-style: normal;
    color: var(--red);
    font-size: 0.8rem;
}

/* ——— Copy ——— */
.soon-copy {
    position: relative;
    z-index: 4;
    text-align: center;
    max-width: 680px;
    animation: fadeUp 1s var(--ease) both;
}

.logo-wrap {
    position: relative;
    width: min(44vw, 250px);
    margin: 0 auto 30px;
}

.logo {
    position: relative;
    z-index: 2;
    display: block;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 12px 42px rgba(205, 5, 5, 0.35));
    animation: logoIn 1.1s var(--ease) both, logoHover 7s ease-in-out 1.4s infinite;
}

.logo-orbit {
    position: absolute;
    inset: -14%;
    border: 1px solid rgba(205, 5, 5, 0.3);
    border-radius: 50%;
    animation: spin 26s linear infinite;
}

.logo-orbit::after {
    content: "";
    position: absolute;
    top: -4px;
    left: 50%;
    width: 8px;
    height: 8px;
    margin-left: -4px;
    border-radius: 50%;
    background: var(--red-hot);
    box-shadow: 0 0 14px 3px rgba(225, 6, 6, 0.6);
}

.logo-orbit-2 {
    inset: -26%;
    border-color: rgba(255, 255, 255, 0.08);
    border-style: dashed;
    animation-duration: 44s;
    animation-direction: reverse;
}

.logo-orbit-2::after {
    background: rgba(242, 242, 242, 0.6);
    box-shadow: none;
    width: 5px;
    height: 5px;
}

h1 {
    margin: 0;
    font-family: "Oswald", "Arial Narrow", Arial, sans-serif;
    font-size: clamp(2.1rem, 6vw, 3.4rem);
    font-weight: 600;
    letter-spacing: 0.42em;
    color: var(--white);
}

/* Glitch */
.glitch { position: relative; display: inline-block; }

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
}

.glitch::before { color: var(--red-hot); animation: glitchA 4.5s infinite steps(1); }
.glitch::after { color: #4dd8ff; animation: glitchB 4.5s infinite steps(1); }

.red-line {
    width: 110px;
    height: 4px;
    margin: 24px auto 20px;
    background: linear-gradient(90deg, transparent, var(--red), transparent);
    animation: lineGrow 1.2s var(--ease) 0.5s both;
}

.status {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 14px;
    color: var(--red-hot);
    font-size: clamp(1.05rem, 2.6vw, 1.4rem);
    font-weight: 700;
    letter-spacing: 0.3em;
}

.status-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--red-hot);
    box-shadow: 0 0 0 0 rgba(225, 6, 6, 0.55);
    animation: ping 1.8s ease-out infinite;
}

.lead {
    margin: 0 auto 34px;
    max-width: 46ch;
    color: #c8c8c8;
    font-size: clamp(1rem, 2.4vw, 1.2rem);
    font-weight: 500;
    letter-spacing: 0.14em;
    line-height: 1.6;
    text-transform: none;
}

/* ——— Notify form ——— */
.notify {
    display: flex;
    max-width: 480px;
    margin: 0 auto 26px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(12, 12, 12, 0.7);
    backdrop-filter: blur(8px);
    transition: border-color 200ms ease, box-shadow 200ms ease;
}

.notify:focus-within {
    border-color: var(--red);
    box-shadow: 0 0 0 1px var(--red), 0 14px 44px rgba(205, 5, 5, 0.18);
}

.notify input {
    flex: 1;
    min-width: 0;
    padding: 16px 18px;
    border: 0;
    background: transparent;
    color: var(--white);
    font: inherit;
    font-size: 0.95rem;
    letter-spacing: 0.14em;
    outline: none;
}

.notify input::placeholder { color: #5c5c5c; }

.notify button {
    flex-shrink: 0;
    padding: 0 24px;
    border: 0;
    background: var(--red);
    color: #000;
    font: inherit;
    font-weight: 700;
    font-size: 0.92rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 160ms ease;
}

.notify button:hover { background: var(--red-hot); }
.notify button.is-done { background: #1d9e57; color: #fff; }

/* ——— Links ——— */
.soon-links {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 28px;
    border: 1px solid var(--red);
    background: var(--red);
    color: #000;
    font-size: 0.98rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
    transition: background 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.btn:hover {
    background: var(--red-hot);
    transform: translateY(-2px);
    box-shadow: 0 12px 34px rgba(205, 5, 5, 0.35);
}

.social {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 50px;
    padding: 0 24px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: var(--white);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    transition: border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.social svg {
    width: 17px;
    height: 17px;
    fill: currentColor;
}

.social:hover {
    border-color: var(--red);
    color: var(--red-hot);
    transform: translateY(-2px);
}

.foot-note {
    position: absolute;
    bottom: 56px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    margin: 0;
    color: rgba(255, 255, 255, 0.28);
    font-size: 0.72rem;
    letter-spacing: 0.3em;
    white-space: nowrap;
}

/* ——— Keyframes ——— */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(22px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes logoIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes logoHover {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes floatY {
    0%, 100% { margin-top: 0; }
    50% { margin-top: -18px; }
}

@keyframes spin {
    to { rotate: 360deg; }
}

@keyframes marquee {
    to { transform: translateX(-50%); }
}

@keyframes glowPulse {
    from { opacity: 0.75; }
    to { opacity: 1; }
}

@keyframes ping {
    0% { box-shadow: 0 0 0 0 rgba(225, 6, 6, 0.55); }
    70% { box-shadow: 0 0 0 12px rgba(225, 6, 6, 0); }
    100% { box-shadow: 0 0 0 0 rgba(225, 6, 6, 0); }
}

@keyframes lineGrow {
    from { transform: scaleX(0); }
    to { transform: scaleX(1); }
}

@keyframes glitchA {
    0%, 91%, 94.5%, 100% { opacity: 0; transform: none; clip-path: inset(0 0 0 0); }
    92% { opacity: 0.85; transform: translate(-4px, 2px); clip-path: inset(12% 0 58% 0); }
    93.5% { opacity: 0.85; transform: translate(4px, -2px); clip-path: inset(62% 0 8% 0); }
}

@keyframes glitchB {
    0%, 90.5%, 93%, 100% { opacity: 0; transform: none; clip-path: inset(0 0 0 0); }
    91.5% { opacity: 0.7; transform: translate(4px, 1px); clip-path: inset(38% 0 32% 0); }
    94% { opacity: 0.7; transform: translate(-3px, -1px); clip-path: inset(4% 0 78% 0); }
}

/* ——— Responsive ——— */
@media (max-width: 720px) {
    .coord { display: none; }
    .shape-tri { left: 6%; }
    .shape-ring { right: 6%; }
    .notify { flex-direction: column; }
    .notify button { min-height: 50px; }
    .foot-note { display: none; }
}

@media (max-width: 520px) {
    .logo-wrap { width: min(58vw, 210px); }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation: none !important;
        transition: none !important;
    }
}
