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

body {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a0a1a 50%, #0a0a2a 100%);
    color: #e0e0ff;
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    min-height: 100vh;
}

.cosmic-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: 
        radial-gradient(circle at 20% 20%, rgba(138, 43, 226, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 191, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 70%, rgba(255, 215, 0, 0.05) 0%, transparent 50%);
    animation: cosmicPulse 8s ease-in-out infinite;
    z-index: -1;
}

@keyframes cosmicPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.header {
    text-align: center;
    margin: 40px 0 60px 0;
    position: relative;
}

.product-name {
    font-family: 'Orbitron', monospace;
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 900;
    background: linear-gradient(45deg, #ff00ff, #00ffff, #ffff00);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientShift 3s ease-in-out infinite;
    text-shadow: 0 0 30px rgba(255, 0, 255, 0.3);
    margin-bottom: 10px;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.subtitle {
    font-size: 1.2rem;
    color: #9d4edd;
    margin: 10px 0;
    font-weight: 300;
}

.tagline {
    font-size: 1.5rem;
    color: #ffd60a;
    font-style: italic;
    margin: 20px 0;
    text-shadow: 0 0 10px rgba(255, 214, 10, 0.5);
}

.section {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 30px;
    margin: 30px 0;
    position: relative;
    overflow: hidden;
}

.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
}

.section-title {
    font-family: 'Orbitron', monospace;
    font-size: 1.8rem;
    color: #00ffff;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.protocol-container {
    display: grid;
    gap: 20px;
    margin: 30px 0;
}

.protocol-step {
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.1), rgba(0, 191, 255, 0.1));
    border: 1px solid rgba(138, 43, 226, 0.3);
    border-radius: 15px;
    padding: 25px;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
}

.protocol-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(138, 43, 226, 0.3);
    border-color: rgba(138, 43, 226, 0.6);
}

.protocol-step.active {
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.2), rgba(0, 191, 255, 0.2));
    border-color: #00ffff;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
}

.step-number {
    position: absolute;
    top: -5px;
    right: 15px;
    font-family: 'Orbitron', monospace;
    font-size: 3rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.1);
}

.step-title {
    font-family: 'Orbitron', monospace;
    font-size: 1.3rem;
    color: #ffd60a;
    margin-bottom: 10px;
}

.step-command {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 10px;
    font-family: 'Orbitron', monospace;
    color: #00ffff;
    margin: 10px 0;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.step-command:hover {
    background: rgba(0, 255, 255, 0.1);
    border-color: #00ffff;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.activation-codes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.activation-code {
    background: linear-gradient(45deg, rgba(255, 0, 255, 0.1), rgba(255, 255, 0, 0.1));
    border: 1px solid rgba(255, 0, 255, 0.3);
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.activation-code:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(255, 0, 255, 0.3);
}

.code-title {
    font-family: 'Orbitron', monospace;
    color: #ff00ff;
    font-weight: 700;
    margin-bottom: 5px;
}

.code-effect {
    font-size: 0.9rem;
    color: #e0e0ff;
}

.quantum-visualizer {
    height: 200px;
    border: 2px solid rgba(0, 255, 255, 0.3);
    border-radius: 15px;
    background: radial-gradient(circle at center, rgba(0, 255, 255, 0.1) 0%, transparent 70%);
    position: relative;
    overflow: hidden;
    margin: 20px 0;
}

.quantum-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #00ffff;
    border-radius: 50%;
    animation: quantumFloat 4s ease-in-out infinite;
}

@keyframes quantumFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.3;
    }
    50% {
        transform: translate(var(--dx), var(--dy)) scale(1.5);
        opacity: 1;
    }
}

.btn-phantom {
    background: linear-gradient(45deg, #8a2be2, #00bfff);
    border: none;
    border-radius: 25px;
    padding: 15px 30px;
    font-family: 'Orbitron', monospace;
    font-weight: 700;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
}

.btn-phantom:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(138, 43, 226, 0.4);
}

.btn-phantom::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.btn-phantom:hover::before {
    left: 100%;
}

.safety-warning {
    background: linear-gradient(135deg, rgba(255, 69, 0, 0.1), rgba(255, 140, 0, 0.1));
    border: 1px solid rgba(255, 69, 0, 0.3);
    border-radius: 10px;
    padding: 20px;
    margin: 20px 0;
}

