@font-face {
  font-family: "Russo One";
  src: url("assets/fonts/russo-one-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Chakra Petch";
  src: url("assets/fonts/chakra-petch-400-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Chakra Petch";
  src: url("assets/fonts/chakra-petch-500-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Chakra Petch";
  src: url("assets/fonts/chakra-petch-600-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Chakra Petch";
  src: url("assets/fonts/chakra-petch-700-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Permanent Marker";
  src: url("assets/fonts/permanent-marker-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  --bg: #030713;
  --panel: rgba(3, 9, 25, 0.82);
  --panel-deep: rgba(2, 6, 18, 0.94);
  --line-cyan: rgba(42, 247, 255, 0.72);
  --line-magenta: rgba(255, 50, 248, 0.66);
  --cyan: #30ffe0;
  --blue: #4cc7ff;
  --pink: #ff45f6;
  --violet: #9363ff;
  --green: #19ff9f;
  --text: #eef9ff;
  --muted: #b9c5dd;
  --shadow-cyan: 0 0 26px rgba(34, 242, 255, 0.56);
  --shadow-pink: 0 0 30px rgba(255, 50, 248, 0.42);
  --radius: 26px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  background: #02050f;
  font-family: "Chakra Petch", "Segoe UI", sans-serif;
  font-synthesis: none;
  line-height: 1.5;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(1, 4, 14, 0.58) 48%, rgba(2, 4, 13, 0.96) 100%),
    linear-gradient(90deg, rgba(0, 255, 220, 0.08), transparent 34%, transparent 64%, rgba(255, 45, 248, 0.08));
  pointer-events: none;
}

.page-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image: url("assets/neon-ocean-bg.png");
  background-size: cover;
  background-position: center top;
  filter: saturate(1.18) contrast(1.08);
}

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

button {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  width: min(1280px, calc(100% - 48px));
  min-height: 76px;
  margin: 0 auto;
  padding: 14px 18px;
  display: grid;
  grid-template-columns: minmax(180px, 1fr) auto minmax(260px, 1fr);
  gap: 18px;
  align-items: center;
  background: linear-gradient(180deg, rgba(9, 16, 36, 0.82), rgba(3, 8, 22, 0.62));
  border: 1px solid rgba(84, 202, 255, 0.2);
  border-top: 0;
  border-radius: 0 0 24px 24px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.44), inset 0 -1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  font-family: "Russo One", "Arial Black", sans-serif;
  font-size: 1.8rem;
  line-height: 1;
  color: #fff;
  text-shadow: 0 0 18px rgba(52, 240, 255, 0.72), 0 0 26px rgba(255, 60, 243, 0.54);
}

.brand img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  filter: drop-shadow(0 0 9px rgba(54, 248, 255, 0.45)) drop-shadow(0 0 12px rgba(255, 55, 245, 0.28));
}

.brand span {
  overflow: hidden;
  background: linear-gradient(90deg, var(--cyan), #69d8ff 45%, var(--pink));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  white-space: nowrap;
}

.main-nav {
  display: inline-flex;
  gap: 14px;
  align-items: center;
  justify-content: center;
  padding: 4px;
  border-radius: 999px;
}

.main-nav a {
  min-width: 72px;
  padding: 13px 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: #f3f8ff;
  font-size: 0.98rem;
  font-weight: 600;
  text-align: center;
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.main-nav a:hover,
.main-nav a.active {
  background: linear-gradient(180deg, rgba(73, 188, 255, 0.25), rgba(20, 51, 90, 0.45));
  border-color: rgba(97, 211, 255, 0.62);
  box-shadow: 0 0 22px rgba(47, 205, 255, 0.62), inset 0 -12px 24px rgba(25, 144, 255, 0.16);
  transform: translateY(-1px);
}

.header-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
}

.social {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(108, 186, 255, 0.18);
  border-radius: 14px;
  background: rgba(5, 10, 28, 0.52);
  color: #fff;
  font-size: 1rem;
  font-weight: 950;
  box-shadow: inset 0 0 16px rgba(36, 245, 255, 0.05);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.social:hover {
  border-color: rgba(54, 248, 255, 0.8);
  box-shadow: 0 0 18px rgba(45, 239, 255, 0.46);
  transform: translateY(-2px);
}

.social img {
  width: 20px;
  height: 20px;
  display: block;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.social img.dex-social {
  width: 23px;
  height: 23px;
}

main {
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;
  padding: 26px 0 34px;
}

.hero {
  position: relative;
  min-height: 560px;
  display: grid;
  grid-template-columns: minmax(420px, 0.82fr) minmax(480px, 1.18fr);
  gap: 18px;
  align-items: center;
  padding: 34px 42px 26px;
  overflow: hidden;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(2, 6, 18, 0.72), rgba(5, 8, 24, 0.18) 52%, rgba(2, 4, 14, 0.58)),
    linear-gradient(180deg, rgba(2, 6, 17, 0.2), rgba(2, 5, 15, 0.75));
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 120px;
  z-index: -1;
  background: linear-gradient(180deg, transparent, rgba(3, 5, 16, 0.92));
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 570px;
  padding-top: 18px;
}

.title-wrap {
  position: relative;
  display: inline-block;
}

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

h1 {
  margin-bottom: 2px;
  font-family: "Russo One", "Arial Black", sans-serif;
  font-size: 7.5rem;
  line-height: 0.86;
  letter-spacing: 0;
  background: linear-gradient(180deg, #50ffeb 0%, #62d9ff 40%, #ffd4ff 65%, #fa39f8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 14px rgba(45, 244, 255, 0.42), 0 0 36px rgba(255, 44, 250, 0.32);
}

.crown {
  position: absolute;
  right: -62px;
  top: -34px;
  width: 72px;
  height: 66px;
  fill: none;
  stroke: var(--cyan);
  stroke-width: 7;
  stroke-linejoin: round;
  stroke-linecap: round;
  filter: drop-shadow(0 0 8px rgba(46, 255, 232, 0.9));
  transform: rotate(6deg);
}

.tagline {
  margin-bottom: 18px;
  color: #f1e7ff;
  font-size: 1.28rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-shadow: 0 0 18px rgba(38, 248, 255, 0.55), 0 0 20px rgba(255, 57, 249, 0.38);
}

.hero-text {
  max-width: 430px;
  margin-bottom: 28px;
  color: #f4f6ff;
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.55;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.55);
}

.hero-buttons,
.gallery-controls,
.footer-socials {
  display: flex;
  align-items: center;
  gap: 14px;
}

.buy-button,
.dex-button {
  position: relative;
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 24px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 22px;
  font-size: 1rem;
  font-weight: 950;
  white-space: nowrap;
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease, border-color 180ms ease;
}

.buy-button {
  color: #041222;
  background: linear-gradient(100deg, #40fff0 0%, #26f4bb 42%, #ff4bf6 100%);
  box-shadow: 0 0 26px rgba(39, 255, 232, 0.52), 0 0 34px rgba(255, 50, 250, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.buy-button.small {
  min-height: 48px;
  padding: 0 18px;
  border-radius: 18px;
  font-size: 0.9rem;
}

.dex-button {
  color: #fff;
  background: rgba(3, 10, 28, 0.52);
  border-color: rgba(87, 216, 255, 0.68);
  box-shadow: inset 0 0 24px rgba(49, 161, 255, 0.08), 0 0 18px rgba(35, 222, 255, 0.22);
}

.dex-button {
  min-height: 50px;
  margin-left: auto;
  border-color: rgba(44, 251, 255, 0.72);
  box-shadow: 0 0 22px rgba(43, 237, 255, 0.34), 0 0 20px rgba(253, 55, 246, 0.28);
}

.buy-button:hover,
.dex-button:hover {
  transform: translateY(-2px);
  filter: saturate(1.12);
  box-shadow: 0 0 32px rgba(44, 249, 255, 0.62), 0 0 38px rgba(255, 50, 250, 0.5);
}

.brand-icon {
  width: 27px;
  height: 27px;
  flex: 0 0 27px;
  display: block;
  object-fit: contain;
}

.pump-logo {
  filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.28));
}

.dex-logo {
  filter: brightness(0) invert(1) drop-shadow(0 0 6px rgba(76, 199, 255, 0.42));
}

.button-arrow {
  width: 18px;
  height: 18px;
  border-right: 2px solid currentColor;
  border-top: 2px solid currentColor;
  transform: rotate(45deg);
}

.hero-art {
  position: relative;
  z-index: 1;
  min-height: 520px;
  display: grid;
  align-items: center;
}

.hero-art img {
  width: min(690px, 105%);
  max-width: none;
  justify-self: end;
  object-fit: contain;
  object-position: center bottom;
  transform: translateX(8%);
  pointer-events: none;
  user-select: none;
}

.graffiti {
  position: absolute;
  right: 6px;
  top: 106px;
  color: #eaffff;
  font-family: "Permanent Marker", "Segoe Print", cursive;
  font-size: 2rem;
  font-weight: 400;
  line-height: 0.9;
  text-align: center;
  transform: rotate(-13deg);
  text-shadow: 0 0 7px var(--cyan), 0 0 18px var(--cyan), 0 0 22px var(--pink);
}

.market-card {
  position: relative;
  margin: -18px 0 18px;
  overflow: hidden;
  border: 1px solid rgba(62, 217, 255, 0.56);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(3, 8, 24, 0.92), rgba(3, 7, 20, 0.86));
  box-shadow: 0 0 0 1px rgba(255, 57, 247, 0.18), var(--shadow-cyan), 0 24px 90px rgba(0, 0, 0, 0.48);
  backdrop-filter: blur(18px);
}

.market-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(33, 244, 255, 0.08), transparent 45%, rgba(255, 58, 248, 0.09));
}

.market-top {
  position: relative;
  display: grid;
  grid-template-columns: minmax(210px, 1fr) auto minmax(390px, 1.6fr) auto;
  align-items: center;
  gap: 22px;
  padding: 22px 28px 18px;
  border-bottom: 1px solid rgba(83, 177, 255, 0.2);
}

.token {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 16px;
}

.token img {
  width: 62px;
  height: 62px;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid rgba(43, 248, 255, 0.7);
  box-shadow: 0 0 22px rgba(54, 242, 255, 0.46), 0 0 22px rgba(255, 54, 245, 0.38);
}

.token h2,
.token p,
.price-block,
.market-stats,
.market-stats dd {
  margin: 0;
}

.token h2 {
  color: var(--cyan);
  font-family: "Russo One", "Arial Black", sans-serif;
  font-size: 1.68rem;
  letter-spacing: 0.04em;
}

.token p {
  color: #cad8ef;
  font-weight: 700;
}

.price-block {
  min-width: 150px;
}

.price-block strong {
  display: block;
  font-size: 1.9rem;
  line-height: 1.08;
}

.price-block span {
  color: var(--green);
  font-weight: 950;
}

.price-block span.negative {
  color: #ff4f9f;
}

.market-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(85px, 1fr));
  border-left: 1px solid rgba(95, 169, 255, 0.13);
  border-right: 1px solid rgba(95, 169, 255, 0.13);
}

