:root {
  --bg: #ecf4ff;
  --bg-2: #f7fbff;
  --panel: rgba(255, 255, 255, 0.9);
  --panel-strong: #ffffff;
  --ink: #143567;
  --muted: #617ba1;
  --line: rgba(37, 91, 173, 0.12);
  --blue: #2e6df6;
  --blue-2: #51b8ff;
  --cyan: #35c3de;
  --green: #38cf7a;
  --gold: #f2b337;
  --orange: #ff9148;
  --purple: #8d67ff;
  --navy: #0e2f67;
  --shadow: 0 26px 80px rgba(23, 63, 123, 0.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(58, 140, 255, 0.16), transparent 28%),
    radial-gradient(circle at top right, rgba(255, 200, 104, 0.14), transparent 18%),
    linear-gradient(180deg, #f7fbff 0%, #eef5ff 24%, #f8fbff 100%);
  font-family: "Outfit", "Noto Sans SC", sans-serif;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(46, 109, 246, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(46, 109, 246, 0.05) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.42), transparent 72%);
}

a, button, input { font: inherit; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
button:focus-visible, a:focus-visible, input:focus-visible {
  outline: 2px solid rgba(46, 109, 246, 0.38);
  outline-offset: 2px;
}

.page-shell { width: min(100%, 1560px); margin: 0 auto; overflow: hidden; }

.topbar {
  position: fixed;
  z-index: 50;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: min(calc(100% - 34px), 1480px);
  height: 72px;
  padding: 0 18px 0 22px;
  display: flex;
  align-items: center;
  gap: 24px;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 22px;
  background: rgba(255,255,255,.86);
  box-shadow: 0 18px 46px rgba(17, 56, 112, 0.12);
  backdrop-filter: blur(16px);
  transition: .24s ease;
}

.topbar.scrolled {
  top: 8px;
  height: 64px;
  background: rgba(255,255,255,.93);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -0.04em;
  white-space: nowrap;
}

.brand small {
  color: #7990b0;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.brand-mark {
  position: relative;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: linear-gradient(145deg, var(--blue), var(--blue-2));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.42), 0 10px 22px rgba(46, 109, 246, 0.26);
}

.brand-mark::before,
.brand-mark::after,
.brand-mark i {
  content: "";
  position: absolute;
  border-radius: 999px;
}

.brand-mark::before {
  left: 6px;
  top: 6px;
  width: 10px;
  height: 10px;
  background: rgba(255,255,255,.94);
}

.brand-mark::after {
  right: 7px;
  bottom: 7px;
  width: 12px;
  height: 12px;
  border: 3px solid rgba(255,255,255,.92);
}

.brand-mark i {
  left: 11px;
  top: 11px;
  width: 12px;
  height: 12px;
  border: 3px solid rgba(255,255,255,.18);
}

.brand-mark.large { width: 46px; height: 46px; border-radius: 16px; }
.brand-mark.large::before { left: 9px; top: 9px; width: 13px; height: 13px; }
.brand-mark.large::after { right: 9px; bottom: 9px; width: 16px; height: 16px; border-width: 4px; }
.brand-mark.large i { left: 15px; top: 15px; width: 16px; height: 16px; }

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: auto;
}

.desktop-nav a {
  position: relative;
  color: #476180;
  font-size: 13px;
  font-weight: 700;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  right: 50%;
  bottom: -20px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue), var(--blue-2));
  transition: .25s ease;
}

.desktop-nav a:hover,
.desktop-nav a.active { color: var(--blue); }
.desktop-nav a:hover::after,
.desktop-nav a.active::after { left: 0; right: 0; }

.header-actions { display: flex; align-items: center; gap: 10px; }
.lang-switch,
.wallet-btn,
.primary-btn,
.ghost-btn,
.soft-btn,
.provider-btn,
.menu-btn,
.wallet-open,
.wallet-collapse {
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background-color .2s ease;
}

.lang-switch,
.wallet-btn,
.primary-btn,
.ghost-btn,
.soft-btn,
.provider-btn,
.menu-btn { cursor: pointer; }

.lang-switch {
  min-width: 50px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  font-size: 12px;
  font-weight: 800;
}

.wallet-btn,
.primary-btn {
  border: 0;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  box-shadow: 0 12px 24px rgba(46,109,246,.28);
}

.wallet-btn { min-width: 118px; height: 42px; padding: 0 18px; border-radius: 12px; font-size: 13px; font-weight: 800; }
.wallet-btn.connected { display: none; }

.primary-btn,
.ghost-btn,
.soft-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border-radius: 16px;
  font-weight: 800;
}

.primary-btn,
.ghost-btn { height: 54px; padding: 0 24px; font-size: 14px; }

.ghost-btn {
  border: 1px solid rgba(255,255,255,.22);
  color: #fff;
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(12px);
}

.ghost-btn.compact {
  border-color: var(--line);
  color: var(--ink);
  background: linear-gradient(180deg, #fff, #f7fbff);
}

.soft-btn {
  height: 48px;
  padding: 0 18px;
  border: 1px solid rgba(46,109,246,.14);
  color: var(--blue);
  background: linear-gradient(180deg, #f8fbff, #edf4ff);
  font-size: 13px;
}

.lang-switch:hover,
.wallet-btn:hover,
.primary-btn:hover,
.ghost-btn:hover,
.soft-btn:hover,
.provider-btn:hover,
.wallet-open:hover,
.wallet-collapse:hover { transform: translateY(-2px); }

.play {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255,255,255,.18);
  font-size: 10px;
}

.menu-btn {
  display: none;
  width: 42px;
  height: 42px;
  padding: 10px;
  border: 0;
  background: transparent;
}

.menu-btn span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  border-radius: 999px;
  background: var(--ink);
}

.mobile-menu { display: none; }

.hero {
  padding: 118px 4.4% 42px;
}

.hero-stage {
  display: grid;
  grid-template-columns: .88fr 1.12fr;
  gap: 18px;
}

.hero-copy,
.hero-visual,
.world-panel,
.feature-card,
.careers-visual,
.career-pill,
.gameplay-card,
.economy-visual,
.info-card,
.nft-visual,
.market-dashboard,
.referral-visual,
.invite-panel,
.roadmap-grid article,
.cta,
.wallet-float {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 30px;
  box-shadow: var(--shadow);
}

.hero-copy {
  padding: 34px 34px 28px;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,0)),
    linear-gradient(180deg, #163f88, #0d2f67 60%, #0b2858);
}

