@font-face {
  font-family: "Momo Trust Display";
  src: url("assets/fonts/MomoTrustDisplay-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Poppins;
  src: url("assets/fonts/Poppins_500Medium.ttf") format("truetype");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: Poppins;
  src: url("assets/fonts/Poppins_600SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: Orbitron;
  src: url("assets/fonts/Orbitron_600SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --background: #080a0f;
  --border: #161622;
  --primary: #4762fb;
  --muted: #787c8c;
}
* { box-sizing: border-box; }
body { margin: 0; background: #000; color: #fff; font-family: Poppins, sans-serif; font-weight: 500; }
h1, h2, p { margin: 0; }
img { display: block; flex-shrink: 0; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid var(--primary); outline-offset: 6px; border-radius: 2px; }
.site-header { border-bottom: 1px solid var(--border); }
.header-content { padding: 15px 20px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand-wordmark { display: block; font-family: "Momo Trust Display", sans-serif; font-weight: 400; font-style: normal; font-size: 40px; line-height: 40px; letter-spacing: 0; text-align: center; color: #fff; }
.hero .brand-wordmark { font-size: 60px; line-height: 60px; }
.hero { margin: 150px 20px 0; display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero h1 { margin-top: 0; }
.tagline { margin-top: 25px; font-size: 22px; line-height: 28px; color: var(--muted); }
.logos { display: flex; align-items: center; justify-content: center; gap: 25px; margin-top: 15px; }
.logos > span { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; }
.phone-preview { width: 335px; max-width: 100%; margin-top: 25px; }
.phone-preview img { width: 100%; height: auto; }
.cards { display: grid; grid-template-columns: minmax(0, 1fr); align-items: start; gap: 20px; max-width: 460px; margin: 20px auto 0; padding: 0 20px; }
.card { min-width: 0; background: var(--background); border: 1px solid var(--border); border-radius: 20px; padding: 25px; overflow: hidden; }
/* Short line boxes preserve spacing while allowing Poppins glyphs to paint outside. */
.card-label { font-size: 18px; line-height: 18px; font-weight: 600; color: var(--primary); overflow: visible; }
.card-title { margin-top: 20px; font-size: 22px; line-height: 26px; font-weight: 500; }
.card-content { display: flex; flex-direction: column; gap: 15px; margin-top: 25px; }
.inner-card { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; height: 50px; padding: 0 20px; background: transparent; border: 1px solid var(--border); border-radius: 10px; }
.line-box { font-size: 16px; line-height: 15px; overflow: visible; }
.sign-in { justify-content: center; }
.preview { width: 100%; height: auto; }
.full-width { margin-inline: -25px; }
.profile-preview { gap: 0; }
.profile-banner { position: relative; height: 100px; background: var(--border); }
.profile-banner > .profile-banner-image { width: 100%; height: 100%; object-fit: cover; }
.profile-avatar { position: absolute; bottom: -30px; left: 25px; width: 60px; height: 60px; border-radius: 50%; object-fit: cover; }
.profile-details { display: flex; flex-direction: column; gap: 9px; padding: 45px 25px 0; }
.profile-name, .profile-handle { font-family: Poppins, sans-serif; font-weight: 500; font-style: normal; font-size: 16px; line-height: 15px; letter-spacing: 0; }
.profile-handle { color: var(--muted); }
.trade-preview { gap: 25px; }
.card[aria-labelledby="trade-title"] { padding-bottom: 20px; }
.trade-summary { display: flex; align-items: center; gap: 10px; }
.trade-avatar { position: relative; flex: 0 0 45px; height: 45px; overflow: visible; }
.trade-avatar > img { width: 45px; height: 45px; border-radius: 50%; object-fit: cover; }
.trade-network { position: absolute; right: -3px; bottom: -3px; display: flex; align-items: center; justify-content: center; width: 21px; height: 21px; border-radius: 50%; background: #000; }
.trade-text { display: flex; flex-direction: column; gap: 9px; font-family: Poppins, sans-serif; font-weight: 500; font-style: normal; font-size: 16px; line-height: 15px; letter-spacing: 0; }
.trade-symbol { color: var(--muted); }
.trade-values { margin-left: auto; text-align: right; white-space: nowrap; }
.trade-gain { color: #19fb9b; }
.leaderboard-preview { gap: 15px; }
.leaderboard-row { display: flex; align-items: center; gap: 10px; }
.leaderboard-avatar { flex: 0 0 45px; width: 45px; height: 45px; border-radius: 50%; object-fit: cover; background: var(--border); }
.leaderboard-details { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 9px; font-family: Poppins, sans-serif; font-weight: 500; font-style: normal; font-size: 16px; line-height: 15px; letter-spacing: 0; }
.leaderboard-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; width: 100%; }
.leaderboard-value { flex-shrink: 0; color: #19fb9b; text-align: right; white-space: nowrap; }
.leaderboard-handle { color: var(--muted); }
.site-footer { display: flex; flex-direction: column; align-items: center; gap: 20px; margin-top: 25px; border-top: 1px solid var(--border); padding: 20px 0 18px; }
.footer-links { display: flex; align-items: center; gap: 25px; color: var(--muted); }
.footer-links a:hover { color: #fff; }
.copyright { display: flex; align-items: center; gap: 10px; color: #fff; }
.copyright-icon { width: 20px; height: 15px; display: flex; align-items: center; overflow: visible; }
.desktop-brand { display: none; }
.legal-page { width: 100%; margin: 0; padding: 25px 15px 15px; font-family: Inter, sans-serif; }
.legal-page h1 { margin-bottom: 25px; font-size: 28px; line-height: 1.2; font-weight: 600; }
.legal-content { font-size: 14px; line-height: 1.6; font-weight: 400; overflow-wrap: anywhere; }
.legal-content p { white-space: pre-line; }
.legal-content p + p { margin-top: 15px; }
.legal-content a { color: var(--primary); text-decoration: underline; }
@media (max-width: 1064px) {
  .tagline { margin-top: 25px; font-family: Poppins, sans-serif; font-weight: 500; font-style: normal; font-size: 22px; line-height: 22px; letter-spacing: 0; text-align: center; }
}
@media (min-width: 1065px) {
  .header-content { padding-inline: 15px; }
  .logos { margin-top: 25px; }
  .tagline { margin-top: 25px; font-family: Poppins, sans-serif; font-weight: 500; font-style: normal; font-size: 30px; line-height: 30px; letter-spacing: 0; text-align: center; }
  .hero { margin-top: 190px; }
  .cards { grid-template-columns: repeat(3, 335px); grid-template-rows: 300px 350px; align-items: stretch; column-gap: 10px; row-gap: 10px; max-width: 1065px; margin-top: 50px; }
  .card[aria-labelledby="create-title"] { grid-area: 1 / 1; }
  .card[aria-labelledby="fund-title"] { grid-area: 1 / 2; }
  .card[aria-labelledby="withdraw-title"] { grid-area: 1 / 3; }
  .card[aria-labelledby="profile-title"] { grid-area: 2 / 1; }
  .card[aria-labelledby="trade-title"] { grid-area: 2 / 2; display: flex; flex-direction: column; }
  .trade-preview { flex: 1; min-height: 0; }
  .trade-summary { flex-shrink: 0; }
  .trade-preview > .preview { flex: 1; min-height: 0; height: 0; object-fit: fill; }
  .card--leaderboard { grid-area: 2 / 3; }
  .leaderboard-preview { gap: 25px; }
  .site-footer { flex-direction: row; justify-content: space-between; margin-top: 50px; padding-inline: 20px; }
  .copyright { order: -1; }
  .mobile-brand { display: none; }
  .desktop-brand { display: inline; }
  .footer-links { flex-direction: row-reverse; gap: 20px; }
}
@media (max-width: 359px) {
  .cards { padding-inline: 12px; }
  .card-title br { display: none; }
  .copyright { gap: 6px; }
}
