@import url('/style.css?v=20260723-5');

body {
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 84% 20%, rgba(78, 71, 200, .18), transparent 31%),
    radial-gradient(circle at 8% 88%, rgba(233, 79, 114, .14), transparent 30%),
    var(--bg);
}

.auth-shell {
  width: min(1180px, calc(100% - 44px));
  min-height: 100vh;
  margin: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 445px);
  grid-template-rows: auto 1fr auto;
  gap: 20px 8%;
  position: relative;
  z-index: 1;
}

.auth-shell > .brand {
  grid-column: 1 / -1;
  padding-top: 28px;
  width: max-content;
}

.auth-shell > .brand span { color: var(--accent); }
.auth-story, .auth-card { min-width: 0; }

.auth-story {
  align-self: center;
  position: relative;
  padding: 30px 0 45px;
}

.auth-story .eyebrow {
  margin-bottom: 19px;
  font-size: 10px;
}

.auth-story .eyebrow i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 14px var(--accent);
}

.auth-story h1 {
  max-width: 680px;
  font: 800 clamp(47px, 5.5vw, 76px) / .92 var(--display);
  letter-spacing: -4.2px;
  margin: 0 0 22px;
}

.auth-story h1 em {
  color: var(--accent);
  font-style: normal;
}

.auth-story > p {
  max-width: 570px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.vibe-playground {
  width: 430px;
  max-width: 90%;
  height: 220px;
  position: relative;
  margin-top: 23px;
}

.vibe-orbit {
  position: absolute;
  border: 1px solid rgba(185, 243, 91, .25);
  border-radius: 50%;
}

.orbit-one {
  width: 360px;
  height: 150px;
  left: 19px;
  top: 29px;
  transform: rotate(-12deg);
}

.orbit-two {
  width: 285px;
  height: 112px;
  left: 55px;
  top: 47px;
  transform: rotate(24deg);
  border-color: rgba(255, 118, 109, .28);
}

.hello-bubble {
  position: absolute;
  box-shadow: 12px 18px 35px rgba(2, 5, 14, .34);
}

.bubble-main {
  width: 124px;
  height: 124px;
  left: 140px;
  top: 24px;
  border-radius: 62px 62px 62px 9px;
  background: linear-gradient(145deg, var(--accent), #81c83d);
  color: #121a0b;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform: rotate(-5deg);
}

.bubble-main strong { font: 900 38px var(--display); letter-spacing: -2px; }
.bubble-main span { font-size: 9px; text-transform: uppercase; letter-spacing: 1px; }

.bubble-coral {
  right: 13px;
  top: 69px;
  padding: 12px 15px;
  border-radius: 5px 17px 17px 17px;
  background: var(--coral);
  color: #21131a;
  font: 800 13px var(--display);
  transform: rotate(7deg);
}

.bubble-coral span { margin-left: 6px; color: #fff0d2; }

.bubble-note {
  left: 24px;
  bottom: 32px;
  padding: 11px 13px;
  border-radius: 4px;
  background: #f1f2e9;
  color: #181e35;
  font-size: 10px;
  transform: rotate(-4deg);
}

.bubble-note span { color: #659324; font-size: 17px; margin-left: 7px; }

.tiny-spark {
  position: absolute;
  right: 65px;
  bottom: 24px;
  color: var(--accent);
  font-size: 24px;
  transform: rotate(15deg);
}

.playful-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: -12px;
}

.playful-tags span {
  padding: 7px 9px;
  border: 1px solid var(--line);
  border-radius: 3px;
  color: #9fa7c4;
  background: rgba(17, 22, 43, .68);
  font-size: 8px;
  text-transform: uppercase;
  letter-spacing: .8px;
}

.auth-card {
  width: 100%;
  align-self: center;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(30, 37, 69, .98), rgba(17, 22, 43, .98));
  color: var(--ink);
  border: 1px solid rgba(185, 243, 91, .2);
  border-radius: 9px;
  padding: 31px;
  box-shadow: 0 28px 85px rgba(3, 5, 14, .48);
  margin: 26px 0 45px;
}

.auth-card::before {
  content: '';
  position: absolute;
  width: 170px;
  height: 170px;
  right: -95px;
  top: -105px;
  border-radius: 50%;
  background: rgba(185, 243, 91, .12);
  filter: blur(2px);
}

.card-spark {
  position: absolute;
  right: 24px;
  top: 18px;
  color: var(--accent);
  font-size: 18px;
}

.auth-card-head {
  text-align: left;
  margin-bottom: 22px;
  position: relative;
}

.card-kicker {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 18px;
  color: #8f97b5;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: .9px;
}

.card-kicker .age-chip {
  color: #ff9d96;
  padding: 3px 6px;
}

.auth-card h2 {
  color: #f5f6ff;
  font: 800 33px / 1 var(--display);
  letter-spacing: -1.6px;
  margin: 0;
}

.auth-card-head p, .auth-footnote {
  color: #929ab8;
  font-size: 11px;
  line-height: 1.55;
}

.auth-card-head p { margin: 9px 0 0; }

.tabs {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 5px;
  padding: 4px;
  margin-bottom: 21px;
  background: #0d1225;
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: 6px;
}

.tabs button {
  min-width: 0;
  border: 0;
  border-radius: 4px;
  background: transparent;
  padding: 10px 7px;
  color: #747d9c;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}

.tabs button.active {
  color: #11170c;
  background: var(--accent);
  box-shadow: 0 6px 20px rgba(185, 243, 91, .12);
}

.auth-card form {
  min-width: 0;
  display: grid;
  gap: 8px;
}

.auth-card label {
  color: #c9cde0;
  font-size: 10px;
  font-weight: 750;
  margin: 3px 0 1px;
}

.auth-card label small {
  color: #6f7898;
  font-weight: 500;
}

.auth-card input:not([type="checkbox"]) {
  width: 100%;
  min-width: 0;
  border: 1px solid #343c5b;
  background: #0d1327;
  color: #f4f5ff;
  border-radius: 5px;
  padding: 13px 14px;
  outline: none;
  font: 500 13px var(--body);
  transition: border-color .18s, box-shadow .18s, background .18s;
}

.auth-card input:not([type="checkbox"])::placeholder { color: #626b89; }

.auth-card input:not([type="checkbox"]):focus {
  border-color: var(--accent);
  background: #10172c;
  box-shadow: 0 0 0 3px rgba(185, 243, 91, .1);
}

.primary-button {
  width: 100%;
  min-width: 0;
  border: 0;
  border-radius: 5px;
  padding: 14px 16px;
  background: var(--accent);
  color: #10150b;
  font-weight: 900;
  cursor: pointer;
  margin-top: 10px;
  display: flex;
  justify-content: space-between;
  transition: transform .18s, box-shadow .18s;
}

.primary-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(185, 243, 91, .16);
}

.primary-button:disabled, .google-button:disabled {
  opacity: .48;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.legal-check {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  color: #8f97b3 !important;
  line-height: 1.45;
  margin-top: 7px !important;
  font-weight: 500 !important;
}

.legal-check input {
  flex: none;
  margin-top: 2px;
  accent-color: var(--accent);
}

.legal-check a { color: #d6dbea; }

.divider {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #646d8c;
  font-size: 9px;
  margin: 17px 0;
}

.divider::before, .divider::after {
  content: '';
  height: 1px;
  flex: 1;
  background: #303752;
}

.google-button {
  width: 100%;
  min-width: 0;
  border: 1px solid #d7d9df;
  background: #f7f7f2;
  color: #252b3e;
  border-radius: 5px;
  padding: 12px 14px;
  font-size: 12px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  cursor: pointer;
}

.google-button:not(:disabled):hover { background: #fff; }
.google-button svg { width: 18px; height: 18px; flex: none; }

.auth-footnote {
  max-width: 330px;
  text-align: center;
  margin: 15px auto 0;
}

.auth-message {
  padding: 10px 12px;
  margin-bottom: 14px;
  border-radius: 5px;
  background: rgba(255, 118, 109, .11);
  color: #ffb0aa;
  font-size: 11px;
  line-height: 1.5;
  border: 1px solid rgba(255, 118, 109, .3);
}

.auth-message.success {
  background: rgba(185, 243, 91, .09);
  color: #d1f89a;
  border-color: rgba(185, 243, 91, .25);
}

.success-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  background: var(--accent);
  color: #12180d;
  border-radius: 50% 50% 50% 8px;
  margin-bottom: 16px;
  font-weight: 900;
  transform: rotate(-5deg);
}

.mail-mark {
  display: grid;
  place-items: center;
  width: 49px;
  height: 45px;
  background: var(--accent);
  color: #12180d;
  border-radius: 7px 7px 7px 2px;
  margin-bottom: 17px;
  font-size: 20px;
  font-weight: 900;
  transform: rotate(-3deg);
}

.auth-card .verification-code {
  text-align: center;
  font: 800 28px var(--display) !important;
  letter-spacing: 9px;
  padding-left: 23px !important;
}

.secondary-button, .text-button {
  width: 100%;
  border-radius: 5px;
  padding: 11px 14px;
  cursor: pointer;
}

.secondary-button {
  border: 1px solid #39415f;
  background: #171e35;
  color: #cbd0e2;
  font-size: 11px;
  font-weight: 750;
}

.secondary-button:disabled {
  opacity: .48;
  cursor: not-allowed;
}

.text-button {
  border: 0;
  background: transparent;
  color: #929ab8;
  font-size: 10px;
  text-decoration: underline;
}

.restart-link {
  color: #9ca4c0;
  font-size: 10px;
  text-align: center;
  margin-top: 11px;
}

.auth-shell footer { grid-column: 1 / -1; }

@media (max-width: 880px) {
  .auth-shell {
    width: min(550px, calc(100% - 28px));
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .auth-shell > .brand { padding-top: 20px; }

  .auth-story {
    padding: 46px 4px 14px;
  }

  .auth-story h1 {
    max-width: 500px;
    font-size: clamp(42px, 12vw, 58px);
    letter-spacing: -3px;
  }

  .auth-story > p {
    max-width: 490px;
    font-size: 13px;
    margin-bottom: 20px;
  }

  .vibe-playground { display: none; }
  .playful-tags { margin-top: 0; }
  .auth-card { margin: 20px 0 34px; }
}

@media (max-width: 480px) {
  .auth-shell { width: calc(100% - 24px); }
  .auth-story { padding-top: 38px; }
  .auth-story h1 { font-size: 43px; line-height: .95; }
  .auth-story > p { line-height: 1.55; }
  .playful-tags span:nth-child(3) { display: none; }
  .auth-card { padding: 24px 18px; border-radius: 8px; }
  .auth-card h2 { font-size: 30px; }
  .card-kicker { padding-right: 22px; }
  .tabs button { font-size: 10px; padding-inline: 5px; }
  .auth-footnote { max-width: 280px; }
}
