:root {
  color-scheme: dark;
  --bg: #020605;
  --bg-2: #061013;
  --panel: rgba(5, 12, 15, 0.78);
  --panel-2: rgba(9, 24, 27, 0.74);
  --glass: rgba(150, 255, 204, 0.08);
  --line: rgba(170, 255, 217, 0.22);
  --line-strong: rgba(175, 255, 212, 0.44);
  --mint: #aaffc5;
  --mint-2: #67ee9b;
  --deep-mint: #0f7d52;
  --blue: #91d8ff;
  --blue-2: #2c81d6;
  --red: #ff5b63;
  --yellow: #ffe779;
  --text: #effff7;
  --muted: #9fb7b4;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
  --radius: 8px;
  --font-display: "Arial Rounded MT Bold", "Trebuchet MS", "Segoe UI", sans-serif;
  --font-body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    linear-gradient(180deg, rgba(2, 7, 8, 0.94), rgba(3, 11, 12, 0.99)),
    repeating-linear-gradient(90deg, rgba(140, 255, 203, 0.035) 0 1px, transparent 1px 132px),
    radial-gradient(ellipse at 50% 15%, rgba(64, 238, 143, 0.16), transparent 44%),
    #020605;
  color: var(--text);
  font-family: var(--font-body);
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
}

body::before {
  background:
    linear-gradient(180deg, transparent 0 56%, rgba(80, 230, 160, 0.09) 57%, transparent 70%),
    repeating-linear-gradient(0deg, transparent 0 28px, rgba(145, 216, 255, 0.04) 29px, transparent 30px);
  opacity: 0.75;
}

body::after {
  background-image:
    linear-gradient(90deg, transparent 0 11px, rgba(174, 255, 215, 0.38) 12px, transparent 13px),
    linear-gradient(0deg, transparent 0 11px, rgba(174, 255, 215, 0.38) 12px, transparent 13px);
  background-size: 260px 260px;
  opacity: 0.16;
  mask-image: linear-gradient(180deg, #000, transparent 74%);
}

body:not(.loaded) {
  overflow: hidden;
}

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

button {
  font: inherit;
}

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

.site-shell {
  width: min(100%, 1810px);
  margin: 0 auto;
  padding: 16px 18px 18px;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 500ms ease, transform 500ms ease;
}

body.loaded .site-shell {
  opacity: 1;
  transform: none;
}

.glass-panel,
.section-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), transparent 34%),
    linear-gradient(135deg, rgba(141, 255, 201, 0.1), rgba(20, 68, 78, 0.16) 46%, rgba(8, 15, 18, 0.88));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    inset 0 -1px 0 rgba(142, 255, 208, 0.08),
    var(--shadow);
  backdrop-filter: blur(18px);
}

.section-panel::before,
.glass-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background:
    linear-gradient(110deg, transparent 0 28%, rgba(255, 255, 255, 0.08) 31%, transparent 35%),
    repeating-linear-gradient(90deg, transparent 0 18px, rgba(255, 255, 255, 0.025) 19px, transparent 20px);
  opacity: 0.62;
}

.topbar {
  position: sticky;
  top: 14px;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto auto auto;
  align-items: center;
  gap: 24px;
  min-height: 68px;
  padding: 10px 16px 10px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(3, 8, 11, 0.86);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.46), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 320px;
}

.logo img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(160, 255, 197, 0.78));
}

.logo span,
.brand-mark span,
.footer-brand strong {
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: 0;
  color: #d7ffe5;
  text-shadow:
    0 2px 0 rgba(10, 95, 60, 0.95),
    0 0 10px rgba(151, 255, 194, 0.82),
    0 0 24px rgba(63, 238, 140, 0.42);
}

.logo span {
  font-size: clamp(2rem, 2.7vw, 3.05rem);
  line-height: 0.8;
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(22px, 2.2vw, 40px);
  min-width: 0;
}

.desktop-nav a,
.mobile-nav a {
  position: relative;
  font-size: 0.96rem;
  font-weight: 700;
  color: rgba(239, 255, 247, 0.88);
}

.desktop-nav a::after,
.mobile-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  border-radius: 999px;
  transform: scaleX(0);
  background: linear-gradient(90deg, var(--mint), rgba(146, 216, 255, 0.9));
  box-shadow: 0 0 12px rgba(142, 255, 200, 0.8);
  transition: transform 180ms ease;
}

.desktop-nav a.active,
.desktop-nav a:hover,
.mobile-nav a:hover {
  color: var(--mint);
}

.desktop-nav a.active::after,
.desktop-nav a:hover::after,
.mobile-nav a:hover::after {
  transform: scaleX(1);
}

.socials,
.top-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.socials a {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(210, 230, 235, 0.2);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.socials svg,
.btn svg,
.arrow-button svg,
.loader-status svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.1;
}

.brand-icon,
.button-logo,
.loader-brand-logo {
  display: block;
  flex: 0 0 auto;
  object-fit: contain;
}

.brand-icon {
  width: 22px;
  height: 22px;
}

.socials .brand-icon {
  width: 24px;
  height: 24px;
  filter: drop-shadow(0 0 8px rgba(169, 255, 210, 0.42));
}

.socials .telegram-icon {
  border-radius: 50%;
}

.socials .discord-icon {
  width: 25px;
  height: 19px;
}

