/* VerseCraft — shared styles */
@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,500;0,600;1,500&family=Instrument+Serif:ital@0;1&family=Inter:wght@400;500;600&display=swap");

:root {
  --bg: #000;
  --text: #fff;
  --muted: rgba(255, 255, 255, 0.55);
  --muted-dim: rgba(255, 255, 255, 0.35);
  --border: rgba(255, 255, 255, 0.08);
  --glass: rgba(255, 255, 255, 0.06);
  --glass-strong: rgba(255, 255, 255, 0.1);
  --gold: #d4a853;
  --gold-light: #f0d78c;
  --silver: #c8cdd8;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

.font-serif {
  font-family: "Cormorant Garamond", Georgia, serif;
}

.font-instrument {
  font-family: "Instrument Serif", Georgia, serif;
  font-weight: 400;
}

.font-mono {
  font-family: ui-monospace, monospace;
}

main {
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Gradients */
.text-gradient-silver {
  background: linear-gradient(135deg, #fff 0%, var(--silver) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.text-gradient-gold {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 55%, #a67c2e 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Glass */
.glass {
  background: var(--glass);
  border: 1px solid var(--border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.glass-strong {
  background: var(--glass-strong);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

/* Header */
.site-header {
  position: fixed;
  top: 1rem;
  left: 50%;
  z-index: 50;
  width: min(1100px, calc(100% - 2rem));
  transform: translateX(-50%);
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.5rem 0.75rem 0.5rem 1.25rem;
  border-radius: 9999px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  text-decoration: none;
  color: inherit;
}

.brand-icon {
  display: grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.4));
  color: #000;
}

.brand-name {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 2rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
}

.nav-links a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.is-active {
  color: #fff;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.nav-actions .btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 5.25rem;
  padding: 0.5625rem 1.5rem;
  font-size: 0.9375rem;
  font-weight: 500;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.06);
}

.nav-actions .btn-ghost:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.1);
}

.nav-actions .btn-primary {
  min-width: 5.25rem;
  padding: 0.5625rem 1.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  justify-content: center;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.15);
}

/* Profile chip in navbar — match Login height, wider pill */
.nav-actions .vc-acct {
  display: inline-flex;
}

.nav-actions .vc-chip {
  gap: 0.4375rem;
  padding: 0.3125rem 0.625rem 0.3125rem 0.3125rem;
  min-width: 11.5rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.nav-actions .vc-chip img {
  width: 1.625rem;
  height: 1.625rem;
  border-radius: 0.375rem;
  flex-shrink: 0;
}

.nav-actions .vc-chip .vc-meta {
  flex: 1;
  min-width: 0;
}

.nav-actions .vc-chip .vc-name {
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.15;
  white-space: nowrap;
}

.nav-actions .vc-chip .vc-pts {
  font-size: 0.625rem;
  font-weight: 600;
  line-height: 1.15;
  white-space: nowrap;
}

.nav-actions .vc-chip .vc-car {
  width: 0.75rem;
  height: 0.75rem;
  flex-shrink: 0;
  margin-left: 0.0625rem;
}

.btn-ghost {
  display: block;
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 9999px;
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.2s;
  text-decoration: none;
  font-family: inherit;
}

a.btn-ghost:hover,
button.btn-ghost:hover {
  color: #fff;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 9999px;
  background: #fff;
  color: #000;
  font-size: 0.875rem;
  font-weight: 500;
  font-family: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.btn-primary:hover {
  background: rgba(255, 255, 255, 0.9);
}

.btn-menu {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
}

@media (max-width: 767px) {
  .site-nav {
    gap: 0.5rem;
    padding-left: 1rem;
    padding-right: 0.5rem;
  }

  .nav-actions .btn-ghost,
  .nav-actions .btn-primary {
    min-width: 4.75rem;
    padding: 0.5rem 1.125rem;
    font-size: 0.875rem;
  }

  .brand-name {
    font-size: 1.125rem;
  }
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }

  .btn-menu {
    display: none;
  }
}

.mobile-drawer {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  padding: 6rem 2rem 2rem;
}

.mobile-drawer.is-open {
  display: block;
}

.mobile-drawer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  font-size: 1.25rem;
}

.mobile-drawer a,
.mobile-drawer button {
  color: #fff;
  text-decoration: none;
}

.mobile-drawer-login {
  padding: 0;
  border: none;
  background: none;
  font: inherit;
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.85);
  cursor: pointer;
}

