/* ═══ Kayıt modalı — Harfim Arena teması (giriş ekranı ile uyumlu) ═══ */

.nova-register-overlay.registration-overlay {
  align-items: center;
  justify-content: center;
  padding: max(16px, env(safe-area-inset-top)) 16px max(16px, env(safe-area-inset-bottom));
  background: rgba(1, 3, 10, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 100200;
}

.nova-register-card.registration-content {
  width: min(460px, 94vw);
  max-height: min(92vh, 720px);
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  margin: 0;
  padding: clamp(22px, 4.5vw, 30px) !important;
  border-radius: 22px !important;
  border: 1px solid rgba(0, 200, 255, 0.38) !important;
  background: rgba(8, 18, 40, 0.92) !important;
  box-shadow:
    0 28px 64px rgba(0, 0, 0, 0.55),
    0 0 40px rgba(0, 240, 255, 0.12),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: #e9f4ff !important;
  position: relative;
}

.nova-register-card.registration-content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #00f0ff, #00ffcc, transparent);
  opacity: 0.85;
  pointer-events: none;
}

.nova-register-header.registration-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: clamp(16px, 3vw, 22px);
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(0, 200, 255, 0.18);
}

.nova-register-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #00ffcc;
  background: rgba(0, 255, 200, 0.08);
  border: 1px solid rgba(0, 255, 200, 0.28);
  box-shadow: 0 0 16px rgba(0, 255, 200, 0.1);
}

.nova-register-header h2,
#registerModalTitle {
  margin: 0 0 6px !important;
  font-family: "Comfortaa", "Inter", sans-serif;
  font-size: clamp(1.35rem, 4.5vw, 1.75rem) !important;
  font-weight: 800 !important;
  line-height: 1.15 !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  background: none !important;
  text-shadow: 0 0 24px rgba(0, 240, 255, 0.25);
}

.nova-register-header .registration-subtitle {
  margin: 0 !important;
  font-size: clamp(0.82rem, 2.4vw, 0.92rem) !important;
  font-weight: 600 !important;
  line-height: 1.45 !important;
  color: #94a3b8 !important;
}

.nova-register-close.close-button {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  border: 1px solid rgba(0, 200, 255, 0.28);
  background: rgba(0, 200, 255, 0.08);
  color: #e9f4ff;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background 0.16s ease, transform 0.14s ease, border-color 0.16s;
}

.nova-register-close:hover {
  background: rgba(0, 200, 255, 0.16);
  border-color: rgba(0, 240, 255, 0.45);
  transform: scale(1.04);
}

.nova-register-form.registration-form {
  display: flex;
  flex-direction: column;
  gap: clamp(12px, 2.8vw, 16px);
}

.nova-register-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.nova-register-label {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #00f0ff;
}

