/* Arctic Animals — SNES/chibi mint landing DEMO
   Palette ONLY: #081D38 #143352 #284D68 #4B7690 #90B0A9 #E8EEF2 + gold #F3D600
*/
:root {
  --ink: #081D38;
  --deep: #143352;
  --mid: #284D68;
  --ice: #4B7690;
  --mist: #90B0A9;
  --paper: #E8EEF2;
  --gold: #F3D600;
  --tap: 44px;
  --px: 4px;
  --shadow: 4px 4px 0 var(--ink);
  --shadow-soft: 4px 4px 0 rgba(8, 29, 56, 0.25);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

html, body {
  min-height: 100%;
  overflow-x: hidden;
  max-width: 100vw;
}

body {
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  background: var(--ink);
  color: var(--paper);
  line-height: 1.5;
  position: relative;
}

img.pixel,
.pixel,
.mint-face,
.wall-tile,
.parallax-layer,
.beast-card img,
.lore-art img,
.arc-mark {
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  -ms-interpolation-mode: nearest-neighbor;
}

.tap {
  min-height: var(--tap);
  min-width: var(--tap);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ——— Parallax aurora/tundra ——— */
.parallax {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background: var(--ink);
}

.parallax-layer {
  position: absolute;
  inset: -8% -4%;
  background-repeat: repeat;
  background-position: center top;
  will-change: transform;
}

.parallax-far {
  background-image: url("assets/aurora-tundra-64.png");
  background-size: 256px 256px; /* 64×4 NEAREST feel */
  opacity: 0.55;
  filter: saturate(1.1) brightness(0.85);
}

.parallax-mid {
  background-image:
    linear-gradient(180deg, rgba(8, 29, 56, 0.35) 0%, transparent 40%, rgba(8, 29, 56, 0.55) 100%),
    url("assets/pixel-tundra.png");
  background-size: auto, 320px 320px;
  opacity: 0.4;
}

.parallax-near {
  background-image: linear-gradient(
    180deg,
    transparent 0%,
    rgba(20, 51, 82, 0.25) 50%,
    rgba(8, 29, 56, 0.75) 100%
  );
}

/* ——— Scanlines + CRT vignette ——— */
.scan {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 50;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0 3px,
    rgba(8, 29, 56, 0.045) 3px 4px
  );
  mix-blend-mode: multiply;
  opacity: 0.65;
}

.vignette {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 49;
  background: radial-gradient(
    ellipse at center,
    transparent 45%,
    rgba(8, 29, 56, 0.35) 85%,
    rgba(8, 29, 56, 0.65) 100%
  );
}

/* ——— Ice gate ——— */
.ice-gate {
  position: fixed;
  inset: 0;
  z-index: 100;
  cursor: crosshair;
  background: #081D38;
}

#ice-canvas {
  width: 100%;
  height: 100%;
  display: block;
  image-rendering: pixelated;
}

.ice-fx {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 30% 40%, rgba(232, 238, 242, 0.25), transparent 45%),
    radial-gradient(circle at 70% 60%, rgba(144, 176, 169, 0.2), transparent 40%);
  mix-blend-mode: soft-light;
}

.ice-hint {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 12%;
  text-align: center;
  font-family: "Press Start 2P", monospace;
  font-size: clamp(10px, 2.5vw, 14px);
  letter-spacing: 0.2em;
  color: var(--ink);
  text-shadow: 3px 3px 0 var(--paper), -1px -1px 0 var(--mist);
  pointer-events: none;
  animation: hint-pulse 1.4s steps(2, end) infinite;
}

.ice-subhint {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 7%;
  text-align: center;
  font-family: "Press Start 2P", monospace;
  font-size: 8px;
  letter-spacing: 0.12em;
  color: var(--deep);
  opacity: 0.7;
  pointer-events: none;
}

.ice-gate.breaking .ice-hint,
.ice-gate.breaking .ice-subhint { opacity: 0; transition: opacity 0.2s; }

@keyframes hint-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}

