/* App-specific overrides — brand tokens live in SportsReplay.SharedUI design-system.css */
html {
  font-size: 15px;
}

body.sr-app {
  margin-bottom: 0;
}

/* —— Auth (login) full-bleed arena photo —— */
body.sr-auth-page {
  min-height: 100vh;
  background-color: var(--brand-dark);
  background-image:
    linear-gradient(
      105deg,
      rgba(9, 13, 22, 0.18) 0%,
      rgba(9, 13, 22, 0.35) 42%,
      rgba(9, 13, 22, 0.78) 68%,
      rgba(9, 13, 22, 0.92) 100%
    ),
    url("/img/auth-arena.jpg");
  background-size: cover;
  background-position: left center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

body.sr-auth-page .sr-navbar--auth {
  background: rgba(9, 13, 22, 0.55) !important;
  border-bottom-color: rgba(148, 163, 184, 0.18) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.sr-auth-main {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: 100%;
  min-height: calc(100vh - 4.25rem);
  padding: 1.75rem clamp(1rem, 4vw, 3.5rem) 2.5rem;
  box-sizing: border-box;
}

.sr-auth-shell {
  width: min(100%, 26rem);
  margin: 0;
  margin-left: auto;
  display: block;
}

.sr-auth-panel {
  width: 100%;
  padding: 1.75rem 1.5rem;
  border-radius: 1rem;
  border: 1px solid rgba(148, 163, 184, 0.28);
  background: rgba(15, 23, 42, 0.72);
  color: var(--brand-text);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.sr-auth-kicker {
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--brand-pulse);
  margin: 0;
}

@media (max-width: 767.98px) {
  body.sr-auth-page {
    background-attachment: scroll;
    background-position: 28% center;
    background-image:
      linear-gradient(
        180deg,
        rgba(9, 13, 22, 0.55) 0%,
        rgba(9, 13, 22, 0.82) 45%,
        rgba(9, 13, 22, 0.94) 100%
      ),
      url("/img/auth-arena.jpg");
  }

  .sr-auth-main {
    justify-content: center;
    align-items: flex-end;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .sr-auth-shell {
    width: 100%;
    margin-left: 0;
  }
}

/* —— Marketing site —— */
.sr-main--bleed {
  flex: 1 0 auto;
  padding: 0;
}

.sr-navbar--marketing {
  position: sticky;
  top: 0;
  z-index: 40;
}

.sr-lang-select {
  width: auto;
  min-width: 4.25rem;
  background: rgba(30, 41, 59, 0.9);
  color: var(--brand-text);
  border-color: var(--brand-border);
}

.sr-hero {
  position: relative;
  min-height: min(92vh, 820px);
  display: grid;
  align-items: end;
  overflow: hidden;
}

.sr-hero-media {
  position: absolute;
  inset: 0;
  background:
    url("/img/auth-arena.jpg") center / cover no-repeat;
  transform: scale(1.02);
  animation: sr-hero- ken 18s ease-in-out infinite alternate;
}

.sr-hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(9, 13, 22, 0.35) 0%, rgba(9, 13, 22, 0.55) 40%, rgba(9, 13, 22, 0.92) 100%),
    linear-gradient(90deg, rgba(9, 13, 22, 0.75) 0%, rgba(9, 13, 22, 0.25) 55%, transparent 100%);
}

.sr-hero-content {
  position: relative;
  z-index: 1;
  width: min(42rem, 100%);
  padding: clamp(2rem, 6vh, 4rem) clamp(1.25rem, 4vw, 3rem) clamp(2.5rem, 7vh, 4.5rem);
}

.sr-hero-brand {
  margin: 0 0 0.75rem;
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--brand-text);
}

.sr-hero-title {
  margin: 0 0 1rem;
  font-size: clamp(1.25rem, 2.6vw, 1.75rem);
  font-weight: 650;
  line-height: 1.3;
  color: var(--brand-text);
  max-width: 28ch;
}

.sr-hero-lead {
  margin: 0 0 1.5rem;
  color: var(--brand-muted);
  font-size: 1.05rem;
  line-height: 1.55;
  max-width: 36ch;
}

.sr-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn-brand-pulse {
  background: var(--brand-pulse) !important;
  border-color: transparent !important;
  color: #fff !important;
  font-weight: 700;
}

.btn-brand-pulse:hover {
  background: var(--brand-pulse-deep) !important;
  color: #fff !important;
}

.sr-section {
  padding: clamp(3rem, 8vh, 5rem) 0;
}

.sr-section--alt {
  background: rgba(30, 41, 59, 0.45);
  border-block: 1px solid var(--brand-border);
}

.sr-section-title {
  margin: 0 0 0.65rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 750;
}

.sr-section-lead {
  margin: 0 0 1.75rem;
  color: var(--brand-muted);
  max-width: 42rem;
  line-height: 1.55;
}

.sr-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
}

.sr-steps > li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
}

.sr-step-num {
  display: inline-flex;
  width: 2.25rem;
  height: 2.25rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(99, 102, 241, 0.18);
  color: var(--brand-indigo);
  font-weight: 800;
  font-family: var(--font-mono);
}

.sr-steps h3 {
  margin: 0.15rem 0 0.35rem;
  font-size: 1.15rem;
}

.sr-steps p {
  margin: 0;
  color: var(--brand-muted);
  line-height: 1.5;
}

.sr-split {
  display: grid;
  gap: 2rem;
}

@media (min-width: 900px) {
  .sr-split {
    grid-template-columns: 1.2fr 1fr;
    align-items: center;
  }
}

.sr-feature-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.85rem;
}

.sr-feature-list li {
  padding: 0.85rem 1rem;
  border-left: 3px solid var(--brand-pulse);
  background: rgba(9, 13, 22, 0.35);
  color: var(--brand-text);
  line-height: 1.45;
}

.sr-privacy {
  max-width: 44rem;
}

.sr-privacy-print-block {
  padding: 1.25rem;
  border: 1px solid var(--brand-border);
  border-radius: 0.75rem;
  background: rgba(30, 41, 59, 0.35);
}

@keyframes sr-hero-ken {
  from { transform: scale(1.02) translate3d(0, 0, 0); }
  to { transform: scale(1.08) translate3d(-1.5%, -1%, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .sr-hero-media { animation: none; }
}