.mobile-drawer-login:hover {
  color: #fff;
}

/* Store page */
.store-page {
  position: relative;
  min-height: 100vh;
  padding-top: 7rem;
  overflow: hidden;
  background: #000;
}

.store-page-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100svh;
  pointer-events: none;
}

.store-page-bg .section-video-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transform: none;
}

.store-page-overlay {
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.45) 0%,
    rgba(0, 0, 0, 0.58) 50%,
    rgba(0, 0, 0, 0.72) 100%
  );
}

.store-page-vignette {
  background: radial-gradient(ellipse at center, transparent 0%, rgba(0, 0, 0, 0.5) 100%);
}

.store-page-content,
.store-page-footer {
  position: relative;
  z-index: 1;
}

main:has(.store-page) {
  position: relative;
  z-index: 1;
}

.store-page {
  z-index: 1;
}

.store-page-footer {
  border-top-color: rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.store-hero {
  padding: 2rem 1.5rem 0;
  text-align: center;
}

.store-hero .eyebrow {
  font-size: 0.6875rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}

.store-hero h1 {
  margin: 1rem 0 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.5rem, 6vw, 4rem);
  line-height: 1;
  letter-spacing: -0.02em;
}

.store-hero p {
  margin: 1rem auto 0;
  max-width: 28rem;
  color: var(--muted);
  font-size: 0.9375rem;
}

/* Store section (copied layout) */
#store,
.store-section {
  position: relative;
  overflow: hidden;
  padding: 4rem 1.5rem 6rem;
}

@media (min-width: 768px) {
  #store,
  .store-section {
    padding: 6rem 1.5rem 8rem;
  }
}

.store-inner {
  max-width: 80rem;
  margin: 0 auto;
}

.store-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
}

@media (min-width: 768px) {
  .store-header {
    flex-direction: row;
    align-items: flex-end;
  }
}

.store-header .eyebrow {
  margin: 0;
  font-size: 0.6875rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}

.eyebrow-back {
  display: inline-block;
  text-decoration: none;
  letter-spacing: 0.12em;
  text-transform: none;
  color: rgba(255, 255, 255, 0.55);
  padding: 0.375rem 0.875rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.06);
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.eyebrow-back:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.1);
}

.store-header h2 {
  margin: 1.5rem 0 0;
  max-width: 32rem;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 1;
  letter-spacing: -0.02em;
  font-weight: 500;
}

.store-header .lead {
  margin: 0;
  max-width: 20rem;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.store-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 4rem;
}

@media (min-width: 768px) {
  .store-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .store-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.store-card {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 1rem;
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s ease, border-color 0.25s;
}

.store-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.2);
}

.store-card--featured {
  grid-column: span 2;
}

@media (min-width: 1024px) {
  .store-card--featured {
    grid-column: span 2;
    grid-row: span 2;
  }
}

.store-card-media {
  position: relative;
  overflow: hidden;
}

.store-card--featured .store-card-media {
  aspect-ratio: 4 / 5;
}

.store-card:not(.store-card--featured) .store-card-media {
  aspect-ratio: 1;
}

.store-card-media img,
.store-card-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
  transition: transform 0.5s ease;
}

.store-card:hover .store-card-media img,
.store-card:hover .store-card-video {
  transform: scale(1.04);
}

.store-card-overlay {
  pointer-events: none;
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, #000 0%, rgba(0, 0, 0, 0.4) 45%, transparent 100%);
}

.store-card-footer {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 1.25rem;
}

.store-card-footer h3 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.25rem;
  font-weight: 500;
}

@media (min-width: 768px) {
  .store-card-footer h3 {
    font-size: 1.5rem;
  }
}

.store-card-footer p {
  margin: 0.25rem 0 0;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.55);
}

.store-card-arrow {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.25s;
}

.store-card:hover .store-card-arrow {
  opacity: 1;
}

/* Footer */
.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 3rem 1.5rem;
}

.footer-inner {
  max-width: 80rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
}

@media (min-width: 768px) {
  .footer-inner {
    flex-direction: row;
    align-items: center;
  }
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 2rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-links a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #fff;
}

.footer-links .mono {
  color: rgba(255, 255, 255, 0.7);
  font-family: ui-monospace, monospace;
}

