/* ==========================================================================
   MOSHI COMING SOON - PREMIUM TERMINAL
   ========================================================================== */

:root {
    --cs-cyan: #00FFCC;
    --cs-magenta: #FF00FF;
    --cs-dark: #0B0D0F;
    --cs-grid: rgba(0, 255, 204, 0.05);
}

.moshi-coming-soon-body {
    background-color: var(--cs-dark) !important;
    margin: 0;
    padding: 0;
    overflow: hidden;
    height: 100vh;
    width: 100vw;
    font-family: 'Rajdhani', sans-serif;
}

.moshi-terminal-coming-soon {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
}

/* --- Effects --- */
.moshi-hud-scan-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(var(--cs-grid) 1px, transparent 1px),
        linear-gradient(90deg, var(--cs-grid) 1px, transparent 1px);
    background-size: 30px 30px;
    pointer-events: none;
    z-index: 1;
}

.moshi-scanlines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%),
        linear-gradient(90deg, rgba(255, 0, 0, 0.06), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.06));
    background-size: 100% 2px, 3px 100%;
    pointer-events: none;
    z-index: 10;
}

.moshi-crt-glass {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(0, 255, 204, 0.05) 0%, rgba(0, 0, 0, 0.4) 100%);
    pointer-events: none;
    z-index: 5;
}

/* --- Content Layout --- */
.moshi-terminal-content {
    position: relative;
    z-index: 20;
    width: 90%;
    max-width: 800px;
    background: rgba(11, 13, 15, 0.8);
    border: 1px solid var(--cs-cyan);
    padding: 60px;
    box-shadow: 0 0 30px rgba(0, 255, 204, 0.1);
    backdrop-filter: blur(5px);
    text-align: center;
}

/* --- HUD Markers --- */
[class^="moshi-hud-marker-"] {
    position: absolute;
    width: 30px;
    height: 30px;
    border: 2px solid var(--cs-cyan);
    z-index: 30;
}

.moshi-hud-marker-tl {
    top: 20px;
    left: 20px;
    border-right: none;
    border-bottom: none;
}

.moshi-hud-marker-tr {
    top: 20px;
    right: 20px;
    border-left: none;
    border-bottom: none;
}

.moshi-hud-marker-bl {
    bottom: 20px;
    left: 20px;
    border-right: none;
    border-top: none;
}

.moshi-hud-marker-br {
    bottom: 20px;
    right: 20px;
    border-left: none;
    border-top: none;
}

/* --- Header --- */
.moshi-coming-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 50px;
}

.moshi-sys-status {
    font-size: 12px;
    color: var(--cs-cyan);
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: var(--cs-cyan);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--cs-cyan);
}

.pulsing {
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        opacity: 0.4;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0.4;
    }
}

/* --- Main Text --- */
.terminal-main-text {
    font-size: clamp(32px, 8vw, 52px);
    font-weight: 800;
    color: #fff;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
    margin: 0 0 30px 0;
    position: relative;
    letter-spacing: 4px;
    white-space: nowrap;
}

.terminal-readout {
    font-family: 'Courier New', monospace;
    color: var(--cs-cyan);
    text-align: left;
    margin: 0 auto 40px;
    max-width: 500px;
    font-size: 14px;
    border-left: 2px solid var(--cs-cyan);
    padding-left: 15px;
    opacity: 0.8;
}

/* --- Loader --- */
.terminal-loader {
    margin-bottom: 40px;
}

.loader-bar {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    position: relative;
    margin-bottom: 10px;
}

.loader-progress {
    height: 100%;
    width: 0%;
    background: var(--cs-cyan);
    box-shadow: 0 0 15px var(--cs-cyan);
    transition: width 0.2s linear;
}

.loader-percentage {
    font-size: 18px;
    color: var(--cs-cyan);
    font-weight: bold;
    letter-spacing: 2px;
}

.terminal-subtext {
    color: #a0a5b0;
    font-size: 18px;
    line-height: 1.6;
}

