/* Brand: Roof Blue #2C4F7C, Midnight Navy #1C2B4C, Cream #F5F7FA */
:root {
  --bg: #F5F7FA;
  --text: #1C2B4C;
  --accent: #2C4F7C;
  --card: #ffffff;
  --muted: #6b778c;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1624;
    --text: #e6ebff;
    --accent: #89a8ff;
    --card: #131b2d;
    --muted: #9aa7bd;
  }
}

* { box-sizing: border-box; }

html, body { height: 100%; }

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Inter, "Helvetica Neue", Arial, "Apple Color Emoji", "Segoe UI Emoji";
  background: radial-gradient(1200px 800px at 50% 0%, rgba(44, 79, 124, 0.10), transparent 70%), var(--bg);
  color: var(--text);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  padding: 16px 24px 24px;
  min-height: 100vh;
  cursor: none;
}

.card {
  width: min(720px, 100%);
  background: var(--card);
  border: 1px solid rgba(28, 43, 76, 0.1);
  border-radius: 20px;
  padding: clamp(18px, 3vw, 36px);
  box-shadow: 0 10px 30px rgba(12, 24, 48, 0.08);
  text-align: center;
}

.wrap {
  width: 100%;
  display: grid;
  place-items: center;
  padding-top: 8px;
  padding-left: 24px;
  padding-right: 24px;
  padding-bottom: 24px;
}

.stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: 0;
}

.logo {
  height: 240px;
  width: auto;
  display: block;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.25));
  image-rendering: -webkit-optimize-contrast;
  max-width: 90vw;
  margin-top: 0;
}

.logo-wrap { position: relative; display: inline-block; }
.logo-wrap canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 2; }

.custom-cursor {
  position: fixed;
  pointer-events: none;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  background: transparent;
  border: 2px solid #E59B2A;
  transform: translate(-50%, -50%);
  transition: background-color 0.2s ease;
  z-index: 9999;
}

@media (max-width:480px) {
  .logo-float { height: 110px; }
}

h1 {
  margin: 6px 0 10px;
  font-size: clamp(28px, 4.2vw, 44px);
  letter-spacing: 0.3px;
}

p.sub {
  margin: 0 auto 22px;
  max-width: 48ch;
  color: var(--muted);
  line-height: 1.5;
  font-size: clamp(14px, 2.2vw, 16px);
}

.buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  appearance: none;
  border: 0;
  cursor: pointer;
  padding: 12px 18px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: transform .08s ease, box-shadow .2s ease, background-color .2s ease;
}

.btn.primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 6px 16px rgba(44, 79, 124, .25);
}

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

.btn.ghost {
  background: transparent;
  color: var(--accent);
  border: 1px solid rgba(44, 79, 124, .35);
}

footer {
  margin-top: 22px;
  font-size: 13px;
  color: var(--muted);
}

.tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(44, 79, 124, .08);
  border: 1px solid rgba(44, 79, 124, .18);
  padding: 6px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.icon-discord {
  width: 18px;
  height: 18px;
  margin-right: 6px;
  vertical-align: middle;
  fill: currentColor;
}
