/* Rovid Coming Soon - Cyber Neon Aesthetic */

@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;600;700;800;900&family=Rajdhani:wght@300;400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Core Cyber Palette */
    --bg-void: #010409;
    --bg-deep: #0a0e14;
    --cyan-glow: #00ffff;
    --cyan-dim: rgba(0, 255, 255, 0.6);
    --cyan-subtle: rgba(0, 255, 255, 0.15);
    --cyan-whisper: rgba(0, 255, 255, 0.08);
    --teal-glow: #00c2cb;
    --white-ghost: rgba(255, 255, 255, 0.9);
    --white-dim: rgba(255, 255, 255, 0.7);

    /* Typography */
    --font-display: 'Orbitron', sans-serif;
    --font-body: 'Rajdhani', sans-serif;
}

html, body {
    height: 100%;
    overflow: hidden;
}

body {
    font-family: var(--font-body);
    background: var(--bg-void);
    color: var(--white-ghost);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Main Container */
.coming-soon-main {
    position: relative;
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Background Layers */
.cyber-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 50% 50%, rgba(0, 194, 203, 0.03) 0%, transparent 50%),
        radial-gradient(ellipse at 20% 80%, rgba(0, 255, 255, 0.02) 0%, transparent 40%),
        radial-gradient(ellipse at 80% 20%, rgba(0, 255, 255, 0.02) 0%, transparent 40%),
        linear-gradient(180deg, var(--bg-void) 0%, var(--bg-deep) 50%, var(--bg-void) 100%);
    z-index: 0;
}

/* Animated Grid Lines - Subtle */
.grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(var(--cyan-whisper) 1px, transparent 1px),
        linear-gradient(90deg, var(--cyan-whisper) 1px, transparent 1px);
    background-size: 80px 80px;
    opacity: 0.3;
    z-index: 1;
    animation: gridPulse 8s ease-in-out infinite;
}

@keyframes gridPulse {
    0%, 100% { opacity: 0.2; }
    50% { opacity: 0.4; }
}

/* Orbital Rings Container */
.orbits-container {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    pointer-events: none;
}

.orbit {
    position: absolute;
    border-radius: 50%;
    border: 1px solid var(--cyan-subtle);
}

.orbit-lg {
    width: min(600px, 80vw);
    height: min(600px, 80vw);
    animation: orbitRotate 60s linear infinite;
}

.orbit-md {
    width: min(420px, 60vw);
    height: min(420px, 60vw);
    animation: orbitRotate 45s linear infinite reverse;
}

.orbit-sm {
    width: min(240px, 40vw);
    height: min(240px, 40vw);
    animation: orbitRotate 30s linear infinite;
}

/* Orbit glow nodes */
.orbit::before,
.orbit::after {
    content: '';
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--cyan-glow);
    border-radius: 50%;
    box-shadow:
        0 0 10px var(--cyan-glow),
        0 0 20px var(--cyan-glow),
        0 0 40px var(--teal-glow);
}

.orbit-lg::before {
    top: 0;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
}

.orbit-lg::after {
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) translateY(50%);
}

.orbit-md::before {
    top: 50%;
    right: 0;
    transform: translateY(-50%) translateX(50%);
}

.orbit-md::after {
    top: 50%;
    left: 0;
    transform: translateY(-50%) translateX(-50%);
}

.orbit-sm::before {
    top: 15%;
    right: 15%;
}

.orbit-sm::after {
    bottom: 15%;
    left: 15%;
}

@keyframes orbitRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Floating Particles */
.particles-container {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    overflow: hidden;
}

.particle {
    position: absolute;
    border-radius: 50%;
    background: var(--cyan-dim);
    box-shadow:
        0 0 6px var(--cyan-glow),
        0 0 12px var(--teal-glow);
    animation: particleFloat 20s ease-in-out infinite;
}

.particle:nth-child(odd) {
    animation-direction: reverse;
}