/* --- Footer --- */
.moshi-coming-footer {
    border-top: 1px solid rgba(0, 255, 204, 0.2);
    margin-top: 40px;
    padding-top: 30px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    align-items: center;
}

/* --- Astra Bypass --- */
#moshi-menu-trigger,
#moshi-cart-float-trigger,
.ast-mobile-header-buttons,
.ast-site-header-cart {
    display: none !important;
}

.footer-hud-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.hud-label {
    font-size: 10px;
    color: var(--cs-cyan);
    opacity: 0.5;
    letter-spacing: 2px;
}

/* Waveform Animation */
.waveform-container {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    height: 20px;
}

.wave-bar {
    width: 3px;
    background: var(--cs-cyan);
    animation: wave 1s ease-in-out infinite;
}

.wave-bar:nth-child(1) {
    height: 40%;
    animation-delay: 0.1s;
}

.wave-bar:nth-child(2) {
    height: 70%;
    animation-delay: 0.3s;
}

.wave-bar:nth-child(3) {
    height: 100%;
    animation-delay: 0.2s;
}

.wave-bar:nth-child(4) {
    height: 60%;
    animation-delay: 0.4s;
}

.wave-bar:nth-child(5) {
    height: 80%;
    animation-delay: 0.1s;
}

@keyframes wave {

    0%,
    100% {
        transform: scaleY(0.5);
    }

    50% {
        transform: scaleY(1.2);
    }
}

/* Sec Status Hex */
.sec-status {
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center;
    gap: 15px !important;
}

.sec-hex {
    width: 30px;
    height: 30px;
    background: rgba(255, 0, 255, 0.1);
    clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--cs-magenta);
    animation: rotateHex 4s linear infinite;
}

.hex-inner {
    width: 10px;
    height: 10px;
    background: var(--cs-magenta);
    clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
    animation: pulseHex 1.5s infinite;
}

@keyframes rotateHex {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes pulseHex {
    0% {
        transform: scale(0.8);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.2);
        opacity: 1;
    }

    100% {
        transform: scale(0.8);
        opacity: 0.5;
    }
}

.hud-value {
    font-size: 11px;
    font-weight: bold;
    color: var(--cs-magenta);
    text-shadow: 0 0 5px var(--cs-magenta);
    letter-spacing: 1px;
}

/* Social Hub */
.social-hub {
    align-items: flex-end !important;
}

.social-circles {
    display: flex;
    gap: 10px;
}

.s-circle {
    width: 10px;
    height: 10px;
    border: 1px solid var(--cs-cyan);
    border-radius: 50%;
    position: relative;
    transition: all 0.3s ease;
}

.s-circle::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border: 1px solid rgba(0, 255, 204, 0.2);
    border-radius: 50%;
    animation: ripple 2s linear infinite;
}

.s-circle:nth-child(2)::before {
    animation-delay: 0.6s;
}

.s-circle:nth-child(3)::before {
    animation-delay: 1.2s;
}

@keyframes ripple {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    100% {
        transform: scale(2.5);
        opacity: 0;
    }
}

.moshi-terminal-btn {
    background: transparent;
    border: 1px solid var(--cs-magenta);
    color: var(--cs-magenta);
    padding: 10px 25px;
    text-decoration: none;
    font-weight: bold;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.3s ease;
}

.moshi-terminal-btn:hover {
    background: rgba(255, 0, 255, 0.1);
    box-shadow: 0 0 20px rgba(255, 0, 255, 0.2);
}

.btn-glitch {
    font-size: 10px;
    opacity: 0.7;
}

.btn-label {
    font-size: 16px;
    letter-spacing: 2px;
}

.social-tag {
    font-size: 12px;
    color: var(--cs-cyan);
    opacity: 0.6;
}

@media (max-width: 768px) {
    .moshi-terminal-content {
        padding: 30px;
    }

    .terminal-main-text {
        font-size: 32px;
    }

    .moshi-coming-header {
        flex-direction: column;
        gap: 20px;
    }

    .moshi-coming-footer {
        grid-template-columns: 1fr;
        padding: 20px;
    }

    .footer-hud-item {
        align-items: center !important;
    }
}