/* ------------------------------------------------------------------ */
/* AROAUA — static site styles                                        */
/* Palette pixel-sampled from the logo: sky, azure, blue, deep — no    */
/* white in the ramp. Everything themed off this one gradient.        */
/* ------------------------------------------------------------------ */

:root {
  --bg: #05070d;
  --card: #0a0f1c;
  --text: #f5f9ff;
  --muted: #8ca0c4;
  --sky: #9fe3ff;
  --azure: #38bdf8;
  --blue: #0b7cfd;
  --deep: #0057f2;
  --ramp: linear-gradient(135deg, var(--sky), var(--azure), var(--blue), var(--deep));
  --ramp-160: linear-gradient(160deg, var(--sky), var(--azure), var(--blue), var(--deep));
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", sans-serif;
  min-height: 100%;
}

.font-display {
  font-family: "Space Grotesk", sans-serif;
}

a,
button {
  font-family: inherit;
}

/* ---------------- layout chrome ---------------- */

.bg-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.5;
  background: radial-gradient(50% 38% at 74% 6%, rgba(56, 189, 248, 0.22) 0%, rgba(11, 124, 253, 0.13) 45%, transparent 75%),
    radial-gradient(40% 30% at 8% 85%, rgba(0, 87, 242, 0.16) 0%, transparent 70%);
}

.bg-grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.045'/%3E%3C/svg%3E");
}

.nav-link {
  color: var(--muted);
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.875rem;
  transition: color 0.2s ease;
}
.nav-link:hover {
  color: var(--text);
}

.ramp-text {
  background-image: var(--ramp);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hairline {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* ---------------- claim input (hero) ---------------- */

.claim-input-ring {
  position: relative;
  flex: 1;
  border-radius: 9999px;
  padding: 1.5px;
}
.claim-input-ring::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 9999px;
  background: var(--ramp);
  opacity: 0.6;
}
.claim-input-shell {
  position: relative;
  display: flex;
  align-items: center;
  gap: 2px;
  background: var(--bg);
  border-radius: 9999px;
  padding: 0.75rem 1rem;
}
.claim-input-shell input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text);
  font-size: 0.875rem;
}
.claim-input-shell input::placeholder {
  color: rgba(140, 160, 196, 0.5);
}

/* ---------------- buttons ---------------- */

.btn-glow {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 9999px;
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--bg);
  background: var(--ramp);
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.2s ease;
}
.btn-glow:hover {
  transform: translateY(-2px) scale(1.03);
}
.btn-glow svg {
  width: 1rem;
  height: 1rem;
}

.btn-ghost {
  width: 100%;
  border-radius: 9999px;
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: background 0.2s ease;
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.07);
}
.oauth-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ---------------- feature cards ---------------- */

.feature-card {
  position: relative;
  border-radius: 1rem;
  padding: 1px;
  background: linear-gradient(135deg, rgba(159, 227, 255, 0.18), rgba(0, 87, 242, 0.18));
  overflow: hidden;
  transition: transform 0.25s ease;
}
.feature-card:hover {
  transform: translateY(-6px);
}
.feature-card:hover .feature-card-glow {
  opacity: 1;
}
.feature-card-glow {
  position: absolute;
  inset: 0;
  opacity: 0;
  background: var(--ramp);
  transition: opacity 0.5s ease;
}
.feature-card-inner {
  position: relative;
  background: var(--card);
  border-radius: 1rem;
  padding: 1.75rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.feature-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.22), rgba(0, 87, 242, 0.22));
}
.feature-icon svg {
  width: 1.125rem;
  height: 1.125rem;
  color: var(--azure);
}

/* ---------------- floating logo (hero) ---------------- */

.logo-stage {
  position: relative;
  width: 18rem;
  height: 18rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-halo {
  position: absolute;
  width: 16rem;
  height: 16rem;
  border-radius: 9999px;
  opacity: 0.3;
  background: conic-gradient(from 0deg, var(--sky), var(--azure), var(--blue), var(--deep), var(--sky));
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 2px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 2px));
  animation: spin 22s linear infinite;
}

.logo-glow {
  position: absolute;
  width: 14rem;
  height: 14rem;
  border-radius: 9999px;
  filter: blur(48px);
  background: radial-gradient(circle, rgba(56, 189, 248, 0.55) 0%, rgba(11, 124, 253, 0.32) 55%, transparent 75%);
  animation: breathe 6s ease-in-out infinite;
}

.logo-mark {
  position: relative;
  width: 12rem;
  height: 12rem;
  object-fit: contain;
  filter: drop-shadow(0 0 35px rgba(56, 189, 248, 0.45));
  animation: float 5s ease-in-out infinite;
}

.logo-reflection {
  width: 8rem;
  height: 8rem;
  object-fit: contain;
  margin-top: -1.5rem;
  transform: scaleY(-1);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.28), transparent 70%);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.28), transparent 70%);
  animation: float 5s ease-in-out infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes breathe {
  0%,
  100% {
    opacity: 0.5;
    transform: scale(0.9);
  }
  50% {
    opacity: 0.85;
    transform: scale(1.08);
  }
}
@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-14px);
  }
}

/* ---------------- login view ---------------- */