.ice-ask {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  background: rgba(8, 29, 56, 0.72);
  padding: 16px;
}

.ask-box {
  background: var(--paper);
  border: 4px solid var(--ice);
  box-shadow: var(--shadow);
  padding: 28px 22px;
  width: min(400px, 92vw);
  text-align: center;
  color: var(--ink);
  position: relative;
}

.ask-ornament {
  width: 48px;
  height: 8px;
  margin: 0 auto 16px;
  background: repeating-linear-gradient(
    90deg,
    var(--gold) 0 8px,
    var(--ink) 8px 12px,
    var(--ice) 12px 20px,
    var(--ink) 20px 24px
  );
  image-rendering: pixelated;
}

.ask-box p {
  font-family: "Press Start 2P", monospace;
  font-size: 10px;
  line-height: 1.8;
  margin-bottom: 20px;
}

.ask-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ask-row button {
  font-family: "Press Start 2P", monospace;
  font-size: 9px;
  padding: 14px 12px;
  border: 0;
  cursor: pointer;
  background: var(--gold);
  color: var(--ink);
  flex: 1 1 140px;
  box-shadow: 3px 3px 0 var(--ink);
}

.ask-row button.ghost {
  background: var(--deep);
  color: var(--paper);
}

.ask-row button:active {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 var(--ink);
}

/* ——— Site chrome ——— */
.site {
  position: relative;
  z-index: 1;
  isolation: isolate;
}

.pixel-panel {
  border: 4px solid var(--mid);
  box-shadow: var(--shadow);
}

/* NAV */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px max(16px, 5vw);
  background: rgba(8, 29, 56, 0.82);
  border-bottom: 4px solid var(--mid);
  backdrop-filter: blur(4px);
  position: sticky;
  top: 0;
  z-index: 20;
}

.mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--paper);
  flex-shrink: 1;
  min-width: 0;
}

.mark img {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  display: block;
  background: var(--deep);
  border: 3px solid var(--ice);
  padding: 4px;
  box-shadow: 2px 2px 0 var(--ink);
}

.mark-text {
  font-family: "Press Start 2P", monospace;
  font-size: clamp(8px, 2.2vw, 11px);
  letter-spacing: 0.04em;
  line-height: 1.4;
}

.mark-text small {
  display: block;
  margin-top: 4px;
  font-size: 7px;
  color: var(--mist);
  letter-spacing: 0.14em;
}

.social {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}

.social a {
  color: var(--paper);
  text-decoration: none;
  font-family: "Press Start 2P", monospace;
  font-size: 9px;
  padding: 10px 12px;
  border: 3px solid var(--ice);
  background: var(--deep);
  box-shadow: 2px 2px 0 var(--ink);
}

.social a:hover,
.social a:focus-visible {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
  outline: none;
}

/* HERO */
.hero {
  padding: 40px max(16px, 5vw) 28px;
  max-width: 1100px;
  margin: 0 auto;
}

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