.warning-title {
    color: #ff4500;
    font-weight: 700;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

@media (max-width: 768px) {
    .container {
        padding: 10px;
    }
    
    .protocol-step {
        padding: 20px;
    }
    
    .activation-codes {
        grid-template-columns: 1fr;
    }
}

.mind-link-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 30px 0;
    min-height: 200px;
}

.brain-visualization {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: radial-gradient(circle at center, rgba(138, 43, 226, 0.3), rgba(0, 191, 255, 0.2));
    border: 2px solid rgba(255, 255, 255, 0.3);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.brain-visualization.target {
    background: radial-gradient(circle at center, rgba(255, 69, 0, 0.3), rgba(255, 0, 255, 0.2));
}

.brain-waves {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid rgba(0, 255, 255, 0.6);
    animation: brainPulse 1.5s ease-in-out infinite;
}

.brain-waves.target {
    border-color: rgba(255, 0, 255, 0.6);
    animation: brainPulseTarget 1.5s ease-in-out infinite;
}

@keyframes brainPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.5; }
}

@keyframes brainPulseTarget {
    0%, 100% { transform: scale(1); opacity: 0.7; }
    50% { transform: scale(1.1); opacity: 1; }
}

.neural-activity {
    width: 80%;
    height: 80%;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.1), rgba(0, 255, 255, 0.2));
    border-radius: 50%;
    position: relative;
}

.neural-activity.target {
    background: linear-gradient(45deg, rgba(255, 0, 0, 0.2), rgba(255, 0, 255, 0.3));
}

.influence-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(255, 0, 0, 0.5), rgba(255, 0, 255, 0.3));
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.influence-overlay.active {
    opacity: 1;
    animation: mindControl 2s ease-in-out infinite;
}

