:root {
  --neon-cyan: #00f3ff;
  --cyber-purple: #7028e4;
  --matrix-green: #00ff9d;
  --cyber-black: #000000;
  --hologram-gradient: linear-gradient(45deg, var(--cyber-purple), var(--neon-cyan));
}

.cybertool-container {
  background: var(--cyber-black);
  color: var(--neon-cyan);
  border: 1px solid var(--cyber-purple);
  border-radius: 16px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 700px;
  margin: 2rem auto;
  box-shadow: 0 0 30px rgba(0, 255, 255, 0.2);
  font-family: 'Courier New', monospace;
  position: relative;
  overflow: hidden;
}

.cybertool-container::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(0, 243, 255, 0.05), transparent 70%);
  z-index: 0;
  pointer-events: none;
}

.cybertool-title {
  text-align: center;
  font-size: 1.6rem;
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
  background: var(--hologram-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  z-index: 2;
}

.cybertool-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  width: 100%;
  transition: all 0.3s ease;
}

@media (max-width: 600px) {
  .cybertool-content {
    grid-template-columns: 1fr;
  }
}

.cybertool-input-area,
.cybertool-output-area {
  display: flex;
  justify-content: center;
  align-items: center;
}

.cybertool-generate-btn {
  background: none;
  color: var(--matrix-green);
  border: 2px solid var(--matrix-green);
  padding: 1rem 2rem;
  font-size: 1rem;
  border-radius: 12px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.cybertool-generate-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--hologram-gradient);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.cybertool-generate-btn:hover::before {
  opacity: 1;
}

.cybertool-generate-btn:hover {
  color: #fff;
  border-color: var(--neon-cyan);
  box-shadow: 0 0 10px var(--neon-cyan);
}

.cybertool-output {
  font-size: 3rem;
  color: var(--neon-cyan);
  text-align: center;
  min-width: 80px;
  border: 2px solid var(--cyber-purple);
  border-radius: 12px;
  padding: 1rem 2rem;
  background: rgba(255, 255, 255, 0.02);
  box-shadow: 0 0 20px rgba(112, 40, 228, 0.3);
  transition: all 0.2s ease;
  animation: cyber-glow 3s infinite alternate;
}

@keyframes cyber-glow {
  0% {
    box-shadow: 0 0 10px var(--neon-cyan);
  }
  100% {
    box-shadow: 0 0 25px var(--matrix-green);
  }
}
