/* Aurion Roleplay — dark elegant landing */

:root {
  --gold: var(--aurion-gold, #c9a227);
  --gold-muted: var(--aurion-muted-gold, #a68b2c);
  --black: var(--aurion-black, #0f0f0f);
  --charcoal: var(--aurion-charcoal, #1c1c1c);
  --ivory: var(--aurion-ivory, #f5f0e6);
  --ivory-soft: rgba(245, 240, 230, 0.72);
  --ivory-dim: rgba(245, 240, 230, 0.48);
  --border: rgba(201, 162, 39, 0.16);
  --border-soft: rgba(245, 240, 230, 0.08);
  --surface: rgba(28, 28, 28, 0.72);

  --font-display: var(--aurion-font-display, "Cinzel", "Times New Roman", serif);
  --font-body: var(--aurion-font-body, "Inter", system-ui, sans-serif);
  --max: 1120px;
  --header-h: 4.25rem;
  --radius: 16px;
  --radius-sm: 10px;
}

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

html {
  scroll-behavior: smooth;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ivory);
  background: var(--black);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
  border: 0;
  background: none;
}

img,
svg {
  display: block;
  max-width: 100%;
}

em {
  font-style: italic;
  color: var(--gold);
}

strong {
  font-weight: 600;
  color: var(--ivory);
}

.wrap {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 8px;
}

/* Atmosphere — soft cinematic gold light */

.atmosphere {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background: var(--black);
}

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  will-change: transform;
}

.glow-top {
  width: min(90vw, 720px);
  height: min(50vw, 420px);
  top: -12%;
  left: 50%;
  translate: -50% 0;
  background: rgba(201, 162, 39, 0.14);
  animation: float-a 22s ease-in-out infinite;
}

.glow-side {
  width: min(50vw, 380px);
  height: min(50vw, 380px);
  right: -8%;
  top: 42%;
  background: rgba(166, 139, 44, 0.08);
  animation: float-b 26s ease-in-out infinite;
}

.city-haze {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(201, 162, 39, 0.07), transparent 55%),
    linear-gradient(180deg, #121212 0%, var(--black) 45%, #0a0a0a 100%);
}

.vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 65% at 50% 40%, transparent 35%, rgba(0, 0, 0, 0.72) 100%);
}

@keyframes float-a {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(0, 18px, 0) scale(1.05); }
}

@keyframes float-b {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(-20px, 14px, 0); }
}

/* Header */

.header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(15, 15, 15, 0.78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-soft);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
  z-index: 2;
}

.logo-mark {
  flex-shrink: 0;
  filter: drop-shadow(0 6px 16px rgba(201, 162, 39, 0.18));
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.logo-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ivory);
}

.logo-sub {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-muted);
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.35rem 1.15rem;
}

.nav > a:not(.btn) {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ivory-soft);
  transition: color 0.15s ease;
}

.nav > a:not(.btn):hover {
  color: var(--gold);
}

.nav-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  place-items: center;
  gap: 6px;
  flex-direction: column;
  border-radius: 8px;
  border: 1px solid var(--border-soft);
  background: rgba(28, 28, 28, 0.6);
  z-index: 2;
}

.nav-toggle span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--ivory);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3.75px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3.75px) rotate(-45deg);
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 2.45rem;
  padding: 0.5rem 1.15rem;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition:
    background 0.18s ease,
    color 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    opacity 0.18s ease;
}

.btn-sm {
  min-height: 2.15rem;
  padding: 0.4rem 0.9rem;
  font-size: 0.82rem;
}

.btn-lg {
  min-height: 3rem;
  padding: 0.7rem 1.5rem;
  font-size: 0.95rem;
}

.btn-gold {
  background: var(--gold);
  color: var(--black);
  box-shadow: 0 8px 28px rgba(201, 162, 39, 0.18);
}

.btn-gold:hover {
  background: #d4ad35;
  box-shadow: 0 10px 32px rgba(201, 162, 39, 0.28);
}

.btn-outline {
  border: 1px solid var(--border);
  background: transparent;
  color: var(--ivory);
}

.btn-outline:hover {
  border-color: var(--gold-muted);
  color: var(--gold);
  background: rgba(201, 162, 39, 0.06);
}

.btn-ghost {
  color: var(--ivory-soft);
  padding-inline: 0.75rem;
}

.btn-ghost:hover {
  color: var(--gold);
}

.btn-block {
  width: 100%;
}

.btn[aria-disabled="true"],
.btn:disabled {
  opacity: 0.45;
  pointer-events: none;
  cursor: not-allowed;
  box-shadow: none;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-left: 0.25rem;
}