.auth-card {
  position: relative;
  border-radius: 1rem;
  padding: 1px;
  background: linear-gradient(135deg, rgba(159, 227, 255, 0.18), rgba(0, 87, 242, 0.18));
}
.auth-card-inner {
  background: var(--card);
  border-radius: 1rem;
  padding: 2.25rem 2rem;
}
.field-shell {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  transition: border-color 0.2s ease;
}
.field-shell:focus-within {
  border-color: rgba(56, 189, 248, 0.55);
}
.field-shell svg {
  width: 1rem;
  height: 1rem;
  color: var(--muted);
  flex-shrink: 0;
}
.field-shell input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text);
  font-size: 0.875rem;
}
.field-shell input::placeholder {
  color: rgba(140, 160, 196, 0.45);
}

/* ---------------- profile preview ---------------- */

.profile-card-ring {
  width: 100%;
  max-width: 24rem;
  border-radius: 2rem;
  padding: 1.5px;
  background: var(--ramp-160);
  opacity: 1;
}
.profile-card-ring > div {
  background: rgba(159, 227, 255, 0.35);
}
.profile-card {
  position: relative;
  border-radius: 2rem;
  overflow: hidden;
  background: var(--bg);
}
.profile-card-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(65% 45% at 50% -5%, rgba(56, 189, 248, 0.35) 0%, rgba(11, 124, 253, 0.16) 45%, transparent 75%),
    radial-gradient(45% 35% at 90% 90%, rgba(0, 87, 242, 0.22) 0%, transparent 70%);
}
.profile-avatar-ring {
  width: 5rem;
  height: 5rem;
  border-radius: 9999px;
  padding: 2px;
  background: var(--ramp);
}
.profile-avatar-inner {
  width: 100%;
  height: 100%;
  border-radius: 9999px;
  background: var(--card);
  display: flex;
  align-items: center;
  justify-content: center;
}
.profile-avatar-inner img {
  width: 2.25rem;
  height: 2.25rem;
  object-fit: contain;
}
.chip {
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: 9999px;
  padding: 0.25rem 0.75rem;
  border: 1px solid rgba(159, 227, 255, 0.35);
  color: var(--sky);
}
.now-playing {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-radius: 0.75rem;
  padding: 0.6rem 0.9rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.now-playing-icon {
  width: 2rem;
  height: 2rem;
  border-radius: 0.375rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.3), rgba(0, 87, 242, 0.3));
}
.now-playing-icon svg {
  width: 0.875rem;
  height: 0.875rem;
  color: var(--sky);
}
.equalizer {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 1rem;
  flex-shrink: 0;
}
.equalizer span {
  width: 3px;
  border-radius: 2px;
  background: var(--azure);
  animation: eq 1s ease-in-out infinite;
}
.equalizer span:nth-child(1) {
  animation-delay: 0s;
  height: 40%;
}
.equalizer span:nth-child(2) {
  animation-delay: 0.12s;
  height: 90%;
}
.equalizer span:nth-child(3) {
  animation-delay: 0.24s;
  height: 60%;
}
.equalizer span:nth-child(4) {
  animation-delay: 0.36s;
  height: 100%;
}
.equalizer span:nth-child(5) {
  animation-delay: 0.48s;
  height: 35%;
}
@keyframes eq {
  0%,
  100% {
    transform: scaleY(0.4);
  }
  50% {
    transform: scaleY(1);
  }
}

.profile-link {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text);
  cursor: pointer;
  text-align: left;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.profile-link:hover {
  border-color: rgba(56, 189, 248, 0.5);
  background: rgba(255, 255, 255, 0.06);
}
.profile-link svg:first-child {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}
.profile-link svg:last-child {
  width: 0.875rem;
  height: 0.875rem;
  opacity: 0.5;
}

/* ---------------- view switching ---------------- */

.view {
  display: none;
  animation: view-in 0.4s ease both;
}
.view.active {
  display: block;
}
@keyframes view-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------------- hero eyebrow chip ---------------- */

.eyebrow-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 9999px;
  padding: 0.45rem 0.9rem;
}

/* ---------------- decorative floating dot ---------------- */

.hero-dot {
  position: absolute;
  left: -2rem;
  top: 60%;
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 9999px;
  background: var(--azure);
  box-shadow: 0 0 24px 6px rgba(56, 189, 248, 0.55);
  animation: dot-drift 7s ease-in-out infinite;
  display: none;
}
@media (min-width: 1024px) {
  .hero-dot {
    display: block;
  }
}
@keyframes dot-drift {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.7;
  }
  50% {
    transform: translateY(-18px);
    opacity: 1;
  }
}

/* ---------------- hero profile-card mockup ---------------- */

.hero-card {
  position: relative;
  width: 100%;
  max-width: 21rem;
  border-radius: 1.5rem;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(10, 20, 40, 0.9), rgba(5, 7, 13, 0.95));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 30px 60px -20px rgba(0, 20, 60, 0.6);
}
.hero-card-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 50% at 30% 0%, rgba(56, 189, 248, 0.28) 0%, transparent 70%);
}
.hero-card-badges {
  position: relative;
  display: flex;
  gap: 0.5rem;
  padding: 1rem 1.1rem 0;
}
.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 9999px;
  padding: 0.3rem 0.6rem;
  backdrop-filter: blur(6px);
}
.hero-avatar-wrap {
  position: relative;
  display: inline-flex;
}
.hero-pro-badge {
  position: absolute;
  top: -0.3rem;
  right: -0.5rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--bg);
  background: var(--ramp);
  border-radius: 9999px;
  padding: 0.25rem 0.55rem;
}
.hero-social-icon {
  width: 2rem;
  height: 2rem;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text);
}

/* ---------------- generic fade-up (hero copy) ---------------- */

.fade-up {
  animation: fade-up 0.65s cubic-bezier(0.22, 1, 0.36, 1) both;
}
@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