@keyframes mindControl {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.brain-label {
    text-align: center;
    margin-top: 15px;
    font-family: 'Orbitron', monospace;
    font-weight: 700;
    color: #00ffff;
    font-size: 0.9rem;
}

.link-beam {
    flex: 1;
    height: 20px;
    margin: 0 30px;
    position: relative;
    background: linear-gradient(90deg, transparent, rgba(255, 0, 255, 0.3), transparent);
    border-radius: 10px;
}

.link-beam.active {
    background: linear-gradient(90deg, transparent, rgba(255, 0, 255, 0.3), transparent);
}

.link-beam.active .energy-stream {
    animation: energyFlow 1s linear infinite;
}

.energy-stream {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #00ffff, #ff00ff, #ffff00);
    border-radius: 2px;
    transform: translateY(-50%);
    opacity: 0;
}

.control-signal {
    position: absolute;
    top: 25%;
    left: 0;
    width: 100%;
    height: 2px;
    background: #ff0000;
    animation: signalPulse 0.5s ease-in-out infinite;
}

.neural-packets {
    position: absolute;
    top: 75%;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, #ffffff, transparent);
    animation: packetFlow 2s linear infinite;
}

@keyframes energyFlow {
    0% { transform: translateX(-100%) translateY(-50%); }
    100% { transform: translateX(100%) translateY(-50%); }
}

@keyframes signalPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

@keyframes packetFlow {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.target-input-panel {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    padding: 25px;
    margin: 20px 0;
}

.input-group {
    margin: 15px 0;
}

.input-group label {
    display: block;
    color: #00ffff;
    font-family: 'Orbitron', monospace;
    margin-bottom: 8px;
    font-weight: 600;
}

.phantom-input {
    width: 100%;
    padding: 12px;
    background: rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(0, 255, 255, 0.3);
    border-radius: 8px;
    color: #ffffff;
    font-family: 'Orbitron', monospace;
    transition: all 0.3s ease;
}

.phantom-input:focus {
    border-color: #00ffff;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.5);
    outline: none;
}

.phantom-file {
    display: none;
}

.upload-zone {
    border: 2px dashed rgba(255, 255, 255, 0.5);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.upload-zone:hover {
    border-color: #ff00ff;
    background: rgba(255, 255, 255, 0.1);
}

.upload-icon {
    font-size: 2rem;
    margin-bottom: 10px;
}

.neural-status {
    text-align: center;
    margin: 20px 0;
}

.status-indicator {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'Orbitron', monospace;
}

.status-light {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ff0000;
    transition: all 0.3s ease;
}

.status-light.active {
    background: #00ff00;
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.8);
}

.control-matrix {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    margin: 20px 0;
}

.control-panel {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 25px;
}

.control-group {
    margin: 20px 0;
}

.control-group label {
    display: block;
    color: #ffd60a;
    font-family: 'Orbitron', monospace;
    font-weight: 600;
}

.phantom-slider {
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.2);
    outline: none;
    -webkit-appearance: none;
}

.phantom-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: linear-gradient(45deg, #ff00ff, #00ffff);
    cursor: pointer;
    box-shadow: 0 0 10px rgba(255, 0, 255, 0.8);
}

.power-display {
    text-align: center;
    margin-top: 10px;
    font-family: 'Orbitron', monospace;
    color: #00ffff;
}

.power-multiplier {
    color: #ff00ff;
    font-weight: 700;
}

.magnify-controls {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.mag-btn {
    padding: 10px;
    background: linear-gradient(45deg, rgba(138, 43, 226, 0.3), rgba(0, 191, 255, 0.3));
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    color: #ffffff;
    font-family: 'Orbitron', monospace;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mag-btn:hover {
    background: linear-gradient(45deg, rgba(138, 43, 226, 0.6), rgba(0, 191, 255, 0.6));
    transform: translateY(-2px);
}

.mag-btn.googol {
    grid-column: span 2;
    background: linear-gradient(45deg, rgba(255, 0, 0, 0.3), rgba(255, 0, 255, 0.3));
}

.magnification-display {
    text-align: center;
    margin-top: 10px;
    font-family: 'Orbitron', monospace;
    color: #ffd60a;
}

.log-container {
    flex: 1;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 15px;
    overflow-y: auto;
    font-family: 'Orbitron', monospace;
    font-size: 0.8rem;
    max-height: 300px;
}

.log-entry {
    display: flex;
    margin-bottom: 8px;
    padding: 5px;
    border-radius: 5px;
    animation: logEntrySlide 0.3s ease-out;
}

.log-entry.system {
    background: rgba(0, 255, 255, 0.1);
    border-left: 3px solid #00ffff;
}

.log-entry.operator {
    background: rgba(255, 215, 0, 0.1);
    border-left: 3px solid #ffd60a;
}

.log-entry.target {
    background: rgba(255, 0, 255, 0.1);
    border-left: 3px solid #ff00ff;
}

.log-entry.transmission {
    background: rgba(0, 255, 0, 0.1);
    border-left: 3px solid #00ff00;
}

.log-entry.error {
    background: rgba(255, 0, 0, 0.1);
    border-left: 3px solid #ff0000;
}

.log-timestamp {
    color: #9d4edd;
    margin-right: 10px;
    font-weight: 600;
    min-width: 70px;
}

.log-message {
    color: #e0e0ff;
    flex: 1;
}

@keyframes logEntrySlide {
    0% {
        transform: translateX(-100%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

.probability-panel {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.05), rgba(255, 0, 255, 0.05));
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 15px;
    padding: 25px;
    text-align: center;
}

.probability-display {
    margin: 30px 0;
    display: flex;
    justify-content: center;
}

.probability-circle {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: conic-gradient(
        from 0deg,
        #ff0000 0deg,
        #ffff00 120deg,
        #00ff00 240deg,
        #00ff00 360deg
    );
    padding: 8px;
    position: relative;
    animation: probabilityRotate 3s linear infinite;
}

.probability-circle::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 8px;
    right: 8px;
    bottom: 8px;
    background: radial-gradient(circle, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.7));
    border-radius: 50%;
}

.probability-value {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Orbitron', monospace;
    font-size: 2rem;
    font-weight: 900;
    color: #ffd60a;
    z-index: 2;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.8);
}

.probability-label {
    position: absolute;
    bottom: 30%;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Orbitron', monospace;
    font-size: 0.9rem;
    color: #00ffff;
    z-index: 2;
}

@keyframes probabilityRotate {
    0% { filter: hue-rotate(0deg); }
    100% { filter: hue-rotate(360deg); }
}

.probability-factors {
    display: grid;
    gap: 10px;
    margin-top: 20px;
}

.factor-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 10px 15px;
    transition: all 0.3s ease;
}