.hero-kicker,
.eyebrow {
  display: inline-flex;
  align-items: center;
  color: #a7bce2;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .16em;
}

.hero h1,
.section-heading h2,
.world-callout strong,
.feature-card h3,
.career-pill b,
.gameplay-card h3,
.info-card h3,
.roadmap-grid h3,
.cta h2 {
  text-wrap: balance;
  letter-spacing: -0.05em;
}

.hero h1 {
  margin: 18px 0 14px;
  font-size: clamp(50px, 5.2vw, 82px);
  line-height: .96;
}

.hero h1 span {
  color: #b9cdff;
  font-size: .68em;
}

.hero h1 em,
.section-heading h2 em,
.cta h2 em {
  color: #81d6ff;
  font-style: normal;
}

.hero-copy > p {
  max-width: 520px;
  margin: 0 0 22px;
  color: rgba(255,255,255,.84);
  font-size: 16px;
  line-height: 1.8;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.hero-tags span {
  padding: 10px 15px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  font-size: 13px;
  font-weight: 700;
}

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

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 28px;
}

.hero-stats div {
  padding: 18px 16px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.04));
  border: 1px solid rgba(255,255,255,.08);
}

.hero-stats strong {
  display: block;
  margin-bottom: 6px;
  font-size: 24px;
  color: #fff;
}

.hero-stats span { color: #a8bddf; font-size: 12px; line-height: 1.45; }

.hero-visual { min-height: 700px; background: #d9ecff; }
.hero-bg {
  position: absolute;
  inset: 0;
  background: url("./assets/hero-openworld-v2.png") center / cover no-repeat;
  transform: scale(1.03) translate3d(var(--hero-x, 0px), var(--hero-y, 0px), 0);
  transition: transform .35s ease;
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255,255,255,.04), rgba(11,40,88,.1)),
    radial-gradient(circle at top left, rgba(255,255,255,.65), transparent 30%);
}

.hero-note,
.world-callout {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 18px 18px 16px;
  border: 1px solid rgba(255,255,255,.74);
  border-radius: 24px;
  background: rgba(255,255,255,.86);
  backdrop-filter: blur(18px);
  color: var(--ink);
}

.hero-note strong,
.world-callout strong {
  display: block;
  margin-bottom: 6px;
  font-size: 30px;
}

.hero-note small,
.world-callout p {
  display: block;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.hero-note.top { left: 24px; top: 24px; max-width: 270px; }
.hero-note.bottom { right: 24px; bottom: 24px; max-width: 280px; }

.section {
  padding: 18px 4.4% 82px;
}

.section-heading {
  display: grid;
  grid-template-columns: 68px 1fr;
  gap: 18px;
  align-items: start;
  margin-bottom: 24px;
}

.section-mark {
  position: relative;
  width: 68px;
  height: 68px;
  border-radius: 22px;
  background: linear-gradient(180deg, var(--blue), #1754d6);
  box-shadow: 0 16px 36px rgba(46,109,246,.22);
}

.section-mark::before,
.section-mark::after {
  content: "";
  position: absolute;
}

.section-mark::before {
  inset: 18px;
  border-radius: 14px;
  border: 2px solid rgba(255,255,255,.84);
}

.section-mark::after {
  left: 26px;
  top: 12px;
  width: 14px;
  height: 42px;
  border-radius: 999px;
  background: rgba(255,255,255,.9);
}

.section-mark.features::after { width: 32px; height: 14px; left: 18px; top: 27px; }
.section-mark.careers::after { width: 28px; height: 28px; left: 20px; top: 20px; border-radius: 50%; }
.section-mark.economy::after { width: 28px; height: 28px; left: 20px; top: 20px; border-radius: 50%; border: 4px solid rgba(255,255,255,.9); background: transparent; }
.section-mark.nft::after { width: 30px; height: 30px; left: 19px; top: 19px; transform: rotate(45deg); border-radius: 10px; }
.section-mark.market::after { width: 30px; height: 22px; left: 19px; top: 23px; border-radius: 8px; }
.section-mark.community::after { width: 34px; height: 34px; left: 17px; top: 17px; border-radius: 50%; }
.section-mark.roadmap::after { width: 34px; height: 10px; left: 17px; top: 29px; border-radius: 999px; }

.section-heading h2 {
  margin: 8px 0 8px;
  font-size: clamp(36px, 4vw, 60px);
  line-height: 1.02;
}

.section-heading p {
  max-width: 920px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}

.world-panel {
  min-height: 520px;
  background: #dbeeff;
}

.world-art {
  position: absolute;
  inset: 0;
  background: url("./assets/hero-openworld-v2.png") center / cover no-repeat;
}

.world-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.18)),
    radial-gradient(circle at left center, rgba(255,255,255,.55), transparent 28%);
}

.world-callout.left { left: 26px; top: 26px; max-width: 290px; }
.world-callout.right { right: 26px; bottom: 26px; max-width: 300px; }

