/*
Theme Name: Robot Eyes AI Platform
Theme URI: https://ai.studio/build
Author: AI Studio
Description: A futuristic AI Command Center featuring image analysis, SEO optimization, storyboard generation, and image upscaling.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: robot-eyes-ai
*/

:root {
    --neon-blue: #00f2ff;
    --cyber-lime: #ccff00;
    --pure-black: #000000;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
}

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

body {
    background-color: var(--pure-black);
    color: #ffffff;
    font-family: 'Orbitron', sans-serif;
    overflow-x: hidden;
    min-height: 100vh;
}

#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
}

.neon-border {
    border: 1px solid rgba(0, 242, 255, 0.3);
    box-shadow: 0 0 15px rgba(0, 242, 255, 0.1);
}

.neon-text {
    color: var(--neon-blue);
    text-shadow: 0 0 8px rgba(0, 242, 255, 0.5);
}

.cyber-text {
    color: var(--cyber-lime);
    text-shadow: 0 0 8px rgba(204, 255, 0, 0.5);
}

/* Layout */
.command-center {
    display: flex;
    flex-direction: column;
    height: 100vh;
    padding: 20px;
    gap: 20px;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
}

main {
    display: flex;
    flex: 1;
    gap: 20px;
    overflow: hidden;
}

aside {
    width: 250px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.tool-content {
    flex: 1;
    padding: 30px;
    overflow-y: auto;
}

/* Components */
.nav-btn {
    background: transparent;
    border: 1px solid transparent;
    color: rgba(255, 255, 255, 0.4);
    padding: 15px;
    border-radius: 10px;
    cursor: pointer;
    text-align: left;
    font-family: 'Roboto Mono', monospace;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-btn.active {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--neon-blue);
    color: #fff;
}

.btn-primary {
    background: var(--neon-blue);
    color: #000;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.btn-primary:hover {
    background: #fff;
}

input, textarea {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    color: #fff;
    padding: 12px;
    border-radius: 8px;
    width: 100%;
    font-family: 'Roboto Mono', monospace;
}

input:focus {
    outline: none;
    border-color: var(--neon-blue);
}

/* Tool Specifics */
.upload-zone {
    border: 2px dashed var(--glass-border);
    padding: 40px;
    text-align: center;
    border-radius: 15px;
    cursor: pointer;
    transition: 0.3s;
}

.upload-zone:hover {
    border-color: var(--neon-blue);
}

#image-preview {
    max-width: 100%;
    border-radius: 10px;
    display: none;
}

.storyboard-grid {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 20px;
}

.scene-card {
    min-width: 300px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    overflow: hidden;
}

.scene-img {
    width: 100%;
    aspect-ratio: 16/9;
    object-cover: cover;
}

/* Comparison Slider */
.slider-container {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: 15px;
}

.slider-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slider-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    overflow: hidden;
    border-right: 2px solid var(--cyber-lime);
}

.slider-handle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: var(--cyber-lime);
    border-radius: 50%;
    cursor: ew-resize;
    z-index: 10;
}
