:root {
  --bg: #050816;
  --bg-deep: #030611;
  --surface: rgba(12, 20, 42, 0.78);
  --surface-strong: #0b142b;
  --surface-soft: rgba(14, 26, 53, 0.58);
  --stroke: rgba(133, 165, 222, 0.14);
  --stroke-bright: rgba(58, 124, 255, 0.28);
  --text: #f6f8ff;
  --muted: #94a2bd;
  --muted-2: #6e7a93;
  --primary: #3478ff;
  --primary-light: #59b9ff;
  --purple: #8a3ffc;
  --green: #20d690;
  --red: #ff5c73;
  --amber: #f7ba35;
  --radius: 22px;
  --radius-sm: 15px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.32);
  --font: Tahoma, "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    radial-gradient(circle at 58% 14%, rgba(34, 64, 172, 0.11), transparent 30%),
    linear-gradient(180deg, #040817 0%, var(--bg) 48%, #030612 100%);
  font-family: var(--font);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(91, 130, 202, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(91, 130, 202, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, black, transparent 68%);
}

button,
select,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

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

h1,
h2,
h3,
p {
  margin-top: 0;
}

.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;
}

.skip-link {
  position: fixed;
  inset-block-start: 12px;
  inset-inline-start: 12px;
  z-index: 200;
  padding: 9px 14px;
  color: #081020;
  background: white;
  border-radius: 8px;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.page-glow {
  position: fixed;
  z-index: -2;
  width: 480px;
  aspect-ratio: 1;
  border-radius: 50%;
  filter: blur(130px);
  opacity: 0.07;
  pointer-events: none;
}

.page-glow--one {
  inset-block-start: 14%;
  inset-inline-start: -240px;
  background: #1677ff;
}

.page-glow--two {
  inset-block-start: 56%;
  inset-inline-end: -260px;
  background: #7a2dff;
}

.site-header {
  position: sticky;
  inset-block-start: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(131, 158, 215, 0.1);
  background: rgba(4, 8, 23, 0.72);
  backdrop-filter: blur(18px) saturate(145%);
}

.nav-wrap {
  position: relative;
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  direction: ltr;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.brand > span:last-child > span {
  color: #a565ff;
}

.brand-mark {
  position: relative;
  display: inline-flex;
  width: 31px;
  height: 31px;
  transform: rotate(-7deg);
}

.brand-mark i {
  position: absolute;
  display: block;
  border-radius: 5px 5px 8px 5px;
  transform: skewX(-18deg);
  box-shadow: 0 0 14px currentColor;
}

.brand-mark i:nth-child(1) {
  inset: 5px 15px 6px 3px;
  color: #873aff;
  background: currentColor;
}

.brand-mark i:nth-child(2) {
  inset: 2px 7px 9px 11px;
  color: #376fff;
  background: currentColor;
}

.brand-mark i:nth-child(3) {
  inset: 0 0 15px 19px;
  color: #27c2ff;
  background: currentColor;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(22px, 3vw, 42px);
  margin-inline: auto;
}

.nav-links a {
  position: relative;
  color: #afb9ce;
  font-size: 13px;
  font-weight: 600;
  transition: color 0.2s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  inset-block-end: -10px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--primary), var(--purple));
  transform: scaleX(0);
  transition: transform 0.2s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: white;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  transform: scaleX(1);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 9px;
}

.mobile-auth,
.nav-dashboard,
.hero-mobile-tools,
.language-picker--mobile {
  display: none;
}

.auth-checking .auth-guest {
  visibility: hidden;
}

.is-authenticated .auth-guest {
  display: none !important;
}

.is-authenticated .nav-dashboard {
  display: inline-flex;
}

.language-picker {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding-inline: 9px 4px;
  border: 1px solid var(--stroke);
  border-radius: 10px;
  background: rgba(11, 18, 39, 0.8);
  color: #aebad0;
}

.language-globe {
  width: 20px;
  height: 20px;
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
  font-size: 16px;
  line-height: 1;
}

.language-picker select {
  width: 76px;
  padding: 7px 3px;
  color: #dce4f3;
  background: transparent;
  border: 0;
  outline: 0;
  cursor: pointer;
}

.language-picker option {
  color: #f1f5ff;
  background: #0a1124;
}

.btn {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 9px 21px;
  border: 1px solid transparent;
  border-radius: 11px;
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.nav-actions .mobile-auth {
  display: none;
}

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

.btn:focus-visible,
.menu-toggle:focus-visible,
.language-picker:focus-within {
  outline: 2px solid #64a4ff;
  outline-offset: 2px;
}

.btn--primary {
  border-color: rgba(255, 255, 255, 0.12);
  background: linear-gradient(110deg, #1589ff 0%, #4466fb 45%, #9839ee 100%);
  box-shadow: 0 10px 30px rgba(70, 95, 255, 0.28), inset 0 1px rgba(255, 255, 255, 0.22);
}

.btn--primary:hover {
  box-shadow: 0 14px 38px rgba(70, 95, 255, 0.38), inset 0 1px rgba(255, 255, 255, 0.25);
}

.btn--ghost {
  border-color: rgba(80, 125, 220, 0.35);
  background: rgba(7, 13, 31, 0.55);
}

.btn--ghost:hover {
  border-color: rgba(91, 150, 255, 0.7);
  background: rgba(21, 39, 78, 0.58);
}

.btn--large {
  min-height: 52px;
  padding-inline: 27px;
  border-radius: 13px;
  font-size: 14px;
}

.menu-toggle {
  position: relative;
  width: 42px;
  height: 42px;
  display: none;
  place-items: center;
  padding: 10px;
  border: 1px solid var(--stroke);
  border-radius: 10px;
  color: white;
  background: rgba(9, 16, 35, 0.85);
  cursor: pointer;
}

.menu-toggle span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 2px;
  display: block;
  border-radius: 2px;
  background: currentColor;
  transform: translate(-50%, -50%);
  transform-origin: center;
  transition: top 0.2s ease, transform 0.2s ease, opacity 0.16s ease;
}

.menu-toggle span:nth-child(1) { top: calc(50% - 6px); }
.menu-toggle span:nth-child(3) { top: calc(50% + 6px); }
.menu-toggle.is-open span:nth-child(1) { top: 50%; transform: translate(-50%, -50%) rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { opacity: 0; transform: translate(-50%, -50%) scaleX(0.2); }
.menu-toggle.is-open span:nth-child(3) { top: 50%; transform: translate(-50%, -50%) rotate(-45deg); }

.auth-user-icon {
  position: relative;
  width: 20px;
  height: 20px;
  display: block;
  flex: 0 0 auto;
  align-self: center;
}

.auth-user-icon::before {
  content: "";
  position: absolute;
  top: 1px;
  left: 50%;
  width: 7px;
  height: 7px;
  box-sizing: border-box;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  transform: translateX(-50%);
}

.auth-user-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 1px;
  width: 15px;
  height: 8px;
  box-sizing: border-box;
  border: 1.5px solid currentColor;
  border-bottom: 0;
  border-radius: 9px 9px 0 0;
  transform: translateX(-50%);
}

.hero {
  position: relative;
  min-height: 655px;
  display: grid;
  align-items: center;
  padding-block: 62px 74px;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  inset-block-end: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(62, 110, 206, 0.34), transparent);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(460px, 1.1fr);
  align-items: center;
  gap: 22px;
}

