body {
    min-height: 100vh;
    margin: 0;
    overflow-x: hidden;
    overflow-y: auto;
    background: var(--primary-bg);
    color: var(--text-primary);
    font-family: var(--font-primary);
    position: relative;
}

.grid-background,
.scanning-lines,
.data-stream {
    position: fixed;
    inset: 0;
    pointer-events: none;
}

.grid-background {
    z-index: 0;
    background-image:
        linear-gradient(
            rgba(0, 212, 255, 0.08) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(0, 212, 255, 0.08) 1px,
            transparent 1px
        );
    background-size: 35px 35px;
    animation: grid-data-flow 5s ease-in-out infinite alternate;
}

.scanning-lines {
    z-index: 1;
    background: linear-gradient(
        0deg,
        transparent 96%,
        rgba(0, 212, 255, 0.15) 97%,
        rgba(0, 212, 255, 0.3) 98%,
        rgba(0, 212, 255, 0.15) 99%,
        transparent 100%
    );
    background-size: 100% 5px;
    animation: scan-active 10s linear infinite;
}

.data-stream {
    z-index: 0;
    background: repeating-linear-gradient(
        90deg,
        transparent 0,
        transparent 98px,
        rgba(0, 212, 255, 0.03) 99px,
        rgba(0, 212, 255, 0.06) 100px,
        transparent 101px
    );
    animation: data-flow 8s linear infinite;
}

.coming-soon-container {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    box-sizing: border-box;
    padding: 32px 20px;
}

.coming-soon-frame {
    position: relative;
    width: min(100%, 900px);
    box-sizing: border-box;
    padding: 40px;
    overflow: hidden;
    background: rgba(26, 26, 46, 0.95);
    border: 2px solid var(--border-color);
    box-shadow:
        0 0 60px rgba(0, 212, 255, 0.2),
        inset 0 0 60px rgba(0, 212, 255, 0.03);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    animation: frame-online 4s ease-in-out infinite alternate;
}

.card-corners .corner,
.logo-corners .corner {
    position: absolute;
    width: 20px;
    height: 20px;
    border-color: var(--accent-cyan);
    border-style: solid;
    filter: drop-shadow(0 0 8px var(--glow-cyan));
    animation: corner-data-flow 3s ease-in-out infinite alternate;
}

.card-corners .corner {
    width: 22px;
    height: 22px;
    border-width: 3px;
}

.logo-corners .corner {
    width: 14px;
    height: 14px;
    border-width: 2px;
}

.corner.top-left {
    top: -2px;
    left: -2px;
    border-width: 3px 0 0 3px;
}

.corner.top-right {
    top: -2px;
    right: -2px;
    border-width: 3px 3px 0 0;
}

.corner.bottom-left {
    bottom: -2px;
    left: -2px;
    border-width: 0 0 3px 3px;
}

.corner.bottom-right {
    right: -2px;
    bottom: -2px;
    border-width: 0 3px 3px 0;
}

.logo-section {
    margin-bottom: 40px;
    text-align: center;
}

.logo-frame {
    position: relative;
    display: inline-block;
    max-width: 100%;
    box-sizing: border-box;
    padding: 30px 50px;
    margin: auto;
    background: rgba(20, 20, 40, 0.8);
    border: 1px solid var(--border-color);
}

.logo-corners {
    position: absolute;
    inset: -1px;
    pointer-events: none;
}

.logo-text {
    margin: 0;
    color: var(--text-primary);
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 900;
    line-height: 1.2;
    text-shadow: 0 0 25px rgba(230, 243, 255, 0.4);
}

.logo-accent {
    color: var(--accent-cyan);
    text-shadow: 0 0 25px var(--glow-cyan);
}

.logo-subtitle {
    margin: 10px 0 0;
    color: var(--text-muted);
    font-family: var(--font-display);
    font-size: 11px;
    letter-spacing: 3px;
    line-height: 1.4;
    opacity: 0.8;
    text-transform: uppercase;
}

.eta-display {
    box-sizing: border-box;
    margin-bottom: 30px;
    padding: 28px 25px;
    background: rgba(124, 58, 237, 0.05);
    border: 1px solid var(--accent-purple);
}

