:root {
  --bg: #070a12;
  --bg-panel: #10151f;
  --amber: #ffb02e;
  --amber-deep: #ff8a1f;
  --cyan: #3ec5ff;
  --cyan-deep: #1a8fd1;
  --violet: #8b5cf6;
  --text: #f4f1ea;
  --text-mute: #97a0b3;
  --discord: #5865f2;
  --discord-hover: #6f78ff;
  --line: rgba(255, 255, 255, 0.08);

  --font-display: "Rajdhani", sans-serif;
  --font-body: "Manrope", sans-serif;
  --font-mono: "JetBrains Mono", monospace;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  color-scheme: dark;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

a {
  color: inherit;
}

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

/* ---------- background ---------- */

.bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background: var(--bg);
}

.bg__blob {
  position: absolute;
  width: 62vw;
  height: 62vw;
  max-width: 780px;
  max-height: 780px;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.55;
  mix-blend-mode: screen;
  will-change: transform;
}

.bg__blob--amber {
  top: -14%;
  left: -12%;
  background: radial-gradient(circle, var(--amber) 0%, transparent 70%);
  animation: drift-a 26s ease-in-out infinite alternate;
}

.bg__blob--cyan {
  bottom: -18%;
  right: -10%;
  background: radial-gradient(circle, var(--cyan) 0%, transparent 70%);
  animation: drift-b 32s ease-in-out infinite alternate;
}

.bg__blob--violet {
  top: 32%;
  left: 50%;
  transform: translateX(-50%);
  width: 50vw;
  height: 50vw;
  max-width: 620px;
  max-height: 620px;
  opacity: 0.35;
  background: radial-gradient(circle, var(--violet) 0%, transparent 70%);
  animation: drift-c 22s ease-in-out infinite alternate;
}

@keyframes drift-a {
  from { transform: translate(0, 0); }
  to   { transform: translate(6vw, 8vh); }
}

@keyframes drift-b {
  from { transform: translate(0, 0); }
  to   { transform: translate(-7vw, -6vh); }
}

@keyframes drift-c {
  from { transform: translate(-50%, 0); }
  to   { transform: translate(-46%, 6vh); }
}

.bg__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 42px 42px;
  opacity: 0.35;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black 0%, transparent 75%);
}

.bg__vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 90% 70% at 50% 40%, transparent 40%, var(--bg) 95%);
}

/* ---------- topbar ---------- */

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px clamp(20px, 5vw, 48px);
}

.topbar__brand {
  display: flex;
  align-items: center;
  padding: 5px;
  margin: -5px;
}

.topbar__brand img {
  width: 34px;
  height: 34px;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.topbar__brand:hover img,
.topbar__brand:focus-visible img {
  transform: scale(1.08);
  filter: drop-shadow(0 0 6px rgba(62, 197, 255, 0.5));
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.topbar__discord {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: -3px;
  color: var(--text-mute);
  transition: color 0.2s ease;
}

.topbar__discord svg {
  width: 20px;
  height: 20px;
}

.topbar__discord:hover,
.topbar__discord:focus-visible {
  color: var(--cyan);
}

/* ---------- hero ---------- */

.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: clamp(10px, 3vh, 28px) clamp(20px, 6vw, 48px) clamp(24px, 5vh, 44px);
  gap: clamp(10px, 1.8vh, 18px);
  max-width: 720px;
  margin: 0 auto;
}

.hero__logo--gb,
.hero__logo--mta {
  width: min(380px, 68vw);
  height: auto;
}

@media (max-height: 720px) {
  .hero {
    gap: clamp(8px, 1.2vh, 12px);
    padding-top: 8px;
    padding-bottom: 20px;
  }

  .hero__logo--gb,
  .hero__logo--mta {
    width: min(280px, 56vw);
  }
}

/* signature status plate */

.status-plate {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 9px 22px 9px 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(62, 197, 255, 0.35);
  border-radius: 4px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.status-plate::before {
  content: "";
  position: absolute;
  top: 0;
  left: -40%;
  width: 30%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
  animation: scan 4.5s ease-in-out infinite;
  z-index: -1;
}

@keyframes scan {
  0%   { left: -40%; }
  55%  { left: 110%; }
  100% { left: 110%; }
}

.status-plate__radar {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 12px;
  height: 12px;
  flex-shrink: 0;
}

.status-plate__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px 1px var(--cyan);
}

.status-plate__radar::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid var(--cyan);
  animation: ping 2.2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes ping {
  0%   { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(2.8); opacity: 0; }
}

.status-plate__label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text);
}

.hero__copy {
  font-size: clamp(0.95rem, 2vw, 1.05rem);
  line-height: 1.65;
  color: var(--text-mute);
  max-width: 54ch;
}

/* ---------- cta ---------- */

.cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-top: 4px;
}

.cta__button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 17px 34px;
  background: linear-gradient(135deg, var(--discord), #4752c4);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 1.02rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08) inset, 0 12px 30px -10px rgba(88, 101, 242, 0.65);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.cta__button svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.cta__button:hover,
.cta__button:focus-visible {
  transform: translateY(-2px);
  background: linear-gradient(135deg, var(--discord-hover), #5865f2);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12) inset, 0 16px 36px -8px rgba(62, 197, 255, 0.45), 0 0 0 3px rgba(255, 176, 46, 0.15);
}

.cta__sub {
  font-size: 0.82rem;
  color: var(--text-mute);
  letter-spacing: 0.01em;
}

/* ---------- footer ---------- */

.footer {
  text-align: center;
  padding: 0 20px clamp(24px, 5vh, 40px);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-mute);
  line-height: 1.8;
}

.footer__legal {
  opacity: 0.6;
}

/* ---------- focus ---------- */

a:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

/* ---------- reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  .bg__blob,
  .status-plate::before,
  .status-plate__radar::after {
    animation: none;
  }
}

/* ---------- small screens ---------- */

@media (max-width: 380px) {
  .cta__button {
    width: 100%;
    justify-content: center;
    padding: 16px 20px;
  }
}
