/* =========================
   LOGIN / REGISTER OVERLAY
========================= */

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);

  display: flex;
  justify-content: center;
  align-items: center;

  z-index: 10000;
}

/* versteckt */
.hidden {
  display: none !important;
}

/* Panel */
.panel-box {
  background: rgba(20,0,40,0.95);
  border: 1px solid rgba(150,0,255,0.4);

  padding: 30px;
  border-radius: 12px;

  display: flex;
  flex-direction: column;
  gap: 12px;

  box-shadow:
    0 0 20px rgba(150,0,255,0.5),
    inset 0 0 10px rgba(100,0,255,0.2);

  min-width: 300px;
}

/* Inputs */
.panel-box input {
  padding: 12px;
  border: none;
  outline: none;

  background: rgba(255,255,255,0.1);
  color: #fff;

  border-radius: 6px;
}

/* Buttons */
.panel-box button {
  padding: 12px;
  cursor: pointer;

  border: none;
  border-radius: 6px;

  background: linear-gradient(45deg,#7a00ff,#00ffe7);
  color: #000;
  font-weight: bold;
}

.panel-box button:hover {
  filter: brightness(1.2);
}
/* =========================
   ARK LOGIN PANEL
========================= */

.ark-panel {
  position: relative;
  z-index: 10001;
  width: 380px;
  padding: 40px;

  background: radial-gradient(circle at top,
    rgba(0,255,255,0.15),
    rgba(0,0,0,0.95));

  border: 2px solid #00fff7;
  border-radius: 15px;

  box-shadow:
    0 0 25px rgba(0,255,255,0.7),
    0 0 60px rgba(0,255,255,0.3),
    inset 0 0 25px rgba(0,255,255,0.15);

  text-align: center;

  animation: arkPopup 0.35s ease;
}

/* Header */
.ark-header {
  font-size: 12px;
  color: #00fff7;
  margin-bottom: 25px;

  letter-spacing: 2px;

  text-shadow:
    0 0 8px #00fff7,
    0 0 20px rgba(0,255,255,0.5);
}

/* Form */
.ark-form {
  display: flex;
  flex-direction: column;
  gap: 15px;

  width: 320px;
}

/* Input */
.ark-form input {
  padding: 12px;

  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(0,255,255,0.3);

  color: #fff;
  text-align: center;

  border-radius: 30px;
  outline: none;

  text-shadow: 0 0 5px rgba(0,255,255,0.5);
}

/* Fokus */
.ark-form input:focus {
  box-shadow:
    0 0 12px #00fff7,
    inset 0 0 6px rgba(0,255,255,0.5);
}

/* Focus Glow */
.ark-form input:focus {
  box-shadow:
    0 0 15px #00fff7,
    inset 0 0 10px rgba(0,255,255,0.5);
}

/* Button */
.ark-btn {
  padding: 12px;

  border-radius: 30px;

  background: linear-gradient(45deg,#00fff7,#00ccff);
  border: none;

  color: #002525;
  font-weight: bold;

  cursor: pointer;

  box-shadow: 0 0 15px #00fff7;
  transition: 0.2s;
}

.ark-btn:hover {
  transform: scale(1.05);
  box-shadow:
    0 0 25px #00fff7,
    0 0 50px rgba(0,255,255,0.6);
}

/* Close Button */
.ark-close {
  margin-top: 10px;

  background: none;
  border: none;

  color: #00fff7;
  font-size: 16px;

  cursor: pointer;

  text-shadow: 0 0 10px #00fff7;
}

.ark-close:hover {
  transform: scale(1.2);
}
/* Animation */
@keyframes arkPopup {
  0% {
    transform: scale(0.7);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}