.button-logo {
  width: 20px;
  height: 20px;
  filter: drop-shadow(0 0 7px rgba(255, 255, 255, 0.35));
}

.dex-logo {
  filter:
    invert(93%)
    sepia(17%)
    saturate(538%)
    hue-rotate(169deg)
    brightness(108%)
    drop-shadow(0 0 7px rgba(149, 218, 255, 0.5));
}

.loader-status svg {
  fill: currentColor;
  stroke: none;
}

.btn,
.trade-button,
.site-footer button {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 900;
  line-height: 1;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.btn:hover,
.trade-button:hover,
.site-footer button:hover,
.socials a:hover,
.arrow-button:hover {
  transform: translateY(-1px);
}

.btn-mint,
.trade-button {
  color: #04120c;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.12) 24%, transparent 25%),
    linear-gradient(180deg, #c2ffd5, #68f09a 54%, #43ba75);
  border-color: rgba(175, 255, 205, 0.75);
  box-shadow:
    0 0 18px rgba(111, 245, 151, 0.5),
    0 8px 20px rgba(13, 95, 55, 0.42),
    inset 0 0 18px rgba(255, 255, 255, 0.48);
}

.btn-blue {
  color: #dff5ff;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), transparent 28%),
    linear-gradient(180deg, rgba(28, 83, 122, 0.86), rgba(12, 30, 46, 0.88));
  border-color: rgba(146, 216, 255, 0.74);
  box-shadow: 0 0 18px rgba(83, 171, 255, 0.36), inset 0 0 18px rgba(146, 216, 255, 0.16);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 999px;
  background: currentColor;
}

.mobile-nav {
  display: none;
}

.main-stack {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}

.top-grid {
  display: grid;
  grid-template-columns: minmax(500px, 1.02fr) minmax(720px, 1fr);
  gap: 8px;
  min-height: 462px;
}

.hero-section {
  min-height: 462px;
  padding: clamp(26px, 2.5vw, 36px);
  isolation: isolate;
  background:
    linear-gradient(180deg, rgba(7, 15, 17, 0.56), rgba(1, 6, 7, 0.9)),
    radial-gradient(ellipse at 74% 73%, rgba(116, 220, 255, 0.22), transparent 42%),
    radial-gradient(ellipse at 44% 50%, rgba(166, 255, 203, 0.16), transparent 45%);
}

.hero-section::after,
.gallery-band::after,
.loading-screen::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 9% 24%, rgba(175, 255, 210, 0.9) 0 1px, transparent 2px),
    radial-gradient(circle at 58% 12%, rgba(190, 239, 255, 0.9) 0 1px, transparent 2px),
    radial-gradient(circle at 74% 28%, rgba(175, 255, 210, 0.75) 0 1px, transparent 2px),
    radial-gradient(circle at 42% 18%, rgba(255, 255, 255, 0.65) 0 1px, transparent 2px);
  background-size: 310px 210px, 260px 250px, 370px 260px, 180px 160px;
  opacity: 0.8;
}

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

.hero-copy h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.85rem, 4.2vw, 4.85rem);
  line-height: 0.96;
  color: #d7ffe5;
  text-shadow:
    0 2px 0 rgba(4, 79, 48, 0.95),
    0 0 8px rgba(182, 255, 209, 0.85),
    0 0 26px rgba(72, 231, 131, 0.48);
}

.hero-copy h1 span,
.section-title h2,
.gallery-intro h2,
.faq-panel h2,
.lore-panel h2 {
  display: block;
  font-family: var(--font-display);
  font-weight: 900;
}

.hero-copy p {
  margin: 20px 0 22px;
  max-width: 350px;
  color: rgba(239, 255, 247, 0.88);
  font-size: clamp(1rem, 1.25vw, 1.25rem);
  line-height: 1.35;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-actions .btn {
  min-width: 166px;
}

.hero-characters {
  position: absolute;
  right: -2%;
  bottom: 4px;
  z-index: 2;
  width: min(70%, 640px);
  height: 96%;
}

.hero-characters img {
  position: absolute;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
  filter:
    drop-shadow(0 0 12px rgba(165, 255, 204, 0.58))
    drop-shadow(0 34px 38px rgba(0, 0, 0, 0.54));
}

.hero-glass {
  left: 4%;
  bottom: 2%;
  width: 54%;
  transform: rotate(-2deg);
  opacity: 0.95;
}

.hero-head {
  right: -4%;
  bottom: 0;
  width: 66%;
  opacity: 0.96;
}

.floor-glow {
  position: absolute;
  right: 1%;
  bottom: 0;
  width: 84%;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(90deg, transparent, rgba(112, 240, 166, 0.42), rgba(146, 216, 255, 0.34), transparent);
  filter: blur(14px);
}

.market-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(292px, 320px);
  gap: 8px;
  min-height: 462px;
}

.chart-panel {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  min-width: 0;
  min-height: 462px;
  padding: 12px;
  background:
    linear-gradient(180deg, rgba(7, 13, 17, 0.88), rgba(2, 8, 11, 0.94)),
    radial-gradient(ellipse at 80% 0%, rgba(140, 216, 255, 0.12), transparent 48%);
}

.chart-panel.chart-only {
  display: block;
  overflow: hidden;
  padding: 0;
}