.factor-item:hover {
    background: rgba(255, 215, 0, 0.1);
    border-color: rgba(255, 215, 0, 0.3);
}

.factor-label {
    font-family: 'Orbitron', monospace;
    color: #e0e0ff;
    font-weight: 600;
}

.factor-value {
    font-family: 'Orbitron', monospace;
    color: #ffd60a;
    font-weight: 700;
}

.manual-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    display: none;
    overflow-y: auto;
}

.manual-overlay.active {
    display: block;
}

.manual-container {
    max-width: 1000px;
    margin: 20px auto;
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.1), rgba(0, 191, 255, 0.1));
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    overflow: hidden;
}

.manual-header {
    background: linear-gradient(45deg, #8a2be2, #00bfff);
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.manual-header h2 {
    font-family: 'Orbitron', monospace;
    color: white;
    margin: 0;
}

.close-manual {
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.close-manual:hover {
    background: rgba(255, 255, 255, 0.2);
}

.print-manual-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    font-family: 'Orbitron', monospace;
    cursor: pointer;
    transition: all 0.3s ease;
}

.print-manual-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.manual-tabs {
    display: flex;
    background: rgba(0, 0, 0, 0.3);
}

.tab-btn {
    flex: 1;
    background: none;
    border: none;
    color: #e0e0ff;
    padding: 15px;
    font-family: 'Orbitron', monospace;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
}

.tab-btn.active {
    color: #00ffff;
    border-bottom-color: #00ffff;
    background: rgba(0, 255, 255, 0.1);
}

.tab-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.manual-content {
    padding: 30px;
    max-height: 70vh;
    overflow-y: auto;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.manual-section {
    margin-bottom: 30px;
}

.manual-section h3 {
    color: #ffd60a;
    font-family: 'Orbitron', monospace;
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(255, 215, 0, 0.3);
    padding-bottom: 5px;
}

.manual-section p {
    color: #e0e0ff;
    line-height: 1.6;
    margin-bottom: 10px;
}

.icon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.icon-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 15px;
}

.icon-item .icon {
    font-size: 2rem;
    min-width: 40px;
}

.icon-desc strong {
    color: #00ffff;
    font-family: 'Orbitron', monospace;
    display: block;
    margin-bottom: 5px;
}

.preset-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 10px;
    margin: 15px 0;
}

.preset-item {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 10px;
    font-family: 'Orbitron', monospace;
    font-size: 0.9rem;
    color: #e0e0ff;
}

.power-button {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    text-align: center;
    transition: all 0.3s ease;
}

.power-button:hover {
    transform: scale(1.1);
}

.power-symbol {
    font-size: 2rem;
    color: #00ffff;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.8);
}

.power-label {
    font-family: 'Orbitron', monospace;
    font-size: 0.8rem;
    color: #e0e0ff;
    margin-top: 5px;
}

.power-button.active .power-symbol {
    color: #00ff00;
    text-shadow: 0 0 20px rgba(0, 255, 0, 1);
}

.matrix-rain {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.matrix-rain.active {
    opacity: 0.3;
}

.matrix-column {
    position: absolute;
    top: -200%; /* Changed from -100% to start higher */
    font-family: 'Orbitron', monospace;
    font-size: 14px;
    color: #00ff00;
    white-space: pre;
    animation: matrixFall linear infinite;
    text-shadow: 0 0 5px rgba(0, 255, 0, 0.8);
}

@keyframes matrixFall {
    to {
        transform: translateY(300vh); /* Changed from 100vh to 300vh to fall further */
    }
}

.manual-icon {
    position: absolute;
    top: 10px;
    left: 10px;
    cursor: pointer;
    text-align: center;
    transition: all 0.3s ease;
}

.manual-icon:hover {
    transform: scale(1.1);
}

.manual-symbol {
    font-size: 2rem;
    color: #ffd60a;
    text-shadow: 0 0 10px rgba(255, 214, 10, 0.8);
}

.manual-label {
    font-family: 'Orbitron', monospace;
    font-size: 0.8rem;
    color: #e0e0ff;
    margin-top: 5px;
}

.emotion-presets-container {
    margin: 30px 0;
}

.emotion-category {
    margin-bottom: 30px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 20px;
}

.category-title {
    color: #ffd60a;
    font-family: 'Orbitron', monospace;
    text-align: center;
    margin-bottom: 20px;
    font-size: 1.2rem;
    border-bottom: 1px solid rgba(255, 215, 0, 0.3);
    padding-bottom: 10px;
}

.emotion-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
}

.emotion-btn {
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.2), rgba(0, 191, 255, 0.2));
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 15px 10px;
    color: white;
    font-family: 'Orbitron', monospace;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.emotion-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(138, 43, 226, 0.4);
    border-color: rgba(255, 255, 255, 0.4);
}