.launch-message {
    text-align: center;
}

.launch-heading {
    margin: 0 0 16px;
    color: var(--text-primary);
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 2px;
    line-height: 1.3;
    text-shadow: 0 0 16px rgba(230, 243, 255, 0.35);
}

.launch-description {
    max-width: 560px;
    margin: 0 auto 28px;
    color: var(--text-secondary);
    font-family: var(--font-primary);
    font-size: 15px;
    line-height: 1.7;
}

.launch-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
}

.sci-fi-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 160px;
    min-height: 46px;
    box-sizing: border-box;
    padding: 12px 20px;
    overflow: hidden;
    color: var(--accent-cyan);
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-decoration: none;
    text-transform: uppercase;
    background: transparent;
    border: 2px solid var(--accent-cyan);
    transition:
        background 0.3s ease,
        box-shadow 0.3s ease,
        transform 0.3s ease;
}

.sci-fi-button::before {
    position: absolute;
    inset: 0;
    z-index: -1;
    content: "";
    background: rgba(0, 212, 255, 0.12);
    transform: translateX(-102%);
    transition: transform 0.35s ease;
}

.sci-fi-button:hover,
.sci-fi-button:focus-visible {
    background: rgba(0, 212, 255, 0.08);
    box-shadow: 0 0 25px var(--glow-cyan);
    transform: translateY(-2px);
}

.sci-fi-button:hover::before,
.sci-fi-button:focus-visible::before {
    transform: translateX(0);
}

.sci-fi-button:focus-visible {
    outline: 2px solid var(--accent-cyan);
    outline-offset: 4px;
}

.secondary-button {
    color: var(--accent-purple);
    border-color: var(--accent-purple);
}

.secondary-button:hover,
.secondary-button:focus-visible {
    background: rgba(124, 58, 237, 0.12);
    box-shadow: 0 0 25px rgba(124, 58, 237, 0.45);
}

.secondary-button:focus-visible {
    outline-color: var(--accent-purple);
}

.button-text {
    position: relative;
    z-index: 1;
}

.system-footer {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    padding-top: 25px;
    border-top: 1px solid var(--border-color);
}

.footer-section {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 5px;
}