.card-logo,
.note-logo {
  flex: 0 0 auto;
  position: relative;
  width: 46px;
  height: 46px;
  border-radius: 16px;
  background: linear-gradient(145deg, #eff6ff, #dbeaff);
  box-shadow: inset 0 0 0 1px rgba(24, 64, 128, 0.08);
}

.card-logo::before,
.card-logo::after,
.note-logo::before,
.note-logo::after {
  content: "";
  position: absolute;
}

.card-logo.world::before,
.note-logo.world::before,
.card-logo.economy::before,
.note-logo.economy::before,
.card-logo.careers::before,
.card-logo.build::before,
.card-logo.nft::before,
.card-logo.community::before,
.card-logo.play::before,
.card-logo.vault::before,
.card-logo.burn::before,
.card-logo.market::before,
.card-logo.shield::before,
.card-logo.farm::before,
.card-logo.fishing::before,
.card-logo.mining::before,
.card-logo.battle::before {
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.card-logo.world::before,
.note-logo.world::before { width: 22px; height: 22px; border-radius: 50%; border: 4px solid var(--blue); }
.card-logo.world::after,
.note-logo.world::after { left: 11px; top: 11px; width: 24px; height: 24px; border-radius: 50%; border: 2px dashed rgba(46,109,246,.36); }

.card-logo.economy::before,
.note-logo.economy::before { width: 22px; height: 22px; border-radius: 50%; border: 4px solid var(--gold); }
.card-logo.economy::after,
.note-logo.economy::after { left: 10px; top: 10px; width: 26px; height: 26px; border-radius: 50%; border: 2px solid rgba(242,179,55,.26); }

.card-logo.careers::before { width: 26px; height: 16px; border-radius: 10px; background: linear-gradient(90deg, var(--blue), var(--blue-2)); }
.card-logo.careers::after { left: 17px; top: 10px; width: 12px; height: 12px; border-radius: 50%; background: #fff; box-shadow: 0 14px 0 #fff; }

.card-logo.build::before { width: 24px; height: 20px; border-radius: 8px 8px 4px 4px; background: linear-gradient(180deg, var(--orange), #ffb173); }
.card-logo.build::after { left: 14px; top: 12px; border-left: 10px solid transparent; border-right: 10px solid transparent; border-bottom: 10px solid #fff; }

.card-logo.nft::before { width: 20px; height: 20px; transform: translate(-50%, -50%) rotate(45deg); border-radius: 6px; background: linear-gradient(145deg, var(--blue), var(--purple)); }

.card-logo.community::before { width: 10px; height: 10px; border-radius: 50%; background: var(--blue); box-shadow: -12px 10px 0 var(--purple), 12px 10px 0 var(--green); }
.card-logo.community::after { left: 13px; top: 18px; width: 20px; height: 14px; border-bottom: 2px solid rgba(20,53,103,.3); border-left: 2px solid transparent; border-right: 2px solid transparent; }

.card-logo.play::before { width: 0; height: 0; border-left: 16px solid var(--blue); border-top: 10px solid transparent; border-bottom: 10px solid transparent; }
.card-logo.vault::before { width: 24px; height: 18px; border-radius: 5px; background: linear-gradient(180deg, #7fc4ff, var(--blue)); }
.card-logo.vault::after { left: 17px; top: 13px; width: 12px; height: 12px; border-radius: 50%; border: 3px solid rgba(255,255,255,.86); }
.card-logo.burn::before { width: 16px; height: 24px; border-radius: 12px 12px 12px 0; transform: translate(-50%, -50%) rotate(45deg); background: linear-gradient(180deg, var(--gold), var(--orange)); }
.card-logo.market::before { width: 24px; height: 16px; border-radius: 5px; background: linear-gradient(180deg, #69d7ff, var(--blue)); }
.card-logo.market::after { left: 14px; top: 13px; width: 18px; height: 10px; border: 2px solid rgba(255,255,255,.9); border-top: 0; border-radius: 0 0 6px 6px; }
.card-logo.shield::before { width: 20px; height: 24px; border-radius: 10px 10px 12px 12px; background: linear-gradient(180deg, #8ab8ff, var(--blue)); clip-path: polygon(50% 0, 100% 20%, 100% 68%, 50% 100%, 0 68%, 0 20%); }
.card-logo.farm::before { width: 22px; height: 22px; border-radius: 50% 50% 50% 0; transform: translate(-50%, -50%) rotate(-45deg); background: linear-gradient(180deg, #52db84, var(--green)); }
.card-logo.fishing::before { width: 24px; height: 14px; border-radius: 50% 50% 45% 45%; background: linear-gradient(90deg, #74e2ff, var(--cyan)); }
.card-logo.fishing::after { left: 28px; top: 17px; border-left: 8px solid var(--cyan); border-top: 5px solid transparent; border-bottom: 5px solid transparent; }
.card-logo.mining::before { width: 18px; height: 18px; transform: translate(-50%, -50%) rotate(45deg); border-radius: 4px; background: linear-gradient(145deg, #91a7c8, #6f84a2); }
.card-logo.battle::before { width: 4px; height: 24px; border-radius: 999px; background: linear-gradient(180deg, var(--purple), #c39cff); transform: translate(-50%, -50%) rotate(45deg); }
.card-logo.battle::after { width: 4px; height: 24px; border-radius: 999px; background: linear-gradient(180deg, var(--blue), var(--blue-2)); left: 22px; top: 11px; transform: rotate(-45deg); }

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

.feature-card {
  min-height: 260px;
  padding: 26px;
  color: #fff;
  background-size: cover;
  background-position: center;
}

.feature-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12,38,83,.22), rgba(12,38,83,.55));
}

.feature-card > * { position: relative; z-index: 1; }

.feature-index {
  display: inline-grid;
  place-items: center;
  min-width: 56px;
  height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  color: #fff;
  background: rgba(255,255,255,.14);
  font-size: 14px;
  font-weight: 800;
}

.feature-card h3 {
  margin: 20px 0 10px;
  font-size: 34px;
}

.feature-card p {
  max-width: 340px;
  margin: 0;
  color: rgba(255,255,255,.86);
  font-size: 14px;
  line-height: 1.75;
}

.feature-world { background-image: url("./assets/hero-openworld-v2.png"); }
.feature-careers { background-image: url("./assets/careers-lineup.png"); background-position: center 28%; }
.feature-build { background-image: linear-gradient(135deg, rgba(33,95,208,.72), rgba(63,192,255,.38)), url("./assets/hero-world.png"); background-position: center; }
.feature-economy { background-image: url("./assets/economy-loop.png"); background-position: center; }
.feature-nft { background-image: url("./assets/nft-collectibles.png"); background-position: center; }
.feature-community { background-image: url("./assets/referral-network.png"); background-position: center; }

.careers-layout,
.economy-layout,
.nft-layout,
.market-layout,
.referral-layout {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: 20px;
  align-items: stretch;
}

.careers-copy {
  display: grid;
  gap: 14px;
}

.career-pill,
.info-card,
.market-dashboard,
.invite-panel {
  background: linear-gradient(180deg, rgba(255,255,255,.94), rgba(247,251,255,.94));
}

.career-pill {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 22px;
}

.career-pill b {
  display: block;
  margin-bottom: 6px;
  font-size: 24px;
}

.career-pill small {
  display: block;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.careers-visual {
  padding: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,.92), rgba(239,247,255,.94));
}

.careers-visual img,
.economy-visual img,
.nft-visual img,
.referral-visual img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 24px;
}

.gameplay-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.gameplay-card {
  min-height: 440px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 12px;
  color: var(--ink);
  background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(245,250,255,.94));
}

.gameplay-card::before {
  display: none;
}

.gameplay-card > * { position: relative; z-index: 1; }

.gameplay-scene {
  position: relative;
  min-height: 188px;
  border-radius: 20px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.48), 0 18px 32px rgba(26, 58, 109, 0.12);
}

.gameplay-scene::before,
.gameplay-scene::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.gameplay-scene::before {
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(9,27,55,.35));
}

.gameplay-scene::after {
  opacity: 0;
  transition: opacity .22s ease;
}

.gameplay-card.is-playing {
  transform: translateY(-3px);
}

.gameplay-card.is-playing .gameplay-scene::after {
  opacity: 1;
}

.gameplay-scene--farm {
  background-image: url("./assets/hero-openworld-v2.png");
  background-position: 12% 74%;
}

.gameplay-scene--fishing {
  background-image: linear-gradient(180deg, rgba(75,171,255,.24), rgba(11,42,87,.18)), url("./assets/hero-openworld-v2.png");
  background-position: 42% 84%;
}

.gameplay-scene--building {
  background-image: linear-gradient(180deg, rgba(110,190,255,.16), rgba(18,43,86,.22)), url("./assets/nft-collectibles.png");
  background-position: 30% center;
}

.gameplay-scene--mining {
  background-image: linear-gradient(180deg, rgba(11,38,75,.18), rgba(4,12,24,.28)), url("./assets/world-map.png");
  background-position: 74% 54%;
}

.gameplay-scene--battle {
  background-image: linear-gradient(135deg, rgba(76,32,152,.28), rgba(154,47,110,.34) 55%, rgba(232,112,67,.18)), url("./assets/world-map.png");
  background-position: 100% 50%;
}

.gameplay-copy {
  display: grid;
  gap: 10px;
  padding: 2px 4px 0;
}

.gameplay-copy h3 {
  margin: 0;
  font-size: 28px;
}

.gameplay-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.gameplay-meta {
  display: grid;
  gap: 8px;
  margin-top: auto;
}

.gameplay-hint {
  color: #6a7f9f;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
}

.gameplay-play {
  height: 42px;
  border: 0;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  box-shadow: 0 12px 24px rgba(46,109,246,.28);
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.gameplay-status {
  min-height: 16px;
  color: #58739b;
  font-size: 12px;
  font-weight: 700;
}

.gameplay-popup {
  position: absolute;
  right: 16px;
  top: 18px;
  padding: 8px 12px;
  border-radius: 999px;
  color: #fff;
  background: rgba(46,109,246,.92);
  box-shadow: 0 14px 32px rgba(46,109,246,.28);
  transform: translateY(6px) scale(.96);
  opacity: 0;
  transition: .18s ease;
  font-size: 12px;
  font-weight: 800;
}

.gameplay-popup.show {
  transform: none;
  opacity: 1;
}

.farm-scene .scene-sun,
.fishing-scene .scene-bobber,
.building-scene .scene-frame,
.mining-scene .scene-pickaxe,
.battle-scene .scene-slash {
  position: absolute;
  will-change: transform, opacity;
}

.farm-scene .scene-sun {
  right: 22px;
  top: 18px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.98) 0 22%, rgba(255,235,161,.96) 24% 42%, rgba(255,203,91,.78) 43% 100%);
  box-shadow: 0 0 0 16px rgba(255,255,255,.08);
}

.farm-scene .scene-cloud {
  position: absolute;
  border-radius: 999px;
  background: rgba(255,255,255,.92);
  filter: blur(.2px);
}

.farm-scene .cloud-a { left: 18px; top: 30px; width: 76px; height: 26px; }
.farm-scene .cloud-b { right: 86px; top: 46px; width: 64px; height: 22px; }

.farm-scene .scene-field {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 44%;
  background:
    linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(56,207,122,.12) 18%, rgba(18,72,39,.38) 100%),
    linear-gradient(135deg, rgba(48,174,102,.2), rgba(66,122,255,.08));
}

.farm-scene .scene-sprout {
  position: absolute;
  bottom: 22px;
  width: 14px;
  height: 30px;
  border-radius: 10px 10px 4px 4px;
  background: linear-gradient(180deg, #42d67d, #1ea85b);
  transform-origin: center bottom;
}

.farm-scene .sprout-a { left: 24px; animation: sproutBeat 2.8s ease-in-out infinite; }
.farm-scene .sprout-b { left: 52px; height: 42px; animation: sproutBeat 3.2s ease-in-out infinite .2s; }
.farm-scene .sprout-c { left: 84px; animation: sproutBeat 2.6s ease-in-out infinite .4s; }

.fishing-scene .scene-water {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 60%, rgba(255,255,255,.2), transparent 28%),
    linear-gradient(180deg, rgba(118,201,255,.4), rgba(14,58,120,.14) 55%, rgba(12,31,63,.2));
}

.fishing-scene .scene-waves {
  position: absolute;
  left: 14%;
  right: 14%;
  bottom: 26px;
  height: 56px;
  background:
    radial-gradient(ellipse at center, rgba(255,255,255,.48) 0 4px, transparent 5px) 0 0 / 34px 22px repeat-x,
    radial-gradient(ellipse at center, rgba(255,255,255,.34) 0 3px, transparent 4px) 0 16px / 28px 18px repeat-x;
  opacity: .7;
}

.fishing-scene .scene-bobber {
  left: 50%;
  top: 40%;
  width: 18px;
  height: 18px;
  margin-left: -9px;
  border-radius: 50%;
  background: linear-gradient(180deg, #ff7f4d 0 48%, #fff 48% 100%);
  box-shadow: 0 28px 0 1px rgba(255,255,255,.18);
  animation: bobberFloat 2.8s ease-in-out infinite;
}

.fishing-scene .scene-fish {
  position: absolute;
  width: 54px;
  height: 18px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255,255,255,.3), rgba(255,255,255,.95));
  opacity: .88;
}

.fishing-scene .scene-fish::after {
  content: "";
  position: absolute;
  right: -6px;
  top: 4px;
  border-left: 8px solid rgba(255,255,255,.95);
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
}

.fishing-scene .fish-a { left: 14%; top: 28%; animation: fishDrift 5.4s linear infinite; }
.fishing-scene .fish-b { right: 18%; top: 60%; transform: scale(.72); animation: fishDrift 4.6s linear infinite reverse; }

.building-scene .scene-sky {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(128,203,255,.3), rgba(255,255,255,.05));
}

.building-scene .scene-lot {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 32%;
  background: linear-gradient(180deg, rgba(128,160,182,.16), rgba(19,44,77,.34));
}

.building-scene .scene-frame {
  bottom: 30px;
  width: 20px;
  border-radius: 12px;
  background: linear-gradient(180deg, #ffd9a8, #f2a74f);
  box-shadow: 0 0 0 4px rgba(255,255,255,.12);
}

.building-scene .frame-a { left: 28%; height: 86px; animation: buildRise 3s ease-in-out infinite; }
.building-scene .frame-b { left: 46%; height: 110px; animation: buildRise 3s ease-in-out infinite .2s; }
.building-scene .frame-c { left: 64%; height: 72px; animation: buildRise 3s ease-in-out infinite .4s; }

.mining-scene .scene-rock {
  position: absolute;
  bottom: 26px;
  border-radius: 28px 24px 20px 22px;
  background: linear-gradient(145deg, #e5ebf3, #8ba0ba);
  box-shadow: inset -8px -10px 18px rgba(255,255,255,.28);
}

.mining-scene .rock-a { left: 14%; width: 68px; height: 48px; }
.mining-scene .rock-b { left: 37%; width: 78px; height: 56px; bottom: 18px; }
.mining-scene .rock-c { right: 18%; width: 56px; height: 42px; }

.mining-scene .scene-pickaxe {
  right: 20%;
  bottom: 28px;
  width: 84px;
  height: 84px;
  transform-origin: 24% 74%;
  animation: pickaxeIdle 2.4s ease-in-out infinite;
}

.mining-scene .scene-pickaxe::before,
.mining-scene .scene-pickaxe::after {
  content: "";
  position: absolute;
}

.mining-scene .scene-pickaxe::before {
  left: 34px;
  top: 6px;
  width: 10px;
  height: 72px;
  border-radius: 999px;
  background: linear-gradient(180deg, #6e4d2f, #3d2818);
  transform: rotate(32deg);
}

.mining-scene .scene-pickaxe::after {
  left: 18px;
  top: 0;
  width: 34px;
  height: 18px;
  border-radius: 12px 12px 10px 10px;
  background: linear-gradient(180deg, #dbe5ef, #91a4bf);
  box-shadow: 0 0 0 4px rgba(255,255,255,.18);
}

.mining-scene .scene-spark {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff7b0;
  opacity: 0;
}

.mining-scene .spark-a { left: 54%; bottom: 78px; }
.mining-scene .spark-b { left: 64%; bottom: 64px; }

.battle-scene .scene-arena {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 38%, rgba(255,255,255,.24), transparent 24%),
    linear-gradient(180deg, rgba(109,111,255,.24), rgba(23,37,81,.2));
}

.battle-scene .scene-boss {
  position: absolute;
  left: 50%;
  bottom: 28px;
  width: 74px;
  height: 74px;
  margin-left: -37px;
  border-radius: 24px 24px 28px 28px;
  background: linear-gradient(180deg, #6d53ff, #301b7a);
  box-shadow: 0 16px 30px rgba(77, 41, 181, .28);
}

.battle-scene .scene-slash {
  left: 50%;
  top: 20%;
  width: 140px;
  height: 16px;
  margin-left: -70px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,.96), rgba(255,255,255,0));
  transform: rotate(-18deg) scaleX(.2);
  opacity: 0;
}

.battle-scene .scene-orb {
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.96) 0 24%, rgba(255,124,89,.92) 26% 100%);
  opacity: .86;
}

.battle-scene .orb-a { left: 22%; top: 28%; }
.battle-scene .orb-b { right: 22%; top: 30%; }

.gameplay-card.is-playing .mining-scene .scene-pickaxe {
  animation: pickaxeStrike .9s ease-in-out 1;
}

.gameplay-card.is-playing .mining-scene .scene-spark {
  opacity: 1;
  animation: sparkBurst .9s ease-out 1;
}

.gameplay-card.is-playing .battle-scene .scene-slash {
  opacity: 1;
  animation: slashFlash .95s ease-out 1;
}

.gameplay-card.is-playing .battle-scene .scene-boss {
  animation: bossPulse .95s ease-out 1;
}

.gameplay-card.is-playing .fishing-scene .scene-bobber {
  animation: bobberBite .95s ease-out 1;
}

.gameplay-card.is-playing .farm-scene .scene-sprout {
  animation: sproutHarvest .9s ease-out 1;
}

.gameplay-card.is-playing .building-scene .scene-frame {
  animation: buildFlash .95s ease-out 1;
}

.gameplay-card.farm,
.gameplay-card.fishing,
.gameplay-card.building,
.gameplay-card.mining,
.gameplay-card.battle {
  background-image: none;
}

.economy-stack,
.nft-points,
.market-benefits {
  display: grid;
  gap: 14px;
}

.economy-visual,
.nft-visual,
.referral-visual {
  padding: 16px;
  background: linear-gradient(180deg, rgba(255,255,255,.94), rgba(240,248,255,.96));
}

.info-card {
  padding: 22px;
  min-height: 142px;
}

.info-card h3 {
  margin: 16px 0 8px;
  font-size: 30px;
}

.info-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.info-card.blue { color: #fff; background: linear-gradient(135deg, #165ef0, #48b7ff); }
.info-card.gold { color: #fff; background: linear-gradient(135deg, #f0a325, #ffd156); }
.info-card.blue p,
.info-card.gold p { color: rgba(255,255,255,.88); }

.market-dashboard {
  padding: 22px;
  display: grid;
  gap: 16px;
}

.market-shot {
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(180deg, #ffffff, #f4f9ff);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.6);
}

.market-shot img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
}

.market-user {
  display: flex;
  align-items: center;
  gap: 14px;
}

.avatar {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(145deg, var(--blue), var(--blue-2));
  font-size: 22px;
  font-weight: 800;
}

.market-user strong { display: block; font-size: 20px; }
.market-user span { color: var(--muted); font-size: 12px; }

.market-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.market-tabs span {
  padding: 10px 14px;
  border-radius: 999px;
  color: #6c84a5;
  background: #f1f6ff;
  font-size: 13px;
  font-weight: 700;
}

.market-tabs .active {
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
}

.market-items {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.market-items article {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(180deg, #ffffff, #f7fbff);
}

.market-items b {
  display: block;
  margin: 36px 0 6px;
  font-size: 18px;
}

.market-items small {
  color: var(--muted);
  font-size: 12px;
}

.market-badge {
  position: absolute;
  width: 54px;
  height: 54px;
  border-radius: 18px;
  background: linear-gradient(145deg, #dbe8ff, #f7fbff);
  box-shadow: inset 0 0 0 1px rgba(20,53,103,.08);
}

.market-badge::before,
.market-badge::after {
  content: "";
  position: absolute;
}

.market-badge.land::before { left: 13px; top: 12px; width: 28px; height: 20px; border-radius: 8px; background: linear-gradient(180deg, #62da86, #1fbc5d); }
.market-badge.land::after { left: 18px; top: 27px; width: 18px; height: 12px; border-radius: 0 0 8px 8px; background: linear-gradient(180deg, #76b8ff, #2f6df6); }
.market-badge.house::before { left: 14px; top: 18px; width: 26px; height: 20px; border-radius: 6px; background: linear-gradient(180deg, #f3b64a, #ea8b28); }
.market-badge.house::after { left: 13px; top: 10px; border-left: 14px solid transparent; border-right: 14px solid transparent; border-bottom: 12px solid #fff; }
.market-badge.tower::before { left: 18px; top: 10px; width: 18px; height: 30px; border-radius: 8px; background: linear-gradient(180deg, #7acbff, var(--blue)); }
.market-badge.chest::before { left: 12px; top: 17px; width: 30px; height: 22px; border-radius: 8px; background: linear-gradient(180deg, #e2a02d, #b76b17); }
.market-badge.chest::after { left: 20px; top: 22px; width: 14px; height: 12px; border-radius: 4px; border: 2px solid rgba(255,255,255,.9); }

.referral-layout { grid-template-columns: 1.04fr .96fr; }
.invite-panel { padding: 20px; }

.invite-topline {
  display: grid;
  gap: 14px;
  margin-bottom: 14px;
}

.ref-metric {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(135deg, #ffffff, #f7fbff);
}

.ref-metric span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.ref-metric strong {
  display: block;
  margin-top: 10px;
  color: var(--blue);
  font-size: 64px;
  line-height: .95;
}

.ref-levels {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ref-levels span {
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-size: 12px;
  font-weight: 800;
  color: #58739b;
}

.invite-register { width: 100%; margin-bottom: 14px; }

.invite-meta {
  display: grid;
  gap: 12px;
}

.invite-meta span {
  display: block;
  margin-bottom: 8px;
  color: #6e84a4;
  font-size: 12px;
  font-weight: 800;
}

.invite-meta input {
  width: 100%;
  height: 50px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #f8fbff;
  color: var(--ink);
}

.invite-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 14px;
}

.invite-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 14px;
}

.invite-stats div {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  text-align: center;
}

.invite-stats b {
  display: block;
  color: var(--blue);
  font-size: 30px;
}

.invite-stats span {
  color: var(--muted);
  font-size: 12px;
}

.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.roadmap-visual,
.roadmap-board {
  padding: 16px;
  margin-bottom: 16px;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(255,255,255,.94), rgba(241,248,255,.96));
  box-shadow: var(--shadow);
}

.roadmap-visual img,
.roadmap-board img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 22px;
}

.roadmap-grid article {
  padding: 22px;
  background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(245,250,255,.94));
}

.roadmap-grid span {
  display: inline-block;
  margin-bottom: 14px;
  padding: 9px 14px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(90deg, var(--blue), var(--blue-2));
  font-size: 13px;
  font-weight: 800;
}

.roadmap-grid h3 {
  margin: 0 0 8px;
  font-size: 28px;
}

.roadmap-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.cta {
  min-height: 460px;
  margin: 0 4.4% 28px;
  background: #d9ecff;
}

.cta-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(9,35,78,.84), rgba(9,35,78,.35)),
    url("./assets/ecosystem-closing.png") center / cover no-repeat;
}

.cta-copy {
  position: relative;
  z-index: 1;
  max-width: 760px;
  padding: 62px 56px;
  color: #fff;
}

.eyebrow.light { color: #c4d7ff; }

.cta h2 {
  margin: 18px 0 12px;
  font-size: clamp(42px, 5vw, 72px);
  line-height: 1.02;
}

.cta p {
  max-width: 620px;
  margin: 0;
  color: rgba(255,255,255,.84);
  font-size: 16px;
  line-height: 1.8;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 24px;
}

.cta-link {
  padding: 16px 18px;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 16px;
  background: rgba(255,255,255,.08);
  color: #fff;
}

.partner-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.partner-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 15px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  background: rgba(255,255,255,.08);
}

.partner-chip i {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7bd3ff, #ffe18d);
}

.partner-chip b { font-size: 13px; font-weight: 800; }

.footer {
  min-height: 110px;
  padding: 0 4.4% 26px;
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--muted);
  font-size: 12px;
}

.footer-brand { font-size: 18px; }
.footer p { margin-right: auto; }
.footer div { display: flex; gap: 18px; }

.wallet-float {
  position: fixed;
  z-index: 60;
  right: 24px;
  top: 98px;
  width: 310px;
  min-height: 88px;
  display: none;
  grid-template-columns: 58px 1fr 34px;
  align-items: center;
  gap: 10px;
  padding: 14px;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(18px);
}

.wallet-float.visible { display: grid; animation: walletIn .35s ease both, floatMini 6s ease-in-out infinite 1.1s; }
.wallet-float.collapsed { width: 82px; grid-template-columns: 1fr; }
.wallet-float.collapsed .wallet-info,
.wallet-float.collapsed .wallet-open,
.wallet-float.collapsed .wallet-details { display: none; }

.wallet-collapse,
.wallet-open {
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 10px;
}

.wallet-collapse {
  position: absolute;
  left: -10px;
  top: 28px;
  background: #fff;
  box-shadow: 0 8px 18px rgba(36,61,104,.14);
  color: var(--blue);
  font-size: 18px;
}

.wallet-float.collapsed .wallet-collapse { transform: rotate(180deg); }
.wallet-open { background: linear-gradient(135deg, var(--blue), var(--blue-2)); color: #fff; font-size: 18px; }

.player-avatar {
  position: relative;
  width: 54px;
  height: 54px;
  padding: 3px;
  border-radius: 18px;
  background: linear-gradient(145deg, #dbe8ff, #76bdff);
}

.avatar-face {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  border-radius: 15px;
  color: #fff;
  background: linear-gradient(145deg, #174db6, #2e9cf2);
  font-size: 22px;
  font-weight: 800;
}

.player-avatar i {
  position: absolute;
  right: -2px;
  bottom: -2px;
  width: 12px;
  height: 12px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--green);
}

.wallet-info > span { display: block; font-size: 12px; font-weight: 800; }
.wallet-info > button {
  display: block;
  padding: 0;
  border: 0;
  background: transparent;
  color: #7286a4;
  font-size: 10px;
  cursor: pointer;
}

.balance { margin-top: 5px; }
.balance b { font-size: 16px; }
.balance span { margin-left: 4px; color: var(--blue); font-size: 10px; font-weight: 800; }

.wallet-details {
  display: none;
  grid-column: 1 / -1;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.wallet-float.expanded .wallet-details { display: grid; }
.wallet-details div,
.wallet-details button {
  padding: 10px;
  border: 0;
  border-radius: 12px;
  background: #f3f8ff;
}

.wallet-details span { display: block; color: #7e91ab; font-size: 10px; }
.wallet-details b { font-size: 15px; }
.wallet-details button {
  grid-column: 1 / -1;
  color: var(--blue);
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}

.modal-backdrop,
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  place-items: center;
  padding: 20px;
  background: rgba(10,25,55,.48);
  backdrop-filter: blur(10px);
}

.modal-backdrop.open,
.video-modal.open { display: grid; }

.wallet-modal {
  position: relative;
  width: min(420px, 100%);
  padding: 38px;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 28px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 30px 90px rgba(8,22,48,.24);
  text-align: center;
}

.wallet-modal h2 { margin: 18px 0 8px; font-size: 30px; }
.wallet-modal p { margin: 0 0 22px; color: var(--muted); font-size: 13px; line-height: 1.7; }

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 12px;
  background: #eef4ff;
  font-size: 22px;
  cursor: pointer;
}

.provider-btn {
  width: 100%;
  height: 56px;
  margin: 8px 0;
  display: grid;
  grid-template-columns: 34px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  text-align: left;
}

.provider-btn span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  color: #fff;
  font-weight: 800;
}

.provider-btn .fox { background: var(--orange); }
.provider-btn .wc { background: var(--blue); }
.provider-btn i { font-style: normal; color: #8aa2c4; font-size: 10px; }
.wallet-modal small { display: block; margin-top: 12px; color: #8ca0bb; font-size: 11px; }

.video-scene {
  width: min(920px, 92vw);
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.28);
  background:
    linear-gradient(rgba(7,28,67,.42), rgba(7,28,67,.72)),
    url("./assets/hero-openworld-v2.png") center / cover no-repeat;
  color: #fff;
}

.video-play {
  grid-row: 1;
  grid-column: 1;
  display: grid;
  place-items: center;
  width: 86px;
  height: 86px;
  padding-left: 5px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: rgba(255,255,255,.15);
  font-size: 28px;
}

.video-scene p {
  grid-row: 1;
  grid-column: 1;
  margin-top: 180px;
  font-size: 16px;
}

.video-close { background: rgba(255,255,255,.14); color: #fff; }

.toast {
  position: fixed;
  z-index: 200;
  left: 50%;
  bottom: 30px;
  transform: translate(-50%, 20px);
  padding: 12px 18px;
  border-radius: 12px;
  color: #fff;
  background: rgba(10,25,55,.92);
  opacity: 0;
  pointer-events: none;
  transition: .25s ease;
  font-size: 12px;
}

.toast.show { opacity: 1; transform: translate(-50%, 0); }
.mobile-bottom { display: none; }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: none; transition-delay: var(--reveal-delay, 0ms); }

@keyframes walletIn {
  from { opacity: 0; transform: translateX(30px) scale(.96); }
  to { opacity: 1; transform: none; }
}

@keyframes floatMini {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

@keyframes sproutBeat {
  0%, 100% { transform: scaleY(1); }
  50% { transform: scaleY(1.16); }
}

@keyframes bobberFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes bobberBite {
  0% { transform: translateY(0); }
  35% { transform: translateY(8px) scale(.9); }
  100% { transform: translateY(0); }
}

@keyframes fishDrift {
  0% { transform: translateX(-18px); opacity: .2; }
  35% { opacity: .96; }
  100% { transform: translateX(18px); opacity: .2; }
}

@keyframes buildRise {
  0%, 100% { transform: scaleY(.82); }
  50% { transform: scaleY(1.12); }
}

@keyframes buildFlash {
  0% { filter: brightness(1); transform: scaleY(.92); }
  45% { filter: brightness(1.08); transform: scaleY(1.08); }
  100% { filter: brightness(1); transform: scaleY(.92); }
}

@keyframes pickaxeIdle {
  0%, 100% { transform: rotate(-8deg); }
  50% { transform: rotate(8deg); }
}

@keyframes pickaxeStrike {
  0% { transform: rotate(-18deg) translateY(0); }
  35% { transform: rotate(28deg) translateY(-6px); }
  70% { transform: rotate(-8deg) translateY(2px); }
  100% { transform: rotate(-12deg) translateY(0); }
}

@keyframes sparkBurst {
  0% { opacity: 0; transform: scale(.5); }
  20% { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.35); }
}

@keyframes slashFlash {
  0% { opacity: 0; transform: rotate(-18deg) scaleX(.2); }
  35% { opacity: 1; transform: rotate(-18deg) scaleX(1); }
  100% { opacity: 0; transform: rotate(-18deg) scaleX(1.2); }
}

@keyframes bossPulse {
  0%, 100% { transform: translateY(0) scale(1); }
  45% { transform: translateY(-6px) scale(1.06); }
}

@media (max-width: 1200px) {
  .desktop-nav { gap: 16px; }
  .hero-stage,
  .careers-layout,
  .economy-layout,
  .nft-layout,
  .market-layout,
  .referral-layout { grid-template-columns: 1fr; }
  .feature-grid,
  .gameplay-grid,
  .roadmap-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  html { scroll-padding-top: 74px; }
  body { padding-bottom: 72px; }
  .topbar,
  .topbar.scrolled {
    top: 0;
    width: 100%;
    height: 64px;
    border: 0;
    border-radius: 0;
    padding: 0 16px;
  }

  .brand { font-size: 18px; }
  .brand small { font-size: 12px; }
  .brand-mark { width: 28px; height: 28px; border-radius: 10px; }
  .brand-mark::before { left: 5px; top: 5px; width: 8px; height: 8px; }
  .brand-mark::after { right: 5px; bottom: 5px; width: 10px; height: 10px; border-width: 3px; }
  .brand-mark i { left: 9px; top: 9px; width: 10px; height: 10px; border-width: 3px; }

  .desktop-nav,
  .wallet-btn { display: none; }
  .menu-btn { display: block; }
  .header-actions { margin-left: auto; }
  .lang-switch { border: 0; background: #edf4ff; color: var(--blue); }

  .mobile-menu {
    position: fixed;
    z-index: 35;
    top: 64px;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    padding: 8px 18px 18px;
    background: rgba(255,255,255,.97);
    box-shadow: 0 18px 34px rgba(14,45,90,.12);
    transform: translateY(-130%);
    opacity: 0;
    transition: .25s ease;
  }

  .mobile-menu.open { transform: none; opacity: 1; }
  .mobile-menu a { padding: 12px 4px; border-bottom: 1px solid var(--line); font-size: 13px; font-weight: 700; }

  .hero { padding: 78px 0 24px; }
  .hero-stage { gap: 0; }
  .hero-copy,
  .hero-visual,
  .world-panel,
  .feature-card,
  .careers-visual,
  .career-pill,
  .gameplay-card,
  .economy-visual,
  .info-card,
  .nft-visual,
  .market-shot,
  .market-dashboard,
  .referral-visual,
  .invite-panel,
  .roadmap-visual,
  .roadmap-board,
  .roadmap-grid article,
  .cta,
  .wallet-float { border-radius: 24px; }

  .hero-copy { margin: 0 16px; padding: 32px 24px 22px; }
  .hero h1 { font-size: 38px; line-height: 1.02; }
  .hero-copy > p { font-size: 13px; }
  .hero-tags span { font-size: 11px; padding: 8px 12px; }
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: 1fr 1fr; gap: 12px; }
  .hero-stats strong { font-size: 20px; }
  .hero-visual { min-height: 330px; margin-top: 16px; border-radius: 0; }
  .hero-note { padding: 14px; border-radius: 18px; max-width: 180px; }
  .hero-note strong, .world-callout strong { font-size: 16px; }
  .hero-note small, .world-callout p { font-size: 11px; }

  .section { padding: 18px 16px 54px; }
  .section-heading { grid-template-columns: 58px 1fr; gap: 12px; margin-bottom: 18px; }
  .section-mark { width: 58px; height: 58px; border-radius: 18px; }
  .section-mark::before { inset: 15px; border-radius: 12px; }
  .section-mark::after { left: 22px; top: 10px; width: 12px; height: 36px; }
  .section-mark.features::after { width: 28px; height: 12px; left: 15px; top: 23px; }
  .section-mark.careers::after, .section-mark.economy::after, .section-mark.nft::after,
  .section-mark.market::after, .section-mark.community::after, .section-mark.roadmap::after { left: 17px; top: 17px; }
  .section-heading h2 { font-size: 30px; margin: 6px 0; line-height: 1.08; }
  .section-heading p { font-size: 13px; }

  .world-panel { min-height: 300px; }
  .world-callout.left { left: 16px; top: 16px; max-width: 180px; }
  .world-callout.right { right: 16px; bottom: 16px; max-width: 190px; }

  .feature-grid,
  .gameplay-grid,
  .roadmap-grid,
  .invite-stats,
  .market-items,
  .invite-actions { grid-template-columns: 1fr; }

  .feature-card { min-height: 190px; padding: 20px; }
  .feature-card h3 { font-size: 24px; }
  .feature-card p { font-size: 12px; }

  .careers-layout,
  .economy-layout,
  .nft-layout,
  .market-layout,
  .referral-layout { grid-template-columns: 1fr; gap: 14px; }

  .gameplay-card { min-height: 240px; padding: 18px; }
  .gameplay-card h3 { font-size: 24px; }
  .gameplay-scene { min-height: 150px; }
  .gameplay-copy { gap: 8px; }
  .gameplay-copy h3 { font-size: 22px; }
  .gameplay-copy p { font-size: 12px; line-height: 1.55; }
  .gameplay-hint { font-size: 11px; }
  .gameplay-play { height: 40px; font-size: 12px; }
  .gameplay-status { font-size: 11px; }
  .gameplay-popup { right: 12px; top: 14px; font-size: 11px; }

  .info-card { min-height: 0; padding: 18px; }
  .info-card h3 { font-size: 24px; }
  .info-card p { font-size: 13px; }
  .ref-metric strong { font-size: 46px; }

  .hero-copy > p,
  .section-heading p,
  .world-callout p,
  .gameplay-copy p,
  .market-user span,
  .invite-meta span,
  .invite-stats span { line-height: 1.55; }

  .market-user {
    align-items: flex-start;
  }

  .market-user strong { font-size: 18px; }
  .market-tabs span { padding: 8px 11px; font-size: 12px; }
  .market-items article { padding: 14px; }
  .market-items b { margin-top: 32px; font-size: 16px; }
  .market-items small { font-size: 11px; }

  .ref-metric { padding: 18px; }
  .ref-metric strong { font-size: 38px; }
  .ref-levels span { font-size: 11px; padding: 8px 10px; }
  .invite-stats b { font-size: 22px; }

  .roadmap-grid article { padding: 20px; }
  .roadmap-grid h3 { font-size: 24px; }
  .roadmap-grid p { font-size: 13px; }

  .cta { min-height: 380px; margin: 0 16px 18px; }
  .cta-copy { padding: 32px 22px; }
  .cta h2 { font-size: 40px; }
  .cta p { font-size: 13px; }
  .cta-actions { display: grid; grid-template-columns: 1fr; }

  .footer {
    min-height: 150px;
    padding: 0 16px 26px;
    flex-wrap: wrap;
    gap: 12px 20px;
  }

  .footer p,
  .footer div { width: 100%; }

  .mobile-bottom {
    position: fixed;
    z-index: 50;
    left: 10px;
    right: 10px;
    bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    height: 60px;
    border: 1px solid rgba(46,109,246,.12);
    border-radius: 18px;
    background: rgba(255,255,255,.94);
    box-shadow: 0 12px 34px rgba(17,49,96,.16);
    backdrop-filter: blur(14px);
  }

  .mobile-bottom a,
  .mobile-bottom button {
    min-width: 48px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    border: 0;
    background: transparent;
    color: #6f86a6;
    font-size: 15px;
  }

  .mobile-bottom .active { color: var(--blue); }
  .mobile-bottom small { font-size: 8px; font-weight: 700; }

  .wallet-float {
    top: auto;
    right: 14px;
    bottom: calc(82px + env(safe-area-inset-bottom));
    width: calc(100% - 28px);
  }

  .wallet-collapse {
    left: auto;
    right: 10px;
    top: -12px;
    transform: rotate(90deg);
  }

  .wallet-float.collapsed .wallet-collapse { transform: rotate(-90deg); }
  .wallet-modal { padding: 28px 20px; }
  .toast { bottom: 84px; }
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}