.emotion-btn.active {
    background: linear-gradient(135deg, rgba(255, 0, 255, 0.3), rgba(0, 255, 255, 0.3));
    border-color: #00ffff;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.6);
    position: relative;
}

.emotion-btn.active::after {
    content: '✓';
    position: absolute;
    top: 5px;
    right: 5px;
    color: #00ff00;
    font-weight: bold;
    font-size: 0.8rem;
    text-shadow: 0 0 5px rgba(0, 255, 0, 0.8);
}

.emotion-icon {
    font-size: 1.5rem;
    margin-bottom: 8px;
    display: block;
}

.emotion-label {
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.emotion-freq {
    font-size: 0.7rem;
    color: #9d4edd;
    opacity: 0.8;
}

.emotion-transmission-status {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 0, 255, 0.3);
    border-radius: 15px;
    padding: 25px;
    margin-top: 30px;
}

.transmission-display {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: center;
}

.current-emotion {
    text-align: center;
    position: relative;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 20px;
    background: radial-gradient(circle at center, rgba(255, 0, 255, 0.1), transparent);
}

.current-emotion.transmitting {
    animation: emotionPulse 1s ease-in-out infinite;
}

@keyframes emotionPulse {
    0%, 100% { transform: scale(1); border-color: rgba(255, 255, 255, 0.2); }
    50% { transform: scale(1.05); border-color: rgba(0, 255, 255, 0.8); }
}

.emotion-wave {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    border: 2px solid rgba(255, 0, 255, 0.5);
    border-radius: 50%;
    animation: emotionWaveExpand 2s ease-in-out infinite;
}

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

.emotion-info {
    z-index: 2;
    position: relative;
}

.emotion-name {
    font-family: 'Orbitron', monospace;
    font-size: 1.1rem;
    color: #ffd60a;
    font-weight: 700;
    display: block;
    margin-bottom: 10px;
}

.emotion-intensity {
    font-size: 0.9rem;
    color: #e0e0ff;
}

.transmission-controls {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.intensity-control, .duration-control {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.intensity-control label, .duration-control label {
    color: #00ffff;
    font-family: 'Orbitron', monospace;
    font-weight: 600;
    font-size: 0.9rem;
}

.phantom-select {
    width: 100%;
    padding: 10px;
    background: rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(0, 255, 255, 0.3);
    border-radius: 8px;
    color: #ffffff;
    font-family: 'Orbitron', monospace;
    transition: all 0.3s ease;
}

.phantom-select:focus {
    border-color: #00ffff;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.5);
    outline: none;
}

.intensity-display {
    text-align: center;
    margin-top: 5px;
    font-family: 'Orbitron', monospace;
    color: #00ffff;
    font-size: 0.9rem;
}

.transmission-progress {
    margin-top: 20px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 0, 255, 0.3);
    border-radius: 10px;
    padding: 20px;
}

.progress-bar-container {
    width: 100%;
    height: 20px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.progress-bar-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #ff00ff, #00ffff, #ffff00);
    border-radius: 10px;
    transition: width 0.3s ease;
    animation: progressShine 2s linear infinite;
}

@keyframes progressShine {
    0% { background-position: -100% 0; }
    100% { background-position: 100% 0; }
}

.progress-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-family: 'Orbitron', monospace;
    font-weight: 700;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.8);
}

.intention-container {
    margin: 30px 0;
}

.intention-input-panel {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 30px;
}

.phantom-textarea {
    width: 100%;
    min-height: 100px;
    padding: 12px;
    background: rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(0, 255, 255, 0.3);
    border-radius: 8px;
    color: #ffffff;
    font-family: 'Orbitron', monospace;
    resize: vertical;
    transition: all 0.3s ease;
}