.hero-copy {
  position: relative;
  z-index: 3;
  max-width: 560px;
}

.eyebrow,
.section-kicker {
  color: #79a7ff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.09em;
}

.eyebrow {
  width: fit-content;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-block-end: 20px;
  padding: 6px 12px;
  border: 1px solid rgba(74, 138, 255, 0.22);
  border-radius: 999px;
  background: rgba(17, 40, 83, 0.44);
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(32, 214, 144, 0.1), 0 0 12px var(--green);
}

.hero h1 {
  margin-block-end: 20px;
  font-size: clamp(37px, 4.25vw, 63px);
  font-weight: 900;
  line-height: 1.28;
  letter-spacing: -2px;
  text-wrap: balance;
}

.hero h1 span {
  background: linear-gradient(92deg, #a843ff 0%, #516cff 46%, #48caff 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-copy > p {
  max-width: 520px;
  margin-block-end: 28px;
  color: #a7b2c9;
  font-size: 15px;
  line-height: 2;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 21px;
}

.hero-actions .arrow,
.demo-copy .btn span:last-child {
  transition: transform 0.2s ease;
}

.hero-actions .btn:hover .arrow,
.demo-copy .btn:hover span:last-child {
  transform: translateX(-4px);
}

[dir="ltr"] .hero-actions .btn:hover .arrow,
[dir="ltr"] .demo-copy .btn:hover span:last-child {
  transform: translateX(4px);
}

.text-link {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 9px 18px;
  border: 1px solid rgba(80, 125, 220, 0.35);
  border-radius: 11px;
  color: #b8c5da;
  background: rgba(7, 13, 31, 0.55);
  font-size: 13px;
  font-weight: 700;
  transition: transform 0.2s ease, color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.text-link:hover {
  color: white;
  border-color: rgba(91, 150, 255, 0.7);
  background: rgba(21, 39, 78, 0.58);
  transform: translateY(-2px);
}

.text-link:focus-visible {
  outline: 2px solid #64a4ff;
  outline-offset: 2px;
}

.hero-visual {
  position: relative;
  height: 535px;
  margin-inline-end: -45px;
  isolation: isolate;
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 12% 2% 5%;
  z-index: -2;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(32, 106, 255, 0.19), transparent 68%);
  filter: blur(20px);
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 66% 50%;
  border-radius: 35px;
  opacity: 0.98;
  mix-blend-mode: screen;
  mask-image: radial-gradient(ellipse 74% 69% at 61% 52%, black 45%, rgba(0, 0, 0, 0.92) 67%, transparent 93%);
}

.hero-orbit {
  position: absolute;
  z-index: 1;
  inset-inline-end: 7%;
  inset-block-end: 17%;
  width: 63%;
  aspect-ratio: 2.5;
  border: 1px solid rgba(66, 173, 255, 0.24);
  border-radius: 50%;
  transform: rotate(-4deg);
  box-shadow: 0 0 30px rgba(51, 87, 255, 0.16), inset 0 0 26px rgba(94, 46, 255, 0.08);
  animation: orbitPulse 4s ease-in-out infinite;
}

.hero-orbit--two {
  inset-inline-end: 14%;
  inset-block-end: 21%;
  width: 47%;
  border-color: rgba(150, 57, 255, 0.28);
  animation-delay: -2s;
}

@keyframes orbitPulse {
  50% { opacity: 0.42; transform: rotate(-4deg) scale(1.04); }
}

.section-space {
  padding-block: 82px;
}

.section-shell {
  position: relative;
  z-index: 5;
  margin-block-start: -26px;
  padding-block: 0 28px;
}

.section-heading {
  margin-block-end: 29px;
}

.section-heading--row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}

.section-heading--center {
  max-width: 650px;
  margin-inline: auto;
  margin-block-end: 42px;
  text-align: center;
}

.section-heading h2 {
  margin-block: 4px 0;
  font-size: clamp(25px, 2.5vw, 36px);
  line-height: 1.45;
  letter-spacing: -0.8px;
}

.section-heading p {
  margin-block: 10px 0;
  color: var(--muted);
  font-size: 13px;
}

.market-section .container {
  padding: 27px 27px 18px;
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  background: linear-gradient(155deg, rgba(13, 22, 45, 0.95), rgba(7, 13, 30, 0.86));
  box-shadow: var(--shadow), inset 0 1px rgba(255, 255, 255, 0.025);
}

.market-section .section-heading {
  margin-block-end: 16px;
}

.market-section h2 {
  font-size: clamp(22px, 2.4vw, 30px);
}

.market-overview {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-block-end: 24px;
  overflow: hidden;
  border: 1px solid rgba(111, 143, 207, 0.16);
  border-radius: 18px;
  background: rgba(5, 11, 27, 0.56);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.025);
}

.overview-card {
  position: relative;
  min-width: 0;
  min-height: 136px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 7px;
  padding: 20px 22px;
  isolation: isolate;
  background: linear-gradient(145deg, rgba(15, 29, 58, 0.7), rgba(7, 14, 32, 0.35));
}

.market-overview[data-state="loading"] .overview-card {
  animation: overviewPulse 1.4s ease-in-out infinite alternate;
}

.market-overview[data-state="error"] .overview-card {
  opacity: 0.72;
}

@keyframes overviewPulse {
  to { background-color: rgba(26, 43, 80, 0.45); }
}

.overview-card + .overview-card {
  border-inline-start: 1px solid rgba(111, 143, 207, 0.13);
}

