@charset "utf-8";
/* CSS Document */
* {
            box-sizing: border-box;
        }

        html, body {
            margin: 0;
            min-height: 100%;
            font-family: "Helvetica", "Arial", sans-serif;
            color: white;
            background:
                radial-gradient(circle at 20% 15%, rgba(60,120,255,0.10), transparent 20%),
                radial-gradient(circle at 80% 10%, rgba(120,90,255,0.08), transparent 18%),
                radial-gradient(circle at 50% 50%, rgba(90,160,255,0.05), transparent 20%),
                linear-gradient(180deg, #00084a 0%, #000033 60%, #000022 100%);
        }

        body::before {
            content: "";
            position: fixed;
            inset: 0;
            pointer-events: none;
            background:
                linear-gradient(rgba(255,255,255,0.012) 1px, transparent 1px),
                linear-gradient(90deg, rgba(255,255,255,0.012) 1px, transparent 1px);
            background-size: 64px 64px;
            opacity: 0.2;
        }

        .page-shell {
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            padding: 20px;
            position: relative;
            z-index: 1;
        }

        .top-row {
            display: flex;
            justify-content: space-between;
        }

        .die_with_memories {
            padding: 14px 24px;
            background: linear-gradient(180deg, #001055, #000033);
            border-radius: 8px;
            border: 1px solid rgba(150,200,255,0.2);
            color: white;
            cursor: pointer;
            box-shadow:
                0 0 12px rgba(255,255,255,0.2),
                0 0 25px rgba(120,180,255,0.2);
            transition: transform 0.2s ease, box-shadow 0.2s ease;
        }

        .die_with_memories:hover {
            transform: translateY(-2px);
        }

        .hero-center {
            flex: 1;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .hero-stack {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 30px;
            transform: translateY(60px);
        }

        .center-link {
            text-decoration: none;
        }

        .button-center {
            width: 300px;
            height: 300px;
            border-radius: 18px;
            overflow: hidden;
            background:
                radial-gradient(circle at 50% 50%, rgba(120,180,255,0.08), transparent 45%),
                linear-gradient(180deg, rgba(0,16,90,0.98), rgba(0,0,45,0.98));
            position: relative;
            display: flex;
            align-items: center;
            justify-content: center;
            isolation: isolate;
        }

        .button-center::after {
            content: "";
            position: absolute;
            inset: 10px;
            border-radius: 12px;
            border: 1px solid rgba(180,220,255,0.10);
            box-shadow: inset 0 0 24px rgba(140,190,255,0.08);
            z-index: 1;
            pointer-events: none;
        }

        .glow-button {
            box-shadow:
                0 0 18px rgba(255,255,255,0.20),
                0 0 40px rgba(120,180,255,0.22),
                0 0 75px rgba(120,180,255,0.12);
            transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
        }

        .glow-button:hover {
            transform: translateY(-3px) scale(1.01);
            box-shadow:
                0 0 24px rgba(255,255,255,0.24),
                0 0 55px rgba(120,180,255,0.30),
                0 0 95px rgba(120,180,255,0.16);
        }

        .center-logo-image {
            width: 100%;
            height: 100%;
            object-fit: contain;
            padding: 25px;
            position: relative;
            z-index: 3;
            filter:
                brightness(1.05)
                contrast(1.03)
                drop-shadow(0 0 8px rgba(255,255,255,0.08))
                drop-shadow(0 0 18px rgba(120,180,255,0.16));
            animation: logoFloat 4.8s ease-in-out infinite;
        }

        .center-orbit,
        .center-ai-core,
        .center-scan {
            position: absolute;
            pointer-events: none;
        }

        .center-orbit {
            left: 50%;
            top: 50%;
            transform: translate(-50%, -50%);
            border: 1px solid rgba(150,220,255,0.22);
            border-radius: 50%;
            z-index: 2;
            filter: drop-shadow(0 0 10px rgba(120,180,255,0.12));
        }

        .orbit-1 {
            width: 180px;
            height: 180px;
            animation: orbitSpin 9s linear infinite;
        }

        .orbit-2 {
            width: 140px;
            height: 140px;
            animation: orbitSpinReverse 7s linear infinite;
        }

        .orbit-3 {
            width: 100px;
            height: 100px;
            animation: orbitSpin 5s linear infinite;
        }

        .center-ai-core {
            width: 110px;
            height: 110px;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            background: radial-gradient(circle, rgba(120,180,255,0.14), transparent 70%);
            filter: blur(6px);
            z-index: 2;
            animation: corePulse 2.8s ease-in-out infinite;
        }

        .center-scan {
            inset: 0;
            z-index: 4;
            background: linear-gradient(
                to bottom,
                transparent 0%,
                rgba(160,220,255,0.06) 45%,
                rgba(255,255,255,0.10) 50%,
                rgba(160,220,255,0.06) 55%,
                transparent 100%
            );
            transform: translateY(-110%);
            animation: scanSweep 4.2s linear infinite;
            mix-blend-mode: screen;
        }

        .ask-wrapper {
            display: flex;
            align-items: stretch;
            justify-content: center;
            gap: 12px;
            flex-wrap: nowrap;
        }

        .input-wrapper {
            position: relative;
            width: 300px;
            display: flex;
            align-items: stretch;
        }

        .with-mic {
            width: 100%;
            height: 45px;
            padding: 0 15px;
            border-radius: 8px;
            border: 1px solid rgba(150,200,255,0.2);
            background: #000033;
            color: white;
            outline: none;
            box-shadow:
                0 0 10px rgba(255,255,255,0.08),
                0 0 18px rgba(120,180,255,0.10);
        }

        .with-mic::placeholder {
            color: rgba(255,255,255,0.78);
        }

        .vip-submit-btn {
    height: 45px;
    min-width: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 22px;
    margin-top: -1px;
}

.ask-panel {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.mode-switch {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.mode-btn {
    min-width: 120px;
    height: 45px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 22px;
}

.active-mode {
    border: 1px solid rgba(190,230,255,0.38);
    box-shadow:
        0 0 16px rgba(255,255,255,0.22),
        0 0 34px rgba(120,180,255,0.22);
}

.voice-transcript-bubble {
    max-width: 360px;
    min-height: 48px;
    padding: 12px 16px;
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(3, 12, 82, 0.98), rgba(0, 0, 45, 0.98));
    border: 1px solid rgba(170, 215, 255, 0.14);
    color: white;
    text-align: center;
    box-shadow:
        0 0 12px rgba(255,255,255,0.12),
        0 0 22px rgba(120,180,255,0.12);
}

.speech-bubble {
    position: relative;
    max-width: 440px;
    padding: 15px 16px;
    background: linear-gradient(180deg, rgba(3, 12, 82, 0.98), rgba(0, 0, 45, 0.98));
    border-radius: 12px;
    border: 1px solid rgba(170, 215, 255, 0.14);
    color: white;
    text-align: center;
    box-shadow:
        0 0 12px rgba(255, 255, 255, 0.14),
        0 0 26px rgba(120, 180, 255, 0.14);
}

.text-mode-hidden {
    display: none;
}

        .bottom-nav {
            text-align: center;
        }

        .bottom-nav ul {
            list-style: none;
            padding: 0;
        }

        .bottom-nav li {
            display: inline-block;
            margin: 0 10px;
        }

        .bottom-nav a {
            color: white;
            text-decoration: none;
        }

        .copyright {
            margin-top: 10px;
            opacity: 0.8;
        }

        @keyframes orbitSpin {
            from { transform: translate(-50%, -50%) rotate(0deg); }
            to { transform: translate(-50%, -50%) rotate(360deg); }
        }

        @keyframes orbitSpinReverse {
            from { transform: translate(-50%, -50%) rotate(360deg); }
            to { transform: translate(-50%, -50%) rotate(0deg); }
        }

        @keyframes corePulse {
            0%, 100% {
                transform: translate(-50%, -50%) scale(0.95);
                opacity: 0.45;
            }
            50% {
                transform: translate(-50%, -50%) scale(1.08);
                opacity: 0.9;
            }
        }

        @keyframes scanSweep {
            0% { transform: translateY(-110%); opacity: 0; }
            15% { opacity: 1; }
            85% { opacity: 1; }
            100% { transform: translateY(110%); opacity: 0; }
        }

        @keyframes logoFloat {
            0%, 100% { transform: translateY(0px); }
            50% { transform: translateY(-6px); }
        }
        
        /* Hologram logo */
.button-center::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        repeating-linear-gradient(
            to bottom,
            rgba(255,255,255,0.03) 0px,
            rgba(255,255,255,0.03) 2px,
            transparent 4px,
            transparent 8px
        ),
        linear-gradient(
            to bottom,
            transparent 0%,
            rgba(255,255,255,0.08) 48%,
            rgba(255,255,255,0.15) 50%,
            rgba(255,255,255,0.08) 52%,
            transparent 100%
        );
    animation: scanPass 4s linear infinite;
    pointer-events: none;
    z-index: 4;
}

/* subtle flicker */
@keyframes hologramFlicker {
    0%, 100% { opacity: 0.95; }
    48% { opacity: 0.88; }
    50% { opacity: 1; }
    52% { opacity: 0.9; }
}

@keyframes scanPass {
    0% { transform: translateY(-120%); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(120%); opacity: 0; }
}

.hologram-logo {
    mix-blend-mode: screen;
    opacity: 0.85;
    filter:
        drop-shadow(0 0 15px rgba(108,246,255,0.45))
        drop-shadow(0 0 35px rgba(120,180,255,0.35))
        drop-shadow(0 0 70px rgba(120,180,255,0.25));
    animation:
        logoFloat 4.8s ease-in-out infinite,
        hologramFlicker 2.2s infinite;
}

/* stronger pulse when speaking */
.ai-speaking .hologram-logo {
    animation:
        logoFloat 4.8s ease-in-out infinite,
        hologramFlicker 1.2s infinite;
    filter:
        drop-shadow(0 0 20px rgba(108,246,255,0.5))
        drop-shadow(0 0 40px rgba(120,180,255,0.4))
        drop-shadow(0 0 60px rgba(120,180,255,0.25));
}

.center-orbit {
    transition: all 0.3s ease;
}

.ai-active .center-orbit {
    transform: translate(-50%, -50%) scale(1.05);
    opacity: 0.9;
}

.ai-speaking .center-orbit {
    transform: translate(-50%, -50%) scale(1.1);
    opacity: 1;
    box-shadow: 0 0 25px rgba(108,246,255,0.5);
}