.footer-label {
    overflow-wrap: anywhere;
    color: var(--text-muted);
    font-family: var(--font-display);
    font-size: 10px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.footer-value {
    overflow-wrap: anywhere;
    color: var(--accent-cyan);
    font-family: var(--font-display);
    font-size: 10px;
    font-weight: 700;
    line-height: 1.4;
    text-shadow: 0 0 8px var(--glow-cyan);
}

.data-particles {
    position: fixed;
    inset: 0;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
}

.data-particle {
    position: absolute;
    top: -10px;
    width: 2px;
    height: 2px;
    background: var(--accent-cyan);
    box-shadow: 0 0 10px var(--glow-cyan);
    animation: data-particle-flow 10s linear infinite;
}

.data-particle:nth-child(1) {
    left: 5%;
    animation-delay: 0s;
    animation-duration: 8s;
}

.data-particle:nth-child(2) {
    left: 15%;
    animation-delay: 1s;
    animation-duration: 12s;
}

.data-particle:nth-child(3) {
    left: 25%;
    animation-delay: 2s;
    animation-duration: 9s;
}

.data-particle:nth-child(4) {
    left: 45%;
    animation-delay: 3s;
    animation-duration: 11s;
}

.data-particle:nth-child(5) {
    left: 65%;
    animation-delay: 4s;
    animation-duration: 7s;
}

.data-particle:nth-child(6) {
    left: 80%;
    animation-delay: 5s;
    animation-duration: 10s;
}

.data-particle:nth-child(7) {
    left: 95%;
    animation-delay: 6s;
    animation-duration: 8s;
}

@keyframes system-online {
    0% {
        background: var(--primary-bg);
    }

    100% {
        background: linear-gradient(
            rgba(0, 212, 255, 0.02),
            var(--primary-bg)
        );
    }
}

@keyframes grid-data-flow {
    0% {
        opacity: 0.4;
        transform: translateX(0);
    }

    100% {
        opacity: 0.7;
        transform: translateX(10px);
    }
}

@keyframes scan-active {
    0% {
        transform: translateY(-100vh);
    }

    100% {
        transform: translateY(100vh);
    }
}

@keyframes data-flow {
    0% {
        transform: translateX(-100px);
    }

    100% {
        transform: translateX(100px);
    }
}

@keyframes frame-online {
    0% {
        box-shadow:
            0 0 60px rgba(0, 212, 255, 0.2),
            inset 0 0 60px rgba(0, 212, 255, 0.03);
    }

    100% {
        box-shadow:
            0 0 100px rgba(0, 212, 255, 0.4),
            inset 0 0 100px rgba(0, 212, 255, 0.08);
    }
}

@keyframes corner-data-flow {
    0% {
        border-color: var(--accent-cyan);
        filter: drop-shadow(0 0 8px var(--glow-cyan));
    }

    100% {
        border-color: var(--border-active);
        filter: drop-shadow(0 0 18px var(--glow-cyan));
    }
}

@keyframes data-particle-flow {
    0% {
        top: -10px;
        opacity: 0;
        transform: scale(1);
    }

    10% {
        opacity: 1;
    }

    50% {
        opacity: 0.8;
        transform: scale(1.5);
    }

    90% {
        opacity: 1;
    }

    100% {
        top: 100vh;
        opacity: 0;
        transform: scale(1);
    }
}

/* Tablet */
@media (max-width: 991px) {
    .coming-soon-container {
        align-items: flex-start;
        padding: 24px 15px;
    }

    .coming-soon-frame {
        max-height: none;
        padding: 30px 25px;
    }

    .logo-frame {
        padding: 25px 40px;
    }

    .logo-text {
        font-size: 28px;
    }

    .system-footer {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .coming-soon-container {
        display: block;
        min-height: 100vh;
        padding: 20px 15px;
    }

    .coming-soon-frame {
        width: 100%;
        padding: 25px 20px;
    }

    .logo-section {
        margin-bottom: 30px;
    }

    .logo-frame {
        width: 100%;
        padding: 20px 25px;
    }

    .logo-text {
        font-size: clamp(20px, 7vw, 26px);
    }

    .logo-subtitle {
        font-size: 9px;
        letter-spacing: 2px;
    }

    .eta-display {
        padding: 22px 16px;
    }

    .eta-title {
        font-size: 12px;
    }

    .launch-heading {
        font-size: clamp(18px, 6vw, 24px);
    }

    .launch-description {
        font-size: 14px;
    }

    .launch-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .launch-actions .sci-fi-button {
        width: 100%;
        min-width: 0;
    }

    .system-footer {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .footer-section {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding: 7px 10px;
        background: rgba(0, 0, 0, 0.2);
        border: 1px solid var(--border-color);
    }

    .footer-label,
    .footer-value {
        font-size: 9px;
    }
}

/* Small mobile */
@media (max-width: 575px) {
    .coming-soon-container {
        padding: 15px 10px;
    }

    .coming-soon-frame {
        padding: 20px 15px;
        border-width: 1px;
    }

    .logo-frame {
        padding: 16px 18px;
    }

    .logo-text {
        font-size: 20px;
    }

    .logo-subtitle {
        font-size: 8px;
        letter-spacing: 1px;
    }

    .launch-description {
        font-size: 13px;
        line-height: 1.6;
    }

    .eta-display {
        padding: 18px 12px;
    }
}

/* Landscape mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .coming-soon-container {
        align-items: flex-start;
        padding: 15px;
    }

    .coming-soon-frame {
        padding: 20px;
    }

    .logo-section {
        margin-bottom: 20px;
    }

    .logo-frame {
        padding: 14px 24px;
    }

    .logo-text {
        font-size: 22px;
    }

    .eta-display {
        margin-bottom: 20px;
        padding: 18px;
    }

    .launch-actions {
        flex-direction: row;
        align-items: center;
    }

    .launch-actions .sci-fi-button {
        width: auto;
    }

    .system-footer {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-section {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }

    .grid-background,
    .scanning-lines,
    .data-stream,
    .coming-soon-frame,
    .data-particle,
    .corner {
        animation: none !important;
    }
}