.particle-1 { width: 3px; height: 3px; left: 5%; top: 15%; animation-delay: 0s; animation-duration: 18s; }
.particle-2 { width: 2px; height: 2px; left: 10%; top: 70%; animation-delay: -2s; animation-duration: 22s; }
.particle-3 { width: 4px; height: 4px; left: 15%; top: 40%; animation-delay: -4s; animation-duration: 19s; }
.particle-4 { width: 2px; height: 2px; left: 20%; top: 85%; animation-delay: -6s; animation-duration: 24s; }
.particle-5 { width: 3px; height: 3px; left: 25%; top: 25%; animation-delay: -8s; animation-duration: 21s; }
.particle-6 { width: 2px; height: 2px; left: 35%; top: 60%; animation-delay: -10s; animation-duration: 17s; }
.particle-7 { width: 4px; height: 4px; left: 45%; top: 10%; animation-delay: -1s; animation-duration: 23s; }
.particle-8 { width: 3px; height: 3px; left: 55%; top: 80%; animation-delay: -3s; animation-duration: 20s; }
.particle-9 { width: 2px; height: 2px; left: 65%; top: 35%; animation-delay: -5s; animation-duration: 18s; }
.particle-10 { width: 4px; height: 4px; left: 70%; top: 55%; animation-delay: -7s; animation-duration: 25s; }
.particle-11 { width: 3px; height: 3px; left: 75%; top: 20%; animation-delay: -9s; animation-duration: 19s; }
.particle-12 { width: 2px; height: 2px; left: 80%; top: 75%; animation-delay: -11s; animation-duration: 22s; }
.particle-13 { width: 3px; height: 3px; left: 85%; top: 45%; animation-delay: -13s; animation-duration: 16s; }
.particle-14 { width: 4px; height: 4px; left: 90%; top: 90%; animation-delay: -15s; animation-duration: 21s; }
.particle-15 { width: 2px; height: 2px; left: 95%; top: 30%; animation-delay: -17s; animation-duration: 24s; }

@keyframes particleFloat {
    0%, 100% {
        transform: translateY(0) translateX(0) scale(1);
        opacity: 0.6;
    }
    25% {
        transform: translateY(-30px) translateX(15px) scale(1.2);
        opacity: 0.9;
    }
    50% {
        transform: translateY(-10px) translateX(-10px) scale(0.8);
        opacity: 0.5;
    }
    75% {
        transform: translateY(-40px) translateX(5px) scale(1.1);
        opacity: 0.8;
    }
}

/* Cursor Glow Effect */
.cursor-glow {
    position: fixed;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(0, 255, 255, 0.12) 0%,
        rgba(0, 194, 203, 0.05) 40%,
        transparent 70%
    );
    pointer-events: none;
    z-index: 4;
    transform: translate(-200px, -200px);
    will-change: transform;
    transition: opacity 0.3s ease;
    opacity: 0;
}

.cursor-glow.active {
    opacity: 1;
}

/* Main Content */
.content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 600px;
    padding: 40px;
}

/* Logo Styling with Neon Glow */
.logo-container {
    margin-bottom: 40px;
    animation: logoFadeIn 1.5s ease-out forwards;
    opacity: 0;
}

@keyframes logoFadeIn {
    0% {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.logo {
    width: auto;
    height: 100px;
    max-width: 280px;
    border-radius: 16px;
    object-fit: contain;
    filter:
        drop-shadow(0 0 8px rgba(0, 255, 255, 0.8))
        drop-shadow(0 0 20px rgba(0, 255, 255, 0.6))
        drop-shadow(0 0 40px rgba(0, 194, 203, 0.4))
        drop-shadow(0 0 80px rgba(0, 194, 203, 0.2));
    animation: logoGlow 4s ease-in-out infinite;
}

@keyframes logoGlow {
    0%, 100% {
        filter:
            drop-shadow(0 0 8px rgba(0, 255, 255, 0.8))
            drop-shadow(0 0 20px rgba(0, 255, 255, 0.6))
            drop-shadow(0 0 40px rgba(0, 194, 203, 0.4))
            drop-shadow(0 0 80px rgba(0, 194, 203, 0.2));
    }
    50% {
        filter:
            drop-shadow(0 0 12px rgba(0, 255, 255, 1))
            drop-shadow(0 0 30px rgba(0, 255, 255, 0.8))
            drop-shadow(0 0 60px rgba(0, 194, 203, 0.6))
            drop-shadow(0 0 100px rgba(0, 194, 203, 0.3));
    }
}

/* Brand Name */
.brand-name {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 800;
    letter-spacing: 0.15em;
    color: var(--white-ghost);
    text-shadow:
        0 0 10px rgba(0, 255, 255, 0.5),
        0 0 30px rgba(0, 255, 255, 0.3),
        0 0 60px rgba(0, 194, 203, 0.2);
    margin-bottom: 32px;
    animation: brandFadeIn 1.5s ease-out 0.3s forwards;
    opacity: 0;
}

@keyframes brandFadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
        letter-spacing: 0.3em;
    }
    100% {
        opacity: 1;
        transform: translateY(0);
        letter-spacing: 0.15em;
    }
}

/* Tagline */
.tagline {
    font-family: var(--font-body);
    font-size: clamp(1rem, 3vw, 1.35rem);
    font-weight: 400;
    line-height: 1.8;
    color: var(--cyan-dim);
    letter-spacing: 0.08em;
    margin-bottom: 48px;
    animation: taglineFadeIn 1.5s ease-out 0.6s forwards;
    opacity: 0;
}