.phantom-textarea:focus {
    border-color: #00ffff;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.5);
    outline: none;
}

.intention-stats {
    text-align: right;
    margin-top: 8px;
    font-family: 'Orbitron', monospace;
    font-size: 0.8rem;
    color: #9d4edd;
}

.media-upload-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.media-upload-section {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 20px;
    text-align: center;
}

.media-image-upload {
    border-color: rgba(0, 255, 255, 0.5);
}

.media-audio-upload {
    border-color: rgba(255, 0, 255, 0.5);
}

.media-video-upload {
    border-color: rgba(255, 215, 0, 0.5);
}

.media-btn {
    width: 100%;
    margin-top: 15px;
}

.media-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.active-intention-display {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(0, 255, 255, 0.3);
    border-radius: 15px;
    padding: 25px;
    text-align: center;
}

.intention-preview {
    min-height: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border: 2px dashed rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 20px;
    transition: all 0.3s ease;
}

.intention-preview.loaded {
    border-color: rgba(0, 255, 0, 0.5);
    background: rgba(0, 255, 0, 0.05);
}

.preview-content {
    font-family: 'Orbitron', monospace;
    color: #e0e0ff;
    word-break: break-word;
}

.preview-type {
    font-family: 'Orbitron', monospace;
    font-size: 0.8rem;
    color: #9d4edd;
}

.thumbnail-container {
    margin-top: 10px;
    position: relative;
    min-height: 60px;
}

.thumbnail-container.active {
    border: 1px solid rgba(0, 255, 255, 0.3);
    border-radius: 8px;
    padding: 10px;
    background: rgba(0, 0, 0, 0.3);
}

.file-thumbnail {
    max-width: 100%;
    max-height: 80px;
    border-radius: 5px;
    object-fit: cover;
}

.file-info {
    font-family: 'Orbitron', monospace;
    font-size: 0.8rem;
    color: #00ffff;
    margin-top: 5px;
    word-break: break-word;
}

.file-stats {
    font-family: 'Orbitron', monospace;
    font-size: 0.7rem;
    color: #9d4edd;
    margin-top: 2px;
}

.neural-scan-effect {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #00ffff, transparent);
    animation: scanLine 2s linear infinite;
}

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

.holographic-border {
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    border: 1px solid rgba(0, 255, 255, 0.5);
    border-radius: 5px;
    animation: holoBorderGlow 3s ease-in-out infinite;
}

@keyframes holoBorderGlow {
    0%, 100% { box-shadow: 0 0 5px rgba(0, 255, 255, 0.3); }
    50% { box-shadow: 0 0 20px rgba(0, 255, 255, 0.8); }
}

.audio-visualizer {
    display: flex;
    align-items: end;
    justify-content: center;
    height: 60px;
    gap: 2px;
    position: relative;
}