.nova-register-control {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 10px;
  padding: 4px 12px 4px 10px;
  border-radius: 14px;
  border: 1.5px solid rgba(0, 160, 220, 0.28);
  background: rgba(4, 12, 28, 0.82);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.nova-register-control:focus-within {
  border-color: rgba(0, 240, 255, 0.55);
  box-shadow: 0 0 0 3px rgba(0, 240, 255, 0.12), 0 8px 24px rgba(0, 200, 255, 0.12);
}

.nova-register-ico {
  font-size: 1.1rem;
  line-height: 1;
  opacity: 0.95;
}

.nova-register-control .registration-input,
.nova-register-control select.registration-input {
  width: 100%;
  min-height: 44px;
  padding: 10px 4px !important;
  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #e9f4ff !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
}

.nova-register-control .registration-input::placeholder {
  color: rgba(148, 163, 184, 0.85) !important;
  font-weight: 600 !important;
  opacity: 1 !important;
}

.nova-register-control--select {
  padding-right: 6px;
}

.registration-form select.registration-input {
  display: none !important;
}

.registration-form .nova-game-select--register,
.registration-form .nova-game-select--login {
  margin: 0 !important;
  grid-column: 1 / -1;
  width: 100%;
}

.registration-form .nova-game-select--register .nova-game-select__trigger,
.registration-form .nova-game-select--login .nova-game-select__trigger {
  padding: 8px 4px !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  color: #e9f4ff !important;
}

.registration-form .nova-game-select--register .nova-game-select__value,
.registration-form .nova-game-select--login .nova-game-select__value {
  font-size: 1rem !important;
  font-weight: 700 !important;
  color: #e9f4ff !important;
}

.registration-form .nova-game-select--register.nova-game-select--empty .nova-game-select__value,
.registration-form .nova-game-select--login.nova-game-select--empty .nova-game-select__value {
  color: #7dd3fc !important;
}

.registration-form .nova-game-select--register .nova-game-select__chev,
.registration-form .nova-game-select--login .nova-game-select__chev {
  background: rgba(0, 240, 255, 0.14) !important;
  color: #00f0ff !important;
}

.registration-form .nova-register-field:has(.nova-game-select--register),
.registration-form .nova-register-field:has(.nova-game-select--login) {
  position: relative;
  z-index: 20;
}

.registration-form .nova-register-field:has(.nova-game-select--open) .nova-register-control {
  border-color: rgba(0, 240, 255, 0.55);
  box-shadow: 0 0 0 3px rgba(0, 240, 255, 0.12);
}

.registration-form .nova-register-field:has(.nova-game-select--register) .nova-register-control,
.registration-form .nova-register-field:has(.nova-game-select--login) .nova-register-control {
  display: grid;
  grid-template-columns: auto 1fr;
}

.registration-form .nova-register-field:has(.nova-game-select--register) .nova-register-ico,
.registration-form .nova-register-field:has(.nova-game-select--login) .nova-register-ico {
  grid-row: 1;
  align-self: center;
}

.registration-form .nova-register-field:has(.nova-game-select--register) .nova-game-select,
.registration-form .nova-register-field:has(.nova-game-select--login) .nova-game-select {
  grid-column: 2;
  min-width: 0;
}

.registration-tip {
  margin: 0 !important;
  padding-left: 2px;
  font-size: 0.76rem !important;
  font-weight: 600 !important;
  color: #64748b !important;
  line-height: 1.35 !important;
}

.nova-register-submit.registration-submit {
  margin-top: 6px;
  width: 100%;
  min-height: 50px;
  padding: 14px 18px !important;
  border: none !important;
  border-radius: 16px !important;
  font-size: 1rem !important;
  font-weight: 900 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  color: #041018 !important;
  background: linear-gradient(135deg, #00f0ff 0%, #00ffcc 45%, #66a6ff 100%) !important;
  box-shadow: 0 14px 32px rgba(0, 240, 255, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.35) !important;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease, opacity 0.16s ease;
}

.nova-register-submit:not(:disabled):hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(0, 240, 255, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.4) !important;
}

.nova-register-submit:disabled {
  opacity: 0.4 !important;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

.nova-register-error.registration-error {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 0.88rem;
  font-weight: 700;
  color: #ff8fa3;
  background: rgba(255, 107, 138, 0.1);
  border: 1px solid rgba(255, 107, 138, 0.28);
  min-height: 0;
}

.nova-register-error:empty {
  display: none;
}

#registrationOverlay.nova-game-form-dropdown-open .nova-register-submit,
#registrationOverlay.nova-game-form-dropdown-open .nova-register-field:not(:has(.nova-game-select--open)) {
  opacity: 0.35;
  pointer-events: none;
  filter: blur(1px);
}

/* Kayıt — sınıf seçici koyu menü */
.nova-game-select--register .nova-game-select__trigger {
  color: #e9f4ff;
  background: transparent;
  border: none;
  box-shadow: none;
}

.nova-game-select--register .nova-game-select__value {
  color: #e9f4ff;
  font-weight: 800;
}

.nova-game-select--register.nova-game-select--empty .nova-game-select__value {
  color: #7dd3fc;
}

.nova-game-select--register .nova-game-select__icon {
  display: none;
}

.nova-game-select--register .nova-game-select__chev {
  background: rgba(0, 240, 255, 0.14);
  color: #00f0ff;
}

.nova-game-select--register .nova-game-select__menu,
.nova-game-select__menu--register {
  background: #0a1628 !important;
  border: 1px solid rgba(0, 200, 255, 0.45) !important;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.55), 0 0 24px rgba(0, 240, 255, 0.12) !important;
}

.nova-game-select--register .nova-game-select__option,
.nova-game-select__menu--register .nova-game-select__option {
  color: #e2e8f0 !important;
  background: #0f1d32 !important;
}

.nova-game-select--register .nova-game-select__option:hover,
.nova-game-select--register .nova-game-select__option[aria-selected="true"],
.nova-game-select__menu--register .nova-game-select__option:hover,
.nova-game-select__menu--register .nova-game-select__option[aria-selected="true"] {
  background: rgba(0, 200, 255, 0.18) !important;
  color: #fff !important;
}

/* Doğrulama ekranı — arena teması */
.verification-overlay {
  background: rgba(1, 3, 10, 0.72) !important;
  backdrop-filter: blur(14px);
}

.verification-content {
  border-radius: 22px !important;
  border: 1px solid rgba(0, 200, 255, 0.38) !important;
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.55), 0 0 40px rgba(0, 240, 255, 0.12) !important;
  background: rgba(8, 18, 40, 0.94) !important;
  color: #e9f4ff !important;
}

.verification-content h3 {
  color: #fff !important;
}

.verification-content p {
  color: #94a3b8 !important;
}

@media (max-width: 480px) {
  .nova-register-card.registration-content {
    border-radius: 18px !important;
    padding: 18px 16px !important;
  }
}
