/* Goliaths Arena — DA de l'app (packages/ui/tokens) */
:root {
  --bg: #0A0B12;
  --surface: #11143A;
  --muted: #1C1F3D;
  --blue: #2B64F5;
  --blue-pale: #507DF0;
  --blue-dark: #11143A;
  --fg1: #FFFFFF;
  --fg2: #C7CDE0;
  --fg4: #6B7194;
  --green: #15C75A;
  --red: #EB5757;
  --gold: #E8C46B;
  --border: rgba(255, 255, 255, 0.12);
  --border-subtle: rgba(255, 255, 255, 0.06);
}

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

body {
  background: var(--bg);
  color: var(--fg1);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--blue-pale); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: 1060px; margin: 0 auto; padding: 0 24px; }

/* ---------- header ---------- */
header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(10, 11, 18, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: 1060px;
  margin: 0 auto;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 17px; color: var(--fg1); }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.nav a.cta {
  background: var(--blue);
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  padding: 9px 18px;
  border-radius: 999px;
  box-shadow: 0 4px 0 #1a41a8;
}
.nav a.cta:hover { text-decoration: none; transform: translateY(1px); box-shadow: 0 3px 0 #1a41a8; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 84px 0 60px;
  text-align: center;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -40% -20% auto;
  height: 130%;
  background:
    radial-gradient(600px 400px at 30% 20%, rgba(43, 100, 245, 0.22), transparent 70%),
    radial-gradient(500px 380px at 75% 10%, rgba(162, 112, 255, 0.12), transparent 70%);
  pointer-events: none;
}
.hero h1 {
  position: relative;
  font-size: clamp(34px, 6vw, 58px);
  font-weight: 900;
  letter-spacing: -1px;
  line-height: 1.12;
}
.hero h1 span { color: var(--blue-pale); }
.hero p.tag {
  position: relative;
  color: var(--fg2);
  font-size: clamp(16px, 2.4vw, 19px);
  max-width: 620px;
  margin: 18px auto 0;
}
.hero .actions { position: relative; margin-top: 30px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-block;
  font-weight: 800;
  border-radius: 14px;
  padding: 14px 28px;
  font-size: 16px;
}
.btn.primary { background: var(--blue); color: #fff; box-shadow: 0 5px 0 #1a41a8; }
.btn.primary:hover { text-decoration: none; transform: translateY(2px); box-shadow: 0 3px 0 #1a41a8; }
.btn.ghost { background: var(--muted); color: var(--fg2); border: 1px solid var(--border); }
.btn.ghost:hover { text-decoration: none; color: var(--fg1); }
.hero .note { position: relative; color: var(--fg4); font-size: 12px; margin-top: 14px; }

/* pièces flottantes */
.coins { position: relative; height: 0; }
.coin {
  position: absolute;
  width: 74px;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.45));
  animation: floaty 5s ease-in-out infinite;
}
.coin.c1 { left: 6%; top: -320px; animation-delay: 0s; }
.coin.c2 { right: 7%; top: -360px; width: 88px; animation-delay: 1.2s; }
.coin.c3 { left: 14%; top: -80px; width: 60px; animation-delay: 2.1s; }
.coin.c4 { right: 15%; top: -100px; width: 64px; animation-delay: 0.7s; }
@keyframes floaty {
  0%, 100% { transform: translateY(0) rotate(-3deg); }
  50% { transform: translateY(-16px) rotate(3deg); }
}
@media (max-width: 720px) { .coin { display: none; } }

/* ---------- phone mockup ---------- */
.phone {
  position: relative;
  width: 300px;
  margin: 48px auto 0;
  background: #0d0f1c;
  border: 2px solid var(--muted);
  border-radius: 38px;
  padding: 16px 12px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}
.phone .hud { display: flex; justify-content: space-between; color: var(--fg2); font-size: 12px; padding: 4px 6px 10px; }
.phone .hud b { color: var(--fg1); }
.phone .hud .lev { color: var(--gold); font-weight: 800; }
.phone svg { display: block; width: 100%; border: 1px solid var(--border-subtle); border-radius: 12px; background: var(--bg); }
.phone .trade { display: flex; gap: 8px; margin-top: 10px; }
.phone .trade span {
  flex: 1;
  text-align: center;
  font-weight: 900;
  font-size: 13px;
  color: #fff;
  padding: 11px 0;
  border-radius: 12px;
}
.phone .long { background: var(--green); box-shadow: 0 4px 0 #0d8a3e; }
.phone .short { background: var(--red); box-shadow: 0 4px 0 #a83c3c; }

/* ---------- sections ---------- */
section { padding: 70px 0; }
section.alt { background: linear-gradient(180deg, transparent, rgba(17, 20, 58, 0.35), transparent); }
h2 { font-size: clamp(24px, 4vw, 34px); font-weight: 900; text-align: center; letter-spacing: -0.5px; }
.sub { color: var(--fg2); text-align: center; max-width: 640px; margin: 12px auto 0; }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin-top: 44px; }
.card {
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  padding: 26px 22px;
}
.card .ico { font-size: 26px; }
.card h3 { font-size: 17px; margin: 12px 0 6px; }
.card p { color: var(--fg2); font-size: 14px; }

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-top: 44px; counter-reset: step; }
.step { position: relative; background: var(--muted); border-radius: 18px; padding: 30px 22px 24px; border: 1px solid var(--border-subtle); }
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: -14px;
  left: 20px;
  width: 30px;
  height: 30px;
  border-radius: 15px;
  background: var(--blue);
  color: #fff;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}
.step h3 { font-size: 16px; }
.step p { color: var(--fg2); font-size: 14px; margin-top: 6px; }

/* ---------- footer ---------- */
footer { border-top: 1px solid var(--border-subtle); padding: 36px 0 46px; }
footer .cols { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
footer .muted { color: var(--fg4); font-size: 13px; }
footer nav { display: flex; gap: 18px; font-size: 13px; }
.disclaimer {
  margin-top: 22px;
  color: var(--fg4);
  font-size: 11.5px;
  line-height: 1.6;
  max-width: 860px;
}

/* ---------- page légale ---------- */
.legal { max-width: 760px; margin: 0 auto; padding: 60px 24px 80px; }
.legal h1 { font-size: 32px; font-weight: 900; letter-spacing: -0.5px; }
.legal .updated { color: var(--fg4); font-size: 13px; margin-top: 6px; }
.legal h2 { font-size: 20px; text-align: left; margin: 38px 0 10px; }
.legal p, .legal li { color: var(--fg2); font-size: 15px; }
.legal ul { padding-left: 22px; margin-top: 8px; }
.legal li { margin-bottom: 6px; }
.legal table { width: 100%; border-collapse: collapse; margin-top: 14px; font-size: 14px; }
.legal th, .legal td { text-align: left; padding: 10px 12px; border: 1px solid var(--border-subtle); color: var(--fg2); }
.legal th { background: var(--surface); color: var(--fg1); }
