:root { color-scheme: dark; --bg: #080912; --text: #f5f4ff; --muted: #aaaac1; }
* { box-sizing: border-box; }
html { min-height: 100%; background: var(--bg); }
body {
  min-width: 300px;
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  overflow-x: clip;
  color: var(--text);
  background: var(--bg);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  cursor: crosshair;
}
.market-background {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 55% at 48% 25%, rgba(49, 38, 119, .22), transparent 90%),
    radial-gradient(ellipse 74% 85% at 60% 95%, rgba(28, 19, 102, .2), transparent 85%),
    #080912;
}
.market-background::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(8, 9, 18, .22) 0%, rgba(8, 9, 18, .08) 42%, transparent 68%),
    radial-gradient(ellipse 72% 55% at 50% 20%, rgba(8, 9, 18, .48), transparent 100%);
}
#chart { display: block; width: 100%; height: 100%; }
.flash { position: fixed; inset: 0; pointer-events: none; z-index: 8; opacity: 0; }
.flash.win { background: radial-gradient(ellipse at 50% 55%, rgba(39, 249, 143, .20), rgba(39, 249, 143, .10) 60%, transparent 96%); animation: result-flash .64s ease-out both; }
.flash.loss { background: radial-gradient(ellipse at 50% 55%, rgba(250, 48, 93, .19), rgba(250, 48, 93, .1) 60%, transparent 96%); animation: result-flash .64s ease-out both; }
@keyframes result-flash { 0% { opacity: 0; } 12% { opacity: 1; } 100% { opacity: 0; } }
.site-layer { position: relative; z-index: 2; min-height: 100vh; min-height: 100svh; }
.site-header { max-width: 1600px; margin: 0 auto; padding: clamp(22px, 3.1vw, 42px) clamp(21px, 5vw, 76px) 0; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: #fff; white-space: nowrap; }
.brand-symbol { height: 39px; width: 39px; flex: none; background: transparent; }
.brand-name { font-size: 26px; font-weight: 750; letter-spacing: -.055em; line-height: 1; }
.hero { text-align: center; max-width: 1220px; margin: 0 auto; padding: clamp(76px, 11vh, 150px) 22px 15vh; }
h1 { margin: 0; font-weight: 790; font-size: clamp(45px, 6.25vw, 94px); letter-spacing: -.069em; line-height: 1.07; text-shadow: 0 3px 40px rgba(8, 9, 18, .7); }
h1 span { color: #aaa5ff; }
.hero p { max-width: 620px; margin: 19px auto 0; color: var(--muted); font-size: clamp(14px, 1.34vw, 17px); line-height: 1.65; font-weight: 400; text-wrap: balance; text-shadow: 0 2px 18px #080912; }
.socials { display: flex; justify-content: center; gap: 16px; padding-top: clamp(26px, 3.8vw, 43px); }
.social-link {
  position: relative;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 17px;
  min-width: 235px;
  min-height: 63px;
  padding: 0 25px;
  border-radius: 13px;
  text-decoration: none;
  font-size: 16px;
  font-weight: 730;
  letter-spacing: -.025em;
  cursor: pointer;
  transition: transform .17s ease, box-shadow .17s ease, background .17s ease;
}
.social-link > svg:first-child { width: 22px; height: 22px; flex: none; }
.social-link .arrow { width: 20px; height: 20px; margin-left: auto; flex: none; }
.social-link:hover { transform: translateY(-3px); }
.social-link:focus-visible { outline: 2px solid #b9b2ff; outline-offset: 4px; }
.social-x { color: #13121b; background: linear-gradient(145deg, #fff, #e9e9ff); box-shadow: 0 8px 32px rgba(207, 203, 255, .1); }
.social-x:hover { box-shadow: 0 10px 35px rgba(227, 224, 255, .24); }
.social-discord { color: #fff; background: linear-gradient(125deg, #4c39f0, #3525ad); border: 1px solid rgba(168, 149, 255, .42); box-shadow: 0 8px 34px rgba(82, 52, 231, .2); }
.social-discord:hover { background: linear-gradient(125deg, #6250ff, #4630d4); box-shadow: 0 12px 38px rgba(82, 52, 231, .34); }
@media (max-width: 710px) {
  .brand-symbol { width: 31px; height: 31px; }
  .brand-name { font-size: 22px; }
  .hero { padding: clamp(66px, 11vh, 115px) 17px 15vh; }
  h1 { font-size: clamp(40px, 8.35vw, 63px); }
  .hero p { font-size: 14px; max-width: 440px; }
  .socials { gap: 10px; padding-top: 26px; }
  .social-link { min-width: 0; flex: 1 1 0; min-height: 58px; padding: 0 12px; gap: 10px; font-size: 13px; }
  .social-link > svg:first-child { width: 19px; height: 19px; }
  .social-link .arrow { width: 16px; height: 16px; }
}
@media (max-width: 390px) {
  .social-link { font-size: 12px; gap: 7px; padding: 0 9px; }
  .social-link .arrow { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; }
}