.overview-card::after {
  content: '';
  position: absolute;
  z-index: -1;
  width: 84px;
  height: 84px;
  inset-inline-end: -35px;
  inset-block-end: -44px;
  border-radius: 50%;
  background: rgba(76, 108, 246, 0.11);
  filter: blur(10px);
}

.overview-label {
  overflow: hidden;
  max-width: 100%;
  color: #91a0ba;
  font-size: 12px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.overview-card > strong {
  color: #f2f6ff;
  font-size: clamp(23px, 2.3vw, 31px);
  line-height: 1.15;
  letter-spacing: -0.7px;
}

.overview-card > strong span {
  color: #71809b;
  font-size: 0.68em;
}

.overview-card--cmc > strong {
  color: #ff6b7d;
}

.overview-change {
  color: #7d8ba5;
  font-size: 13px;
  font-weight: 800;
}

.overview-change.is-positive { color: var(--green); }
.overview-change.is-negative { color: var(--red); }

.altcoin-gauge {
  position: relative;
  width: min(100%, 150px);
  height: 10px;
  margin-block-start: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, #f59f36 0 30%, #7f8cc8 58%, #3169f4 100%);
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.35), 0 0 18px rgba(55, 105, 245, 0.12);
}

.altcoin-gauge i {
  position: absolute;
  inset-block-start: 50%;
  left: var(--index-position, 50%);
  width: 19px;
  height: 19px;
  border: 4px solid #8c9ab4;
  border-radius: 50%;
  background: #e7edf7;
  box-shadow: 0 2px 7px rgba(0, 0, 0, 0.45);
  transform: translate(-50%, -50%);
}

.overview-card--fear {
  align-items: center;
  padding-block: 14px 9px;
}

.overview-card--fear .overview-label {
  align-self: flex-start;
}