.audio-bar {
    width: 3px;
    background: linear-gradient(to top, #ff00ff, #00ffff);
    border-radius: 1px;
    animation: audioVisualize 0.8s ease-in-out infinite alternate;
}

@keyframes audioVisualize {
    0% { transform: scaleY(0.3); }
    100% { transform: scaleY(1); }
}

.video-thumbnail {
    position: relative;
    width: 100%;
    height: 60px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.video-preview {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
}

.quantum-particles-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.quantum-dot {
    position: absolute;
    width: 2px;
    height: 2px;
    background: #00ffff;
    border-radius: 50%;
    animation: quantumDotFloat 3s ease-in-out infinite;
}

@keyframes quantumDotFloat {
    0%, 100% { transform: translate(0, 0); opacity: 0.3; }
    50% { transform: translate(var(--float-x), var(--float-y)); opacity: 1; }
}

@keyframes thumbnailPulse {
    0%, 100% { box-shadow: 0 0 5px rgba(0, 255, 255, 0.3); }
    50% { box-shadow: 0 0 15px rgba(0, 255, 255, 0.8); }
}

.mind-control-status {
    margin-top: 30px;
}

.status-bars {
    display: grid;
    gap: 15px;
}

.status-bar {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.status-bar label {
    color: #ffd60a;
    font-family: 'Orbitron', monospace;
    font-weight: 600;
    font-size: 0.9rem;
}

.bar-container {
    position: relative;
    width: 100%;
    height: 20px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.bar-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #ff00ff, #00ffff);
    border-radius: 10px;
    transition: width 0.5s ease;
    animation: barShine 2s linear infinite;
}

@keyframes barShine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.bar-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: barShine 2s linear infinite;
}

.bar-value {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    color: white;
    font-family: 'Orbitron', monospace;
    font-size: 0.8rem;
    font-weight: 700;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.8);
}

.neural-matrix {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.matrix-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    padding: 20px;
    background: radial-gradient(circle at center, rgba(255, 0, 255, 0.1), transparent);
    border-radius: 15px;
    border: 1px solid rgba(255, 0, 255, 0.3);
}

.neural-node {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: radial-gradient(circle at center, rgba(0, 255, 255, 0.3), rgba(138, 43, 226, 0.3));
    border: 2px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.neural-node:hover {
    transform: scale(1.2);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.8);
    border-color: #00ffff;
}

.neural-node.active {
    background: radial-gradient(circle at center, rgba(0, 255, 255, 0.8), rgba(255, 0, 255, 0.6));
    box-shadow: 0 0 25px rgba(0, 255, 255, 1);
    animation: neuralPulse 1s ease-in-out infinite;
}

@keyframes neuralPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.matrix-label {
    font-family: 'Orbitron', monospace;
    color: #ffd60a;
    text-align: center;
    font-weight: 600;
}

.frequency-controls {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin: 10px 0;
}

.freq-btn {
    padding: 12px 8px;
    background: linear-gradient(45deg, rgba(138, 43, 226, 0.3), rgba(0, 191, 255, 0.3));
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    color: #ffffff;
    font-family: 'Orbitron', monospace;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.freq-btn:hover {
    background: linear-gradient(45deg, rgba(138, 43, 226, 0.6), rgba(0, 191, 255, 0.6));
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(138, 43, 226, 0.4);
}

.freq-btn.active {
    background: linear-gradient(45deg, rgba(255, 0, 255, 0.5), rgba(0, 255, 255, 0.5));
    border-color: #00ffff;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.6);
}

frequency-display {
    text-align: center;
    margin-top: 10px;
    font-family: 'Orbitron', monospace;
    color: #00ffff;
    font-size: 0.9rem;
}

.upload-zone.has-file {
    border-color: rgba(0, 255, 0, 0.5);
    background: rgba(0, 255, 0, 0.05);
}

.upload-zone.has-file .upload-icon {
    color: #00ff00;
}

.control-btn {
    width: 100%;
    margin-top: 20px;
    font-size: 1.1rem;
    padding: 20px;
}

.log-btn {
    padding: 8px 16px;
    font-size: 0.8rem;
    margin: 5px;
}

.log-controls {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
}

.intention-btn {
    width: 100%;
    margin-top: 15px;
}

.brain-visualization.enhanced {
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.8);
    border-color: rgba(0, 255, 255, 0.8);
    background-blend-mode: multiply;
}

.brain-visualization.enhanced .brain-waves {
    border-width: 3px;
    animation-duration: 1s;
}

.operator-signature, .target-signature {
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Orbitron', monospace;
    font-size: 0.7rem;
    color: #9d4edd;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.operator-signature.active, .target-signature.active {
    opacity: 1;
    color: #00ffff;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.8);
}

.sacred-geometry {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0.3;
    pointer-events: none;
}

.flower-of-life, .merkaba, .golden-spiral,
.sri-yantra, .metatron-cube, .fibonacci-spiral {
    position: absolute;
    width: 60%;
    height: 60%;
    top: 20%;
    left: 20%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    animation: geometryRotate 10s linear infinite;
}

.merkaba {
    transform: rotate(45deg);
    animation-direction: reverse;
}

.golden-spiral {
    border-radius: 0;
    border: none;
    background: linear-gradient(45deg, transparent 40%, rgba(255, 215, 0, 0.2) 50%, transparent 60%);
}

@keyframes geometryRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes rippleExpand {
    0% {
        width: 20px;
        height: 20px;
        opacity: 1;
    }
    100% {
        width: 200px;
        height: 200px;
        opacity: 0;
    }
}