.chart-panel.chart-only .dex-chart-shell {
  height: 100%;
  min-height: inherit;
  border: 0;
  border-radius: inherit;
}

.chart-header,
.pair-title,
.updated,
.time-tabs,
.table-tabs {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
}

.chart-header {
  justify-content: space-between;
  gap: 12px;
  padding: 2px 0 10px;
}

.pair-title {
  gap: 10px;
}

.pair-title img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(174, 255, 215, 0.28), rgba(174, 255, 215, 0.05));
  filter: drop-shadow(0 0 8px rgba(157, 255, 200, 0.65));
}

.pair-title strong,
.token-card h2 {
  display: block;
  font-size: 1rem;
  font-weight: 950;
}

.pair-title span,
.updated,
.chart-meta span,
.token-card p,
.chain {
  color: var(--muted);
  font-size: 0.78rem;
}

.pair-chain {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.pair-chain img {
  width: 15px;
  height: 15px;
  object-fit: contain;
}

.updated i,
.loader-status i,
.loader-status i {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-left: 5px;
  border-radius: 50%;
  background: #65f299;
  box-shadow: 0 0 13px rgba(101, 242, 153, 0.9);
}

.updated {
  text-decoration: none;
  white-space: nowrap;
  transition: color 160ms ease;
}

.updated:hover {
  color: rgba(229, 255, 244, 0.96);
}

.dex-chart-shell {
  position: relative;
  z-index: 1;
  min-height: 0;
  overflow: hidden;
  border: 1px solid rgba(146, 216, 255, 0.18);
  border-radius: calc(var(--radius) - 2px);
  background:
    linear-gradient(180deg, rgba(9, 17, 23, 0.62), rgba(1, 6, 10, 0.88)),
    radial-gradient(ellipse at 70% 0%, rgba(132, 221, 255, 0.08), transparent 52%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    inset 0 0 22px rgba(96, 228, 166, 0.08),
    0 0 22px rgba(63, 159, 255, 0.12);
}

.dex-chart-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: #05080d;
}

.time-tabs,
.table-tabs {
  gap: 5px;
  padding: 6px 0;
  border-top: 1px solid rgba(159, 197, 211, 0.08);
  border-bottom: 1px solid rgba(159, 197, 211, 0.08);
}

.time-tabs button,
.table-tabs button {
  min-height: 24px;
  border: 0;
  border-radius: 999px;
  padding: 0 9px;
  color: rgba(233, 248, 248, 0.72);
  background: transparent;
  cursor: pointer;
  font-size: 0.75rem;
}

.time-tabs button.active,
.table-tabs button.active {
  color: #d5f7ff;
  background: rgba(87, 158, 255, 0.2);
  box-shadow: inset 0 0 0 1px rgba(145, 216, 255, 0.22);
}

.chart-body {
  position: relative;
  min-height: 0;
  border-bottom: 1px solid rgba(159, 197, 211, 0.1);
  background:
    linear-gradient(rgba(130, 183, 194, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(130, 183, 194, 0.09) 1px, transparent 1px);
  background-size: 72px 43px;
}

.tool-rail {
  position: absolute;
  top: 10px;
  bottom: 36px;
  left: 0;
  z-index: 2;
  width: 36px;
  border-right: 1px solid rgba(159, 197, 211, 0.12);
  background: rgba(5, 9, 13, 0.22);
}

.tool-rail span {
  display: block;
  width: 16px;
  height: 16px;
  margin: 13px auto;
  border: 1px solid rgba(159, 197, 211, 0.42);
  border-radius: 3px;
}

.chart-meta {
  position: absolute;
  top: 12px;
  left: 52px;
  z-index: 2;
  display: grid;
  gap: 3px;
  color: rgba(239, 255, 247, 0.88);
}

.chart-meta strong {
  font-size: 0.85rem;
}

.green,
.chart-meta b,
.buy {
  color: var(--mint-2);
}

.sell {
  color: var(--red);
}

.candle-chart {
  position: absolute;
  inset: 16px 8px 34px 38px;
  width: calc(100% - 46px);
  height: calc(100% - 50px);
  overflow: visible;
}

.candle-chart .wick {
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
}

.candle-chart .up {
  fill: #30ed8a;
  stroke: #30ed8a;
}

.candle-chart .down {
  fill: #ff5c66;
  stroke: #ff5c66;
}

.candle-chart .volume-up {
  fill: rgba(48, 237, 138, 0.42);
}

.candle-chart .volume-down {
  fill: rgba(255, 92, 102, 0.38);
}

.candle-chart .price-line {
  stroke: rgba(142, 255, 198, 0.55);
  stroke-dasharray: 5 6;
}

.chart-axis {
  position: absolute;
  left: 48px;
  right: 18px;
  bottom: 8px;
  display: flex;
  justify-content: space-between;
  color: rgba(239, 255, 247, 0.75);
  font-size: 0.72rem;
}

.trade-table {
  position: relative;
  z-index: 2;
  overflow: hidden;
}

.trade-table table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.trade-table th,
.trade-table td {
  overflow: hidden;
  padding: 5px 6px;
  text-align: right;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: rgba(239, 255, 247, 0.72);
  font-size: 0.69rem;
}

.trade-table th {
  color: rgba(239, 255, 247, 0.52);
  font-weight: 700;
}

.trade-table td:first-child,
.trade-table th:first-child,
.trade-table td:nth-child(2),
.trade-table th:nth-child(2) {
  text-align: left;
}

.token-card {
  min-height: 462px;
  padding: 12px;
  text-align: center;
}

.live-token-panel {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.live-panel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 28px;
  margin-bottom: 8px;
}

.live-status,
.mini-dex-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 28px;
  border: 1px solid rgba(174, 255, 205, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  color: rgba(239, 255, 247, 0.76);
  font-size: 0.68rem;
  font-weight: 900;
}

.live-status {
  min-width: 0;
  padding: 0 9px;
}

.live-status i {
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mint-2);
  box-shadow: 0 0 13px rgba(101, 242, 153, 0.9);
}

.live-status b {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.live-token-panel.is-error .live-status i {
  background: var(--red);
  box-shadow: 0 0 13px rgba(255, 92, 102, 0.75);
}

.mini-dex-link {
  flex: 0 0 auto;
  padding: 0 10px;
  text-decoration: none;
  transition: color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.mini-dex-link:hover {
  color: rgba(223, 255, 238, 0.98);
  border-color: rgba(146, 216, 255, 0.38);
  transform: translateY(-1px);
}

.card-tools {
  position: absolute;
  top: 8px;
  right: 8px;
  display: flex;
  gap: 8px;
}

.card-tools button {
  width: 18px;
  height: 18px;
  border: 0;
  border-radius: 50%;
  background:
    linear-gradient(45deg, transparent 42%, rgba(225, 242, 246, 0.7) 44% 56%, transparent 58%),
    linear-gradient(-45deg, transparent 42%, rgba(225, 242, 246, 0.7) 44% 56%, transparent 58%);
  opacity: 0.66;
}

.card-tools button:first-child {
  background:
    radial-gradient(circle, rgba(225, 242, 246, 0.72) 0 2px, transparent 3px),
    conic-gradient(from 0deg, transparent 0 12%, rgba(225, 242, 246, 0.55) 12% 20%, transparent 20% 32%, rgba(225, 242, 246, 0.55) 32% 40%, transparent 40% 52%, rgba(225, 242, 246, 0.55) 52% 60%, transparent 60% 72%, rgba(225, 242, 246, 0.55) 72% 80%, transparent 80%);
}

.token-avatar {
  width: 86px;
  height: 66px;
  object-fit: contain;
  margin: 0 auto 4px;
  filter: drop-shadow(0 0 11px rgba(158, 255, 202, 0.72));
}

.token-card h2,
.token-card p {
  margin: 0;
}

.live-token-panel h2,
.live-token-panel > p {
  text-align: center;
}

.price-focus {
  position: relative;
  margin: 10px 0 8px;
  padding: 12px;
  overflow: hidden;
  border: 1px solid rgba(174, 255, 205, 0.18);
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(101, 242, 153, 0.12), rgba(5, 14, 12, 0.58)),
    radial-gradient(ellipse at 100% 0%, rgba(146, 216, 255, 0.18), transparent 54%);
  box-shadow: inset 0 0 20px rgba(127, 255, 187, 0.08);
}

.price-focus span,
.contract-strip span,
.live-updated {
  color: rgba(239, 255, 247, 0.54);
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.03em;
}

.price-focus strong {
  display: block;
  margin-top: 4px;
  color: var(--mint);
  font-size: clamp(1.55rem, 2vw, 2.18rem);
  line-height: 1;
  text-shadow: 0 0 17px rgba(141, 255, 190, 0.48);
}

.price-focus small {
  display: block;
  margin-top: 5px;
  color: rgba(218, 243, 255, 0.72);
  font-size: 0.76rem;
  font-weight: 800;
}

.chain {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 8px auto 14px;
  color: #b8c5ff;
}

.brand-stack span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 22px;
  padding: 0 8px;
  border: 1px solid rgba(184, 255, 220, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
}

.brand-stack img {
  width: 16px;
  height: 16px;
  object-fit: contain;
}

.brand-stack b {
  overflow: hidden;
  color: inherit;
  text-overflow: ellipsis;
  white-space: nowrap;
  font: inherit;
}

.price-boxes,
.range-grid,
.liquidity-bars {
  display: grid;
  gap: 6px;
}

.price-boxes {
  grid-template-columns: repeat(2, 1fr);
}

.price-boxes div,
.range-grid div,
.liquidity-bars div {
  min-width: 0;
  border: 1px solid rgba(180, 217, 223, 0.12);
  border-radius: 6px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.price-boxes div:nth-child(n + 3) {
  padding: 7px 5px;
}

.price-boxes span,
.range-grid span,
.liquidity-bars span {
  display: block;
  color: rgba(239, 255, 247, 0.52);
  font-size: 0.62rem;
  font-weight: 800;
}

.price-boxes strong,
.range-grid strong,
.liquidity-bars b {
  display: block;
  overflow-wrap: anywhere;
  color: #fff;
  font-size: 0.8rem;
}

.range-grid {
  grid-template-columns: repeat(4, 1fr);
  margin: 8px 0;
}

.range-grid div {
  padding: 6px 3px;
}

.range-grid strong {
  color: var(--mint);
  font-size: 0.72rem;
}

.range-grid strong.negative {
  color: var(--red);
}

.range-grid strong.neutral {
  color: rgba(239, 255, 247, 0.72);
}

.liquidity-bars {
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 10px;
  text-align: left;
}

.liquidity-bars div {
  position: relative;
  min-height: 43px;
  padding: 6px 6px 9px;
}

.liquidity-bars i {
  position: absolute;
  left: 6px;
  right: 6px;
  bottom: 4px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--mint-2) 0 var(--w), var(--red) var(--w));
}

.trade-button {
  width: 100%;
  min-height: 42px;
  padding: 0 12px;
  text-decoration: none;
}

.live-dex-button {
  margin-top: 8px;
}

.contract-strip {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  min-height: 34px;
  margin-top: auto;
  border: 1px solid rgba(146, 216, 255, 0.16);
  border-radius: 10px;
  padding: 5px 6px 5px 9px;
  background: rgba(255, 255, 255, 0.045);
}

.contract-strip button {
  min-width: 0;
  border: 0;
  border-radius: 999px;
  padding: 6px 8px;
  overflow: hidden;
  background: rgba(107, 238, 152, 0.14);
  color: var(--mint);
  cursor: pointer;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.71rem;
  font-weight: 900;
}

.live-updated {
  display: block;
  margin-top: 8px;
  text-align: center;
}

.gallery-band {
  display: grid;
  grid-template-columns: 230px 50px minmax(0, 1fr) 50px;
  align-items: center;
  gap: 12px;
  min-height: 178px;
  padding: 18px 26px;
  background:
    linear-gradient(180deg, rgba(6, 14, 17, 0.84), rgba(4, 11, 13, 0.9)),
    linear-gradient(90deg, rgba(80, 198, 158, 0.08), transparent 60%, rgba(145, 216, 255, 0.08));
}

.gallery-intro {
  position: relative;
  z-index: 2;
}

.gallery-intro h2,
.section-title h2 {
  margin: 0 0 16px;
  color: #caffdc;
  font-size: clamp(2rem, 2.7vw, 3.1rem);
  line-height: 0.9;
  text-shadow: 0 2px 0 rgba(9, 83, 52, 0.95), 0 0 18px rgba(137, 255, 184, 0.72);
}

.gallery-intro p,
.section-title p {
  margin: 0;
  color: rgba(239, 255, 247, 0.92);
  font-weight: 700;
  line-height: 1.35;
}

.arrow-button {
  position: relative;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(168, 255, 206, 0.35);
  border-radius: 999px;
  color: var(--mint);
  background: rgba(30, 92, 67, 0.36);
  box-shadow: 0 0 18px rgba(94, 240, 150, 0.28), inset 0 0 18px rgba(190, 255, 220, 0.08);
  cursor: pointer;
}

.gallery-track {
  position: relative;
  z-index: 2;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(130px, 1fr);
  gap: 12px;
  overflow-x: auto;
  padding: 4px 2px 10px;
  scrollbar-width: none;
}

.gallery-track::-webkit-scrollbar {
  display: none;
}

.gallery-card {
  position: relative;
  display: grid;
  align-items: end;
  justify-items: center;
  min-height: 142px;
  overflow: hidden;
  border: 1px solid rgba(180, 255, 217, 0.23);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.01)),
    radial-gradient(ellipse at 50% 95%, rgba(109, 225, 255, 0.24), transparent 46%),
    rgba(5, 11, 13, 0.76);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 10px 26px rgba(0, 0, 0, 0.3);
}