.market-stats div {
  padding: 0 18px;
  border-right: 1px solid rgba(95, 169, 255, 0.13);
}

.market-stats div:last-child {
  border-right: 0;
}

.market-stats dt {
  color: #96aac9;
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.08em;
}

.market-stats dd {
  margin-top: 5px;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 950;
}

.chart-shell {
  position: relative;
  padding: 12px 16px 16px;
}

.live-chart-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 38px;
  padding: 0 5px 10px;
  color: #9fb0cc;
  font-size: 0.82rem;
  font-weight: 600;
}

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--cyan);
  font-weight: 700;
  text-transform: uppercase;
}

.live-badge > span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 12px rgba(25, 255, 159, 0.86);
  animation: live-pulse 1.8s ease-in-out infinite;
}

.dex-embed-wrap {
  width: 100%;
  height: clamp(380px, 42vw, 520px);
  overflow: hidden;
  border: 1px solid rgba(83, 173, 255, 0.36);
  border-radius: 16px;
  background: #030815;
  box-shadow: inset 0 0 28px rgba(51, 225, 255, 0.05);
}

.dex-embed-wrap iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
  color-scheme: dark;
}

@keyframes live-pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.48;
    transform: scale(0.72);
  }
}

.gallery-controls button {
  border: 1px solid rgba(83, 173, 255, 0.24);
  color: #e8f4ff;
  background: rgba(7, 14, 35, 0.48);
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.gallery-section {
  position: relative;
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  min-height: 290px;
  padding: 28px 24px;
  overflow: hidden;
}

.gallery-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(4, 9, 24, 0.42), rgba(4, 6, 18, 0.76));
  border-radius: var(--radius);
}

