:root {
  --neon-cyan: #00f3ff;
  --cyber-purple: #7028e4;
  --matrix-green: #00ff9d;
  --cyber-black: #0a0a12;
  --hologram-gradient: linear-gradient(45deg, var(--cyber-purple), var(--neon-cyan));
}

/* Container */
.cybertool-container {
  background: var(--cyber-black);
  color: var(--neon-cyan);
  font-family: 'Courier New', monospace;
  border: 1px solid var(--neon-cyan);
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 0 25px rgba(0, 243, 255, 0.3);
  position: relative;
  overflow: hidden;
  max-width: 100%;
}

/* Title */
.cybertool-title {
  text-align: center;
  font-size: 1.6rem;
  background: var(--hologram-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 15px;
  letter-spacing: 1px;
}

/* Layout */
.cybertool-main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  transition: all 0.5s ease;
}

@media (max-width: 600px) {
  .cybertool-main {
    grid-template-columns: 1fr;
  }
}

/* Panels */
.cybertool-panel {
  background: rgba(15, 15, 25, 0.8);
  border: 1px solid rgba(0, 243, 255, 0.2);
  border-radius: 10px;
  padding: 15px;
  backdrop-filter: blur(6px);
  box-shadow: 0 0 10px rgba(0, 255, 157, 0.15);
  position: relative;
}

/* Label */
.cybertool-label {
  display: block;
  margin-bottom: 8px;
  color: var(--matrix-green);
  font-size: 0.9rem;
  text-transform: uppercase;
}

/* Inputs */
.cybertool-input {
  width: 100%;
  background: rgba(10, 10, 18, 0.8);
  border: 1px solid var(--cyber-purple);
  color: var(--neon-cyan);
  border-radius: 6px;
  padding: 10px;
  font-size: 0.95rem;
  margin-bottom: 12px;
  outline: none;
  transition: border 0.3s, box-shadow 0.3s;
}

.cybertool-input:focus {
  border-color: var(--neon-cyan);
  box-shadow: 0 0 8px var(--neon-cyan);
}

/* Button */
.cybertool-btn {
  background: var(--hologram-gradient);
  color: #fff;
  font-weight: bold;
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.4s, transform 0.2s;
  width: 100%;
  max-width: 200px;
}

.cybertool-btn:hover {
  background: var(--matrix-green);
  color: var(--cyber-black);
  transform: translateY(-2px);
}

/* Output */
.cybertool-output {
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid var(--neon-cyan);
  border-radius: 8px;
  padding: 12px;
  color: var(--matrix-green);
  font-size: 1rem;
  min-height: 150px;
  white-space: pre-wrap;
  overflow-y: auto;
  transition: box-shadow 0.3s ease;
}

.cybertool-output.active {
  box-shadow: 0 0 10px var(--neon-cyan);
}

/* Neon rotating border effect */
.cybertool-container::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 12px;
  background: var(--hologram-gradient);
  opacity: 0.05;
  animation: neonFlow 8s linear infinite;
  z-index: -1;
}

@keyframes neonFlow {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}