.gallery-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  height: 58%;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.82));
}

.gallery-card.active {
  border-color: rgba(174, 255, 205, 0.76);
  box-shadow: 0 0 20px rgba(143, 255, 194, 0.48), inset 0 0 18px rgba(143, 255, 194, 0.18);
}

.gallery-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.08) contrast(1.06);
  transition: transform 220ms ease, filter 220ms ease;
}

.gallery-card:hover img {
  transform: scale(1.04);
  filter: saturate(1.16) contrast(1.08);
}

.gallery-card strong {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 28px 8px 9px;
  overflow: hidden;
  white-space: nowrap;
  text-align: center;
  text-overflow: ellipsis;
  font-size: 0.74rem;
  text-shadow: 0 2px 4px #000;
}

.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(420px, 0.95fr);
  gap: 8px;
}

.lore-panel,
.faq-panel {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 18px;
  min-height: 160px;
  padding: 22px 34px;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(170, 255, 214, 0.22);
  border-radius: var(--radius);
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.035);
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
}

.timeline-item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -9px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 14px rgba(145, 216, 255, 0.84);
}

.timeline-item img {
  width: 62px;
  height: 58px;
  object-fit: contain;
  opacity: 0.72;
  filter:
    saturate(0.92)
    drop-shadow(0 0 7px rgba(168, 255, 203, 0.42));
}