/* Hero */

.hero {
  position: relative;
  z-index: 1;
  padding: clamp(4.5rem, 14vh, 8rem) 0 clamp(3.5rem, 9vh, 5.5rem);
  text-align: center;
  overflow: hidden;
  min-height: min(88vh, 720px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  transform: scale(1.02);
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(15, 15, 15, 0.55) 0%, rgba(15, 15, 15, 0.72) 45%, rgba(15, 15, 15, 0.92) 100%),
    radial-gradient(ellipse 70% 60% at 50% 35%, rgba(201, 162, 39, 0.12), transparent 65%),
    linear-gradient(90deg, rgba(15, 15, 15, 0.45), transparent 30%, transparent 70%, rgba(15, 15, 15, 0.45));
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 780px;
}

.eyebrow {
  margin: 0 0 1.25rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

.hero h1 {
  margin: 0 0 1.1rem;
}

.hero-line {
  display: block;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.6rem, 9vw, 4.75rem);
  line-height: 1.08;
  letter-spacing: 0.04em;
  color: var(--ivory);
  text-shadow: 0 12px 48px rgba(0, 0, 0, 0.45);
}

.hero-lead {
  margin: 0 auto 2rem;
  max-width: 28rem;
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  font-weight: 400;
  color: var(--ivory-soft);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.hero-tagline {
  margin: 0;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-muted);
}

.hero-rule {
  position: relative;
  z-index: 1;
  width: min(100% - 2.5rem, 200px);
  height: 1px;
  margin: 3rem auto 0;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.45;
}

/* Sections */

main {
  position: relative;
  z-index: 1;
}

.section {
  padding: clamp(3.5rem, 8vw, 5.5rem) 0;
}

.section-label {
  margin: 0 0 0.65rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

.section-head {
  max-width: 560px;
  margin-bottom: clamp(2rem, 4vw, 2.75rem);
}

.section-head h2,
.about-copy h2,
.valorix-copy h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  letter-spacing: 0.03em;
  line-height: 1.2;
  color: var(--ivory);
}

.section-lead {
  margin: 0;
  color: var(--ivory-dim);
  font-size: 1.02rem;
}

.prose {
  margin: 0 0 1rem;
  color: var(--ivory-soft);
  font-size: 1.02rem;
  max-width: 38rem;
}

.prose:last-child {
  margin-bottom: 0;
}

/* About */

.about {
  border-top: 1px solid var(--border-soft);
}

.about-grid {
  display: grid;
  gap: 2rem;
  align-items: start;
}

.essence-card {
  padding: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--charcoal);
  border: 1px solid var(--border);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.essence-visual {
  margin: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-bottom: 1px solid var(--border-soft);
}

.essence-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.55s ease;
}

.essence-card:hover .essence-visual img {
  transform: scale(1.04);
}

.essence-body-wrap {
  padding: 1.5rem 1.5rem 1.6rem;
}

.essence-icon {
  color: var(--gold);
  margin-bottom: 1rem;
  opacity: 0.9;
}

.essence-kicker {
  margin: 0 0 0.4rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-muted);
}

.essence-quote {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--gold);
}

.essence-body {
  margin: 0;
  color: var(--ivory-soft);
  font-size: 0.95rem;
}

/* Quote band */

.quote-band {
  position: relative;
  z-index: 1;
  padding: clamp(3.5rem, 9vw, 5rem) 0;
  border-block: 1px solid var(--border-soft);
  overflow: hidden;
  background: var(--charcoal);
}

.quote-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.quote-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
  opacity: 0.45;
}

.quote-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(15, 15, 15, 0.55), rgba(15, 15, 15, 0.82)),
    radial-gradient(ellipse 60% 100% at 50% 50%, rgba(201, 162, 39, 0.1), transparent 70%);
}

.quote-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

.quote-band blockquote {
  margin: 0;
}

.quote-band blockquote p {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.5rem, 4vw, 2.15rem);
  letter-spacing: 0.06em;
  color: var(--ivory);
  line-height: 1.35;
}

.quote-band footer {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-muted);
}

/* Download */

.download-grid {
  display: grid;
  gap: 1rem;
  margin-bottom: 1rem;
}

.download-card,
.steps-card {
  padding: 1.6rem 1.5rem;
  border-radius: var(--radius);
  background: var(--charcoal);
  border: 1px solid var(--border-soft);
}

.download-card {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.download-card:hover {
  border-color: var(--border);
  transform: translateY(-2px);
}

.download-icon {
  color: var(--gold);
  margin-bottom: 0.65rem;
  opacity: 0.9;
}

.download-card h3,
.steps-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.25rem;
  letter-spacing: 0.06em;
}

