
:root {
  color-scheme: dark;
  --bg: #05070c;
  --surface: #11141d;
  --surface-2: #171a24;
  --line: rgba(230, 235, 255, 0.13);
  --text: #f4f3f6;
  --muted: #aaa8b2;
  --gold: #f7d98d;
  --cyan: #5ee4ff;
  --blue: #3e91ff;
  --red: #ff7087;
  --radius: 28px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg);
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 20%, rgba(123, 40, 94, 0.22), transparent 34rem),
    radial-gradient(circle at 92% 8%, rgba(34, 128, 154, 0.18), transparent 30rem),
    #05070c;
}

button {
  font: inherit;
}

.demo-shell {
  position: relative;
  width: min(100%, 500px);
  min-height: 100vh;
  margin-inline: auto;
  padding: 88px 18px 118px;
  background: rgba(5, 7, 12, 0.76);
  box-shadow: 0 0 72px rgba(0, 0, 0, 0.45);
}

.demo-topbar {
  position: fixed;
  top: 0;
  left: 50%;
  z-index: 20;
  width: min(100%, 500px);
  min-height: 70px;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(5, 7, 12, 0.92);
  backdrop-filter: blur(20px);
  transform: translateX(-50%);
}

.demo-topbar div {
  display: grid;
  gap: 3px;
}

.demo-kicker,
.card-label {
  color: var(--gold);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.demo-topbar strong {
  font-size: 16px;
}

.demo-date {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  text-align: right;
}

.demo-page[hidden] {
  display: none;
}

.demo-page.is-active {
  animation: page-in 180ms ease both;
}

.page-heading {
  margin-bottom: 22px;
}

.page-heading p {
  margin: 0;
  color: var(--text);
  font-size: clamp(34px, 9vw, 54px);
  font-weight: 800;
  letter-spacing: -0.055em;
}

.page-heading h1 {
  margin: 3px 0 0;
  font-size: clamp(24px, 7vw, 40px);
  letter-spacing: -0.04em;
}

.page-heading > span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.hero-card,
.panel {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 92% 0%, rgba(94, 228, 255, 0.09), transparent 34%),
    linear-gradient(145deg, rgba(32, 27, 36, 0.96), rgba(12, 15, 24, 0.96));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.hero-card h2,
.panel h2 {
  margin: 9px 0 0;
  font-size: clamp(25px, 7vw, 38px);
  line-height: 1.03;
  letter-spacing: -0.045em;
}

.hero-card p,
.panel p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.58;
}

.hero-progress {
  margin-top: 22px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.hero-progress > div,
.live-pill {
  min-height: 62px;
  padding: 12px;
  display: grid;
  place-content: center;
  gap: 3px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.035);
}

.hero-progress strong {
  font-size: 18px;
}

.hero-progress span:not(.live-pill) {
  color: var(--muted);
  font-size: 11px;
}

.live-pill {
  grid-column: 1 / -1;
  min-height: 44px;
  color: #ffd4db;
  border-color: rgba(255, 112, 135, 0.32);
  background: rgba(255, 112, 135, 0.1);
  font-weight: 800;
  text-align: center;
}

.panel {
  margin-top: 16px;
}

.card-label.cyan {
  color: var(--cyan);
}

.shortcut-list {
  margin-top: 18px;
  display: grid;
  gap: 10px;
}

.shortcut-list button {
  width: 100%;
  min-height: 78px;
  padding: 13px 15px;
  display: grid;
  grid-template-columns: 48px 1fr auto;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--text);
  text-align: left;
  cursor: pointer;
}

.shortcut-list button:hover {
  border-color: rgba(94, 228, 255, 0.34);
  transform: translateY(-2px);
}

.shortcut-list .emoji {
  font-size: 26px;
}

.shortcut-list strong,
.shortcut-list small {
  display: block;
}

.shortcut-list small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.now-panel {
  border-color: rgba(94, 228, 255, 0.23);
}

.day-tabs,
.packing-tabs {
  display: grid;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
}

.day-tabs {
  grid-template-columns: repeat(3, minmax(130px, 1fr));
  margin-bottom: 14px;
}

.packing-tabs {
  grid-template-columns: repeat(3, minmax(115px, 1fr));
  margin-top: 15px;
}

.day-tabs::-webkit-scrollbar,
.packing-tabs::-webkit-scrollbar {
  display: none;
}

