/* Byronic Universal — near-black UI, glass accents */

:root {
  --bg-deep: #000000;
  --bg-elevated: #050508;
  --bg-card: rgba(8, 9, 14, 0.88);
  --border: rgba(255, 255, 255, 0.06);
  --text: #e6e8ef;
  --muted: #7a8194;
  --accent: #5865f2;
  --accent-hover: #4752c4;
  --accent-glow: rgba(88, 101, 242, 0.35);
  --cyan: #00d4aa;
  --radius: 14px;
  --font: "Outfit", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  color: var(--text);
  background: #000000;
  line-height: 1.55;
  overflow-x: hidden;
}

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

.container {
  width: min(1120px, 92vw);
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 0.75rem 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.header-legal {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  padding: 0.5rem 1.25rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.header-legal a {
  transition: color 0.15s ease;
}

.header-legal a:hover {
  color: var(--accent);
}

.legal-sep {
  color: rgba(255, 255, 255, 0.3);
  font-weight: 400;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
}

.brand-logo {
  display: block;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: cover;
}

.brand-text {
  display: inline-flex;
  align-items: baseline;
  gap: 0;
}

.brand-mark {
  color: var(--text);
}

.brand-rest {
  color: var(--muted);
  font-weight: 600;
}

.header-right {
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 2vw, 1.5rem);
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: flex-end;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.1rem;
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 10px;
  border: 1px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn-discord {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 0 0 0 var(--accent-glow);
}

.btn-discord:hover {
  background: var(--accent-hover);
  box-shadow: 0 0 20px var(--accent-glow);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--border);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
}

.btn-outline {
  background: transparent;
  border-color: rgba(88, 101, 242, 0.35);
  color: var(--text);
}

.btn-outline:hover {
  border-color: var(--accent);
  background: rgba(88, 101, 242, 0.1);
}

.btn-trust {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 1.25rem;
  padding: 0.65rem 1.25rem;
  max-width: 100%;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--text);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
  transition: transform 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.btn-trust:hover {
  border-color: rgba(88, 101, 242, 0.45);
  background: linear-gradient(180deg, rgba(88, 101, 242, 0.15), rgba(0, 0, 0, 0.2));
}

.btn-lg {
  padding: 0.85rem 1.5rem;
  font-size: 0.9rem;
}

/* Hero */
.hero {
  position: relative;
  z-index: 1;
  padding: clamp(3rem, 10vw, 8rem) 0 clamp(4rem, 12vw, 9rem);
  overflow: hidden;
  background: #000;
}

.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  min-height: 60vh;
}

.hero-copy {
  max-width: 600px;
}

.hero-visual {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 400px;
  border-radius: 20px;
  overflow: hidden;
}

.hero-visual-bg {
  position: absolute;
  inset: 0;
  background: url('assets/stadium.png') center center / cover no-repeat;
  filter: brightness(0.7) contrast(1.1);
}

@media (max-width: 900px) {
  .hero-split {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .hero-visual {
    order: -1;
  }
  
  .hero-side-image {
    max-width: 400px;
  }
}

.hero-title {
  margin: 0 0 0.75rem;
  font-size: clamp(2.25rem, 5.5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.hero-title-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.hero-title-logo {
  display: block;
  width: clamp(40px, 8vw, 52px);
  height: clamp(40px, 8vw, 52px);
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
}

.hero-desc {
  margin: 0 0 1.75rem;
  max-width: 52ch;
  font-size: 1.05rem;
  color: #9aa1b0;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.btn-legal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.1rem;
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: transparent;
  color: var(--text);
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.btn-legal:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.05);
}

/* Features */
.features {
  position: relative;
  z-index: 1;
  padding: 0 0 4rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

@media (max-width: 768px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }
}

.feature-card {
  padding: 1.5rem 1.35rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(10px);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.feature-card:hover {
  border-color: rgba(88, 101, 242, 0.28);
  transform: translateY(-3px);
}

.feature-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.feature-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
}

/* Bottom CTA */
.cta-band {
  position: relative;
  z-index: 1;
  margin: 0 0 3rem;
  padding: clamp(2.5rem, 5vw, 4rem) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: #000000;
}

.cta-inner {
  text-align: center;
  max-width: 640px;
}

.cta-inner h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.cta-inner p {
  margin: 0 0 1.5rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.btn-block-mobile {
  min-width: 220px;
}

@media (max-width: 480px) {
  .btn-block-mobile {
    width: 100%;
  }

  .nav-actions .btn {
    font-size: 0.75rem;
    padding: 0.5rem 0.75rem;
  }
}

/* Footer */
.site-footer {
  position: relative;
  z-index: 1;
  padding: 1.5rem 0 2.5rem;
  border-top: 1px solid var(--border);
  background: #000000;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--muted);
}

/* Footer — centered, bold legal links */
.footer-inner--centered {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 1.35rem;
}

.footer-links--prominent {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.65rem 1rem;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.footer-links--prominent a {
  color: #f2f3f5;
  text-decoration: none;
}

.footer-links--prominent a:hover {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer-links__sep {
  user-select: none;
  color: rgba(255, 255, 255, 0.35);
  font-weight: 600;
  font-size: 1rem;
  padding: 0 0.1rem;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  color: var(--text);
}

.footer-logo {
  display: block;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  object-fit: cover;
}

.footer-brand .brand-rest {
  color: var(--muted);
  font-weight: 600;
}

.footer-links:not(.footer-links--prominent) {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.footer-links:not(.footer-links--prominent) a:hover {
  color: var(--text);
}

/* Legal pages */
.legal-page {
  position: relative;
  z-index: 1;
  padding: clamp(2rem, 5vw, 3.5rem) 0 4rem;
}

.legal-page h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.legal-meta {
  margin: 0 0 2rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.legal-prose {
  max-width: 720px;
}

.legal-prose h2 {
  margin: 2rem 0 0.75rem;
  font-size: 1.15rem;
  font-weight: 700;
}

.legal-prose p,
.legal-prose li {
  margin: 0 0 1rem;
  color: #9aa1b0;
  font-size: 1rem;
}

.legal-prose ul {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

.legal-prose a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-prose a:hover {
  color: #7c89f5;
}

.back-link {
  display: inline-block;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
}

.back-link:hover {
  color: var(--text);
}

/* Motion — respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn:hover,
  .feature-card:hover {
    transform: none;
  }
}