.download-desc {
  margin: 0 0 0.75rem;
  color: var(--ivory-dim);
  font-size: 0.92rem;
}

.download-meta {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0.9rem 0 0;
  border-top: 1px solid var(--border-soft);
  display: grid;
  gap: 0.55rem;
}

.download-meta li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.9rem;
}

.download-meta span {
  color: var(--ivory-dim);
}

.download-meta strong {
  font-weight: 600;
  color: var(--ivory);
}

.download-card .btn {
  margin-top: auto;
}

.status-soon {
  color: var(--gold-muted) !important;
  font-weight: 500 !important;
}

.steps-below {
  margin-top: 0.25rem;
}

.join-steps {
  list-style: none;
  margin: 1.15rem 0 1.5rem;
  padding: 0;
  display: grid;
  gap: 1.1rem;
}

.join-steps li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.step-num {
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--gold);
  padding-top: 0.15rem;
}

.join-steps strong {
  display: block;
  margin-bottom: 0.2rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.98rem;
  letter-spacing: 0.03em;
}

.join-steps p {
  margin: 0;
  color: var(--ivory-dim);
  font-size: 0.9rem;
}

.join-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

/* Valorix bridge */

.valorix {
  border-top: 1px solid var(--border-soft);
}

.valorix-inner {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.valorix-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.5rem;
}

.valorix-badge {
  position: relative;
  width: min(100%, 260px);
  aspect-ratio: 1;
  margin-inline: auto;
  display: grid;
  place-items: center;
}

.badge-ring {
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  border: 1px solid rgba(201, 162, 39, 0.28);
  box-shadow:
    0 0 0 12px rgba(201, 162, 39, 0.04),
    inset 0 0 40px rgba(201, 162, 39, 0.06);
}

.badge-core {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  text-align: center;
}

.badge-a {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--gold);
  line-height: 1;
}

.badge-by {
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ivory-dim);
}

.badge-v {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ivory-soft);
}

/* Footer */

.footer {
  position: relative;
  z-index: 1;
  padding: 2.5rem 0 2rem;
  border-top: 1px solid var(--border-soft);
  background: #0a0a0a;
}

.footer-inner {
  display: grid;
  gap: 1.5rem;
}

.footer-tag {
  margin: 0.75rem 0 0;
  font-size: 0.85rem;
  color: var(--ivory-dim);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.25rem;
}

.footer-nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ivory-soft);
  transition: color 0.15s ease;
}

.footer-nav a:hover {
  color: var(--gold);
}

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

/* Reveal */

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    animation: rise 0.85s ease both;
  }

  .reveal-delay-1 { animation-delay: 0.08s; }
  .reveal-delay-2 { animation-delay: 0.16s; }
  .reveal-delay-3 { animation-delay: 0.24s; }
  .reveal-delay-4 { animation-delay: 0.32s; }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */

@media (min-width: 720px) {
  .download-grid {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
  }

  .about-grid {
    grid-template-columns: 1.2fr 0.85fr;
    gap: 3rem;
  }

}

@media (min-width: 960px) {
  .valorix-inner {
    grid-template-columns: 1.3fr 0.7fr;
    gap: 3rem;
  }

  .footer-inner {
    grid-template-columns: 1.4fr 1fr auto;
    align-items: end;
  }

  .footer-copy {
    text-align: right;
  }
}

@media (max-width: 820px) {
  .nav-toggle {
    display: grid;
  }

  .nav {
    position: fixed;
    inset: 0 0 auto 0;
    top: 0;
    padding: calc(var(--header-h) + 1rem) 1.25rem 1.5rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
    background: rgba(15, 15, 15, 0.96);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border-soft);
    transform: translateY(-110%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.28s ease, opacity 0.28s ease;
  }

  .nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav > a:not(.btn) {
    padding: 0.75rem 0.25rem;
    border-bottom: 1px solid var(--border-soft);
  }

  .nav .btn {
    margin-top: 0.35rem;
    width: 100%;
  }

  .nav-actions {
    margin-left: 0;
    margin-top: 0.35rem;
    width: 100%;
  }

  .nav-actions .btn {
    flex: 1;
    margin-top: 0;
  }
}

@media (max-width: 480px) {
  .wrap {
    width: min(100% - 1.5rem, var(--max));
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .glow {
    animation: none !important;
  }

  .download-card:hover {
    transform: none;
  }

  .essence-card:hover .essence-visual img {
    transform: none;
  }

  .reveal {
    animation: none !important;
  }
}