.footer-copy {
  margin: 0;
  font-size: 0.75rem;
  color: var(--muted-dim);
}

/* Full-screen sections with video background */
.section-video {
  position: relative;
  height: 100svh;
  min-height: 32rem;
  width: 100%;
  overflow: hidden;
  background: #000;
}

.section-video-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.section-video-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

.section-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.3) 50%, #000 100%);
  pointer-events: none;
}

.section-video-overlay--featured {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.35) 50%, #000 100%);
}

.section-video-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 0%, #000 85%);
  pointer-events: none;
}

.section-video-content {
  position: relative;
  z-index: 10;
  display: flex;
  height: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 6rem 1.5rem 8rem;
  text-align: center;
}

/* Hero */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
  padding: 0.375rem 0.875rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.7);
}

.hero-badge-dot {
  position: relative;
  width: 0.375rem;
  height: 0.375rem;
}

.hero-badge-dot::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #34d399;
  animation: ping 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
  opacity: 0.75;
}

.hero-badge-dot::after {
  content: "";
  position: relative;
  display: block;
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 50%;
  background: #34d399;
}

@keyframes ping {
  75%,
  100% {
    transform: scale(2);
    opacity: 0;
  }
}

.hero-title {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(3.5rem, 11vw, 9rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
  font-weight: 500;
}

.hero-subtitle {
  margin: 1.5rem auto 0;
  max-width: 36rem;
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.5;
}

.hero-actions {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.btn-play {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.5rem;
  border: none;
  border-radius: 9999px;
  background: #fff;
  color: #000;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s, background 0.2s;
}

.btn-play:hover {
  transform: scale(1.02);
  background: rgba(255, 255, 255, 0.92);
}

.btn-glass {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.5rem;
  border-radius: 9999px;
  border: 1px solid var(--border);
  background: var(--glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: transform 0.2s;
}

.btn-glass:hover {
  transform: scale(1.02);
}

.hero-stats {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  z-index: 10;
  width: min(900px, calc(100% - 2rem));
  transform: translateX(-50%);
}

.hero-stats-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-radius: 1rem;
  padding: 1rem 0.5rem;
  overflow: hidden;
}

.hero-stats-inner > div {
  padding: 0 1rem;
  text-align: center;
}

.hero-stats-inner > div + div {
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-stat-label {
  font-size: 0.625rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

.hero-stat-value {
  margin-top: 0.25rem;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.5rem, 4vw, 1.875rem);
  color: #fff;
}

.hero-stat-discord {
  display: inline-block;
  margin-top: 0.35rem;
  padding: 0.25rem 0.5rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(255, 255, 255, 0.35);
  transition: color 0.2s, text-decoration-color 0.2s;
}

.hero-stat-discord:hover {
  color: #fff;
  text-decoration-color: rgba(255, 255, 255, 0.6);
}

.hero-stat-sub {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.45);
}

/* Featured */
.featured-card {
  max-width: 42rem;
  width: 100%;
  padding: 2.5rem 2rem;
  border-radius: 1.5rem;
  text-align: center;
}

@media (min-width: 768px) {
  .featured-card {
    padding: 3.5rem 3rem;
  }
}

.featured-card .eyebrow {
  margin: 0;
  font-size: 0.6875rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}

.featured-card h2 {
  margin: 1.5rem 0 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 1;
  letter-spacing: -0.02em;
  font-weight: 500;
}

.featured-card p {
  margin: 1.5rem auto 0;
  max-width: 28rem;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.featured-card-desc {
  font-size: 0.8125rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.6);
}

.server-copy {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  margin-top: 2rem;
  padding: 0.625rem 0.75rem 0.625rem 1.25rem;
  border-radius: 9999px;
  background: #fff;
  color: #000;
}

.server-copy-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(0, 0, 0, 0.55);
}

.server-copy-address {
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.server-copy-btn {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.08);
  color: #000;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.server-copy-btn:hover {
  background: rgba(0, 0, 0, 0.14);
  transform: scale(1.05);
}

.server-copy-btn.is-copied {
  background: rgba(52, 211, 153, 0.25);
  color: #047857;
}

.server-copy-feedback {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

/* Content sections */
.content-section {
  position: relative;
  padding: 6rem 1.5rem;
}

.content-section-inner {
  max-width: 80rem;
  margin: 0 auto;
}

.content-section .eyebrow {
  margin: 0;
  font-size: 0.6875rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}

.content-section h2 {
  margin: 1.5rem 0 0;
  max-width: 56rem;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.75rem, 7vw, 6rem);
  line-height: 1;
  letter-spacing: -0.02em;
  font-weight: 500;
}

.content-section .lead {
  margin: 2rem 0 0;
  max-width: 36rem;
  font-size: 1.125rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.6);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  text-decoration: none;
  font-size: 0.875rem;
  transition: border-color 0.2s, background 0.2s;
}

