:root {
    --primary-color: #00f3ff; /* Cyan Neon */
    --secondary-color: #ff00ff; /* Magenta Neon */
    --bg-color: #050505;
    --card-bg: rgba(20, 20, 30, 0.6);
    --text-color: #e0e0e0;
    --grid-color: rgba(0, 243, 255, 0.1);
    --font-mono: 'Share Tech Mono', monospace;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-mono);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Background Grid & Effects */
.bg-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(transparent 0%, rgba(0, 243, 255, 0.05) 2px, transparent 3px),
        linear-gradient(90deg, transparent 0%, rgba(0, 243, 255, 0.05) 2px, transparent 3px);
    background-size: 50px 50px;
    z-index: -2;
    transform: perspective(500px) rotateX(60deg) translateY(-100px) scale(2);
    animation: grid-move 20s linear infinite;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 0%, #000 100%);
    z-index: -1;
    pointer-events: none;
}

@keyframes grid-move {
    0% { transform: perspective(500px) rotateX(60deg) translateY(0) scale(2); }
    100% { transform: perspective(500px) rotateX(60deg) translateY(50px) scale(2); }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Header & Logo */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    margin-bottom: 40px;
    border-bottom: 1px solid rgba(0, 243, 255, 0.3);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 20px;
}

.glitch-logo {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-color);
    text-transform: uppercase;
    position: relative;
    text-shadow: 0 0 10px var(--primary-color);
    cursor: default;
    transition: all 0.3s ease;
}

.glitch-logo:hover {
    text-shadow: 
        2px 2px 0px var(--secondary-color),
        -2px -2px 0px var(--primary-color);
    animation: glitch-anim 0.3s cubic-bezier(.25, .46, .45, .94) both infinite;
}

@keyframes glitch-anim {
    0% { transform: translate(0) }
    20% { transform: translate(-2px, 2px) }
    40% { transform: translate(-2px, -2px) }
    60% { transform: translate(2px, 2px) }
    80% { transform: translate(2px, -2px) }
    100% { transform: translate(0) }
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    border: 1px solid var(--primary-color);
    padding: 5px 10px;
    border-radius: 2px;
    background: rgba(0, 243, 255, 0.1);
}

.status-dot {
    width: 10px;
    height: 10px;
    background-color: #0f0;
    border-radius: 50%;
    box-shadow: 0 0 10px #0f0;
    animation: blink 2s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* Main Content Layout */
.main-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

@media (max-width: 768px) {
    .main-content {
        grid-template-columns: 1fr;
    }
}

/* Card Styles */
.card {
    background: var(--card-bg);
    border: 1px solid rgba(0, 243, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    position: relative;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

.card-header {
    padding: 15px 20px;
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(0, 243, 255, 0.1);
}

.card-header h2 {
    font-size: 1.2rem;
    color: var(--primary-color);
    letter-spacing: 2px;
}

.deco-line {
    height: 2px;
    width: 50px;
    background: var(--secondary-color);
    margin-top: 5px;
    box-shadow: 0 0 10px var(--secondary-color);
}

.card-body {
    padding: 20px;
}

/* Form Elements */
.form-group {
    margin-bottom: 20px;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: #aaa;
    letter-spacing: 1px;
}

input[type="text"], select {
    width: 100%;
    padding: 10px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--primary-color);
    font-family: var(--font-mono);
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
}

input[type="text"]:focus, select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 10px rgba(0, 243, 255, 0.3);
}

/* Custom Range Slider */
.range-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.cyber-range {
    -webkit-appearance: none;
    width: 100%;
    height: 4px;
    background: #333;
    outline: none;
}

.cyber-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 10px;
    background: var(--primary-color);
    cursor: pointer;
    box-shadow: 0 0 10px var(--primary-color);
}

.range-value {
    min-width: 50px;
    text-align: right;
    color: var(--secondary-color);
}

/* Toggle Switch */
.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.switch input { 
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #333;
    transition: .4s;
    border: 1px solid #555;
}

.slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
}

input:checked + .slider {
    background-color: rgba(0, 243, 255, 0.2);
    border-color: var(--primary-color);
}

input:checked + .slider:before {
    transform: translateX(26px);
    background-color: var(--primary-color);
    box-shadow: 0 0 10px var(--primary-color);
}

/* Buttons */
.action-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    margin-top: 30px;
}

.btn {
    padding: 10px 25px;
    border: none;
    font-family: var(--font-mono);
    font-size: 1rem;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
}

.btn-secondary {
    background: transparent;
    border: 1px solid #555;
    color: #888;
}

.btn-secondary:hover {
    border-color: #fff;
    color: #fff;
}

.btn-primary {
    background: var(--primary-color);
    color: #000;
    font-weight: bold;
    clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}

.btn-primary:hover {
    background: #fff;
    box-shadow: 0 0 20px var(--primary-color);
}

/* Console Output */
.console-output {
    font-size: 0.9rem;
    line-height: 1.5;
    max-height: 300px;
    overflow-y: auto;
}

.log-line {
    margin-bottom: 5px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 2px;
}

.timestamp {
    color: #666;
    margin-right: 10px;
}

.info { color: #fff; }
.success { color: #0f0; }
.warning { color: var(--secondary-color); }
.error { color: #f00; }

/* Footer */
footer {
    margin-top: 50px;
    text-align: center;
    font-size: 0.8rem;
    color: #555;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 20px;
}

.blink {
    animation: blink 1s infinite;
    color: var(--primary-color);
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #0a0a0a;
}
::-webkit-scrollbar-thumb {
    background: #333;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}





