/* ==================================================
   RESET & BASE
================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Inter, system-ui, sans-serif;
}

body {
  min-height: 100vh;
  background: #020617;
  color: white;
  overflow-x: hidden;
}

/* ==================================================
   BACKGROUND MOTION
================================================== */
.bg-motion {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(99,102,241,0.28), transparent 55%),
    radial-gradient(circle at 80% 60%, rgba(34,211,238,0.28), transparent 55%),
    radial-gradient(circle at 50% 90%, rgba(236,72,153,0.22), transparent 55%);
  animation: hueShift 16s infinite alternate;
  z-index: -2;
}

@keyframes hueShift {
  from { filter: hue-rotate(0deg); }
  to   { filter: hue-rotate(45deg); }
}

.sweep {
  position: fixed;
  inset: 0;
  background: linear-gradient(
    120deg,
    transparent 45%,
    rgba(255,255,255,0.08) 50%,
    transparent 55%
  );
  animation: sweepMove 8s infinite linear;
  z-index: -1;
}

@keyframes sweepMove {
  from { transform: translateX(-120%); }
  to   { transform: translateX(120%); }
}

/* ==================================================
   HEADER
================================================== */
.event-header {
  position: sticky;
  top: 0;
  width: 100%;
  height: 64px;
  padding: 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(15,23,42,0.65);
  backdrop-filter: blur(18px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.55);
  z-index: 1000;
}

.event-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.event-brand img {
  height: 74px;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-main {
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 1px;
}

.brand-sub {
  font-size: 0.7rem;
  opacity: 0.65;
}

/* ==================================================
   NAV
================================================== */
.event-nav {
  display: flex;
  gap: 12px;
}

.nav-btn {
  padding: 8px 16px;
  border-radius: 14px;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
}

.nav-outline {
  border: 1px solid rgba(255,255,255,0.4);
  color: white;
}

.nav-outline:hover {
  background: rgba(255,255,255,0.12);
}

.nav-primary {
  background: linear-gradient(90deg,#6366f1,#22d3ee);
  color: white;
}

.nav-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 30px rgba(99,102,241,0.6);
}

/* ==================================================
   MAIN WRAPPER
================================================== */
.wrapper {
  min-height: calc(100vh - 64px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  perspective: 1200px;
}

/* ==================================================
   LOGIN CARD
================================================== */
.login-card {
  width: 100%;
  max-width: 400px;
  background: linear-gradient(
    145deg,
    rgba(255,255,255,0.14),
    rgba(255,255,255,0.02)
  );
  backdrop-filter: blur(26px);
  border-radius: 26px;
  padding: 34px;
  box-shadow:
    0 40px 120px rgba(0,0,0,0.75),
    inset 0 0 1px rgba(255,255,255,0.5);
  animation: rise 0.9s ease;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(40px) rotateX(12deg);
  }
  to {
    opacity: 1;
    transform: translateY(0) rotateX(0);
  }
}

/* ==================================================
   TEXT
================================================== */
.title {
  text-align: center;
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: 1px;
  background: linear-gradient(90deg,#6366f1,#22d3ee,#ec4899);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.subtitle {
  text-align: center;
  margin-top: 6px;
  font-size: 0.95rem;
  opacity: 0.75;
}

/* ==================================================
   FORM
================================================== */
input, button {
  width: 100%;
  padding: 14px;
  border-radius: 16px;
  border: none;
  outline: none;
  font-size: 15px;
  margin-top: 16px;
}

input {
  background: rgba(255,255,255,0.08);
  color: white;
}

input::placeholder {
  color: rgba(255,255,255,0.6);
}

button {
  background: linear-gradient(90deg,#6366f1,#22d3ee);
  color: white;
  font-weight: 600;
  cursor: pointer;
  transition: transform .25s, box-shadow .25s;
}

button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(99,102,241,0.6);
}

/* ==================================================
   FOOTER
================================================== */
.footer {
  text-align: center;
  font-size: 0.75rem;
  opacity: 0.6;
  margin-top: 22px;
}

/* ==================================================
   MOBILE
================================================== */
@media (max-width: 520px) {
  .brand-sub { display: none; }
  .login-card { padding: 26px; }
}