.eyebrow {
  margin-bottom: 7px;
  color: var(--cyan);
  font-size: 0.8rem;
  font-weight: 950;
  letter-spacing: 0.26em;
}

.gallery-copy h2,
.lore-card h2,
.faq-card h2 {
  margin: 0 0 14px;
  font-family: "Russo One", "Arial Black", sans-serif;
  font-size: 2.5rem;
  line-height: 0.95;
  letter-spacing: 0.04em;
  background: linear-gradient(90deg, var(--cyan), #7fdfff 45%, var(--pink));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 15px rgba(58, 246, 255, 0.28);
}

.gallery-copy p:not(.eyebrow) {
  margin-bottom: 28px;
  color: #dce8ff;
  font-weight: 800;
}

.gallery-controls button {
  position: relative;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(5, 15, 39, 0.58);
  box-shadow: inset 0 0 20px rgba(46, 246, 255, 0.08);
}

.gallery-controls button::before {
  content: "";
  position: absolute;
  inset: 17px;
  border-left: 3px solid #fff;
  border-bottom: 3px solid #fff;
  transform: rotate(45deg);
}

#galleryNext::before {
  transform: rotate(-135deg);
}

.gallery-controls button:hover {
  border-color: rgba(51, 246, 255, 0.76);
  box-shadow: 0 0 20px rgba(45, 241, 255, 0.45);
  transform: translateY(-1px);
}

