:root {
  --bg: #0E0B18;
  --bg-soft: #171228;
  --bg-soft-2: #1D1730;
  --ink: #F3F1F8;
  --muted: #A79FC2;
  --purple: #9B57FB;
  --blue: #6FA8EE;
  --teal: #49C6BF;
  --green: #55DC7E;
  --line: rgba(243, 241, 248, 0.12);
    --muted-dim: #6E6688;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 17px;
  line-height: 1.6;
}

h1, h2, h3 {
  font-family: "Sora", sans-serif;
  font-weight: 600;
  margin: 0;
}
.auth-page {
    
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 88px 24px 24px;
}

.auth-card {
  width: 100%;
  max-width: 400px;
  background: rgba(23, 18, 40, 0.20); /* Semi-transparent background settings */
  backdrop-filter: blur(24px) saturate(140%);
  -webkit-backdrop-filter: blur(24px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  padding: 35px 30px;
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.logo {
  display: inline-block;
  font-family: "Sora", sans-serif;
  font-weight: 700;
  font-size: 1.8rem;
  text-decoration: none;
  background: linear-gradient(90deg, var(--purple), var(--blue), var(--teal), var(--green));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.auth-tagline {
  color: var(--muted);
  margin: 2px 0 20px;
}
.tabs {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 4px;
  margin-bottom: 22px;
}

.tabs::before {
  content: "";
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 4px;
  width: calc(50% - 4px);
  border-radius: 7px;
  background: linear-gradient(100deg, var(--purple), var(--blue), var(--teal));
  transition: transform 0.45s cubic-bezier(.34, 1.56, .64, 1);
}

.tabs:has(#tabSignup.active)::before {
  transform: translateX(100%);
}

.tab {
  position: relative;
  z-index: 1;
  background: none;
  border: none;
  padding: 10px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  transition: color 0.3s ease;
}

.tab.active {
  color: #100D1B;
}
.auth-form {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.auth-form.hidden {
  display: none;
}

.auth-form label {
  margin-top: 12px;
  font-size: 0.85rem;
  color: var(--muted);
}

.auth-form input {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  padding: 12px;
  color: var(--ink);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
   margin-top: 20px;
}

.auth-form input:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(73, 198, 191, 0.2);
  background: rgba(255, 255, 255, 0.09);
}

.btn-primary {
  margin-top: 24px;
  padding: 14px;
  border: none;
  border-radius: 10px;
  background: linear-gradient(90deg, var(--purple), var(--blue), var(--teal), var(--green));
  color: #100D1B;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.3s ease, opacity 0.2s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  opacity: 0.92;
}
@keyframes slideInRight {
  from { opacity: 0; transform: translateX(40px); filter: blur(6px); }
  to   { opacity: 1; transform: translateX(0);    filter: blur(0); }
}

@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-40px); filter: blur(6px); }
  to   { opacity: 1; transform: translateX(0);     filter: blur(0); }
}

#signupForm:not(.hidden) {
  animation: slideInRight 0.5s cubic-bezier(.16, .84, .44, 1);
}

#signinForm:not(.hidden) {
  animation: slideInLeft 0.5s cubic-bezier(.16, .84, .44, 1);
}

@media (prefers-reduced-motion: reduce) {
  .tabs::before, .tab { transition: none; }
  .auth-form { animation: none !important; }
}
.divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 20px 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.divider::before,
.divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

.btn-google {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 11px;
  background: #FFFFFF;
  color: #1F1F1F;
  border: 1px solid #DADCE0;
  border-radius: 10px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-google:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.google-icon {
  width: 20px;
  height: 20px;
}
.orb-field {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.6;
  will-change: transform;
}

.orb-1 {
  width: 480px;
  height: 480px;
  top: -120px;
  left: -100px;
  background: var(--purple);
  animation: bounce-a 22s ease-in-out infinite;
}

.orb-2 {
  width: 420px;
  height: 420px;
  top: 10%;
  right: -120px;
  background: var(--blue);
  animation: bounce-b 26s ease-in-out infinite;
}

.orb-3 {
  width: 380px;
  height: 380px;
  bottom: -120px;
  left: 15%;
  background: var(--teal);
  animation: bounce-c 24s ease-in-out infinite;
}

.orb-4 {
  width: 340px;
  height: 340px;
  bottom: 5%;
  right: 10%;
  background: var(--green);
  animation: bounce-a 28s ease-in-out infinite reverse;
}

@keyframes bounce-a {
  0%   { transform: translate(0, 0); }
  25%  { transform: translate(260px, 140px); }
  50%  { transform: translate(120px, 380px); }
  75%  { transform: translate(-80px, 180px); }
  100% { transform: translate(0, 0); }
}

@keyframes bounce-b {
  0%   { transform: translate(0, 0) scale(1); }
  30%  { transform: translate(-280px, 120px) scale(1.1); }
  60%  { transform: translate(-120px, -60px) scale(0.92); }
  100% { transform: translate(0, 0) scale(1); }
}

@keyframes bounce-c {
  0%   { transform: translate(0, 0); }
  35%  { transform: translate(300px, -160px); }
  70%  { transform: translate(-100px, -260px); }
  100% { transform: translate(0, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .orb { animation: none !important; }
}
.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
}

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background: rgba(14, 11, 24, 0.72);
  border-bottom: 1px solid rgba(243, 241, 248, 0.07);
}

.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-logo {
  font-family: "Sora", sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  background: linear-gradient(90deg, var(--purple) 0%, var(--blue) 38%, var(--teal) 66%, var(--green) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav-links {
  display: flex;
  gap: 36px;
  font-size: 0.95rem;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--ink);
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  background: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font-size: 1.2rem;
  cursor: pointer;
}
@media (max-width: 640px) {
  .wrap {
    padding: 0 20px;
  }

  .nav-links {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--bg-soft);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    gap: 0;
    padding: 8px 20px 16px;
    display: none;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 12px 0;
    border-bottom: 1px solid rgba(243, 241, 248, 0.07);
  }

  .nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }
}
.site-footer {
  position: relative;
  z-index: 1;
  padding: 28px 0 36px;
  border-top: 1px solid rgba(243, 241, 248, 0.07);
  background: rgba(14, 11, 24, 0.55);
}

.footer-copy {
  margin: 0;
  color: var(--muted-dim);
  font-size: 0.95rem;
}

.footer-links {
  margin: 10px 0 0;
  display: flex;
  gap: 20px;
  font-size: 0.85rem;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--ink);
}

.footer-legal {
  margin-top: 18px;
  max-width: 78ch;
}

.footer-legal p {
  margin: 0 0 10px;
  color: var(--muted-dim);
  font-size: 0.78rem;
  line-height: 1.55;
}

.footer-legal strong {
  color: var(--muted);
  font-weight: 600;
}
.consent-note {
  margin: 14px 0 0;
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--muted-dim);
  text-align: center;
}

.consent-note a {
  color: var(--teal);
  text-decoration: none;
}

.consent-note a:hover {
  text-decoration: underline;
}