/* ============================================================
   SHELL.CSS — The Untouchable Trio (Base + Splash + Launcher)
   DO NOT EDIT without explicit user consultation.
   ============================================================ */

/* --- Design Tokens & Reset --- */
:root {
    --color-bg: #000014;
    --color-bg-deep: #00000a;
    --color-navy: #000080;
    --color-navy-light: #0033a0;
    --color-orange: #FF6600;
    --color-orange-glow: rgba(255, 102, 0, 0.6);
    --color-text: #FFFFFF;
    
    --font-heading: 'Orbitron', sans-serif;
    --font-body: 'Rajdhani', sans-serif;
    --font-mono: 'Oxanium', monospace;
    
    /* Premium Glassmorphism */
    --glass-bg: rgba(0, 0, 40, 0.5);
    --glass-border: rgba(0, 0, 128, 0.8);
    --glass-border-highlight: rgba(255, 255, 255, 0.15);
}

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

html {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

body {
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 30%, var(--color-bg), var(--color-bg-deep));
    color: var(--color-text);
    font-family: var(--font-body);
    overflow: hidden;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

/* --- Scanlines Overlay --- */
.scanlines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(255,255,255,0),
        rgba(255,255,255,0) 50%,
        rgba(0,0,0,0.2) 50%,
        rgba(0,0,0,0.2)
    );
    background-size: 100% 4px;
    z-index: 9999;
    pointer-events: none;
    opacity: 0.25;
}

/* --- Particles --- */
#particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.particle {
    position: absolute;
    border-radius: 50%;
    animation: float 15s infinite linear;
    opacity: 0.6;
    filter: blur(1px);
}

@keyframes float {
    0% { transform: translateY(100vh) scale(0); opacity: 0; }
    10% { opacity: 0.8; scale: 1; }
    90% { opacity: 0.8; }
    100% { transform: translateY(-10vh) scale(0); opacity: 0; }
}

/* --- Screens --- */
.screen {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    transition: opacity 1s ease-in-out;
    overflow: hidden;
}

.screen.hidden {
    opacity: 0;
    pointer-events: none;
}

/* --- Splash Screen --- */
#splash-screen {
    background-color: var(--color-bg-deep);
    z-index: 100;
    justify-content: center;
}