.timeline-item img.lore-icon-wide {
  width: 66px;
  transform: translateX(-2px);
}

.timeline-item strong {
  display: block;
  margin-bottom: 5px;
  font-size: 0.82rem;
}

.timeline-item p,
.faq-list p,
.site-footer span,
.site-footer a {
  margin: 0;
  color: rgba(239, 255, 247, 0.72);
  font-size: 0.74rem;
  line-height: 1.35;
  text-decoration: none;
}

.faq-panel {
  grid-template-columns: 130px minmax(0, 1fr);
}

.faq-list {
  border: 1px solid rgba(170, 255, 214, 0.14);
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.025);
}

.faq-list details {
  border-bottom: 1px solid rgba(170, 255, 214, 0.12);
}

.faq-list details:last-child {
  border-bottom: 0;
}

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 28px;
  padding: 0 14px;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.94);
  font-size: 0.87rem;
  font-weight: 850;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  color: rgba(224, 255, 237, 0.88);
  font-size: 1.1rem;
}

.faq-list details[open] summary::after {
  content: "-";
}

.faq-list p {
  padding: 0 14px 12px;
}

.site-footer {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 1.1fr 0.9fr 0.8fr 1.05fr 190px;
  gap: 26px;
  min-height: 92px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 28px;
  background: rgba(4, 10, 13, 0.86);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.site-footer > div {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: start;
  gap: 5px;
}

.footer-brand {
  grid-template-columns: 50px minmax(0, 1fr);
  column-gap: 12px;
}

.footer-brand img {
  grid-row: span 2;
  width: 50px;
  height: 44px;
  object-fit: contain;
  filter: drop-shadow(0 0 9px rgba(155, 255, 198, 0.7));
}

.footer-brand strong {
  font-size: 1.7rem;
  line-height: 1;
}

.site-footer > div > strong {
  color: #bfd4ff;
  font-size: 0.76rem;
}

.site-footer button {
  justify-content: space-between;
  min-height: 24px;
  width: 142px;
  padding: 0 12px;
  color: var(--mint);
  background: rgba(107, 238, 152, 0.18);
  border-color: rgba(174, 255, 205, 0.24);
  font-size: 0.73rem;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: max-content;
  max-width: 100%;
  font-weight: 800;
  transition: color 160ms ease, transform 160ms ease;
}

.brand-link:hover {
  color: rgba(223, 255, 238, 0.96);
  transform: translateX(2px);
}

.brand-link .brand-icon {
  width: 17px;
  height: 17px;
}

.brand-link .discord-icon {
  height: 14px;
}

.solana-card {
  min-height: 62px;
  grid-template-columns: 64px minmax(0, 1fr);
  align-items: center;
  align-content: center;
  column-gap: 10px;
  border: 1px solid rgba(175, 255, 212, 0.21);
  border-radius: var(--radius);
  padding: 12px;
  background: rgba(255, 255, 255, 0.055);
}

.solana-logo-img {
  grid-row: span 2;
  width: 58px;
  height: 22px;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(125, 255, 204, 0.38));
}

