@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;700&display=swap');

:root {
    --bg-dark: #000814;
    --accent-orange: #FF8C00;
    --accent-blue: #003566;
    --text-white: #e0e1dd;
    --glass-bg: rgba(0, 8, 20, 0.6);
}

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

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-white);
    overflow: hidden;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

#background-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: url('brain_robot_minimal.png') no-repeat center center;
    background-size: 50%;
    opacity: 0.6;
    /* Softer mask to increase transparency at the edges */
    -webkit-mask-image: radial-gradient(circle, black 10%, transparent 60%);
    mask-image: radial-gradient(circle, black 10%, transparent 60%);
}

canvas {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 0;
}

.content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 3rem;
    border-radius: 20px;
    background: rgba(0, 8, 20, 0.3);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 140, 0, 0.1);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.4);
    animation: fadeInScale 1.5s ease-out forwards;
    pointer-events: none;
    /* Let clicks pass through if needed, though not strictly necessary */
}

h1 {
    font-size: 4rem;
    font-weight: 700;
    letter-spacing: 0.2rem;
    background: linear-gradient(45deg, var(--accent-orange), #ffbe0b);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-fill-color: transparent;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.logo-text {
    font-size: 1.5rem;
    color: var(--text-white);
    opacity: 0.8;
    letter-spacing: 0.5rem;
    margin-bottom: 2rem;
    font-weight: 300;
}

.status-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    border: 1px solid var(--accent-orange);
    color: var(--accent-orange);
    border-radius: 50px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: pulseOrange 2s infinite;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes pulseOrange {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 140, 0, 0.4);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(255, 140, 0, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 140, 0, 0);
    }
}

.loader {
    width: 60px;
    height: 60px;
    position: relative;
    margin: 2rem auto;
}

.loader::before,
.loader::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    border: 2px solid var(--accent-orange);
    border-radius: 10px;
    transform: translate(-50%, -50%);
    animation: futuristicLoader 2s infinite ease-in-out;
}

.loader::after {
    animation-delay: -1s;
    border-color: var(--accent-blue);
    width: 50%;
    height: 50%;
}

@keyframes futuristicLoader {
    0% {
        transform: translate(-50%, -50%) rotate(0deg) scale(1);
        border-radius: 50%;
        opacity: 1;
    }

    50% {
        transform: translate(-50%, -50%) rotate(180deg) scale(1.5);
        border-radius: 20%;
        opacity: 0.5;
    }

    100% {
        transform: translate(-50%, -50%) rotate(360deg) scale(1);
        border-radius: 50%;
        opacity: 1;
    }
}