/* login.css — Landing / welcome page */

:root {
  --s-navy:   #001f3e;
  --s-blue:   #1e4990;
  --s-cream:  #f6f8ec;
  --s-lime:   #dbe64c;
  --s-green:  #74c465;
  --s-muted:  rgba(246, 248, 236, 0.80);   /* secondary text — readable */
  --s-dim:    rgba(246, 248, 236, 0.62);   /* tertiary text — still clear */
  --s-border: rgba(255, 255, 255, 0.22);   /* visible border */
  --s-font:   -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
}

/* ── Background — SPORTIFY brand gradient (LOCKED — do not edit) ── */
.app {
  background:
    radial-gradient(
      circle at 100% 100%,
      rgba(219, 230, 76, 0.92) 0%,
      rgba(116, 196, 101, 0.82) 26%,
      rgba(0, 128, 76, 0.55) 50%,
      transparent 72%
    ),
    radial-gradient(
      circle at 40% 55%,
      rgba(0, 128, 76, 0.68) 0%,
      rgba(30, 73, 144, 0.32) 44%,
      transparent 70%
    ),
    radial-gradient(
      circle at 0% 18%,
      rgba(0, 31, 62, 0.85) 0%,
      transparent 55%
    ),
    linear-gradient(
      110deg,
      #001f3e 0%,
      #102f64 27%,
      #00724b 60%,
      #74c465 82%,
      #dbe64c 100%
    ) !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
  background-position: center !important;
  font-family: var(--s-font);
  -webkit-font-smoothing: antialiased;
}

/* ── Full-height flex column wrapper ── */
.login-wrap {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* ── Brand — grows to fill space, vertically centered ── */
.login-brand {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8px 24px 16px;
  position: relative;
}

/* Subtle halo behind logo on the dark-navy zone */
.logo-glow {
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(116,196,101,0.10) 0%, transparent 65%);
  pointer-events: none;
}

.auth-logo {
  height: 160px;
  width: auto;
  position: relative;
  filter: drop-shadow(0 6px 24px rgba(0,0,0,0.35));
  margin-bottom: 12px;
}

.brand-name {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 3px;
  color: var(--s-cream);
  position: relative;
  margin-bottom: 8px;
  text-shadow: 0 1px 12px rgba(0,0,0,0.40);
}

.brand-tagline {
  display: flex;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  position: relative;
  text-shadow: 0 1px 8px rgba(0,0,0,0.38);
}

/* "Move Better." — cream at 88%, clearly readable */
.t-white { color: rgba(246, 248, 236, 0.88); }
/* "Play Together." — lime accent */
.t-lime  { color: var(--s-lime); }

/* ── Actions — bottom section, 48px clears home indicator ── */
.login-actions {
  flex-shrink: 0;
  padding: 0 22px 48px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ── iPhone home indicator pill ── */
.home-indicator {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 134px;
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.32);
  pointer-events: none;
  z-index: 10;
}

/* ── Legal text ── */
.login-terms {
  text-align: center;
  font-size: 11.5px;
  color: var(--s-dim);
  line-height: 1.6;
  margin: 0 0 4px;
  text-shadow: 0 1px 6px rgba(0,0,0,0.45);
}
.login-terms a {
  color: var(--s-lime);
  font-weight: 700;
  text-decoration: none;
  text-shadow: 0 1px 8px rgba(0,0,0,0.55);
}

/* ── Shared pill button structure ── */
.btn-main {
  width: 100%;
  height: 56px;
  border-radius: 999px;
  display: grid;
  grid-template-columns: 52px 1fr 52px;
  align-items: center;
  cursor: pointer;
  font-family: var(--s-font);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.05px;
  transition: transform 0.10s ease, opacity 0.10s ease, background 0.12s;
  text-decoration: none;
  border: none;
}

.btn-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
}

.btn-label { text-align: center; }

/* Email — lime primary CTA, clean shadow without glow */
.btn-email {
  background: var(--s-lime);
  color: var(--s-navy);
  box-shadow: 0 4px 16px rgba(0,0,0,0.28);
}
.btn-email:hover  { color: var(--s-navy); text-decoration: none; }
.btn-email:active { transform: scale(0.984); opacity: 0.92; color: var(--s-navy); }

/* Google — ghost, clearly visible (not disabled-looking) */
.btn-google {
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.26);
  color: var(--s-cream);
  box-shadow: 0 2px 10px rgba(0,0,0,0.18), inset 0 1px 0 rgba(255,255,255,0.10);
}
.btn-google:active { transform: scale(0.984); background: rgba(255,255,255,0.20); }

/* ── More options toggle ── */
.more-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  background: none;
  border: none;
  color: var(--s-muted);
  font-family: var(--s-font);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  padding: 4px 0;
  text-shadow: 0 1px 6px rgba(0,0,0,0.40);
}
.more-toggle:active { opacity: 0.65; }

.more-chevron { font-size: 10px; }

/* ── Sign up row ── */
.signup-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 4px;
}

.signup-muted {
  font-size: 13px;
  font-weight: 500;
  color: var(--s-muted);
  text-shadow: 0 1px 6px rgba(0,0,0,0.40);
}

.signup-cta {
  font-size: 13px;
  font-weight: 800;
  color: var(--s-lime);
  text-decoration: none;
  text-shadow: 0 1px 8px rgba(0,0,0,0.55);
}
.signup-cta:hover { color: var(--s-lime); text-decoration: none; }