.footer-still {
  pointer-events: none;
}

.footer-still img {
  position: absolute;
  right: -26px;
  bottom: -42px;
  width: 230px;
  filter: drop-shadow(0 0 18px rgba(154, 255, 199, 0.46));
  opacity: 0.7;
}

.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 90;
  padding: 12px 18px;
  border: 1px solid rgba(174, 255, 205, 0.44);
  border-radius: 999px;
  color: #03100b;
  background: linear-gradient(180deg, #caffdc, #74ee9e);
  box-shadow: 0 0 20px rgba(116, 238, 158, 0.45);
  font-weight: 900;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.show {
  opacity: 1;
  transform: none;
}

.loading-screen {
  --loader-controls-shift: clamp(78px, 11vh, 126px);
  --loader-brand-shift-x: clamp(-190px, -11vw, -112px);
  --loader-brand-shift-y: clamp(-72px, -7vh, -42px);
  position: fixed;
  inset: 0;
  z-index: 100;
  overflow: hidden;
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: 30px;
  background:
    linear-gradient(180deg, rgba(0, 3, 5, 0.66), rgba(1, 9, 10, 0.96)),
    radial-gradient(ellipse at 50% 74%, rgba(122, 255, 191, 0.16), transparent 42%),
    radial-gradient(ellipse at 18% 50%, rgba(104, 238, 154, 0.12), transparent 36%),
    radial-gradient(ellipse at 84% 50%, rgba(145, 216, 255, 0.16), transparent 36%),
    #000406;
  transition: opacity 520ms ease, visibility 520ms ease;
}

.loading-screen.hidden {
  visibility: hidden;
  opacity: 0;
}

.loading-screen::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 34%;
  background:
    linear-gradient(180deg, transparent, rgba(145, 216, 255, 0.09) 30%, rgba(20, 230, 133, 0.1)),
    repeating-linear-gradient(90deg, transparent 0 36px, rgba(137, 255, 184, 0.11) 38px, transparent 58px);
  filter: blur(0.5px);
  opacity: 0.75;
  transform: perspective(800px) rotateX(58deg);
  transform-origin: bottom;
}

.corner {
  position: absolute;
  width: 36px;
  height: 36px;
  opacity: 0.55;
}

.corner::before,
.corner::after {
  content: "";
  position: absolute;
  background: rgba(174, 255, 215, 0.62);
}

.corner::before {
  width: 36px;
  height: 1px;
}

.corner::after {
  width: 1px;
  height: 36px;
}

.corner-tl {
  top: 20px;
  left: 20px;
}

.corner-tr {
  top: 20px;
  right: 20px;
  transform: rotate(90deg);
}

.corner-bl {
  bottom: 20px;
  left: 20px;
  transform: rotate(-90deg);
}

.corner-br {
  right: 20px;
  bottom: 20px;
  transform: rotate(180deg);
}