.fear-gauge {
  position: relative;
  width: 86px;
  height: 86px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: conic-gradient(from 225deg, #ff435e 0 19%, #f4a72f 30%, #a7d625 47%, #20ca89 75%, transparent 75% 100%);
  filter: drop-shadow(0 0 12px rgba(32, 202, 137, 0.12));
}

.fear-gauge::before {
  content: '';
  position: absolute;
  inset: 10px;
  border-radius: 50%;
  background: #0a1329;
}

.fear-gauge strong {
  z-index: 1;
  color: #f4f7ff;
  font-size: 27px;
  line-height: 1;
}

.fear-gauge i {
  position: absolute;
  z-index: 2;
  inset-block-start: calc(50% - 5px);
  inset-inline-start: calc(50% - 5px);
  width: 10px;
  height: 10px;
  border: 2px solid #aebbd0;
  border-radius: 50%;
  background: #f0f5ff;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.6);
  transform: rotate(var(--fear-angle, 0deg)) translateY(-37px);
}

.market-table {
  overflow: hidden;
  border: 1px solid rgba(121, 151, 210, 0.12);
  border-radius: 17px;
  background: rgba(5, 11, 27, 0.46);
}

.market-mobile-head {
  display: none;
}

.market-table-head,
.market-row {
  direction: inherit;
  display: grid;
  grid-template-columns: minmax(265px, 1.8fr) minmax(65px, 0.55fr) minmax(125px, 0.95fr) minmax(120px, 0.9fr) minmax(145px, 1.05fr);
  align-items: center;
  gap: 18px;
  padding-inline: 19px;
}

.market-table-head {
  min-height: 49px;
  color: #6f7e99;
  background: rgba(14, 27, 55, 0.58);
  font-size: 10px;
  font-weight: 700;
}

.market-table-head > *,
.market-row > * {
  grid-row: 1;
}

.market-row {
  position: relative;
  min-height: 84px;
  border-top: 1px solid rgba(121, 151, 210, 0.1);
  background: linear-gradient(90deg, rgba(12, 22, 45, 0.18), rgba(9, 18, 39, 0.54), rgba(12, 22, 45, 0.18));
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.market-row:nth-child(odd) {
  background: linear-gradient(90deg, rgba(12, 23, 49, 0.3), rgba(8, 16, 35, 0.62), rgba(12, 23, 49, 0.3));
}

.market-row:hover {
  z-index: 1;
  background: linear-gradient(90deg, rgba(20, 39, 78, 0.58), rgba(11, 24, 51, 0.84), rgba(20, 39, 78, 0.58));
  box-shadow: inset 3px 0 #417cf6, inset -3px 0 #8d42f5;
}

.market-table-head .market-asset,
.market-row .market-asset { grid-column: 1; }
.market-table-head .market-symbol,
.market-row .market-symbol { grid-column: 2; }
.market-table-head .market-price,
.market-row .market-price { grid-column: 3; }
.market-table-head .market-change,
.market-row .market-change { grid-column: 4; }
.market-table-head .market-trend,
.market-row .market-trend { grid-column: 5; }

.market-table-head > span:not(.market-asset) {
  text-align: center;
}

.market-asset {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 13px;
}

.market-asset .market-rank {
  width: 25px;
  flex: 0 0 25px;
}

.market-asset > div {
  min-width: 0;
  display: grid;
  gap: 2px;
  line-height: 1.35;
}

.market-asset b {
  overflow: hidden;
  color: #edf3ff;
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.market-asset small {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-block-start: 5px;
  color: #7786a2;
  font-size: 9px;
}

.market-asset small strong {
  color: #9ca9bf;
  font-weight: 600;
  direction: ltr;
}

.coin-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  overflow: hidden;
  border-radius: 50%;
  color: white;
  font-size: 17px;
  font-weight: 800;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.09), inset 0 1px rgba(255, 255, 255, 0.2);
}

.coin-icon--logo {
  display: block;
  border-radius: 50%;
  object-fit: cover;
  background: #fff;
}

.coin-icon--btc { background: linear-gradient(145deg, #ffbc45, #e47c08); }
.coin-icon--eth { background: linear-gradient(145deg, #7a88ff, #4254c9); }
.coin-icon--bnb { background: linear-gradient(145deg, #ffd457, #e99c06); }
.coin-icon--sol { background: linear-gradient(145deg, #9947ff, #10caac); }
.coin-icon--xrp { background: linear-gradient(145deg, #536277, #111827); }
.coin-icon--usdt { background: linear-gradient(145deg, #28cfb0, #087e78); }
.coin-icon--usdc { background: linear-gradient(145deg, #3f9cff, #1758aa); }
.coin-icon--trx { background: linear-gradient(145deg, #ff4057, #b90c27); }
.coin-icon--dynamic {
  background: linear-gradient(145deg, hsl(var(--coin-hue) 82% 62%), hsl(var(--coin-hue) 74% 34%));
}

.market-rank {
  color: #71809a;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}

.market-symbol {
  color: #c7d1e4;
  font-size: 12px;
  text-align: center;
  direction: ltr;
}

.market-price,
.market-change {
  display: grid;
  place-items: center;
  gap: 2px;
  min-width: 0;
}

.market-price small,
.market-change small {
  color: #596883;
  font-size: 8px;
}

.coin-price {
  max-width: 100%;
  color: #f6f9ff;
  font-size: clamp(16px, 1.65vw, 21px);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.45px;
  direction: ltr;
  white-space: nowrap;
}

.coin-price.price-tick-up {
  animation: priceTickUp 1.05s ease-out;
}

.coin-price.price-tick-down {
  animation: priceTickDown 1.05s ease-out;
}

@keyframes priceTickUp {
  0%, 22% {
    color: #39e7a1;
    text-shadow: 0 0 14px rgba(57, 231, 161, 0.62);
  }
  100% {
    color: #f6f9ff;
    text-shadow: none;
  }
}

@keyframes priceTickDown {
  0%, 22% {
    color: #ff6078;
    text-shadow: 0 0 14px rgba(255, 96, 120, 0.58);
  }
  100% {
    color: #f6f9ff;
    text-shadow: none;
  }
}

.coin-change {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 800;
  direction: ltr;
}

.coin-change::before {
  content: "▲";
  font-size: 7px;
}

.coin-change.is-negative::before { content: "▼"; }
.coin-change.is-positive { color: var(--green); }
.coin-change.is-negative { color: var(--red); }

.market-trend {
  min-width: 0;
  padding-inline: 5px;
}

.sparkline {
  width: 100%;
  height: 54px;
}

.market-state-row {
  min-height: 150px;
  display: grid;
  place-items: center;
  padding: 25px;
  border-top: 1px solid rgba(121, 151, 210, 0.1);
  color: #7f8da6;
  font-size: 12px;
  text-align: center;
}

.market-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-block-start: 15px;
}

[dir="ltr"] .market-pagination {
  flex-direction: row-reverse;
}

.market-page-button {
  min-width: 72px;
  min-height: 34px;
  padding: 6px 11px;
  border: 1px solid rgba(91, 132, 217, 0.26);
  border-radius: 9px;
  color: #aebbd0;
  background: rgba(8, 16, 35, 0.72);
  font: inherit;
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.market-page-button:not(:disabled):hover {
  color: #fff;
  border-color: rgba(81, 143, 255, 0.58);
  background: rgba(25, 52, 103, 0.7);
  transform: translateY(-1px);
}

.market-page-button:focus-visible {
  outline: 2px solid #3e8bff;
  outline-offset: 2px;
}

.market-page-button:disabled {
  cursor: default;
  opacity: 0.45;
}

.market-page-current {
  min-width: 94px;
  color: #e5ecfa;
  border-color: rgba(129, 78, 243, 0.38);
  background: linear-gradient(135deg, rgba(32, 119, 255, 0.2), rgba(141, 54, 238, 0.22));
  opacity: 1 !important;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 17px;
}

.feature-card {
  position: relative;
  min-height: 255px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 27px;
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 15% 0%, rgba(45, 98, 203, 0.11), transparent 38%),
    linear-gradient(160deg, rgba(14, 25, 51, 0.88), rgba(7, 13, 29, 0.9));
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.025);
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.feature-card::after {
  content: "";
  position: absolute;
  inset-inline: 14%;
  inset-block-end: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(65, 128, 255, 0.65), transparent);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(66, 130, 255, 0.32);
}

.feature-card:hover::after { opacity: 1; }

.feature-card--featured {
  border-color: rgba(70, 126, 255, 0.3);
  background:
    radial-gradient(circle at 50% 0%, rgba(66, 88, 255, 0.18), transparent 46%),
    linear-gradient(160deg, rgba(16, 30, 64, 0.94), rgba(7, 14, 32, 0.9));
}

.feature-icon,
.step-icon {
  display: grid;
  place-items: center;
  margin-block-end: 19px;
  border-radius: 15px;
  box-shadow: inset 0 0 24px rgba(255, 255, 255, 0.03);
  overflow: hidden;
}

.feature-icon {
  width: 72px;
  height: 72px;
  border: 1px solid rgba(105, 139, 210, 0.16);
  background: #081329;
}

.step-icon {
  width: 58px;
  height: 58px;
  border: 1px solid rgba(105, 139, 210, 0.14);
  background: #081329;
}

.feature-icon img,
.step-icon img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.feature-icon--green { border-color: rgba(66, 230, 174, 0.22); box-shadow: 0 0 28px rgba(23, 185, 133, 0.08); }
.feature-icon--blue { border-color: rgba(78, 165, 255, 0.25); box-shadow: 0 0 28px rgba(35, 104, 255, 0.1); }
.feature-icon--purple { border-color: rgba(165, 99, 255, 0.23); box-shadow: 0 0 28px rgba(119, 56, 240, 0.09); }

.feature-number {
  position: absolute;
  inset-block-start: 22px;
  inset-inline-end: 25px;
  color: rgba(170, 190, 230, 0.12);
  font-size: 32px;
  font-weight: 900;
}

.feature-card h3,
.step-card h3 {
  margin-block-end: 8px;
  font-size: 16px;
}

.feature-card p,
.step-card p {
  margin-block-end: 16px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.9;
}

.feature-link {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-block-start: auto;
  color: #7ba9ff;
  font-size: 10px;
  font-weight: 700;
}

.feature-link i {
  font-style: normal;
}

.steps {
  background: linear-gradient(180deg, transparent, rgba(11, 20, 43, 0.43), transparent);
}

.steps-grid {
  display: grid;
  grid-template-columns: 1fr 90px 1fr 90px 1fr;
  align-items: center;
}

.step-card {
  position: relative;
  min-height: 210px;
  padding: 25px;
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  text-align: center;
  background: rgba(10, 19, 41, 0.62);
}

.step-index {
  position: absolute;
  inset-block-start: 14px;
  inset-inline-end: 14px;
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #99baff;
  background: rgba(73, 105, 180, 0.18);
  font-size: 11px;
  font-weight: 800;
}

.step-icon {
  margin-inline: auto;
  color: #7c85ff;
  background: linear-gradient(145deg, rgba(47, 98, 233, 0.18), rgba(117, 45, 233, 0.14));
}

.step-card p {
  margin-bottom: 0;
}

.step-line {
  height: 1px;
  background: repeating-linear-gradient(90deg, rgba(84, 124, 202, 0.34) 0 5px, transparent 5px 10px);
}

.step-line i {
  position: relative;
  display: block;
  width: 7px;
  height: 7px;
  margin-inline: auto;
  border-radius: 50%;
  background: #5385ed;
  box-shadow: 0 0 10px #5385ed;
}

.performance-panel {
  padding: 30px;
  border: 1px solid var(--stroke);
  border-radius: calc(var(--radius) + 2px);
  background:
    radial-gradient(circle at 50% -25%, rgba(54, 92, 195, 0.13), transparent 46%),
    linear-gradient(155deg, rgba(12, 22, 47, 0.92), rgba(7, 13, 29, 0.92));
  box-shadow: var(--shadow);
}

.performance-heading {
  margin-block-end: 32px;
}

.performance-heading h2 {
  font-size: 25px;
}

.period-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 12px;
  border: 1px solid var(--stroke);
  border-radius: 9px;
  color: #9aa8c1;
  background: rgba(8, 14, 31, 0.74);
  font-size: 9px;
}

.performance-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.25fr 1.15fr;
  align-items: stretch;
  gap: 0;
}

.performance-grid > div {
  min-width: 0;
  padding-inline: 26px;
}

.performance-grid > div + div {
  border-inline-start: 1px solid rgba(126, 153, 209, 0.1);
}

.donut-block {
  display: flex;
  align-items: center;
  gap: 22px;
}

.donut {
  width: 130px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  background: conic-gradient(var(--green) 0 62%, #e05e65 62% 91%, #788499 91% 100%);
  box-shadow: 0 0 24px rgba(20, 204, 142, 0.08);
}

.donut::before {
  content: "";
  grid-area: 1 / 1;
  width: 74%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #09132a;
  box-shadow: inset 0 0 25px rgba(0, 0, 0, 0.3);
}

.donut > div {
  z-index: 1;
  grid-area: 1 / 1;
  display: grid;
  text-align: center;
  line-height: 1.3;
}

.donut b { font-size: 20px; }
.donut small { color: var(--muted); font-size: 8px; }

.legend {
  display: grid;
  gap: 9px;
}

.legend span {
  display: grid;
  grid-template-columns: 7px 1fr auto;
  align-items: center;
  gap: 6px;
  font-size: 8px;
}

.legend i {
  width: 6px;
  height: 6px;
  border-radius: 2px;
}

.legend b { font-weight: 500; }
.legend small { color: var(--muted); }
.legend-green { background: var(--green); }
.legend-red { background: #e05e65; }
.legend-gray { background: #788499; }

.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
}

.metric-grid article {
  min-width: 0;
  display: grid;
  place-items: center;
  gap: 5px;
  text-align: center;
}

.metric-grid article + article {
  border-inline-start: 1px solid rgba(127, 156, 217, 0.08);
}

.metric-grid span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  color: var(--green);
  background: rgba(28, 201, 142, 0.09);
}

.metric-grid article:nth-child(2) span { color: #58cfff; background: rgba(40, 138, 255, 0.09); }
.metric-grid article:nth-child(3) span { color: #ac66ff; background: rgba(133, 59, 255, 0.1); }
.metric-grid strong { font-size: 20px; direction: ltr; }
.metric-grid small { color: var(--muted); font-size: 8px; }

.chart-block {
  display: flex;
  flex-direction: column;
  justify-content: end;
}

.chart-bars {
  position: relative;
  height: 138px;
  display: flex;
  align-items: end;
  justify-content: space-around;
  gap: 10px;
  padding: 10px 8px 0;
  border-bottom: 1px solid rgba(133, 161, 216, 0.14);
  background: repeating-linear-gradient(to top, rgba(124, 151, 204, 0.07) 0 1px, transparent 1px 35px);
}

.chart-bars i {
  width: clamp(10px, 1.2vw, 16px);
  height: var(--h);
  border-radius: 3px 3px 0 0;
  background: linear-gradient(to top, rgba(25, 179, 128, 0.5), #22da93);
  box-shadow: 0 0 16px rgba(32, 214, 144, 0.08);
  animation: barsGrow 1.2s ease both;
  transform-origin: bottom;
}

@keyframes barsGrow { from { transform: scaleY(0); } }

.chart-labels {
  display: flex;
  justify-content: space-around;
  padding-block-start: 8px;
  color: #66748f;
  font-size: 8px;
}

.disclaimer {
  margin: 24px 0 -12px;
  color: #59667b;
  font-size: 8px;
  text-align: center;
}

.demo-panel {
  min-height: 295px;
  display: grid;
  grid-template-columns: 0.8fr 1.45fr 1fr;
  align-items: center;
  gap: 35px;
  padding: 42px;
  border: 1px solid rgba(103, 133, 195, 0.16);
  border-radius: calc(var(--radius) + 3px);
  background:
    radial-gradient(circle at 16% 50%, rgba(99, 41, 236, 0.15), transparent 29%),
    linear-gradient(145deg, rgba(14, 24, 51, 0.95), rgba(7, 13, 29, 0.94));
  box-shadow: var(--shadow);
}

.demo-art {
  position: relative;
  height: 210px;
  display: grid;
  place-items: center;
}

.demo-art img {
  width: min(100%, 310px);
  height: 100%;
  display: block;
  border-radius: 24px;
  object-fit: contain;
  filter: drop-shadow(0 22px 32px rgba(45, 20, 140, 0.28));
}

.demo-copy h2 {
  margin-block: 5px 10px;
  font-size: clamp(25px, 2.45vw, 34px);
  line-height: 1.45;
}

.demo-copy p {
  max-width: 530px;
  margin-block-end: 20px;
  color: var(--muted);
  font-size: 11px;
}

.demo-list {
  display: grid;
  gap: 13px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.demo-list li {
  display: flex;
  align-items: center;
  gap: 11px;
  color: #c5cede;
  font-size: 10px;
}

.demo-list span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: #8faaff;
  background: rgba(55, 88, 164, 0.12);
}

.real-market {
  padding-block-start: 0;
}

.real-market-panel {
  position: relative;
  isolation: isolate;
  min-height: 330px;
  display: grid;
  grid-template-columns: 1.18fr 1fr 0.88fr;
  grid-template-areas: "copy visual action";
  align-items: center;
  gap: 24px;
  overflow: hidden;
  padding: 31px 37px;
  border: 1px solid rgba(140, 69, 245, 0.68);
  border-radius: calc(var(--radius) + 3px);
  direction: ltr;
  background:
    radial-gradient(circle at 50% 48%, rgba(14, 102, 255, 0.16), transparent 29%),
    radial-gradient(circle at 94% 5%, rgba(142, 48, 235, 0.13), transparent 31%),
    linear-gradient(145deg, rgba(4, 12, 31, 0.98), rgba(7, 10, 31, 0.98));
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.35), inset 0 1px rgba(97, 160, 255, 0.08);
}

.real-market-panel::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(27, 120, 255, 0.06), transparent 32%, transparent 68%, rgba(161, 51, 239, 0.07)),
    repeating-linear-gradient(90deg, rgba(97, 133, 210, 0.025) 0 1px, transparent 1px 72px);
}

.real-market-copy {
  grid-area: copy;
  min-width: 0;
  direction: rtl;
  text-align: right;
}

.real-market-copy h2 {
  margin-block-end: 7px;
  font-size: clamp(24px, 2.35vw, 34px);
  line-height: 1.45;
  text-wrap: balance;
}

.real-market-copy h2 span {
  color: #a748ff;
  text-shadow: 0 0 22px rgba(167, 72, 255, 0.3);
}

.real-market-copy > h3 {
  margin-block-end: 6px;
  color: #d7e1f3;
  font-size: 14px;
  font-weight: 800;
}

.real-market-copy > p {
  max-width: 510px;
  color: #8e9bb3;
  font-size: 10px;
  line-height: 1.9;
}

.real-market-features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-block-start: 17px;
}

.real-market-features article {
  min-width: 0;
  min-height: 91px;
  padding: 11px 10px;
  border: 1px solid rgba(72, 111, 191, 0.13);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(12, 26, 54, 0.68), rgba(7, 17, 37, 0.83));
  box-shadow: inset 0 1px rgba(121, 162, 238, 0.04);
}

.real-market-features article > div {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-block-end: 6px;
}

.real-market-features img {
  width: 26px;
  height: 26px;
  display: block;
  flex: 0 0 auto;
  object-fit: contain;
}

.real-market-features h4 {
  overflow: hidden;
  color: #e8eef9;
  font-size: 9px;
  line-height: 1.45;
  text-overflow: ellipsis;
}

.real-market-features p {
  color: #76849d;
  font-size: 7px;
  line-height: 1.75;
}

.real-market-visual {
  grid-area: visual;
  min-width: 0;
  height: 265px;
  display: grid;
  place-items: center;
}

.real-market-visual img {
  width: 100%;
  max-width: 365px;
  height: 100%;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 25px 35px rgba(26, 78, 224, 0.28));
}

.real-market-action {
  grid-area: action;
  min-width: 0;
  direction: rtl;
}

.real-market-action .btn {
  width: 100%;
  min-height: 55px;
  justify-content: space-between;
  padding-inline: 24px;
  border-radius: 13px;
  font-size: 13px;
}

.real-market-action .btn .arrow {
  font-size: 21px;
  transition: transform 0.2s ease;
}

.real-market-action .btn:hover .arrow {
  transform: translateX(-4px);
}

[dir="ltr"] .real-market-action .btn:hover .arrow {
  transform: translateX(4px);
}

.real-market-action ul {
  display: grid;
  gap: 12px;
  margin: 29px 0 0;
  padding: 0;
  list-style: none;
}

.real-market-action li {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #9ca8ba;
  font-size: 9px;
  line-height: 1.65;
}

.real-market-action li img {
  width: 22px;
  height: 22px;
  display: block;
  flex: 0 0 auto;
  object-fit: contain;
}

[dir="ltr"] .real-market-copy,
[dir="ltr"] .real-market-action {
  direction: ltr;
  text-align: left;
}

.security {
  padding-block-start: 38px;
}

.security-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.security-card {
  min-height: 125px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px;
  border: 1px solid var(--stroke);
  border-radius: var(--radius-sm);
  background: linear-gradient(145deg, rgba(13, 24, 50, 0.75), rgba(7, 14, 30, 0.82));
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.security-card:hover {
  transform: translateY(-3px);
  border-color: rgba(81, 137, 249, 0.32);
}

.security-card > span {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid rgba(126, 154, 212, 0.13);
  border-radius: 13px;
  background: #081329;
  overflow: hidden;
}

.security-card > span img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.security-card h3 {
  margin-block-end: 4px;
  font-size: 12px;
}

.security-card p {
  margin: 0;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.8;
}

.site-footer {
  margin-block-start: 65px;
  padding-block: 50px 22px;
  border-top: 1px solid var(--stroke);
  background: rgba(2, 5, 14, 0.62);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 45px;
}

.footer-brand p {
  max-width: 300px;
  margin-block-start: 16px;
  color: var(--muted);
  font-size: 10px;
}

.footer-grid > div:not(.footer-brand) {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
}

.footer-grid h3 {
  margin-block-end: 5px;
  color: #e6ecf9;
  font-size: 11px;
}

.footer-grid a:not(.brand) {
  color: #77849b;
  font-size: 9px;
  transition: color 0.2s ease;
}

.footer-grid a:hover { color: white; }

.footer-social > div {
  direction: ltr;
  display: flex;
  gap: 7px;
}

.footer-social > div a {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid var(--stroke);
  border-radius: 50%;
  color: #b6c5e2;
  background: rgba(28, 46, 82, 0.35);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-block-start: 37px;
  padding-block-start: 18px;
  border-top: 1px solid rgba(127, 152, 202, 0.09);
  color: #59647a;
  font-size: 8px;
}

.reveal {
  opacity: 1;
  transform: none;
}

.animations-ready .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.animations-ready .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1080px) {
  .site-header { background: rgba(4, 8, 23, 0.9); }
  .nav-wrap { min-height: 67px; }
  .nav-links {
    position: absolute;
    inset-block-start: calc(100% + 1px);
    inset-inline: 0;
    display: grid;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--stroke);
    border-radius: 16px;
    background: rgba(8, 15, 33, 0.97);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
  }
  .nav-links.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
  .nav-links a { padding: 12px; border-radius: 9px; }
  .nav-links a:hover { background: rgba(67, 105, 182, 0.14); }
  .nav-links a::after { display: none; }
  .menu-toggle { display: grid; }
  .nav-login,
  .nav-signup { display: inline-flex; padding-inline: 14px; }
  .nav-actions { gap: 7px; }
  .language-picker select { width: 68px; }
  .hero-grid { grid-template-columns: minmax(0, 0.94fr) minmax(410px, 1.06fr); }
  .hero-visual { height: 480px; margin-inline-end: -25px; }
  .overview-card { padding-inline: 16px; }
  .market-table-head,
  .market-row {
    grid-template-columns: minmax(225px, 1.65fr) minmax(52px, 0.5fr) minmax(100px, 0.9fr) minmax(96px, 0.85fr) minmax(118px, 1fr);
    gap: 12px;
    padding-inline: 14px;
  }
  .performance-grid { grid-template-columns: 1fr 1.25fr; row-gap: 30px; }
  .chart-block { grid-column: 1 / -1; border-inline-start: 0 !important; border-top: 1px solid rgba(126, 153, 209, 0.1); padding-block-start: 25px; }
  .chart-bars { height: 160px; }
  .real-market-panel { grid-template-columns: 1.15fr 0.95fr 0.9fr; gap: 16px; padding: 28px; }
  .real-market-features { gap: 6px; }
  .real-market-features article { padding-inline: 8px; }
  .security-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .hero { padding-block: 35px 65px; }
  .hero-grid { grid-template-columns: 1fr; gap: 0; }
  .hero-copy { max-width: 640px; margin-inline: auto; text-align: center; }
  .eyebrow, .hero-actions { margin-inline: auto; justify-content: center; }
  .hero-copy > p { margin-inline: auto; }
  .hero-visual { height: 460px; width: min(100%, 680px); margin: -8px auto 0; }
  .hero-visual img { object-position: 66% 50%; }
  .market-overview { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .overview-card { min-height: 116px; }
  .market-table-head { display: none; }
  .market-mobile-head {
    min-height: 44px;
    display: grid;
    grid-template-columns: minmax(178px, 1.35fr) minmax(100px, 0.8fr) minmax(105px, 0.75fr);
    align-items: center;
    gap: 0 15px;
    padding-inline: 14px;
    color: #7d8ca7;
    background: rgba(14, 27, 55, 0.7);
    font-size: 9px;
    font-weight: 700;
    line-height: 1.45;
  }
  .market-mobile-head .market-asset { grid-column: 1; }
  .market-mobile-head .market-price { grid-column: 2; text-align: center; }
  .market-mobile-head .market-mobile-movement { grid-column: 3; text-align: center; }
  .market-row {
    grid-template-columns: minmax(178px, 1.35fr) minmax(100px, 0.8fr) minmax(105px, 0.75fr);
    grid-template-rows: 54px 26px;
    gap: 0 15px;
    min-height: 96px;
    padding-block: 8px;
  }
  .market-row .market-asset { grid-column: 1; grid-row: 1 / 3; }
  .market-row .market-price { grid-column: 2; grid-row: 1 / 3; }
  .market-row .market-trend { grid-column: 3; grid-row: 1; }
  .market-row .market-change { grid-column: 3; grid-row: 2; }
  .market-row .market-symbol { display: none; }
  .market-trend { padding-inline: 0; }
  .market-change { align-self: start; }
  .market-change small { display: none; }
  .feature-grid { grid-template-columns: 1fr; max-width: 650px; margin-inline: auto; }
  .feature-card { min-height: 220px; }
  .steps-grid { max-width: 650px; grid-template-columns: 1fr; gap: 13px; margin-inline: auto; }
  .step-line { width: 1px; height: 34px; margin-inline: auto; background: repeating-linear-gradient(to bottom, rgba(84, 124, 202, 0.34) 0 5px, transparent 5px 10px); }
  .step-card { min-height: 190px; }
  .demo-panel { grid-template-columns: 0.8fr 1.5fr; }
  .demo-list { grid-column: 1 / -1; grid-template-columns: repeat(3, 1fr); }
  .demo-list li { justify-content: center; }
  .real-market-panel {
    grid-template-columns: minmax(0, 1.15fr) minmax(250px, 0.85fr);
    grid-template-areas: "copy visual" "action action";
    gap: 24px;
    padding: 30px;
  }
  .real-market-action { display: grid; grid-template-columns: minmax(220px, 0.75fr) minmax(0, 1.25fr); align-items: center; gap: 28px; }
  .real-market-action ul { margin-block-start: 0; }
  .footer-grid { grid-template-columns: 1.5fr repeat(3, 1fr); gap: 24px; }
}

@media (max-width: 680px) {
  .container { width: min(100% - 28px, 1180px); }
  .nav-wrap { gap: 10px; }
  .nav-login,
  .nav-signup,
  .language-picker--desktop { display: none; }
  .nav-actions .mobile-auth {
    min-height: 43px;
    display: inline-flex;
    gap: 8px;
    padding-inline: 14px;
    white-space: nowrap;
  }
  .nav-actions .nav-dashboard {
    min-height: 43px;
    padding-inline: 18px;
    white-space: nowrap;
  }
  .hero-mobile-tools {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: flex-start;
    margin-block-end: 22px;
  }
  [dir="rtl"] .hero-mobile-tools { justify-content: flex-end; }
  .language-picker--mobile { display: inline-flex; }
  .language-picker { padding-inline: 7px 2px; }
  .language-picker select { width: 66px; font-size: 11px; }
  .brand { font-size: 18px; }
  .brand-mark { width: 27px; height: 27px; }
  .hero { min-height: auto; padding-block-start: 18px; }
  .hero h1 { font-size: clamp(31px, 10vw, 44px); letter-spacing: -1.4px; }
  .hero-copy > p { font-size: 13px; line-height: 1.95; }
  .hero-actions { display: grid; gap: 14px; }
  .hero-actions .btn,
  .hero-actions .text-link { width: min(100%, 290px); margin-inline: auto; }
  .hero-visual { height: 335px; margin-block-start: 13px; }
  .hero-visual img { object-position: 69% 50%; border-radius: 20px; mask-image: radial-gradient(ellipse 82% 71% at 65% 52%, black 46%, rgba(0, 0, 0, .9) 68%, transparent 94%); }
  .section-space { padding-block: 59px; }
  .section-shell { margin-block-start: -10px; }
  .market-section .container { width: calc(100% - 20px); padding: 18px 12px 13px; }
  .market-overview { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-block-end: 18px; border-radius: 14px; }
  .overview-card { min-height: 104px; align-items: center; gap: 5px; padding: 10px 5px; text-align: center; }
  .overview-card + .overview-card { border-inline-start: 1px solid rgba(111, 143, 207, 0.13); }
  .overview-label { min-height: 24px; display: grid; place-items: center; font-size: 8px; line-height: 1.45; white-space: normal; }
  .overview-card > strong { font-size: clamp(15px, 4.6vw, 20px); letter-spacing: -0.4px; }
  .overview-change { font-size: clamp(7px, 2.35vw, 9px); white-space: nowrap; }
  .altcoin-gauge { width: min(100%, 62px); height: 6px; }
  .altcoin-gauge i { width: 13px; height: 13px; border-width: 2px; }
  .overview-card--fear { padding-block: 8px 5px; }
  .overview-card--fear .overview-label { align-self: center; }
  .fear-gauge { width: 52px; height: 52px; }
  .fear-gauge::before { inset: 6px; }
  .fear-gauge strong { font-size: 17px; }
  .fear-gauge i { width: 8px; height: 8px; inset-block-start: calc(50% - 4px); inset-inline-start: calc(50% - 4px); transform: rotate(var(--fear-angle, 0deg)) translateY(-21px); }
  .section-heading--row { align-items: flex-start; }
  .market-heading { gap: 12px; }
  .market-mobile-head {
    grid-template-columns: minmax(132px, 1.25fr) minmax(78px, 0.72fr) minmax(76px, 0.7fr);
    gap: 0 8px;
    min-height: 47px;
    padding-inline: 10px;
    font-size: 8px;
  }
  .market-row {
    grid-template-columns: minmax(132px, 1.25fr) minmax(78px, 0.72fr) minmax(76px, 0.7fr);
    gap: 0 8px;
    min-height: 94px;
    padding-inline: 10px;
  }
  .market-asset { gap: 9px; }
  .market-asset .market-rank { width: 18px; flex-basis: 18px; }
  .market-asset b { font-size: 12px; }
  .market-asset small { gap: 3px; font-size: 7.5px; white-space: nowrap; }
  .coin-icon { width: 37px; height: 37px; font-size: 15px; }
  .coin-price { font-size: clamp(14px, 4.1vw, 17px); }
  .coin-change { gap: 3px; font-size: 11px; }
  .sparkline { height: 45px; }
  .market-pagination { width: 100%; gap: 3px; }
  .market-page-button { min-width: 0; min-height: 32px; flex: 1 1 0; padding-inline: 4px; font-size: 7.5px; white-space: nowrap; }
  .market-page-current { min-width: 0; flex-grow: 1.18; }
  .section-heading--center { margin-block-end: 30px; }
  .feature-card { padding: 22px; }
  .performance-panel { width: calc(100% - 20px); padding: 22px 16px; }
  .performance-grid { grid-template-columns: 1fr; }
  .performance-grid > div { padding: 20px 5px; }
  .performance-grid > div + div { border-inline-start: 0; border-top: 1px solid rgba(126, 153, 209, 0.1); }
  .donut-block { justify-content: center; }
  .donut { width: 118px; }
  .metric-grid { min-height: 145px; }
  .metric-grid strong { font-size: 17px; }
  .chart-block { grid-column: auto; }
  .demo-panel { width: calc(100% - 20px); grid-template-columns: 1fr; gap: 24px; padding: 25px 20px; text-align: center; }
  .demo-art { height: 165px; }
  .demo-copy .section-kicker { display: block; }
  .demo-copy .btn { margin-inline: auto; }
  .demo-list { grid-column: auto; grid-template-columns: 1fr; max-width: 290px; width: 100%; margin-inline: auto; text-align: start; }
  .demo-list li { justify-content: flex-start; }
  .real-market { padding-block-start: 0; }
  .real-market-panel {
    width: calc(100% - 20px);
    grid-template-columns: 1fr;
    grid-template-areas: "copy" "visual" "action";
    gap: 24px;
    padding: 25px 18px;
  }
  .real-market-copy,
  [dir="ltr"] .real-market-copy { text-align: center; }
  .real-market-copy > p { margin-inline: auto; }
  .real-market-features { grid-template-columns: 1fr; max-width: 340px; margin-inline: auto; margin-block-start: 20px; }
  .real-market-features article { min-height: 82px; text-align: start; }
  .real-market-features h4 { font-size: 10px; }
  .real-market-features p { font-size: 8px; }
  .real-market-visual { height: 235px; }
  .real-market-action { display: block; }
  .real-market-action .btn { width: min(100%, 330px); margin-inline: auto; }
  .real-market-action ul { max-width: 330px; margin: 21px auto 0; text-align: start; }
  .security-grid { grid-template-columns: 1fr; }
  .security-card { min-height: 105px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 35px 24px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-social { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 390px) {
  .language-picker--desktop > span:not(.sr-only) { display: none; }
  .mobile-auth { padding-inline: 11px; font-size: 12px; }
  .hero h1 { font-size: 30px; }
  .hero-visual { height: 300px; }
  .market-section h2 { font-size: 20px; }
  .market-mobile-head { grid-template-columns: minmax(112px, 1.2fr) minmax(68px, 0.7fr) minmax(62px, 0.66fr); gap: 0 4px; padding-inline: 8px; }
  .market-row { grid-template-columns: minmax(112px, 1.2fr) minmax(68px, 0.7fr) minmax(62px, 0.66fr); gap: 0 4px; padding-inline: 8px; }
  .market-asset { gap: 7px; }
  .coin-icon { width: 34px; height: 34px; font-size: 14px; }
  .market-rank { font-size: 10px; }
  .real-market-copy h2 { font-size: 23px; }
  .real-market-visual { height: 205px; }
  .real-market-action .btn { min-height: 51px; padding-inline: 18px; font-size: 11px; }
  .metric-grid { grid-template-columns: 1fr; gap: 14px; }
  .metric-grid article { grid-template-columns: 34px 1fr; grid-template-rows: auto auto; text-align: start; }
  .metric-grid article + article { border-inline-start: 0; }
  .metric-grid span { grid-row: 1 / 3; }
  .metric-grid strong, .metric-grid small { justify-self: start; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand, .footer-social { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