.kicker {
  font-family: "Press Start 2P", monospace;
  font-size: clamp(8px, 2vw, 10px);
  color: var(--mist);
  letter-spacing: 0.12em;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.kicker .blink {
  color: var(--gold);
  animation: blink 1.2s steps(1, end) infinite;
  font-size: 10px;
}

@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

.pixel-title {
  font-family: "Press Start 2P", monospace;
  font-size: clamp(22px, 6vw, 44px);
  line-height: 1.3;
  font-weight: 400;
  color: var(--paper);
  text-shadow: 4px 4px 0 var(--ink), 0 0 0 var(--deep);
}

.title-line { display: block; }

.gold-edge {
  color: var(--gold);
  text-shadow:
    4px 4px 0 var(--ink),
    -1px 0 0 var(--deep),
    1px 0 0 var(--deep);
}

.lede {
  max-width: 520px;
  margin: 20px 0 28px;
  color: var(--mist);
  font-size: clamp(15px, 3.5vw, 17px);
  line-height: 1.6;
}

.lede strong { color: var(--paper); font-weight: 600; }

/* Mint CTA — mint-btn-16 as scaled face */
.mint-cta {
  position: relative;
  text-decoration: none;
  color: var(--ink);
  font-family: "Press Start 2P", monospace;
  font-size: clamp(9px, 2.2vw, 11px);
  padding: 4px;
  width: fit-content;
  gap: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  isolation: isolate;
}

.mint-face {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url("assets/mint-btn-16.png");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  image-rendering: pixelated;
  filter: drop-shadow(3px 3px 0 var(--ink));
}

.mint-label {
  position: relative;
  z-index: 1;
  padding: 16px 22px;
  color: var(--ink);
  text-shadow: 1px 1px 0 rgba(232, 238, 242, 0.4);
  white-space: nowrap;
}

.mint-cta:hover .mint-face,
.mint-cta:focus-visible .mint-face {
  filter: drop-shadow(3px 3px 0 var(--ink)) brightness(1.08);
}

.mint-cta:active {
  transform: translate(2px, 2px);
}

.mint-cta:active .mint-face {
  filter: drop-shadow(1px 1px 0 var(--ink));
}

.mint-cta.large .mint-label {
  padding: 20px 28px;
  font-size: clamp(10px, 2.5vw, 12px);
}

/* Herd cards — framed mystery ? (species equal; no rarity chrome) */
.herd {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 56px;
}

.beast-card {
  background: rgba(20, 51, 82, 0.88);
  color: var(--paper);
  text-align: center;
  padding: 12px 8px 14px;
  box-shadow: var(--shadow);
  border: 4px solid var(--mid);
  position: relative;
  transition: transform 0.15s steps(2, end);
}

.beast-card:hover { transform: translateY(-4px); border-color: var(--ice); }

.beast-card .frame {
  background: var(--ink);
  border: 3px solid var(--ice);
  padding: 6px;
  margin-bottom: 10px;
  position: relative;
  overflow: hidden;
}

.beast-card .mystery-frame img {
  width: 100%;
  max-width: 140px;
  aspect-ratio: 1;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

.beast-card .mystery-frame .reveal {
  position: absolute;
  inset: 6px;
  width: calc(100% - 12px);
  max-width: none;
  height: calc(100% - 12px);
  object-fit: contain;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.12s steps(2, end);
}

.beast-card:hover .mystery-frame .reveal,
.beast-card:focus-within .mystery-frame .reveal { opacity: 1; }

.beast-card:hover .mystery-frame .mystery,
.beast-card:focus-within .mystery-frame .mystery { opacity: 0; }

.beast-card .mystery-frame .mystery {
  transition: opacity 0.12s steps(2, end);
}

.beast-card .species {
  display: block;
  font-family: "Press Start 2P", monospace;
  font-size: 8px;
  color: var(--mist);
  letter-spacing: 0.08em;
}

/* STATS */
.stats {
  margin: 12px max(16px, 5vw) 48px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 max(0px, calc(5vw - 16px));
}

.stat-panel {
  background: rgba(232, 238, 242, 0.96);
  color: var(--ink);
  border: 4px solid var(--mid);
  box-shadow: var(--shadow);
  padding: 18px 12px;
  text-align: center;
}

.stat-panel b {
  display: block;
  font-family: "Press Start 2P", monospace;
  font-size: clamp(12px, 3vw, 16px);
  margin-bottom: 8px;
  color: var(--ink);
}

.stat-panel span {
  font-size: 12px;
  color: var(--ice);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.stat-panel.arc b { color: var(--ice); }
.stat-panel.arc {
  background: linear-gradient(180deg, var(--paper), #d4e0e6);
  border-color: var(--gold);
}

/* BESTIARY */
.bestiary {
  padding: 48px max(16px, 5vw) 56px;
  max-width: 1100px;
  margin: 0 auto;
}

.section-head {
  margin-bottom: 28px;
  text-align: center;
}

.section-head h2 {
  font-family: "Press Start 2P", monospace;
  font-size: clamp(12px, 3.5vw, 18px);
  color: var(--gold);
  letter-spacing: 0.08em;
  margin-bottom: 12px;
  text-shadow: 3px 3px 0 var(--ink);
}

.section-head p {
  color: var(--mist);
  font-size: 15px;
}

.bestiary-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.lore-card {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 16px;
  align-items: center;
  background: rgba(232, 238, 242, 0.95);
  color: var(--ink);
  border: 4px solid var(--mid);
  padding: 16px;
  box-shadow: var(--shadow-soft);
}

.lore-card { border-color: var(--mid); }
.lore-card:hover { border-color: var(--ice); }

.lore-art {
  position: relative;
  width: 120px;
  height: 120px;
  background: var(--deep);
  border: 3px solid var(--ink);
  overflow: hidden;
}

.lore-art img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
}

.lore-art .lore-full {
  opacity: 0;
  transition: opacity 0.2s steps(2, end);
}

.lore-card:hover .lore-full,
.lore-card:focus-within .lore-full { opacity: 1; }

.lore-card:hover .lore-art img:first-child,
.lore-card:focus-within .lore-art img:first-child { opacity: 0; }

.lore-body h3 {
  font-family: "Press Start 2P", monospace;
  font-size: clamp(10px, 2.5vw, 12px);
  margin-bottom: 8px;
  color: var(--ink);
}

.species-tag, .rarity-tag {
  font-family: "Press Start 2P", monospace;
  font-size: 7px;
  letter-spacing: 0.06em;
  color: var(--ice);
  margin-bottom: 10px;
  line-height: 1.6;
}

.lore { font-size: 14px; color: var(--deep); line-height: 1.55; }

/* ICE WALL */
.ice-wall-sec {
  position: relative;
  margin: 20px max(16px, 5vw) 48px;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  min-height: 280px;
  border: 4px solid var(--mid);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.wall-tile {
  /* pack-ice hero: 128 detail wall, NEAREST */
  position: absolute;
  inset: 0;
  background-image: url("assets/candidates/ice-wall-chibi-A-128.png");
  background-size: 256px 256px; /* 128×2 NEAREST */
  background-repeat: repeat;
  image-rendering: pixelated;
}

.wall-cracks {
  position: absolute;
  inset: 0;
  background-image:
    url("assets/ice-crack-128.png"),
    url("assets/frost-rim-128.png");
  background-size: 256px 256px, 256px 256px;
  background-position: 12% 18%, 78% 55%;
  background-repeat: no-repeat;
  image-rendering: pixelated;
  opacity: 0.9;
  mix-blend-mode: multiply;
  pointer-events: none;
}

.wall-content {
  position: relative;
  z-index: 1;
  padding: 36px 24px;
  background: linear-gradient(
    100deg,
    rgba(8, 29, 56, 0.88) 0%,
    rgba(20, 51, 82, 0.72) 55%,
    rgba(8, 29, 56, 0.35) 100%
  );
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 520px;
}

.wall-content h2 {
  font-family: "Press Start 2P", monospace;
  font-size: clamp(12px, 3vw, 16px);
  color: var(--paper);
  margin-bottom: 14px;
  line-height: 1.5;
  text-shadow: 2px 2px 0 var(--ink);
}

.wall-content p {
  color: var(--mist);
  font-size: 15px;
  margin-bottom: 16px;
}

.wall-ticks {
  list-style: none;
  font-family: "Press Start 2P", monospace;
  font-size: 7px;
  line-height: 2;
  color: var(--gold);
  letter-spacing: 0.04em;
}

.wall-ticks li::before {
  content: "▶ ";
  color: var(--mist);
}

/* MINT PANEL */
.mint-panel {
  padding: 24px max(16px, 5vw) 56px;
  max-width: 720px;
  margin: 0 auto;
}

.mint-box {
  background: rgba(232, 238, 242, 0.97);
  color: var(--ink);
  text-align: center;
  padding: 36px 24px 32px;
  border-color: var(--gold);
}

.arc-mark {
  display: block;
  margin: 0 auto 20px;
  width: 96px;
  height: auto;
  image-rendering: pixelated;
}

.mint-box h2 {
  font-family: "Press Start 2P", monospace;
  font-size: clamp(14px, 3.5vw, 20px);
  margin-bottom: 14px;
  color: var(--ink);
}

.mint-lede {
  color: var(--deep);
  margin-bottom: 28px;
  font-size: 15px;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}

.mint-box .mint-cta {
  margin: 0 auto;
}

.mint-note {
  margin-top: 20px;
  font-family: "Press Start 2P", monospace;
  font-size: 7px;
  color: var(--ice);
  letter-spacing: 0.08em;
  line-height: 1.8;
}

/* FOOTER */
.foot {
  border-top: 4px solid var(--mid);
  background: var(--ink);
  padding: 0;
}

.foot-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 12px;
  padding: 18px 16px;
  background:
    repeating-linear-gradient(
      90deg,
      var(--deep) 0 8px,
      var(--ink) 8px 16px
    );
  font-family: "Press Start 2P", monospace;
  font-size: 7px;
  color: var(--mist);
  letter-spacing: 0.06em;
  line-height: 1.8;
  text-align: center;
  border-top: 2px solid var(--ice);
  border-bottom: 2px solid var(--ice);
}

.foot-brand { color: var(--gold); }
.foot-sep { color: var(--mid); opacity: 0.6; }
.demo-badge {
  background: var(--gold);
  color: var(--ink);
  padding: 4px 8px;
}

.foot-fine {
  text-align: center;
  padding: 14px 16px 28px;
  font-size: 12px;
  color: var(--ice);
}

/* ——— Responsive ——— */
@media (min-width: 720px) {
  .bestiary-grid {
    grid-template-columns: 1fr 1fr;
  }
  .lore-card {
    grid-template-columns: 140px 1fr;
  }
  .lore-art {
    width: 140px;
    height: 140px;
  }
}

@media (max-width: 800px) {
  .herd {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .social a {
    padding: 10px 10px;
    font-size: 8px;
  }
  .mark-text small { letter-spacing: 0.08em; }
  .lore-card {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .lore-art {
    margin: 0 auto;
  }
  .mint-label { white-space: normal; text-align: center; }
  .wall-content { max-width: none; }
}

@media (prefers-reduced-motion: reduce) {
  .kicker .blink,
  .ice-hint { animation: none; }
  html { scroll-behavior: auto; }
}


/* Mystery ? frames — no rarity callouts */
.beast-card.mystery,
.lore-card.mystery {
  border-color: var(--ice);
  box-shadow: 4px 4px 0 #081d38;
}
.beast-card.mystery .tier,
.rarity-tag { display: none !important; }
.mystery-frame {
  background:
    linear-gradient(135deg, rgba(144,176,169,.12), transparent 40%),
    var(--deep);
  border: 4px solid var(--ice);
  box-shadow: inset 0 0 0 2px #081d38;
  display: grid;
  place-items: center;
  min-height: 128px;
  image-rendering: pixelated;
}
.lore-art.mystery-frame {
  min-height: 160px;
  position: relative;
}
.mystery-frame .qmark {
  image-rendering: pixelated;
  width: 96px;
  height: 96px;
  filter: drop-shadow(2px 2px 0 #081d38);
  animation: qpulse 2.4s steps(2, end) infinite;
}
.lore-art.mystery-frame .qmark {
  width: 112px;
  height: 112px;
}
@keyframes qpulse {
  0%, 100% { opacity: 1; transform: translateY(0); }
  50% { opacity: .85; transform: translateY(2px); }
}
.beast-card.mystery .species {
  letter-spacing: .12em;
}

/* critical: [hidden] must beat display:grid/flex or ask modal loops forever */
.ice-ask[hidden],
.ice-gate[hidden] {
  display: none !important;
}


/* ——— Gate ARC Mainnet lockup (centered, non-blocking) ——— */
.gate-logo {
  position: absolute;
  left: 50%;
  top: 42%;
  transform: translate(-50%, -50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  pointer-events: none;
  text-align: center;
  filter: drop-shadow(0 4px 0 rgba(8, 29, 56, 0.45));
}
.gate-logo .gate-mark {
  width: min(42vw, 192px);
  height: auto;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}
.gate-logo .gate-word {
  width: min(56vw, 280px);
  height: auto;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}
.gate-logo .gate-sub {
  font-family: "Press Start 2P", monospace;
  font-size: clamp(10px, 2.4vw, 14px);
  letter-spacing: 0.28em;
  color: var(--ink);
  text-shadow: 2px 2px 0 var(--paper), -1px -1px 0 var(--mist);
}
.ice-gate.breaking .gate-logo {
  opacity: 0;
  transition: opacity 0.35s steps(3, end);
}

/* Soft chibi pack — mystery frames only, no species labels */
.herd {
  gap: 16px;
  margin-top: 40px;
}
.beast-card.mystery {
  border-radius: 0;
  padding: 14px 10px 16px;
  background: rgba(20, 51, 82, 0.72);
  border-color: var(--mist);
  box-shadow: 4px 4px 0 rgba(8, 29, 56, 0.35);
}
.beast-card.mystery .species { display: none !important; }
.beast-card .mystery-frame {
  border-radius: 0;
  border-color: var(--mist);
  min-height: 140px;
  background:
    linear-gradient(180deg, rgba(232,238,242,.08), transparent 55%),
    var(--deep);
}
.stats { display: none !important; }

/* Bestiary soft pack — no name headers */
.lore-card.mystery .lore-body h3 { display: none; }
.lore-card.mystery {
  border-color: var(--mist);
  background: rgba(232, 238, 242, 0.94);
}
.lore-card.mystery .lore {
  color: var(--deep);
  font-size: 15px;
  line-height: 1.6;
}
.section-head h2 { color: var(--mist); }
.section-head p { color: var(--paper); opacity: 0.85; }

.mint-cta .mint-label { letter-spacing: 0.14em; }

/* ——— Soft sweet chibi + gate logo (v9) ——— */
body.chibi-soft {
  background: linear-gradient(180deg, #E8EEF2 0%, #90B0A9 40%, #4B7690 100%);
  color: var(--ink);
}
body.chibi-soft .site { color: var(--ink); }
body.chibi-soft .lede,
body.chibi-soft .section-head p,
body.chibi-soft .lore { color: var(--deep); }
body.chibi-soft .pixel-title .title-line { color: var(--ink); text-shadow: 3px 3px 0 rgba(232,238,242,0.9); }
body.chibi-soft .soft-nav,
body.chibi-soft .pixel-panel.soft,
body.chibi-soft .soft-card,
body.chibi-soft .stat-panel {
  border-radius: 18px;
  box-shadow: 6px 6px 0 rgba(8,29,56,0.18);
  border: 3px solid var(--ink);
  background: rgba(232,238,242,0.92);
}
body.chibi-soft .soft-cta {
  border-radius: 16px;
  background: var(--paper);
  border: 3px solid var(--ink);
}
body.chibi-soft .soft-cta .mint-label { color: var(--ink); }
body.chibi-soft .species { display: none !important; }
body.chibi-soft .soft-scan { opacity: 0.12; }
body.chibi-soft .soft-vignette { opacity: 0.35; }
body.chibi-soft .soft-stats { gap: 12px; }
body.chibi-soft .mystery-frame {
  border-radius: 20px;
  background: linear-gradient(160deg, #E8EEF2, #90B0A9);
  border: 3px solid var(--ink);
}

.ice-logo {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(1);
  width: min(52vw, 420px);
  height: auto;
  z-index: 6;
  pointer-events: none;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  filter: drop-shadow(0 8px 0 rgba(8,29,56,0.35));
  transition: opacity 0.35s ease, transform 0.35s ease;
}
@media (min-width: 900px) {
  .ice-logo { width: min(48vw, 460px); }
}

.ice-wall-sec .wall-tile {
  background-image: url("assets/ice-wall-big-256.png") !important;
  background-size: 256px 256px !important;
}