.loader-status {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 10px 18px;
  color: rgba(239, 255, 247, 0.88);
}

.loader-status-left {
  top: 30px;
  left: 50px;
}

.loader-status-left img {
  width: 36px;
  height: 32px;
  object-fit: contain;
}

.loader-status-left strong,
.loader-status-left span {
  display: block;
}

.loader-status-left span {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.8rem;
}

.loader-status-center {
  top: 30px;
  left: 50%;
  min-width: min(340px, 42vw);
  justify-content: center;
  transform: translateX(-50%);
}

.loader-status-center span,
.loader-status-right span {
  color: rgba(239, 255, 247, 0.78);
  font-size: 0.88rem;
  font-weight: 800;
}

.loader-status-center b {
  color: var(--mint);
}

.loader-status-center i {
  margin-left: 12px;
}

.loader-status-right {
  top: 30px;
  right: 58px;
}

.loader-status-right i {
  margin: 0;
}

.loader-status-right svg {
  width: 28px;
  height: 28px;
  color: rgba(148, 255, 204, 0.72);
}

.loader-status-right .brand-icon {
  width: 28px;
  height: 28px;
  filter: drop-shadow(0 0 12px rgba(136, 255, 203, 0.52));
}

.loader-scene {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.loader-character {
  position: absolute;
  object-fit: contain;
  filter: drop-shadow(0 0 24px rgba(162, 255, 202, 0.58)) drop-shadow(0 54px 38px rgba(0, 0, 0, 0.58));
}

.loader-character-left {
  left: 5vw;
  bottom: 19vh;
  width: min(38vw, 560px);
}

.loader-character-right {
  right: 7vw;
  bottom: 17vh;
  width: min(34vw, 530px);
}

.loader-content {
  position: relative;
  z-index: 5;
  width: min(760px, 92vw);
  margin-top: 34px;
  text-align: center;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  transform: translate(var(--loader-brand-shift-x), var(--loader-brand-shift-y));
}

.brand-mark img {
  width: clamp(72px, 6.8vw, 104px);
  height: clamp(62px, 5.7vw, 88px);
  object-fit: contain;
  filter: drop-shadow(0 0 18px rgba(159, 255, 202, 0.84));
}

.brand-mark span {
  font-size: clamp(4rem, 7.4vw, 8.4rem);
  line-height: 0.78;
}

.loader-kicker {
  margin: 24px 0 26px;
  color: rgba(213, 255, 230, 0.86);
  font-size: clamp(1rem, 1.45vw, 1.55rem);
  font-weight: 900;
  letter-spacing: 0.45em;
  transform: translate(var(--loader-brand-shift-x), var(--loader-brand-shift-y));
}

.progress-shell {
  position: relative;
  display: flex;
  align-items: center;
  width: min(860px, 86vw);
  height: 88px;
  margin: clamp(42px, 6vh, 86px) auto 0;
  padding: 14px 118px 14px 16px;
  border-radius: 44px;
  transform: translateY(var(--loader-controls-shift));
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.11), transparent 30%),
    rgba(1, 10, 11, 0.72);
}

.progress-fill {
  width: 70%;
  height: 100%;
  border-radius: 36px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.58), rgba(255, 255, 255, 0.08) 42%, transparent 44%),
    repeating-linear-gradient(90deg, transparent 0 28px, rgba(255, 255, 255, 0.09) 29px, transparent 31px),
    linear-gradient(90deg, rgba(125, 255, 173, 0.86), rgba(174, 255, 205, 0.96));
  box-shadow:
    inset 0 0 22px rgba(255, 255, 255, 0.45),
    0 0 28px rgba(118, 255, 170, 0.65);
  transition: width 180ms ease;
}

.progress-shell span {
  position: absolute;
  top: 50%;
  right: 32px;
  transform: translateY(-50%);
  color: #caffdc;
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 950;
  text-shadow: 0 0 12px rgba(135, 255, 188, 0.74);
}

.loader-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  width: min(760px, 92vw);
  margin: 24px auto 0;
  transform: translateY(var(--loader-controls-shift));
}

.step {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 8px;
  color: rgba(239, 255, 247, 0.48);
  font-size: 0.75rem;
  font-weight: 800;
}

.step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 19px;
  left: 57%;
  width: 86%;
  height: 1px;
  background: repeating-linear-gradient(90deg, rgba(174, 255, 205, 0.44) 0 5px, transparent 5px 10px);
}

.step.active {
  color: var(--mint);
}

.step-dot {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(175, 255, 210, 0.35);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 0 14px rgba(255, 255, 255, 0.06);
}

.step.active .step-dot {
  background: rgba(115, 255, 165, 0.22);
  box-shadow: 0 0 18px rgba(115, 255, 165, 0.5), inset 0 0 14px rgba(255, 255, 255, 0.16);
}

.step-dot::before {
  content: "";
  width: 14px;
  height: 14px;
  border: 2px solid currentColor;
  border-radius: 4px;
}

.droplet::before {
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  background: currentColor;
}

.chart::before {
  border: 0;
  border-radius: 0;
  background: linear-gradient(90deg, currentColor 0 3px, transparent 3px 6px, currentColor 6px 10px, transparent 10px 13px, currentColor 13px 17px);
}

.book::before {
  width: 16px;
  height: 13px;
  border-radius: 2px;
}

