/* ── Launch Countdown – Frontend Styles ── */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Inter:wght@400;500;600&display=swap');

.lc-wrapper {
    --lc-bg:       #0a0a0f;
    --lc-accent:   #e8ff47;
    --lc-text:     #ffffff;
    --lc-muted:    #888;
    --lc-card-bg:  #111118;
    --lc-border:   #2a2a35;
    font-family: 'Inter', sans-serif;
    color: var(--lc-text);
    background: var(--lc-bg);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Animated background grid */
.lc-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(232,255,71,.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(232,255,71,.04) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: lc-grid-drift 20s linear infinite;
    pointer-events: none;
}

/* Glowing orb */
.lc-wrapper::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(232,255,71,.08) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    animation: lc-pulse 4s ease-in-out infinite;
}

@keyframes lc-grid-drift {
    from { background-position: 0 0; }
    to   { background-position: 60px 60px; }
}

@keyframes lc-pulse {
    0%, 100% { opacity: .6; transform: translate(-50%, -50%) scale(1); }
    50%       { opacity: 1;  transform: translate(-50%, -50%) scale(1.1); }
}

/* ── Headline ── */
.lc-headline {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(2.5rem, 6vw, 5rem);
    letter-spacing: 0.06em;
    line-height: 1.05;
    margin: 0 0 48px;
    color: var(--lc-text);
    position: relative;
    z-index: 1;
    text-shadow: 0 0 40px rgba(232,255,71,.3);
}

/* ── Timer ── */
.lc-timer {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    z-index: 1;
    margin-bottom: 48px;
    flex-wrap: wrap;
    justify-content: center;
}

.lc-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--lc-card-bg);
    border: 1px solid var(--lc-border);
    border-radius: 16px;
    padding: 24px 28px;
    min-width: 110px;
    position: relative;
    overflow: hidden;
    transition: border-color .3s;
}

.lc-unit::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: var(--lc-accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .4s ease;
}

.lc-unit:hover::before { transform: scaleX(1); }
.lc-unit:hover { border-color: rgba(232,255,71,.4); }

.lc-num {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(3rem, 7vw, 5.5rem);
    line-height: 1;
    color: var(--lc-accent);
    display: block;
    transition: transform .15s ease;
    text-shadow: 0 0 20px rgba(232,255,71,.5);
}

.lc-num.lc-flip {
    animation: lc-flip .25s ease;
}

@keyframes lc-flip {
    0%   { transform: translateY(-8px); opacity: 0; }
    100% { transform: translateY(0);    opacity: 1; }
}

.lc-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--lc-muted);
    margin-top: 8px;
}

.lc-sep {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 3.5rem;
    color: var(--lc-border);
    line-height: 1;
    margin-bottom: 18px;
    animation: lc-blink 1s step-end infinite;
}

@keyframes lc-blink {
    0%, 100% { opacity: 1; }
    50%       { opacity: .2; }
}

/* ── Message ── */
.lc-message {
    position: relative;
    z-index: 1;
    max-width: 560px;
    font-size: 1rem;
    line-height: 1.7;
    color: rgba(255,255,255,.65);
    margin-bottom: 40px;
}

/* ── Video ── */
.lc-video {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 700px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--lc-border);
    margin: 0 auto 40px;
    box-shadow: 0 20px 60px rgba(0,0,0,.6);
}

.lc-video iframe {
    display: block;
    width: 100%;
    aspect-ratio: 16/9;
    border: none;
}

/* ── Post-launch ── */
.lc-launched-msg {
    position: relative;
    z-index: 1;
    animation: lc-pop .6s ease;
}

.lc-launched-msg h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 3rem;
    color: var(--lc-accent);
    letter-spacing: .05em;
    margin-bottom: 12px;
}

@keyframes lc-pop {
    0%   { transform: scale(.8); opacity: 0; }
    60%  { transform: scale(1.05); }
    100% { transform: scale(1); opacity: 1; }
}

/* ── Responsive ── */
@media (max-width: 480px) {
    .lc-unit { min-width: 74px; padding: 16px 14px; }
    .lc-sep  { font-size: 2.2rem; }
}