.gallery-track {
  display: flex;
  gap: 18px;
  align-items: center;
  overflow-x: auto;
  padding: 18px 8px 24px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

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

.gallery-card {
  position: relative;
  flex: 0 0 205px;
  height: 230px;
  margin: 0;
  scroll-snap-align: center;
  border: 1px solid rgba(55, 238, 255, 0.76);
  border-radius: 16px;
  overflow: hidden;
  background: rgba(2, 8, 23, 0.8);
  box-shadow: 0 0 16px rgba(40, 237, 255, 0.48), 0 0 26px rgba(255, 49, 249, 0.22);
  transform: rotate(-4deg);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.gallery-card:nth-child(3) {
  transform: rotate(5deg);
}

.gallery-card:nth-child(4) {
  transform: rotate(-5deg);
}

.gallery-card:nth-child(5) {
  transform: rotate(6deg);
}

.gallery-card.featured {
  flex-basis: 255px;
  height: 260px;
  border-width: 2px;
  transform: translateY(-8px) rotate(1deg);
  box-shadow: 0 0 24px rgba(42, 255, 238, 0.75), 0 0 36px rgba(255, 52, 250, 0.52);
}

.gallery-card:hover {
  transform: translateY(-8px) rotate(0deg) scale(1.02);
  box-shadow: 0 0 32px rgba(42, 255, 238, 0.8), 0 0 40px rgba(255, 52, 250, 0.54);
}

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

.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(360px, 0.95fr);
  gap: 18px;
  align-items: start;
  margin-top: 8px;
}

.lore-card,
.faq-card {
  overflow: hidden;
  border: 1px solid rgba(82, 189, 255, 0.5);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(3, 8, 22, 0.88), rgba(3, 6, 17, 0.82));
  box-shadow: inset 0 0 38px rgba(43, 227, 255, 0.06), 0 0 28px rgba(56, 214, 255, 0.14), 0 0 28px rgba(255, 60, 247, 0.12);
}

.lore-card {
  position: relative;
  min-height: 500px;
  isolation: isolate;
}

.lore-copy,
.faq-card {
  padding: 28px;
}

.lore-copy p:not(.eyebrow) {
  color: #d9e4f9;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.65;
}

.lore-copy {
  position: relative;
  z-index: 2;
  max-width: min(61%, 440px);
}

.lore-image {
  position: absolute;
  z-index: 0;
  inset: 0;
}

.lore-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2, 7, 20, 0.98) 0%, rgba(2, 7, 20, 0.93) 34%, rgba(2, 7, 20, 0.58) 58%, rgba(2, 7, 20, 0.12) 82%),
    linear-gradient(180deg, rgba(2, 7, 20, 0.08), rgba(2, 7, 20, 0.32));
  pointer-events: none;
}

.lore-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.12);
}

.faq-card details {
  border: 1px solid rgba(96, 191, 255, 0.35);
  border-radius: 14px;
  background: rgba(3, 10, 28, 0.62);
  overflow: hidden;
}

.faq-card details + details {
  margin-top: 8px;
}

.faq-card summary {
  position: relative;
  min-height: 46px;
  display: flex;
  align-items: center;
  padding: 0 48px 0 18px;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 950;
  cursor: pointer;
  list-style: none;
}

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

.faq-card summary::after {
  content: "";
  position: absolute;
  right: 19px;
  width: 11px;
  height: 11px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg) translateY(-3px);
  transition: transform 160ms ease;
}

.faq-card details[open] summary::after {
  transform: rotate(225deg) translateY(-1px);
}

.faq-card details[open] {
  border-color: rgba(62, 218, 255, 0.74);
  box-shadow: 0 0 17px rgba(45, 232, 255, 0.18);
}

.faq-card details p {
  margin: 0;
  padding: 0 18px 16px;
  color: #c9d7ef;
  font-size: 0.88rem;
  font-weight: 700;
}