.gallery::before {
  border-radius: 2px;
  transform: rotate(6deg);
}

.loader-footer {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 30px;
  z-index: 5;
  display: flex;
  justify-content: center;
  gap: 28px;
  color: rgba(239, 255, 247, 0.44);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.loader-footer span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.loader-brand-logo {
  width: 18px;
  height: 18px;
  filter: drop-shadow(0 0 10px rgba(117, 255, 198, 0.48));
}

@media (max-width: 1480px) {
  .top-grid {
    grid-template-columns: 1fr;
  }

  .hero-section,
  .market-grid,
  .chart-panel,
  .token-card {
    min-height: 430px;
  }

  .market-grid {
    grid-template-columns: minmax(0, 1fr) 270px;
  }

  .hero-characters {
    width: min(66%, 650px);
  }

  .story-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1180px) {
  .loading-screen {
    --loader-controls-shift: clamp(58px, 8vh, 96px);
    --loader-brand-shift-x: clamp(-98px, -8vw, -48px);
    --loader-brand-shift-y: clamp(-54px, -6vh, -28px);
  }

  .topbar {
    grid-template-columns: auto 1fr auto;
  }

  .desktop-nav,
  .socials,
  .top-actions {
    display: none;
  }

  .menu-button {
    display: block;
    justify-self: end;
  }

  .mobile-nav {
    position: sticky;
    top: 86px;
    z-index: 48;
    grid-template-columns: repeat(6, 1fr);
    gap: 8px;
    margin-top: 8px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(3, 8, 11, 0.9);
    backdrop-filter: blur(18px);
  }

  .mobile-nav.open {
    display: grid;
  }

  .gallery-band {
    grid-template-columns: 1fr 50px 50px;
  }

  .gallery-intro {
    grid-column: 1 / -1;
  }

  .gallery-track {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  #galleryPrev {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
  }

  #galleryNext {
    grid-column: 3;
    grid-row: 1;
  }

  .site-footer {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-still {
    display: none !important;
  }

  .loader-character-left {
    left: -8vw;
    width: min(48vw, 500px);
  }

  .loader-character-right {
    right: -6vw;
    width: min(45vw, 490px);
  }

}

@media (max-width: 860px) {
  .loading-screen {
    --loader-controls-shift: clamp(30px, 5vh, 58px);
    --loader-brand-shift-x: 0px;
    --loader-brand-shift-y: -18px;
  }

  .site-shell {
    padding: 10px;
  }

  .topbar {
    top: 8px;
    min-height: 60px;
    padding: 8px 10px 8px 14px;
  }

  .logo {
    min-width: 0;
  }

  .logo span {
    font-size: 2rem;
  }

  .mobile-nav.open {
    grid-template-columns: repeat(3, 1fr);
  }

  .hero-section {
    min-height: 650px;
    padding: 24px 20px 130px;
  }

  .hero-copy {
    max-width: none;
  }

  .hero-copy h1 {
    font-size: clamp(2.55rem, 10vw, 4.1rem);
  }

  .hero-characters {
    right: -8%;
    bottom: 90px;
    width: 110%;
    height: 56%;
  }

  .market-grid {
    grid-template-columns: 1fr;
  }

  .chart-panel {
    min-height: 520px;
  }

  .token-card {
    min-height: auto;
  }

  .trade-table {
    overflow-x: auto;
  }

  .trade-table table {
    min-width: 690px;
  }

  .gallery-band {
    padding: 18px;
  }

  .gallery-track {
    grid-auto-columns: minmax(150px, 70%);
  }

  .lore-panel,
  .faq-panel {
    grid-template-columns: 1fr;
    padding: 22px;
  }

  .timeline {
    grid-template-columns: 1fr;
  }

  .timeline-item:not(:last-child)::after {
    display: none;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .loading-screen {
    padding: 20px;
  }

  .loader-status-left,
  .loader-status-right,
  .loader-status-center {
    display: none;
  }

  .brand-mark {
    gap: 10px;
  }

  .brand-mark span {
    font-size: clamp(3rem, 15vw, 5.2rem);
  }

  .loader-kicker {
    letter-spacing: 0.22em;
  }

  .loader-character-left {
    left: -18vw;
    bottom: 25vh;
    width: 70vw;
    opacity: 0.68;
  }

  .loader-character-right {
    right: -18vw;
    bottom: 26vh;
    width: 72vw;
    opacity: 0.68;
  }

  .progress-shell {
    width: 100%;
    height: 70px;
    padding-right: 92px;
  }

  .loader-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .step:not(:last-child)::after {
    display: none;
  }

  .loader-footer {
    display: none;
  }
}

@media (max-width: 520px) {
  .hero-actions,
  .top-actions {
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .chart-panel {
    padding: 10px;
  }

  .time-tabs {
    overflow-x: auto;
  }

  .chart-header {
    align-items: flex-start;
  }

  .updated {
    display: none;
  }

  .token-card {
    padding: 18px 10px 12px;
  }

  .price-boxes,
  .range-grid,
  .liquidity-bars {
    grid-template-columns: 1fr 1fr;
  }

  .gallery-track {
    grid-auto-columns: 82%;
  }

  .site-footer {
    padding: 18px;
  }

  .brand-mark img {
    display: none;
  }

}
