@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600;700&family=Roboto+Condensed:wght@400;700&display=swap');

:root {
  --bg: #0a0a0a;
  --bg-panel: #111111;
  --bg-card: #161616;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.15);
  --text: #ececec;
  --text-dim: #a8a8a8;
  --text-muted: #666;
  --red: #c41e1e;
  --red-hover: #d62828;
  --red-dim: rgba(196, 30, 30, 0.15);
  --font-display: 'Oswald', Impact, sans-serif;
  --font-body: 'Roboto Condensed', Arial, sans-serif;
  --container: min(1400px, calc(100% - 48px));
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }

::selection { background: var(--red); color: #fff; }

.container { width: var(--container); margin-inline: auto; }

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 200;
  background: linear-gradient(180deg, rgba(0,0,0,0.85) 0%, transparent 100%);
}

.site-header.scrolled {
  background: rgba(10, 10, 10, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.header-inner {
  height: 72px;
  display: grid;
  grid-template-columns: 200px 1fr auto;
  align-items: center;
  gap: 24px;
}

.dialog-fields {
    width: 650px;
}

.logo-text {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #fff;
  text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
}

.nav-links a {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  transition: color 0.2s;
}

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.lang {
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--text-dim);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  border: none;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.btn-red {
  background: var(--red);
  color: #fff;
}

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

.btn-outline {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.35);
  color: #fff;
}

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

.btn-outline-light {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  padding: 10px 20px;
  font-size: 12px;
}

.btn-discord {
  background: #5865f2;
  color: #fff;
}

.btn-discord:hover {
  background: #4752c4;
  transform: translateY(-1px);
}

.btn-discord-outline {
  background: rgba(88, 101, 242, 0.12);
  border: 1px solid rgba(88, 101, 242, 0.45);
  color: #fff;
}

.btn-discord-outline:hover {
  background: rgba(88, 101, 242, 0.22);
  border-color: #5865f2;
}

.btn-icon svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  background: transparent;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
}

/* Shared brand (market/legal) */
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: #fff;
}

.brand-text {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.brand-text small {
  display: block;
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.2em;
  color: var(--text-muted);
}

  background: transparent;
  border: 1px solid rgba(255,255,255,0.35);
  color: #fff;
}

.eyebrow {
  display: block;
  margin-bottom: 12px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.section-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.1;
}

.section-lead {
  margin: 16px 0 0;
  color: var(--text-dim);
  font-size: 15px;
  line-height: 1.7;
}

/* Footer */
.site-footer {
  padding: 0;
  background: #0d0d0d;
  border-top: 1px solid var(--line);
}

.footer-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.footer-stats div {
  padding: 36px 24px;
  background: #111;
  text-align: center;
}

.footer-stats strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 700;
  color: #fff;
  line-height: 1;
}

.footer-stats span {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.footer-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 28px 0;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer-social > span {
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.social-icons {
  display: flex;
  gap: 12px;
}

.social-icons a {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  color: var(--text-dim);
  font-size: 11px;
  font-weight: 700;
  transition: border-color 0.2s, color 0.2s;
}

.social-icons a:hover {
  border-color: var(--text-dim);
  color: #fff;
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 12px;
  color: var(--text-muted);
}

.footer-legal a {
  color: var(--text-dim);
  transition: color 0.2s;
}

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

.footer-logo-end {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #fff;
}

.toast {
  position: fixed;
  z-index: 500;
  left: 50%;
  bottom: 32px;
  transform: translate(-50%, 16px);
  opacity: 0;
  padding: 12px 20px;
  background: #1a1a1a;
  border: 1px solid var(--line-strong);
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: 0.3s;
  pointer-events: none;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (max-width: 1100px) {
  .header-inner { grid-template-columns: auto 1fr auto; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    position: fixed;
    inset: 72px 16px auto;
    flex-direction: column;
    padding: 16px;
    background: rgba(10,10,10,0.98);
    border: 1px solid var(--line);
  }
  .menu-toggle { display: grid; place-items: center; }
}

@media (max-width: 768px) {
  .footer-stats { grid-template-columns: 1fr; }
  .footer-bar { flex-direction: column; align-items: flex-start; }
}