@keyframes taglineFadeIn {
    0% {
        opacity: 0;
        transform: translateY(15px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.tagline .highlight-underline {
    color: var(--cyan-glow);
    text-decoration: underline;
    text-decoration-color: var(--teal-glow);
    text-underline-offset: 4px;
    text-decoration-thickness: 2px;
}

.tagline .highlight-bold {
    color: var(--white-ghost);
    font-weight: 700;
}

/* Coming Soon Badge */
.coming-soon-badge {
    display: inline-block;
    font-family: var(--font-display);
    font-size: clamp(0.75rem, 2vw, 0.9rem);
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--bg-void);
    background: linear-gradient(135deg, var(--cyan-glow), var(--teal-glow));
    padding: 14px 36px;
    border-radius: 4px;
    box-shadow:
        0 0 20px rgba(0, 255, 255, 0.5),
        0 0 40px rgba(0, 255, 255, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    animation: badgeFadeIn 1.5s ease-out 0.9s forwards, badgePulse 3s ease-in-out 2.4s infinite;
    opacity: 0;
    position: relative;
    overflow: hidden;
}

.coming-soon-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
    );
    animation: badgeShine 3s ease-in-out 2.4s infinite;
}

@keyframes badgeFadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px) scale(0.9);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes badgePulse {
    0%, 100% {
        box-shadow:
            0 0 20px rgba(0, 255, 255, 0.5),
            0 0 40px rgba(0, 255, 255, 0.3);
    }
    50% {
        box-shadow:
            0 0 30px rgba(0, 255, 255, 0.7),
            0 0 60px rgba(0, 255, 255, 0.4),
            0 0 80px rgba(0, 194, 203, 0.2);
    }
}

@keyframes badgeShine {
    0% { left: -100%; }
    50%, 100% { left: 100%; }
}

/* Decorative Corner Elements */
.corner-element {
    position: absolute;
    width: 60px;
    height: 60px;
    border: 1px solid var(--cyan-subtle);
    z-index: 5;
    opacity: 0;
    animation: cornerFadeIn 1s ease-out 1.2s forwards;
}

.corner-tl {
    top: 30px;
    left: 30px;
    border-right: none;
    border-bottom: none;
}

.corner-tr {
    top: 30px;
    right: 30px;
    border-left: none;
    border-bottom: none;
}

.corner-bl {
    bottom: 30px;
    left: 30px;
    border-right: none;
    border-top: none;
}

.corner-br {
    bottom: 30px;
    right: 30px;
    border-left: none;
    border-top: none;
}

@keyframes cornerFadeIn {
    0% {
        opacity: 0;
        transform: scale(0.5);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Scanline Effect */
.scanlines {
    position: absolute;
    inset: 0;
    z-index: 100;
    pointer-events: none;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0, 0, 0, 0.1) 2px,
        rgba(0, 0, 0, 0.1) 4px
    );
    opacity: 0.3;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .content {
        padding: 24px;
    }

    .logo {
        height: 80px;
        max-width: 220px;
        /* Simplify filter on mobile - reduce from 4 to 1 drop-shadow */
        filter: drop-shadow(0 0 10px rgba(0, 255, 255, 0.7));
        animation: none;
    }

    .logo-container {
        margin-bottom: 32px;
    }

    .tagline {
        margin-bottom: 36px;
    }

    .corner-element {
        width: 40px;
        height: 40px;
    }

    .corner-tl, .corner-tr { top: 16px; }
    .corner-bl, .corner-br { bottom: 16px; }
    .corner-tl, .corner-bl { left: 16px; }
    .corner-tr, .corner-br { right: 16px; }

    .orbit-lg {
        width: min(400px, 90vw);
        height: min(400px, 90vw);
    }

    .orbit-md {
        width: min(280px, 70vw);
        height: min(280px, 70vw);
    }

    .orbit-sm {
        width: min(160px, 50vw);
        height: min(160px, 50vw);
    }

    /* Disable orbital rotation animations on mobile */
    .orbit {
        animation: none;
    }

    /* Hide most particles on mobile - keep only 5 */
    .particle:nth-child(n+6) {
        display: none;
    }

    /* Disable grid animation on mobile */
    .grid-overlay {
        animation: none;
        opacity: 0.2;
    }

    /* Simplify badge animation on mobile */
    .coming-soon-badge {
        box-shadow: 0 0 15px rgba(0, 255, 255, 0.4);
    }

    .coming-soon-badge::before {
        animation: none;
    }

    /* Hide cursor glow container on mobile */
    .cursor-glow {
        display: none;
    }
}

@media (max-width: 480px) {
    .logo {
        height: 60px;
        max-width: 180px;
    }

    .coming-soon-badge {
        padding: 12px 28px;
    }
}

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