.site-footer {
  width: min(1280px, calc(100% - 48px));
  min-height: 92px;
  display: grid;
  grid-template-columns: minmax(170px, auto) 1fr auto auto;
  gap: 20px;
  align-items: center;
  margin: 4px auto 30px;
  padding: 16px 4px;
}

.footer-brand {
  font-size: 1.65rem;
}

.site-footer p {
  margin: 0;
  color: #cad6ed;
  font-weight: 700;
}

.footer-socials {
  gap: 8px;
  padding: 8px;
  border: 1px solid rgba(87, 182, 255, 0.16);
  border-radius: 20px;
  background: rgba(4, 9, 26, 0.48);
}

@media (max-width: 1180px) {
  .site-header {
    grid-template-columns: 1fr;
    justify-items: center;
    width: min(100%, calc(100% - 28px));
  }

  .header-actions {
    justify-content: center;
  }

  main,
  .site-footer {
    width: min(100%, calc(100% - 28px));
  }

  .hero {
    grid-template-columns: 1fr;
    padding-inline: 28px;
  }

  .hero-copy {
    max-width: 640px;
  }

  .hero-art {
    min-height: 420px;
    margin-top: -80px;
  }

  .hero-art img {
    justify-self: center;
    width: min(720px, 115%);
    transform: none;
  }

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

  .market-stats {
    grid-column: 1 / -1;
  }

  .dex-button {
    margin-left: 0;
  }

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

@media (max-width: 860px) {
  .site-header {
    padding-inline: 12px;
  }

  .main-nav {
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
  }

  .main-nav a {
    min-width: auto;
  }

  .header-actions .social {
    display: none;
  }

  h1 {
    font-size: 5.4rem;
  }

  .tagline {
    font-size: 1rem;
    letter-spacing: 0.18em;
  }

  .hero-buttons {
    align-items: stretch;
    flex-direction: column;
    max-width: 340px;
  }

  .hero-art {
    margin-top: -40px;
    min-height: 360px;
  }

  .graffiti {
    display: none;
  }

  .market-top,
  .market-stats,
  .lore-card,
  .gallery-section,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .market-stats {
    border: 0;
  }

  .market-stats div {
    padding: 12px 0;
    border-right: 0;
    border-bottom: 1px solid rgba(95, 169, 255, 0.13);
  }

  .gallery-section {
    padding-inline: 14px;
  }

  .gallery-copy {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
    align-items: end;
  }

  .gallery-copy .eyebrow,
  .gallery-copy p:not(.eyebrow) {
    grid-column: 1 / -1;
  }

  .gallery-controls {
    align-self: center;
  }

  .gallery-card,
  .gallery-card.featured {
    flex-basis: 210px;
    height: 230px;
    transform: none;
  }

  .lore-image {
    min-height: 0;
  }

  .site-footer {
    justify-items: center;
    text-align: center;
  }
}

@media (max-width: 560px) {
  main,
  .site-footer {
    width: min(100%, calc(100% - 18px));
  }

  .site-header {
    width: min(100%, calc(100% - 18px));
    border-radius: 0 0 18px 18px;
  }

  .brand {
    font-size: 1.55rem;
  }

  .brand img {
    width: 44px;
    height: 44px;
  }

  .hero {
    min-height: auto;
    padding: 26px 16px 8px;
  }

  h1 {
    font-size: 4rem;
  }

  .crown {
    right: -34px;
    top: -23px;
    width: 46px;
    height: 48px;
    stroke-width: 8;
  }

  .tagline {
    letter-spacing: 0.08em;
  }

  .hero-text,
  .lore-copy p:not(.eyebrow) {
    font-size: 0.95rem;
  }

  .hero-art {
    min-height: 285px;
  }

  .market-card {
    margin-top: 8px;
    border-radius: 20px;
  }

  .market-top {
    padding: 18px;
  }

  .price-block strong {
    font-size: 1.55rem;
  }

  .live-chart-heading {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
  }

  .chart-shell {
    padding: 10px;
  }

  .dex-embed-wrap {
    height: 430px;
    border-radius: 12px;
  }

  .gallery-copy {
    display: block;
  }

  .gallery-copy h2,
  .lore-card h2,
  .faq-card h2 {
    font-size: 2rem;
  }

  .lore-copy,
  .faq-card {
    padding: 22px 18px;
  }

  .lore-card {
    min-height: 560px;
  }

  .lore-copy {
    max-width: 100%;
  }

  .lore-image::after {
    background: linear-gradient(90deg, rgba(2, 7, 20, 0.96), rgba(2, 7, 20, 0.76));
  }

  .footer-socials {
    flex-wrap: wrap;
    justify-content: center;
  }
}