.splash-logo-container {
    width: 250px; /* Dominates the tagline */
    height: 250px;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    /* The heartbeat / engine ignition animation */
    animation: engineRev 1.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.splash-logo {
    width: 100%;
    height: auto;
}

.splash-tagline {
    font-family: var(--font-heading);
    font-size: 0.85rem; /* Reduced to equalize hierarchy */
    letter-spacing: 4px;
    opacity: 0;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    text-shadow: 0 0 10px rgba(0, 191, 255, 0.5);
    animation: fadeInTagline 1s forwards 1s;
    text-align: center;
    padding: 0 20px;
}

/* Tagline Accents */
.accent-blue {
    color: rgba(0, 191, 255, 1);
    text-shadow: 0 0 10px rgba(0, 191, 255, 0.4);
}
.accent-orange {
    color: var(--color-orange);
    text-shadow: 0 0 10px var(--color-orange-glow);
}

/* 
  Mechanical heartbeat: 
  1. Dims and pulls back
  2. Compresses slightly (button press)
  3. Bursts with bright cyan light (ignition)
  4. Settles into a clean glow 
*/
@keyframes engineRev {
    0% { transform: scale(0.9); opacity: 0; filter: drop-shadow(0 0 0px rgba(0, 191, 255, 0)); }
    25% { transform: scale(0.95); opacity: 1; filter: drop-shadow(0 0 5px rgba(0, 191, 255, 0.2)); }
    35% { transform: scale(0.92); filter: drop-shadow(0 0 2px rgba(0, 191, 255, 0.1)); }
    50% { transform: scale(1.1); filter: drop-shadow(0 0 40px rgba(0, 255, 255, 0.8)) brightness(1.2); }
    75% { transform: scale(1); filter: drop-shadow(0 0 20px rgba(0, 191, 255, 0.5)) brightness(1); }
    100% { transform: scale(1); filter: drop-shadow(0 0 15px rgba(0, 191, 255, 0.4)); }
}

@keyframes fadeInTagline {
    from { opacity: 0; transform: translateY(15px); filter: blur(4px); }
    to { opacity: 0.9; transform: translateY(0); filter: blur(0); }
}

/* --- Launcher Screen --- */
.launcher-header {
    position: absolute;
    top: 5vh; /* Pushed slightly higher to give max room to orbital container */
    text-align: center;
    width: 100%;
    z-index: 20;
}

.brand-name {
    font-family: var(--font-heading);
    font-size: 1.8rem; /* Reduced to ensure consistent spacing */
    font-weight: 900;
    letter-spacing: 4px;
    margin-right: -4px; /* Perfectly counter-balances the letter-spacing offset */
    color: var(--color-text);
    text-shadow: 0 0 30px var(--color-orange-glow);
    margin-bottom: 5px;
    text-transform: uppercase;
    white-space: nowrap; /* Forces one line */
}

.launcher-header .brand-tagline {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.orbital-container {
    position: relative;
    width: 100%;
    height: 60vh;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 14vh; /* Increased margin */
    perspective: 1200px;
    transform-origin: center center; /* Forces container to expand uniformly, never pushing unilaterally upwards */
}

.center-hero {
    position: absolute;
    width: 220px;
    height: 220px;
    z-index: 15;
    animation: breathingPulse 4s infinite alternate ease-in-out;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* Cinematic contrast for the transparent PNG */
    filter: drop-shadow(0 0 30px rgba(0, 0, 128, 0.9)) contrast(1.2) brightness(1.1);
}

@keyframes breathingPulse {
    0% { transform: scale(0.96); filter: drop-shadow(0 0 20px rgba(0, 0, 128, 0.7)) contrast(1.1); }
    100% { transform: scale(1.04); filter: drop-shadow(0 0 50px rgba(255, 102, 0, 0.5)) contrast(1.15); }
}

.orbital-track {
    position: absolute;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    z-index: 20;
}

.orbital-card {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 130px;   /* Slightly smaller to fit mobile */
    height: 50px;
    margin-top: -25px;
    margin-left: -65px;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    
    /* Reflective edges */
    border: 1px solid var(--glass-border);
    border-top: 1px solid var(--glass-border-highlight);
    border-radius: 8px;
    
    display: flex;
    justify-content: center;
    align-items: center;
    
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 700;
    color: #FFFFFF; /* Pure white text for all cards */
    text-align: center;
    letter-spacing: 1px;
    text-transform: uppercase;
    
    /* Deep shadow */
    box-shadow: 0 10px 30px rgba(0,0,0,0.8), inset 0 0 15px rgba(0, 0, 128, 0.3);
    text-shadow: 0 0 5px rgba(0,0,0,0.8);
    transition: all 0.3s ease;
    cursor: pointer;
}

/* The card at the top center becomes 'featured' */
.orbital-card.featured {
    background: rgba(255, 102, 0, 0.15);
    border: 1px solid var(--color-orange);
    border-top: 1px solid rgba(255, 255, 255, 0.4);
    color: #fff;
    box-shadow: 
        0 15px 40px rgba(0,0,0,0.9), 
        0 0 25px var(--color-orange-glow), 
        inset 0 0 20px rgba(255, 102, 0, 0.4);
    text-shadow: 0 0 8px var(--color-orange);
    z-index: 999 !important;
}

/* --- Footer --- */
.animated-footer {
    position: absolute;
    bottom: 3vh;
    left: 0;
    width: 100%;
    text-align: center;
    font-family: var(--font-heading);
    font-size: 0.7rem;
    letter-spacing: 3px;
    color: rgba(255, 255, 255, 0.5);
    z-index: 10;
}

.footer-text {
    opacity: 0.8;
}

.dots {
    display: inline-flex;
    gap: 4px;
    margin-right: 8px;
}

.dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    animation: blink 1.5s infinite;
}

.dot-1 { background-color: #FFFFFF; box-shadow: 0 0 5px #FFFFFF; animation-delay: 0s; }
.dot-2 { background-color: var(--color-orange); box-shadow: 0 0 5px var(--color-orange); animation-delay: 0.2s; }
.dot-3 { background-color: var(--color-navy-light); box-shadow: 0 0 5px var(--color-navy-light); animation-delay: 0.4s; }

@keyframes blink {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.5); }
}