.day-tabs button,
.packing-tabs button {
  min-height: 104px;
  padding: 14px;
  display: grid;
  justify-items: start;
  align-content: center;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--muted);
  cursor: pointer;
  text-align: left;
}

.day-tabs button.is-active,
.packing-tabs button.is-active {
  color: var(--text);
  border-color: rgba(94, 228, 255, 0.42);
  background: linear-gradient(145deg, rgba(43, 110, 125, 0.38), rgba(23, 27, 38, 0.92));
}

.day-tabs button > span,
.packing-tabs button > span {
  font-size: 23px;
}

.day-tabs strong,
.packing-tabs strong {
  font-size: 16px;
}

.day-tabs small,
.packing-tabs small {
  color: var(--muted);
  font-size: 11px;
}

.day-card {
  margin-top: 0;
}

.day-progress {
  margin-top: 20px;
  display: grid;
  gap: 10px;
}

.progress-track {
  height: 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
  overflow: hidden;
}

.progress-track span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--gold), var(--cyan));
  transition: width 220ms ease;
}

.day-progress strong {
  color: var(--gold);
  font-size: 14px;
}

.task-list,
.packing-list {
  margin-top: 15px;
  display: grid;
  gap: 10px;
}

.task-item,
.pack-item {
  width: 100%;
  min-height: 76px;
  padding: 14px;
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--text);
  text-align: left;
  cursor: pointer;
}

.task-item.is-done,
.pack-item.is-done {
  border-color: rgba(94, 228, 255, 0.3);
  background: rgba(94, 228, 255, 0.07);
}

.task-check,
.pack-check {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(230, 235, 255, 0.25);
  border-radius: 50%;
  color: transparent;
}

.is-done .task-check,
.is-done .pack-check {
  color: #061017;
  border-color: var(--cyan);
  background: var(--cyan);
}

.task-copy strong,
.task-copy small,
.pack-copy strong,
.pack-copy small {
  display: block;
}

.task-copy small,
.pack-copy small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.bottom-nav {
  position: fixed;
  bottom: 12px;
  left: 50%;
  z-index: 30;
  width: min(calc(100% - 24px), 470px);
  min-height: 76px;
  padding: 8px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(8, 10, 16, 0.94);
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(20px);
  transform: translateX(-50%);
}

.bottom-nav button {
  padding: 8px;
  display: grid;
  place-items: center;
  gap: 4px;
  border: 0;
  border-radius: 20px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}

.bottom-nav button.is-active {
  color: var(--text);
  background: linear-gradient(145deg, rgba(94, 228, 255, 0.18), rgba(247, 217, 141, 0.1));
}

.bottom-nav span {
  font-size: 21px;
}

.bottom-nav strong {
  font-size: 11px;
}

