:root {
  --bg: #08020d;
  --panel: rgba(14, 5, 23, .86);
  --purple: #b333ff;
  --purple-2: #6b1ca5;
  --orange: #ff8a18;
  --orange-2: #ffb23d;
  --text: #fff7ff;
  --muted: #cbb7dd;
  --line: rgba(189, 83, 255, .48);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { background: var(--bg); scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 50% 28%, #1f082c 0%, #0d0414 38%, #050108 77%),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }

.site-shell { min-height: 100svh; }

.desktop-stage {
  position: relative;
  container-type: inline-size;
  width: min(100vw, calc(100svh * 4 / 3));
  aspect-ratio: 4 / 3;
  margin: 0 auto;
  overflow: hidden;
  isolation: isolate;
  box-shadow: 0 0 90px rgba(123, 25, 178, .22);
}

.desktop-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
}

.hotspot {
  position: absolute;
  display: block;
  cursor: pointer;
  border: 0;
  background: transparent;
  border-radius: 999px;
  transition: box-shadow .18s ease, background .18s ease, transform .18s ease;
}
.hotspot:hover,
.hotspot:focus-visible {
  outline: none;
  background: rgba(255,255,255,.035);
  box-shadow: 0 0 0 2px rgba(225, 149, 255, .6), 0 0 24px rgba(172, 44, 255, .45);
}
.hotspot:active { transform: scale(.985); }
.top-buy { left: 80.1%; top: 2%; width: 14.2%; height: 5.1%; }
.main-buy { left: 4.35%; top: 47.05%; width: 14.75%; height: 5.15%; }
.dex { left: 19.65%; top: 47.05%; width: 11.25%; height: 5.15%; }
.telegram { left: 31.35%; top: 47.05%; width: 10.05%; height: 5.15%; }
.x { left: 42.05%; top: 47.05%; width: 6.65%; height: 5.15%; }
.ca-copy { left: 38.2%; top: 53.78%; width: 10.1%; height: 4.9%; }

.desktop-ca-value {
  position: absolute;
  z-index: 2;
  left: 8.55%;
  top: 53.78%;
  width: 29.55%;
  height: 4.9%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 .12%;
  overflow: hidden;
  background: transparent !important;
  border: 0;
  box-shadow: none;
  color: #eee0f7;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: clamp(10px, 1.28cqw, 18.6px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.08em;
  text-align: center;
  white-space: nowrap;
  user-select: text;
  -webkit-user-select: text;
  cursor: text;
  text-shadow: 0 0 8px rgba(185, 95, 231, .16);
  transform: translateY(.34cqw);
}
.mobile-site { display: none; }

.toast {
  position: fixed;
  left: 50%;
  bottom: max(20px, env(safe-area-inset-bottom));
  z-index: 50;
  transform: translate(-50%, 20px);
  opacity: 0;
  pointer-events: none;
  border: 1px solid rgba(217, 142, 255, .45);
  border-radius: 999px;
  background: rgba(10, 3, 15, .92);
  box-shadow: 0 10px 30px rgba(0,0,0,.45), 0 0 24px rgba(158, 38, 255, .24);
  padding: 10px 16px;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: opacity .2s ease, transform .2s ease;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 760px), (max-aspect-ratio: 4/5) {
  body { background: #09020f; }
  .desktop-stage { display: none; }
  .mobile-site {
    display: block;
    position: relative;
    min-height: 100svh;
    overflow: hidden;
    background:
      radial-gradient(circle at 68% 34%, rgba(116, 25, 154, .24), transparent 40%),
      linear-gradient(180deg, #09010f 0%, #12031d 54%, #07010b 100%);
  }

  .mobile-header {
    position: relative;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: max(16px, env(safe-area-inset-top)) 16px 8px;
  }

  .brand {
    color: var(--orange);
    font-weight: 1000;
    font-size: clamp(24px, 7vw, 34px);
    letter-spacing: -.075em;
    transform: skew(-7deg);
    text-shadow: 0 1px 0 #ffbf5b, 0 3px 0 #7c2d00, 0 0 18px rgba(255, 127, 24, .28);
  }
  .brand span { color: #ffb036; margin-right: 1px; }

  .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    border: 1px solid rgba(183, 76, 255, .58);
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(34, 13, 50, .94), rgba(14, 6, 24, .96));
    box-shadow: inset 0 0 18px rgba(116, 27, 171, .18), 0 8px 20px rgba(0,0,0,.22);
    padding: 0 15px;
    color: #ead9f5;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .04em;
    text-align: center;
  }
  .button:active { transform: translateY(1px) scale(.99); }
  .button.primary {
    color: #14060a;
    border-color: #ffb352;
    background: linear-gradient(180deg, #ffae39, #ff7f18);
    box-shadow: 0 0 24px rgba(255, 125, 20, .28), inset 0 1px rgba(255,255,255,.45);
  }
  .mini-buy {
    min-height: 38px;
    border-radius: 12px;
    padding: 0 12px;
    background: linear-gradient(180deg, #5c167c, #2d073f);
    box-shadow: 0 0 18px rgba(190, 48, 255, .28);
    color: #fff;
    font-size: 10px;
  }

  .mobile-copy {
    position: relative;
    z-index: 4;
    padding: 12px 18px 0;
  }
  .eyebrow {
    margin: 0 0 5px;
    color: #c9a6df;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .26em;
  }
  .mobile-copy h1 {
    margin: 0;
    max-width: 95%;
    color: #f7eaff;
    font-size: clamp(38px, 11.8vw, 66px);
    line-height: .86;
    font-weight: 1000;
    letter-spacing: -.08em;
    transform: skew(-3deg);
    text-shadow: 0 3px 0 #4b145f, 0 0 18px rgba(204, 123, 255, .22);
  }
  .mobile-copy .the { font-size: .78em; }
  .crunch-word {
    display: inline-block;
    color: #ff8c1a;
    text-shadow: 0 2px 0 #ffbb4f, 0 5px 0 #7a2b00, 0 0 22px rgba(255, 119, 12, .35);
  }

  .mascot-frame {
    position: relative;
    z-index: 2;
    width: calc(100% - 20px);
    margin: 12px auto 0;
    border-radius: 26px;
    overflow: hidden;
    border: 1px solid rgba(168, 75, 221, .2);
    box-shadow: 0 20px 50px rgba(0,0,0,.42), 0 0 40px rgba(110, 24, 144, .18);
    background: #14031d;
  }
  .mascot-frame::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    box-shadow: inset 0 0 54px rgba(5,0,8,.72);
  }
  .mascot-frame img {
    display: block;
    width: 100%;
    aspect-ratio: 1.15 / 1;
    object-fit: cover;
    object-position: 55% 52%;
  }

  .mobile-actions {
    position: relative;
    z-index: 4;
    display: grid;
    grid-template-columns: 1.45fr 1fr;
    gap: 10px;
    padding: 14px 14px 0;
  }
  .mobile-actions .primary { grid-column: 1 / -1; min-height: 54px; font-size: 14px; }
  .mobile-actions .primary span { margin-left: 8px; font-size: 17px; }
  .mobile-actions .icon-button { font-size: 23px; }

  .mobile-ca {
    position: relative;
    z-index: 4;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    width: calc(100% - 28px);
    min-height: 56px;
    margin: 10px auto 20px;
    padding: 0;
    overflow: hidden;
    border: 1px solid rgba(189, 83, 255, .58);
    border-radius: 14px;
    background: rgba(12, 4, 19, .92);
    color: #fff;
    box-shadow: inset 0 0 25px rgba(102, 23, 155, .18);
  }
  .mobile-ca > span { padding: 0 12px; }
  .ca-label,
  .copy-label {
    display: flex;
    align-items: center;
    align-self: stretch;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .08em;
  }
  .ca-label { border-right: 1px solid rgba(189,83,255,.28); }
  .copy-label { border-left: 1px solid rgba(189,83,255,.28); color: #e7cefa; }
  .ca-value {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #cbb8da;
    font: 600 10px/1.2 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    text-align: left;
  }

  .mobile-pattern {
    position: relative;
    z-index: 1;
    height: 150px;
    margin-top: -16px;
    background:
      linear-gradient(180deg, rgba(8,1,12,0) 0%, rgba(8,1,12,.28) 24%, rgba(8,1,12,.68) 100%),
      url('assets/faces-strip.webp') center 72% / auto 176px repeat-x;
    opacity: .9;
    filter: saturate(.8) brightness(.72);
    mask-image: linear-gradient(to bottom, transparent 0%, #000 24%, #000 100%);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 24%, #000 100%);
  }
}

@media (min-width: 761px) and (min-aspect-ratio: 4/5) {
  body {
    display: grid;
    place-items: center;
    min-height: 100svh;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

/* Scroll content */
.hero-wrap {
  position: relative;
  width: 100%;
  background: #060109;
}

.section-shell {
  position: relative;
  z-index: 2;
  width: min(1120px, calc(100% - 34px));
  margin: 0 auto;
}

.watch-section,
.memes-section {
  position: relative;
  overflow: hidden;
  content-visibility: auto;
  contain-intrinsic-size: 900px;
}

.sound-toggle {
  position: absolute;
  z-index: 4;
  left: 12px;
  bottom: 12px;
  min-height: 31px;
  padding: 7px 10px;
  border: 1px solid rgba(255, 166, 72, .48);
  border-radius: 999px;
  background: rgba(8, 2, 12, .82);
  color: #fff2dd;
  font: 900 9px/1 Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: .12em;
  cursor: pointer;
  backdrop-filter: blur(8px);
  box-shadow: 0 0 18px rgba(255, 126, 20, .12);
}
.sound-toggle.needs-sound {
  border-color: rgba(211, 102, 255, .58);
  color: #f3dfff;
  box-shadow: 0 0 20px rgba(178, 49, 255, .18);
}
.sound-toggle:active { transform: translateY(1px); }

.watch-section {
  padding: clamp(56px, 7vw, 92px) 0 clamp(64px, 8vw, 108px);
  background:
    radial-gradient(circle at 50% 34%, rgba(136, 31, 190, .22), transparent 38%),
    linear-gradient(180deg, #060109 0%, #10031a 46%, #07010b 100%);
}
.watch-section::before,
.memes-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .14;
  background: url('assets/faces-strip.webp') center 20% / auto 220px repeat;
  filter: saturate(.8) brightness(.52);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 22%, #000 82%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 22%, #000 82%, transparent 100%);
}
.watch-shell { text-align: center; }
.section-kicker {
  margin-bottom: 7px;
  color: #c891ec;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .34em;
  text-transform: uppercase;
}
.watch-section h2,
.memes-section h2 {
  margin: 0;
  color: #fff4ff;
  font-size: clamp(42px, 7vw, 88px);
  line-height: .9;
  font-weight: 1000;
  letter-spacing: -.06em;
  text-transform: uppercase;
  text-shadow: 0 4px 0 #4e105f, 0 0 24px rgba(197, 76, 255, .18);
}
.watch-section h2::after,
.memes-section h2::after {
  content: "";
  display: block;
  width: 76px;
  height: 4px;
  margin: 18px auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff8a18, #bd43ff);
  box-shadow: 0 0 18px rgba(176, 48, 255, .36);
}
.video-frame {
  position: relative;
  width: min(430px, 88vw);
  margin: clamp(28px, 4vw, 42px) auto 0;
  border: 1px solid rgba(188, 84, 255, .36);
  border-radius: 28px;
  overflow: hidden;
  background: #0c0411;
  box-shadow: 0 26px 70px rgba(0,0,0,.5), 0 0 58px rgba(115, 25, 160, .16);
}
.video-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.035), inset 0 -50px 80px rgba(3,0,5,.18);
}
.video-frame video {
  display: block;
  width: 100%;
  aspect-ratio: 400 / 732;
  object-fit: cover;
  background: #08010c;
}
.autoplay-badge {
  position: absolute;
  z-index: 3;
  right: 12px;
  bottom: 12px;
  padding: 7px 10px;
  border: 1px solid rgba(216, 144, 255, .35);
  border-radius: 999px;
  background: rgba(8, 2, 12, .76);
  color: #ead7f5;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .14em;
  backdrop-filter: blur(8px);
}

.memes-section {
  padding: clamp(62px, 8vw, 112px) 0 88px;
  background:
    radial-gradient(circle at 50% 8%, rgba(116, 20, 154, .2), transparent 30%),
    #050108;
}
.memes-section::before { opacity: .09; background-position: center top; }
.memes-section .section-shell { width: min(1220px, calc(100% - 28px)); }
.memes-section .section-kicker,
.memes-section h2 { text-align: center; }
.meme-grid {
  columns: 4 250px;
  column-gap: 14px;
  margin-top: clamp(30px, 5vw, 54px);
}
.meme-card {
  position: relative;
  break-inside: avoid;
  margin: 0 0 14px;
  overflow: hidden;
  border: 1px solid rgba(149, 61, 203, .18);
  border-radius: 18px;
  background: #0b0210;
  box-shadow: 0 13px 32px rgba(0,0,0,.28);
}
.meme-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.02);
}
.meme-card img {
  display: block;
  width: 100%;
  height: auto;
  background: #0b0210;
  transition: transform .28s ease, filter .28s ease;
}
@media (hover:hover) {
  .meme-card:hover img { transform: scale(1.018); filter: saturate(1.04) brightness(1.03); }
}

@media (min-width: 761px) and (min-aspect-ratio: 4/5) {
  body { display: block; min-height: 100svh; }
  .hero-wrap {
    display: grid;
    place-items: center;
    min-height: min(100svh, 1086px);
    background:
      radial-gradient(circle at 50% 28%, #1d0629 0%, #08010d 66%),
      #050108;
  }
}

@media (max-width: 760px), (max-aspect-ratio: 4/5) {
  .watch-section { padding-top: 50px; }
  .watch-section::before,
  .memes-section::before { background-size: auto 160px; }
  .section-shell { width: min(100% - 24px, 600px); }
  .section-kicker { font-size: 9px; letter-spacing: .3em; }
  .watch-section h2,
  .memes-section h2 { font-size: clamp(38px, 13vw, 58px); }
  .video-frame { width: min(390px, 92vw); border-radius: 22px; }
  .memes-section { padding-top: 64px; }
  .memes-section .section-shell { width: calc(100% - 18px); }
  .meme-grid { columns: 2 140px; column-gap: 9px; margin-top: 28px; }
  .meme-card { margin-bottom: 9px; border-radius: 12px; }
}

@media (max-width: 420px) {
  .meme-grid { columns: 2 120px; }
}