.btn-outline:hover {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.05);
}

/* ── Auth: login modal + standalone page ── */
.vc-auth-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  place-items: center;
  padding: 1.25rem;
  animation: vcAuthFadeIn 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.vc-auth-overlay.open {
  display: grid;
}

@keyframes vcAuthFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.vc-auth-backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 40%, rgba(212, 168, 83, 0.06) 0%, transparent 55%),
    rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.vc-auth-backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.04) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.03) 0%, transparent 35%);
  pointer-events: none;
}

.vc-auth-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 26rem;
  padding: 2.25rem 2rem 2rem;
  border-radius: 1.375rem;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.09) 0%,
    rgba(255, 255, 255, 0.03) 45%,
    rgba(255, 255, 255, 0.05) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04) inset,
    0 1px 0 rgba(255, 255, 255, 0.14) inset,
    0 32px 80px rgba(0, 0, 0, 0.65),
    0 8px 24px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  animation: vcAuthCardIn 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  overflow: hidden;
}

.vc-auth-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.45) 50%,
    transparent
  );
  pointer-events: none;
}

.vc-auth-glow {
  position: absolute;
  top: -40%;
  left: 50%;
  width: 120%;
  height: 60%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(212, 168, 83, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

@keyframes vcAuthCardIn {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.vc-auth-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.55);
  font-size: 1.125rem;
  line-height: 1;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.vc-auth-close:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
}

.vc-auth-brand {
  position: relative;
  text-align: center;
  margin-bottom: 1.75rem;
}

.vc-auth-mark {
  display: inline-grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06) inset;
  color: var(--gold-light);
}

.vc-auth-mark svg {
  width: 1.125rem;
  height: 1.125rem;
}

.vc-auth-title {
  margin: 0;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(1.75rem, 5vw, 2.125rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.vc-auth-title em {
  font-style: italic;
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.vc-auth-sub {
  margin: 0.625rem 0 0;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.48);
}

.vc-auth-divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 1.5rem;
}

.vc-auth-divider::before,
.vc-auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
}

.vc-auth-divider span {
  font-size: 0.625rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(212, 168, 83, 0.75);
}

.vc-auth-fld {
  margin-bottom: 1rem;
}

.vc-auth-fld label {
  display: block;
  margin-bottom: 0.4375rem;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.vc-auth-fld input {
  width: 100%;
  box-sizing: border-box;
  padding: 0.8125rem 0.9375rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  font-size: 0.9375rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.vc-auth-fld input::placeholder {
  color: rgba(255, 255, 255, 0.28);
}

.vc-auth-fld input:focus {
  border-color: rgba(212, 168, 83, 0.45);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 0 0 3px rgba(212, 168, 83, 0.08);
}

.vc-auth-submit {
  width: 100%;
  margin-top: 0.375rem;
  padding: 0.8125rem 1.25rem;
  border: none;
  border-radius: 9999px;
  background: #fff;
  color: #000;
  font-size: 0.9375rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: transform 0.2s, background 0.2s, box-shadow 0.2s;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.15);
}

.vc-auth-submit:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.92);
  transform: translateY(-1px);
}

.vc-auth-submit:disabled {
  opacity: 0.55;
  cursor: default;
}

.vc-auth-err {
  min-height: 1.125rem;
  margin: 0.75rem 0 0;
  font-size: 0.8125rem;
  text-align: center;
  color: #ff8a8a;
}

.vc-auth-foot {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.28);
}

/* Standalone login page */
.login-page {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 6rem 1.25rem 2rem;
  overflow: hidden;
  background: #000;
}

.login-page-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
}

.login-page-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.login-page-bg .section-video-overlay {
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.55) 0%,
    rgba(0, 0, 0, 0.65) 50%,
    rgba(0, 0, 0, 0.85) 100%
  );
}