@keyframes page-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 420px) {
  .demo-shell {
    padding-inline: 13px;
  }

  .hero-card,
  .panel {
    padding: 20px;
    border-radius: 24px;
  }

  .demo-date {
    max-width: 120px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .demo-page.is-active {
    animation: none;
  }

  * {
    transition: none !important;
  }
}
/* =========================================================
   Safe sample Wallet + Days linking
   ========================================================= */

.bottom-nav {
  grid-template-columns: repeat(4, 1fr);
}

.linked-wallet-panel {
  border-color: rgba(247, 217, 141, 0.22);
}

.linked-wallet-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.linked-wallet-heading h2 {
  margin-top: 8px;
  font-size: clamp(24px, 6vw, 32px);
}

.linked-wallet-heading button {
  min-height: 42px;
  padding: 9px 12px;

  border: 1px solid rgba(247, 217, 141, 0.28);
  border-radius: 14px;

  background: rgba(247, 217, 141, 0.09);
  color: var(--gold);

  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.linked-wallet-items {
  margin-top: 14px;

  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.linked-wallet-item {
  min-width: 0;
  padding: 12px;

  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: 9px;

  border: 1px solid var(--line);
  border-radius: 16px;

  background: rgba(255, 255, 255, 0.035);
}

.linked-wallet-item > span {
  font-size: 23px;
}

.linked-wallet-item strong,
.linked-wallet-item small {
  display: block;
}

.linked-wallet-item strong {
  font-size: 12px;
}

.linked-wallet-item small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 10px;
}

.wallet-day-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
}

.wallet-day-tabs button {
  min-height: 68px;
  padding: 10px;

  display: grid;
  place-content: center;
  gap: 4px;

  border: 1px solid var(--line);
  border-radius: 18px;

  background: rgba(255, 255, 255, 0.035);
  color: var(--muted);

  cursor: pointer;
}

.wallet-day-tabs button.is-active {
  color: var(--text);
  border-color: rgba(247, 217, 141, 0.42);
  background:
    linear-gradient(
      145deg,
      rgba(247, 217, 141, 0.14),
      rgba(23, 27, 38, 0.92)
    );
}

.wallet-day-tabs strong {
  font-size: 14px;
}

.wallet-day-tabs small {
  font-size: 10px;
}

.wallet-summary {
  margin-top: 14px;
  padding: 18px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;

  border: 1px solid rgba(247, 217, 141, 0.23);
  border-radius: 22px;

  background:
    radial-gradient(
      circle at 90% 0%,
      rgba(247, 217, 141, 0.12),
      transparent 40%
    ),
    rgba(255, 255, 255, 0.035);
}

.wallet-summary h2 {
  margin: 7px 0 0;

  font-size: 22px;
  letter-spacing: -0.035em;
}

.wallet-ready-count {
  min-width: 76px;
  padding: 10px;

  display: grid;
  place-items: center;
  gap: 2px;

  border: 1px solid var(--line);
  border-radius: 16px;

  background: rgba(5, 7, 12, 0.42);
}

.wallet-ready-count strong {
  color: var(--gold);
  font-size: 16px;
}

.wallet-ready-count span {
  color: var(--muted);
  font-size: 10px;
}

.wallet-list {
  margin-top: 13px;

  display: grid;
  gap: 11px;
}

.wallet-card {
  position: relative;

  width: 100%;
  min-height: 116px;
  padding: 17px;

  display: grid;
  grid-template-columns: 50px minmax(0, 1fr) auto;
  align-items: center;
  gap: 13px;

  border: 1px solid var(--line);
  border-radius: 23px;

  background:
    radial-gradient(
      circle at 100% 0%,
      rgba(94, 228, 255, 0.08),
      transparent 38%
    ),
    rgba(255, 255, 255, 0.035);

  color: var(--text);
  text-align: left;
  cursor: pointer;

  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.wallet-card:hover {
  transform: translateY(-2px);
  border-color: rgba(94, 228, 255, 0.3);
}

.wallet-card.is-ready {
  border-color: rgba(94, 228, 255, 0.36);
  background:
    radial-gradient(
      circle at 100% 0%,
      rgba(94, 228, 255, 0.13),
      transparent 40%
    ),
    rgba(94, 228, 255, 0.055);
}

.wallet-card.is-highlighted {
  animation: wallet-highlight 850ms ease both;
}

.wallet-icon {
  width: 48px;
  height: 48px;

  display: grid;
  place-items: center;

  border: 1px solid var(--line);
  border-radius: 16px;

  background: rgba(5, 7, 12, 0.36);

  font-size: 25px;
}

.wallet-copy strong,
.wallet-copy small,
.wallet-copy em {
  display: block;
}

.wallet-copy strong {
  font-size: 16px;
}

.wallet-copy small {
  margin-top: 4px;

  color: var(--muted);

  font-size: 11px;
  line-height: 1.4;
}

.wallet-copy em {
  margin-top: 8px;

  color: var(--gold);

  font-size: 10px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.wallet-status {
  min-width: 64px;
  padding: 9px 10px;

  border: 1px solid var(--line);
  border-radius: 14px;

  color: var(--muted);

  font-size: 10px;
  font-weight: 800;
  text-align: center;
}

.is-ready .wallet-status {
  color: #071116;
  border-color: var(--cyan);
  background: var(--cyan);
}

@keyframes wallet-highlight {
  0% {
    box-shadow: 0 0 0 rgba(94, 228, 255, 0);
  }

  35% {
    box-shadow: 0 0 0 5px rgba(94, 228, 255, 0.14);
  }

  100% {
    box-shadow: 0 0 0 rgba(94, 228, 255, 0);
  }
}

@media (max-width: 420px) {
  .linked-wallet-items {
    grid-template-columns: 1fr;
  }

  .wallet-card {
    grid-template-columns: 46px minmax(0, 1fr);
  }

  .wallet-status {
    grid-column: 1 / -1;
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wallet-card,
  .wallet-card.is-highlighted {
    animation: none;
    transition: none;
  }
}
