/*
 * Coming-soon placeholder for the apex domain (veyra.trade).
 * Brand tokens are the landing-page system (scripts/frontend/static/css/landing.css):
 * --lp-* palette, display font and radius scale, reused verbatim so the placeholder
 * never drifts from the marketing site, which now lives on demo.veyra.trade.
 */

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

:root {
    --lp-bg-base: #06030f;
    --lp-fg: #f5e8ff;
    --lp-fg-muted: rgba(245, 232, 255, 0.66);
    --lp-fg-dim: rgba(245, 232, 255, 0.42);
    --lp-helmet-accent: #ffd56b;
    --lp-card-radius: clamp(18px, 1.6vw, 28px);
    --lp-shadow-soft:
        0 30px 80px -20px rgba(0, 0, 0, 0.55),
        0 12px 32px -12px rgba(80, 30, 160, 0.45),
        0 0 0 1px rgba(255, 255, 255, 0.06) inset;
    --lp-display-font: 'Oswald', 'Impact', 'Helvetica Neue Condensed', 'Arial Narrow', 'Inter', sans-serif;
    --lp-body-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', system-ui, sans-serif;
}

html,
body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--lp-body-font);
    background: var(--lp-bg-base);
    color: var(--lp-fg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    letter-spacing: 0.01em;
}

.cs-stage {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-height: 100dvh;
    padding: clamp(18px, 3vw, 40px);
    overflow: hidden;
    background:
        radial-gradient(ellipse 70% 55% at 50% 18%, rgba(75, 31, 138, 0.45) 0%, transparent 62%),
        radial-gradient(ellipse 55% 45% at 82% 88%, rgba(46, 120, 230, 0.16) 0%, transparent 60%),
        var(--lp-bg-base);
}

.cs-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 65% 60% at 50% 45%, #000 0%, transparent 78%);
    -webkit-mask-image: radial-gradient(ellipse 65% 60% at 50% 45%, #000 0%, transparent 78%);
    pointer-events: none;
}

.cs-mascot {
    position: absolute;
    left: max(-2vw, -40px);
    bottom: 0;
    width: clamp(220px, 26vw, 420px);
    height: min(78vh, 720px);
    background: url("/static/Vgril_left.png") left bottom / contain no-repeat;
    opacity: 0.9;
    pointer-events: none;
    filter: drop-shadow(0 24px 60px rgba(0, 0, 0, 0.55));
}

.cs-bar {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.cs-brand {
    display: inline-flex;
    align-items: center;
    border-radius: 10px;
}

.cs-logo {
    height: 30px;
    width: auto;
    border-radius: 8px;
    display: block;
}

.cs-lang {
    appearance: none;
    -webkit-appearance: none;
    padding: 9px 34px 9px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background-color: rgba(0, 0, 0, 0.34);
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'><path d='M1 1l4 4 4-4' stroke='%23f5e8ff' stroke-width='1.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
    background-repeat: no-repeat;
    background-position: right 13px center;
    color: var(--lp-fg);
    font: 600 12.5px/1 var(--lp-body-font);
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: border-color .2s, background-color .2s;
}

.cs-lang:hover {
    border-color: rgba(255, 255, 255, 0.4);
    background-color: rgba(0, 0, 0, 0.5);
}

.cs-lang:focus-visible,
.cs-cta:focus-visible,
.cs-brand:focus-visible {
    outline: 2px solid var(--lp-helmet-accent);
    outline-offset: 3px;
}

.cs-main {
    position: relative;
    z-index: 2;
    display: flex;
    flex: 1 1 auto;
    align-items: center;
    justify-content: center;
    padding: clamp(20px, 3.5vw, 44px) 0;
}

.cs-card {
    position: relative;
    width: min(720px, 100%);
    padding: clamp(26px, 3.2vw, 46px);
    border-radius: var(--lp-card-radius);
    background: linear-gradient(180deg, rgba(28, 12, 52, 0.86) 0%, rgba(10, 5, 20, 0.92) 100%);
    box-shadow: var(--lp-shadow-soft);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    text-align: center;
}

.cs-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 7px 16px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.05);
    color: var(--lp-fg-muted);
    font: 700 11px/1 var(--lp-body-font);
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.cs-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--lp-helmet-accent);
    box-shadow: 0 0 10px var(--lp-helmet-accent);
}

.cs-title {
    margin: 20px 0 0;
    font-family: var(--lp-display-font);
    font-weight: 700;
    font-size: clamp(32px, 4.6vw, 58px);
    line-height: 1.02;
    letter-spacing: -0.012em;
    text-transform: uppercase;
    text-wrap: balance;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.cs-title-accent {
    background: linear-gradient(100deg, var(--lp-helmet-accent) 0%, #ffffff 62%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.cs-sub {
    margin: 20px auto 0;
    max-width: 46ch;
    color: var(--lp-fg-muted);
    font-size: clamp(14px, 1.5vw, 16.5px);
    line-height: 1.65;
}

.cs-status {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-top: 26px;
    padding: 8px 16px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(0, 0, 0, 0.32);
    font-size: 12px;
    line-height: 1;
}

.cs-pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #34d399;
    box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.7);
    animation: cs-pulse 2.4s ease-out infinite;
}

.cs-status-label {
    color: var(--lp-fg-dim);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 10.5px;
}

.cs-status-value {
    color: var(--lp-fg);
    font-weight: 600;
}

.cs-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
    padding: 15px 30px;
    border-radius: 999px;
    background: linear-gradient(135deg, #ffffff, #e9dcff);
    color: #1a0533;
    font: 700 12.5px/1 var(--lp-body-font);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    box-shadow:
        0 12px 30px -8px rgba(255, 255, 255, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.6) inset;
    transition: transform .25s cubic-bezier(.4, 0, .2, 1), box-shadow .25s;
}

.cs-cta:hover {
    transform: translateY(-2px);
    box-shadow:
        0 18px 40px -8px rgba(255, 255, 255, 0.55),
        0 0 0 1px rgba(255, 255, 255, 0.8) inset;
}

.cs-cta:active {
    transform: translateY(0);
}

.cs-note {
    margin: 20px 0 0;
    color: var(--lp-fg-dim);
    font-size: 12.5px;
    line-height: 1.5;
}

.cs-foot {
    position: relative;
    z-index: 3;
    display: flex;
    justify-content: center;
    color: var(--lp-fg-dim);
    font-size: 12px;
    letter-spacing: 0.04em;
}

@keyframes cs-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.55);
    }

    70% {
        box-shadow: 0 0 0 9px rgba(52, 211, 153, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(52, 211, 153, 0);
    }
}

@media (max-width: 900px) {
    .cs-mascot {
        width: clamp(150px, 34vw, 240px);
        opacity: 0.35;
        left: -8vw;
    }
}

@media (max-width: 640px) {
    .cs-mascot {
        display: none;
    }

    .cs-card {
        text-align: left;
    }

    .cs-sub {
        margin-left: 0;
    }

    .cs-cta {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {

    .cs-pulse,
    .cs-cta {
        animation: none;
        transition: none;
    }

    .cs-cta:hover {
        transform: none;
    }
}