.login-page-bg .section-video-vignette {
  background: radial-gradient(ellipse at center, transparent 0%, rgba(0, 0, 0, 0.75) 100%);
}

.login-page-nav {
  position: fixed;
  top: 1.25rem;
  left: 50%;
  z-index: 20;
  transform: translateX(-50%);
  width: min(26rem, calc(100% - 2rem));
}

.login-page-back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.8125rem;
  text-decoration: none;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.login-page-back:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
}

.login-page-back svg {
  width: 0.875rem;
  height: 0.875rem;
}

.login-page .vc-auth-card {
  z-index: 10;
}

/* Account chip + dropdown */
.vc-acct {
  position: relative;
  display: inline-block;
}

.vc-chip {
  display: flex;
  align-items: center;
  gap: 0.6875rem;
  padding: 0.4375rem 1rem 0.4375rem 0.4375rem;
  border-radius: 9999px;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background 0.2s, border-color 0.2s;
}

.vc-chip:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.vc-chip img {
  width: 2.375rem;
  height: 2.375rem;
  border-radius: 0.5625rem;
  background: #111;
  image-rendering: pixelated;
}

.vc-chip .vc-meta {
  display: flex;
  flex-direction: column;
  gap: 0.0625rem;
  line-height: 1.1;
  text-align: left;
}

.vc-chip .vc-name {
  color: #fff;
  font-weight: 600;
  font-size: 0.9375rem;
}

.vc-chip .vc-pts {
  color: var(--gold);
  font-weight: 600;
  font-size: 0.75rem;
}

.vc-chip .vc-car {
  color: rgba(255, 255, 255, 0.45);
  transition: transform 0.2s;
}

.vc-acct.open .vc-chip .vc-car {
  transform: rotate(180deg);
}

.vc-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 0.625rem);
  width: 15.5rem;
  border-radius: 1rem;
  overflow: hidden;
  z-index: 9998;
  background: linear-gradient(
    160deg,
    rgba(58, 60, 68, 0.94) 0%,
    rgba(44, 46, 54, 0.96) 100%
  );
  backdrop-filter: blur(24px) saturate(1.1);
  -webkit-backdrop-filter: blur(24px) saturate(1.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.07) inset,
    0 1px 0 rgba(255, 255, 255, 0.1) inset,
    0 24px 60px rgba(0, 0, 0, 0.45);
  display: none;
  animation: vcAuthCardIn 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.vc-acct.open .vc-menu {
  display: block;
}

.vc-mhead {
  display: flex;
  align-items: center;
  gap: 0.6875rem;
  padding: 1rem 1rem 0.75rem;
}

.vc-mhead img {
  width: 2.625rem;
  height: 2.625rem;
  border-radius: 0.625rem;
  background: #111;
  image-rendering: pixelated;
}

.vc-mhead .vc-name {
  color: #fff;
  font-weight: 700;
  font-size: 0.9375rem;
  line-height: 1.1;
}

.vc-mhead .vc-handle {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.75rem;
}

.vc-mbadge {
  margin: 0 1rem 0.5rem;
  display: inline-block;
  padding: 0.3125rem 0.75rem;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 0.75rem;
  color: var(--gold);
  background: rgba(212, 168, 83, 0.1);
  border: 1px solid rgba(212, 168, 83, 0.28);
}

.vc-div {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin: 0.375rem 0;
}

.vc-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6875rem 1rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.875rem;
  cursor: pointer;
  text-decoration: none;
  background: none;
  border: 0;
  width: 100%;
  box-sizing: border-box;
  text-align: left;
  font-family: inherit;
  transition: background 0.15s, color 0.15s;
}

.vc-item:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.vc-item svg {
  width: 1.0625rem;
  height: 1.0625rem;
  flex: 0 0 auto;
  opacity: 0.85;
}

.vc-item.gold {
  color: var(--gold);
}

.vc-item.gold:hover {
  color: var(--gold-light);
  background: rgba(212, 168, 83, 0.08);
}

.vc-item.muted {
  color: rgba(255, 255, 255, 0.45);
}

.vc-item.soon {
  cursor: default;
  opacity: 0.5;
}

.vc-item.soon:hover {
  background: none;
  color: rgba(255, 255, 255, 0.45);
}
