/*
Theme Name: NeuronWerk
Description: A WordPress theme with animated neural network background
Version: 1.2
Author: NeuronWerk
*/

@import url('https://fonts.googleapis.com/css2?family=Tilt+Neon:wght@400&display=swap');

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    background-color: #000000;
    color-scheme: dark;
}

body {
    font-family: 'Arial', sans-serif;
    overflow: hidden;
    height: 100vh;
    background-color: #000000; /* This controls both status bar and navigation bar colors */
    background: linear-gradient(135deg, #000000 0%, #1a1a2e 50%, #16213e 100%);
    color-scheme: dark;
}

/* Neural network container */
.neural-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Neuron styles - More realistic human neuron appearance */
.neuron {
    position: absolute;
    width: 24px;
    height: 24px;
    background: radial-gradient(circle, #4a90e2 0%, #2c5aa0 70%, #1a3d73 100%);
    border-radius: 50%;
    border: 2px solid #6bb6ff;
    box-shadow: 
        0 0 15px rgba(74, 144, 226, 0.6),
        0 0 25px rgba(74, 144, 226, 0.4),
        inset 0 2px 4px rgba(255, 255, 255, 0.3);
    opacity: 0.8;
    transition: all 0.4s ease;
    cursor: pointer;
}

/* Neuron core (soma) */
.neuron::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 8px;
    height: 8px;
    background: #4a90e2;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
}

.neuron.active {
    opacity: 1;
    animation: neuronFire 2s ease-in-out infinite;
    box-shadow: 
        0 0 20px rgba(74, 144, 226, 0.8),
        0 0 35px rgba(74, 144, 226, 0.6),
        0 0 50px rgba(74, 144, 226, 0.4),
        inset 0 2px 4px rgba(255, 255, 255, 0.4);
}

.neuron.active::before {
    background: #ff2222 !important;
    box-shadow: 
        0 0 15px #ff2222,
        0 0 25px #ff2222,
        0 0 35px #ff2222,
        0 0 45px #ff2222 !important;
    animation: coreFire 1.5s ease-in-out infinite;
    z-index: 10;
}

.neuron.connecting {
    opacity: 0.8;
    border-color: #6bb6ff;
}

/* Dendrite styles removed - using only connections between neurons */

/* Connection lines - More like neural dendrites */
.connection {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, #6bb6ff, #4a90e2, #6bb6ff);
    opacity: 0.3;
    transition: all 0.4s ease;
    border-radius: 1px;
    z-index: 1;
}

.connection.active {
    opacity: 1;
    height: 2px;
    background: linear-gradient(90deg, #ff6666, #ff4444, #ff6666);
    animation: neuralFlow 2.5s ease-in-out infinite;
    box-shadow: 0 0 8px rgba(255, 68, 68, 0.6);
}

/* Animations */
@keyframes neuronFire {
    0%, 100% {
        transform: scale(1);
        box-shadow: 
            0 0 20px rgba(74, 144, 226, 0.8),
            0 0 35px rgba(74, 144, 226, 0.6),
            0 0 50px rgba(74, 144, 226, 0.4);
    }
    50% {
        transform: scale(1.15);
        box-shadow: 
            0 0 25px rgba(74, 144, 226, 1),
            0 0 40px rgba(74, 144, 226, 0.8),
            0 0 60px rgba(74, 144, 226, 0.6);
    }
}

@keyframes coreFire {
    0% {
        transform: translate(-50%, -50%) scale(1);
        background: #ff2222;
        box-shadow: 
            0 0 15px #ff2222,
            0 0 25px #ff2222,
            0 0 35px #ff2222,
            0 0 45px #ff2222;
    }
    10% {
        transform: translate(-50%, -50%) scale(1.8);
        background: #ffffff;
        box-shadow: 
            0 0 30px #ffffff,
            0 0 50px #ffffff,
            0 0 70px #ffffff,
            0 0 90px #ffffff;
    }
    20%, 100% {
        transform: translate(-50%, -50%) scale(1.3);
        background: #ff0000;
        box-shadow: 
            0 0 20px #ff0000,
            0 0 30px #ff0000,
            0 0 45px #ff0000,
            0 0 60px #ff0000;
    }
}

@keyframes neuralFlow {
    0% {
        background: linear-gradient(90deg, transparent, #ff6666, #ff4444, #ff6666, transparent);
        box-shadow: 0 0 8px rgba(255, 68, 68, 0.6);
    }
    10% {
        background: linear-gradient(90deg, transparent, #ffffff, #ffffff, #ffffff, transparent);
        box-shadow: 0 0 20px rgba(255, 255, 255, 1);
    }
    20%, 100% {
        background: linear-gradient(90deg, transparent, #ff8888, #ff6666, #ff8888, transparent);
        box-shadow: 0 0 12px rgba(255, 68, 68, 0.8);
    }
}

/* Content container */
.content-container {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    text-align: center;
    padding: 20px;
}

/* Company name/logo */
.company-name {
    font-size: 3.5rem;
    font-weight: bold;
    color: #ffffff;
    text-shadow: 
        0 0 20px #00ffff,
        0 4px 8px rgba(0, 0, 0, 0.8),
        0 8px 16px rgba(0, 0, 0, 0.6);
    margin-bottom: 2rem;
    animation: glow 2s ease-in-out infinite alternate;
}

.company-logo {
    max-width: 300px;
    max-height: 150px;
    margin-bottom: 2rem;
    filter: drop-shadow(0 0 20px #00ffff);
}

/* Coming soon text - Pink Neon style */
.coming-soon {
    font-size: 1.8rem;
    font-family: 'Tilt Neon', 'Courier New', 'Monaco', 'Lucida Console', monospace;
    font-weight: bold;
    color: #ff44aa;
    text-shadow: 
        0 0 2px #ff44aa,
        0 0 4px #ff44aa,
        0 0 6px #ff44aa,
        0 1px 2px rgba(0, 0, 0, 1),
        0 2px 4px rgba(0, 0, 0, 0.8);
    max-width: 600px;
    line-height: 1.6;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-smooth: never;
}

/* Glow animation for text */
@keyframes glow {
    from {
        text-shadow: 
            0 0 20px #00ffff, 
            0 0 30px #00ffff, 
            0 0 40px #00ffff,
            0 4px 8px rgba(0, 0, 0, 0.8),
            0 8px 16px rgba(0, 0, 0, 0.6);
    }
    to {
        text-shadow: 
            0 0 10px #00ffff, 
            0 0 20px #00ffff, 
            0 0 30px #00ffff,
            0 4px 8px rgba(0, 0, 0, 0.8),
            0 8px 16px rgba(0, 0, 0, 0.6);
    }
}


/* Responsive design */
@media (max-width: 768px) {
    .company-name {
        font-size: 2.5rem;
    }
    
    .coming-soon {
        font-size: 1.2rem;
    }
    
    .company-logo {
        max-width: 250px;
        max-height: 120px;
    }
}

@media (max-width: 480px) {
    .company-name {
        font-size: 2rem;
    }
    
    .coming-soon {
        font-size: 1rem;
    }
    
    .company-logo {
        max-width: 200px;
        max-height: 100px;
    }
}
