
:root {
  --bg: #0E1116;
  --card: #121418;
  --line: #2c313a;
  --text: #EAE6DA;
  --muted: #BFB8A5;
  --beige: #EAD9B6;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, Inter, Roboto, Segoe UI, sans-serif;
}

a {
  color: var(--beige);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.wrap {
  max-width: 900px;
  margin: 40px auto;
  padding: 0 16px;
}

.hero {
  text-align: center;
  margin-bottom: 10px;
}

.hero h1 {
  font-size: 2rem;
  margin: 0 0 4px;
}

.hero .tag {
  opacity: 0.8;
  margin: 0;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
  margin: 14px 0;
}

.input {
  flex: 1;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #0f1116;
  color: var(--text);
}

.btn {
  border: none;
  background: var(--beige);
  color: #1b1917;
  border-radius: 12px;
  padding: 10px 16px;
  font-weight: 600;
  cursor: pointer;
}

.btn:hover {
  opacity: 0.9;
}

.nav.fixed {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 12px;
  border-top: 1px solid var(--line);
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--bg);
}
.banner {
  text-align: center;
  margin-bottom: 16px;
}

.banner-img {
  max-width: 100%;
  border-radius: 16px;
  border: 1px solid var(--line);
  box-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

.banner {
  text-align: center;
  margin-bottom: 12px;
}
.banner {
  text-align: center;
  margin-top: 60px;       /* ✅ adds clean space above the banner */
  margin-bottom: 20px;    /* space below banner */
}

.banner-img {
  max-width: 500px;       /* moderate size — same feel as About */
  height: auto;
  border-radius: 16px;
  border: none;
  opacity: 0.95;
  box-shadow: 0 2px 10px rgba(0,0,0,0.25);
}

  opacity: 0.9;
}
/* ===== Logo Section (replaces banner) ===== */
.logo-section {
  text-align: center;
  margin-top: 60px;       /* adds space at top */
  margin-bottom: 20px;
}

.logo-img {
  width: 120px;           /* smaller like About page */
  height: auto;
  border-radius: 50%;
  opacity: 0.95;
  display: inline-block;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.logo-img:hover {
  transform: scale(1.05);
  opacity: 1;
}
.logo-section {
  text-align: center;
  margin-top: 60px;
  margin-bottom: 20px;
}

.logo-img {
  width: 90px;
  height: 90px;
  border-radius: 16px;
}

h1 {
  text-align: center;
  font-family: 'Radley', serif;
}

.tag {
  text-align: center;
  margin-bottom: 20px;
  opacity: 0.9;
}

.content {
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
  background: var(--card, #121418);
  border: 1px solid var(--line, #2c313a);
  border-radius: 16px;
  padding: 16px 20px;
}


/* ---------- Pino Whisper sections ---------- */
:root{
  /* Radley cream-like heading color from your banner */
  --heading:#E8DCBE; /* tweak to taste; try #EADFC3 or #E6D8B6 if needed */
  --text:#EAE6DA;    /* your existing body text */
  --card:#121418;    /* card background */
}

/* Shared section wrapper: aligns logo, H1, subtag as a block */
.section {
  max-width: 860px;
  margin: 96px auto 40px; /* nice breathing room from top */
  padding: 0 20px;
}

/* Header row = logo + title group */
.logo-row{
  display: grid;
  grid-template-columns: 88px 1fr;   /* logo left, text right */
  align-items: center;                /* vertical alignment */
  gap: 16px;
  margin-bottom: 18px;
}

/* Logo image */
.logo-row .logo-img{
  width: 88px;
  height: 88px;
  object-fit: contain;
  display: block;
}

/* Title + subtag grouped; subtag ALWAYS under h1 */
.logo-row .title-group h1{
  margin: 0 0 6px;
  font-size: 36px;
  line-height: 1.15;
  color: var(--heading);
  font-weight: 700; /* looks clean with Radley display */
}

.logo-row .title-group .subtag{
  margin: 0;
  font-size: 16px;
  line-height: 1.35;
  opacity: .9;
}

/* Content card aligned to the same width */
.content-card{
  max-width: 860px;
  margin: 0 auto;
  padding: 18px 22px;
  background: var(--card);
  border: 1px solid transparent;   /* no visible border */
  border-radius: 14px;
  box-shadow: 0 0 0 rgba(0,0,0,0); /* remove shadow if you want totally flat */
}

/* Optional: tighter bullets spacing on Future Plan page */
.content-card ul{
  margin: 10px 0 0 20px;
}
.content-card li{ margin: 6px 0; }

/* Mobile: stack logo over text */
@media (max-width: 640px){
  .logo-row{
    grid-template-columns: 1fr;
    justify-items: start;       /* keeps left-aligned like About page */
  }
  .logo-row .logo-img{
    width: 72px; height: 72px;
  }
  .logo-row .title-group h1{ font-size: 30px; }
}
/* Center block for logo + title + subtag */
.top-block {
  text-align: center;
  margin-top: 40px;
  margin-bottom: 30px;
}

/* Logo size */
.top-block .logo-img {
  width: 140px;
  height: auto;
  margin-bottom: 15px;
}

/* Title */
.top-block h1 {
  color: #e8dfc8; /* soft gold like banner */
  font-size: 2rem;
  margin: 10px 0 5px 0;
}

/* Subtag */
.top-block .subtag {
  font-size: 1rem;
  opacity: 0.8;
  margin-bottom: 25px;
  display: block;
}

/* Content card alignment */
.content-card {
  max-width: 700px;
  margin: 0 auto;
  padding: 25px;
  border-radius: 14px;
  background: #121418;
  border: 1px solid rgba(255,255,255,0.05); /* subtle */
  line-height: 1.6;
}
/* === Pino Whisper info pages (About / Vision / Mission / Future / Support) === */

.page .wrap {
  max-width: 920px;
  margin: 60px auto 90px;
  padding: 0 24px;
}

/* Header: logo + h1 + subtitle all centered vertically */
.page-header {
  text-align: center;
  margin-bottom: 32px;
}
/* Clickable + zoom hover logo */
.page-logo {
  cursor: pointer;
  transition: transform 0.25s ease, filter 0.25s ease;
  transform-origin: center;
}

.page-logo-link:hover .page-logo,
.page-logo-link:focus .page-logo {
  transform: scale(1.06);
  filter: brightness(1.1);
}


/* H1 in Radley-like style + banner color */
.page-title {
  font-family: "Radley", Georgia, "Times New Roman", serif;
  font-size: 2.3rem;
  font-weight: 600;
  color: #f4e3c2; /* soft cream like your banner text */
  margin: 0 0 6px;
}

/* Subtitle directly under H1 */
.page-subtitle {
  margin: 0;
  font-size: 0.98rem;
  color: #eae6da;
  opacity: 0.9;
}

/* Content card under the title, aligned with it */
.page-card {
  max-width: 820px;
  margin: 26px auto 0;
  padding: 22px 28px 26px;
  background: #15171f;      /* slightly lighter than page background */
  border-radius: 20px;
  /* no visible border, just a soft shadow */
  border: none;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.52);
}

/* Paragraphs inside the card */
.page-card p {
  margin: 0 0 12px;
  line-height: 1.6;
  color: #f3eee2;
  font-size: 0.98rem;
}

/* Lists (for future plan) */
.page-card ul {
  margin: 0 0 14px 1.4rem;
  padding: 0;
}

.page-card li {
  margin-bottom: 6px;
  line-height: 1.55;
}

/* Small helper for dividers inside the card (support page) */
.page-card hr {
  border: none;
  border-top: 1px solid rgba(234, 230, 218, 0.18);
  margin: 14px 0;
}

/* Always respect [hidden] */
[hidden] { display: none !important; }

/* Page spacing */
.home-page .hero-home { max-width: 720px; margin: 72px auto 20px; text-align: center; }

/* Subhead spacing (that line under the H1) */
.tagline { margin: 4px 0 4px; font-size: 0.98rem; color: var(--muted); }
.subtagline { margin: 0 0 10px; font-size: 0.92rem; color: var(--muted); }

/* Start card layout */
.start-card {
  max-width: 880px;
  margin: 22px auto 90px;
  padding: 24px;
  background: var(--card);
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.04);
}

/* Form & buttons */
.start-form { display: flex; flex-direction: column; gap: 10px; }
.field-label { font-size: .9rem; color: var(--muted); text-align: left; }

.start-input-row { display: flex; gap: 10px; align-items: center; }
.start-input-row input {
  flex: 1; height: 40px; padding: 10px 12px;
  border-radius: 10px; border: 1px solid var(--line);
  background: #0f1116; color: var(--text);
}

/* Ensure Start button gets our style even if other CSS exists */
#startBtn {
  padding: 10px 18px; border-radius: 999px; border: none;
  background: var(--accent); color: #1a1610; font-weight: 600; cursor: pointer;
}
#startBtn:hover { filter: brightness(1.05); }

/* Secondary action row inside the card */
.start-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.ghost-btn {
  padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line);
  background: transparent; color: var(--text); font-size: .84rem; cursor: pointer;
}
.ghost-btn:hover { background: rgba(255,255,255,.04); }

/* Modal overlay */
.modal { position: fixed; inset: 0; background: rgba(0,0,0,.65); display: none;
  align-items: center; justify-content: center; z-index: 50; }
.modal.show { display: flex; }
.modal-panel {
  width: min(460px, 92vw); background: #121418; border-radius: 18px; padding: 18px;
  border: 1px solid rgba(255,255,255,.04); box-shadow: 0 18px 50px rgba(0,0,0,.6);
}
.modal-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.modal-header h2 { margin: 0; font-size: 1.1rem; color: var(--accent); }
.icon-btn { border: none; background: transparent; color: var(--muted); font-size: 1.2rem; cursor: pointer; }
.backup-box {
  width: 100%; min-height: 90px; margin: 8px 0 10px; padding: 8px 10px;
  border-radius: 10px; border: 1px solid var(--line); background: #0f1116; color: var(--text);
  font-size: .86rem; resize: none;
}
.modal-actions { display: flex; gap: 8px; margin-bottom: 6px; }
.modal-actions button {
  flex: 1; padding: 8px 10px; border-radius: 999px; border: 1px solid var(--line);
  background: transparent; color: var(--text); cursor: pointer; font-size: .86rem;
}
.modal-actions button:hover { background: rgba(255,255,255,.04); }
.danger-btn { border-color: #c55d5d; color: #ffb4b4; }
.modal-hint { margin: 0; font-size: .76rem; color: var(--muted); }

/* Logo hover zoom */
.logo-link { display: inline-block; margin-bottom: 16px; }
.logo-img { width: 96px; height: 96px; border-radius: 999px; transition: transform 180ms ease, box-shadow 180ms ease; }
.logo-link:hover .logo-img { transform: scale(1.06) translateY(-2px); box-shadow: 0 10px 30px rgba(0,0,0,.45); cursor: pointer; }

/* Accent heading color like your banner */
:root { --accent: #e8d6a0; }
.home-page h1 { color: var(--accent); }

/* ------------------------------------------------------ */
/* GLOBAL BEAUTY ENHANCEMENTS FOR ALL PAGES               */
/* ------------------------------------------------------ */

/* Soft gold accent matching your banner */
:root {
  --accent: #f4e9c6;
}

/* ------- PAGE HEADER (Logo + H1 + subtitle) -------- */
.page-header {
  text-align: center;
  margin-top: 72px;
  margin-bottom: 32px;
}

.page-title {
  font-size: 2.3rem;
  margin: 16px 0 4px;
  color: var(--accent);
}

.tagline {
  margin: 0 0 4px;
  font-size: 1rem;
  opacity: 0.9;
}

.subtagline {
  margin: 0;
  font-size: 0.95rem;
  opacity: 0.75;
}


/* ------- LOGO behavior (hover gently zooms) -------- */
.logo-link {
  display: inline-block;
}

.logo-img {
  width: 110px;
  height: auto;
  display: block;
  margin: 0 auto;
  transition: transform 0.18s ease-out, filter 0.18s ease-out;
}

.logo-link:hover .logo-img {
  transform: scale(1.05) translateY(-1px);
  filter: drop-shadow(0 0 10px rgba(255, 240, 200, 0.35));
  cursor: pointer;
}


/* ------- Shared card style (Home + Support + etc) -------- */
.card,
.content-card {
  max-width: 820px;
  margin: 0 auto 64px;
  padding: 24px 24px 20px;
  background: var(--card);
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.04);
}


/* ------- FORM LABELS + INPUTS (clean + aligned) -------- */
.field-label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.9rem;
  opacity: 0.8;
}

input[type="text"],
textarea {
  width: 100%;
  background: #0f1116;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 1rem;
  color: var(--text);
}


/* ------- PRIMARY BUTTON (Start Whispering) -------- */
.btn.primary,
#startBtn {
  background: var(--accent);
  color: #1a1610;
  border: none;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}

.btn.primary:hover,
#startBtn:hover {
  filter: brightness(1.07);
}


/* ------- GHOST BUTTONS (dark buttons) -------- */
.ghost-btn,
.btn.secondary {
  background: transparent;
  border: 1px solid var(--line);
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--text);
  font-size: 0.88rem;
  cursor: pointer;
}

.ghost-btn:hover,
.btn.secondary:hover {
  background: rgba(255, 255, 255, 0.05);
}


/* Subtle button (Regenerate) */
.btn.subtle {
  border: 1px solid #c55d5d;
  color: #ffb4b4;
  background: transparent;
}

.btn.subtle:hover {
  background: rgba(255, 0, 0, 0.1);
}


/* ------- HINT TEXT (small light description) -------- */
.hint,
.wallet-note {
  margin-top: 8px;
  font-size: 0.88rem;
  opacity: 0.7;
}


/* ------- ADVANCED OPTIONS LINK -------- */
.advanced-link {
  margin-top: 14px;
  border: none;
  background: none;
  color: var(--muted);
  font-size: 0.9rem;
  cursor: pointer;
  padding: 0;
  display: inline-block;
}

.advanced-link:hover {
  color: var(--accent);
  text-decoration: underline;
}


/* ------------------------------------------------------ */
/* MODAL (Wallet + Rooms)                                 */
/* ------------------------------------------------------ */

.modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 70;
}

.modal.show {
  display: flex;
}

.modal-body {
  max-width: 720px;
  width: 90%;
  background: var(--card);
  border-radius: 18px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  position: relative;
}

.modal-title {
  margin: 0 0 6px;
  font-size: 1.3rem;
  color: var(--accent);
}

.modal-subtitle {
  margin: 12px 0 4px;
  font-size: 1.1rem;
  color: var(--accent);
}

.modal-note {
  margin: 0 0 16px;
  font-size: 0.9rem;
  opacity: 0.8;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  border: none;
  background: transparent;
  font-size: 1.4rem;
  color: var(--text);
  cursor: pointer;
}

.modal-divider {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 20px 0;
}

.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}


/* ------------------------------------------------------ */
/* MOBILE RESPONSIVE FIXES                                */
/* ------------------------------------------------------ */

@media (max-width: 640px) {
  .page-header {
    margin-top: 48px;
  }
  .page-title {
    font-size: 2rem;
  }
  .logo-img {
    width: 90px;
  }
  .hero-row {
    flex-direction: column;
  }
  #startBtn {
    width: 100%;
  }
}
/* ===== Wallet page layout ===== */

/* ==== Wallet page – A + C combo ==== */

.wallet-card {
  margin-top: 32px;
}

/* Hero layout */
.wallet-hero {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-bottom: 20px;
}

.wallet-coin {
  flex: 0 0 auto;
  width: 90px;
  height: 90px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;   /* no extra glow */
  box-shadow: none;          /* remove outer shadow */
}

/* the coin image itself */
.wallet-coin-img {
  width: 84px;
  height: 84px;
  display: block;
  object-fit: contain;
}


.wallet-coin {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* SVG coin only, no extra circle */
.wallet-coin-img {
  width: 72px;      /* make bigger/smaller if you like */
  height: 72px;
  object-fit: contain;
  display: block;
}


/* Balance block */
.wallet-balance-main {
  flex: 1;
}

.wallet-balance-label {
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 4px;
}

.wallet-balance-value {
  font-size: 2rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.03em;
}

.wallet-balance-unit {
  font-size: 1.1rem;
  font-weight: 500;
  opacity: 0.9;
}

/* Shared body text for both sides (so your eyes stop hurting 😌) */
.wallet-body-text {
  margin-top: 6px;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--muted);
}

/* Divider between balance and address */
.wallet-divider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  margin: 20px 0 18px;
}

/* Address row */
.wallet-address-row {
  display: flex;
  align-items: flex-start;
}

.wallet-address-block {
  flex: 1;
}

.wallet-address-label {
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 6px;
}

.wallet-address-field {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}

#walletAddress {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Mono", monospace;
  font-size: 0.9rem;
  color: var(--text);
  white-space: nowrap;
}

#copyAddressBtn.btn.ghost {
  padding-inline: 16px;
}

/* Mobile layout */
@media (max-width: 720px) {
  .wallet-hero {
    flex-direction: column;
    align-items: flex-start;
  }

  .wallet-coin {
    width: 70px;
    height: 70px;
  }

  .wallet-coin img {
    width: 64px;
    height: 64px;
  }

  .wallet-address-field {
    flex-direction: column;
    align-items: flex-start;
  }

  #walletAddress {
    max-width: 100%;
  }
}


.wallet-card {
  margin-bottom: 32px;
}

.wallet-top {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.wallet-balance,
.wallet-address {
  flex: 1 1 260px;
}

.wallet-label {
  font-size: 0.9rem;
  opacity: 0.8;
  margin: 0 0 4px;
}

.wallet-amount {
  font-size: 1.8rem;
  margin: 0 0 4px;
  color: var(--accent);
}

.wallet-note {
  margin: 4px 0 0;
  font-size: 0.88rem;
  opacity: 0.75;
}

.address-row {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.wallet-address-code {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  background: #0f1116;
  border: 1px solid var(--line);
  font-size: 0.86rem;
}

.wallet-copy-btn {
  white-space: nowrap;
}

/* Backup section */
.wallet-section-title {
  margin-top: 0;
  margin-bottom: 6px;
  font-size: 1.1rem;
  color: var(--accent);
}

.wallet-backup-box {
  margin-top: 6px;
  min-height: 96px;
  resize: none;
}

.wallet-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

/* Activity list */
.wallet-activity-list {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
  font-size: 0.9rem;
  opacity: 0.85;
}

.wallet-activity-item + .wallet-activity-item {
  margin-top: 4px;
}

/* Responsive tweaks */
@media (max-width: 640px) {
  .wallet-top {
    flex-direction: column;
  }
}

/* ================= Wallet page polish ================= */

.wallet-page .page-header {
  margin-top: 60px;
  text-align: center;
}

.wallet-page .page-title {
  font-size: 2.4rem;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
  background: linear-gradient(120deg, #f7e4b5, #fff7d9);
  -webkit-background-clip: text;
  color: transparent;
}

.wallet-page .tagline {
  margin-top: 4px;
  font-size: 0.98rem;
  color: var(--muted);
}

.wallet-page .subtagline {
  margin-top: 2px;
  font-size: 0.86rem;
  color: #d0c6ae;
}

/* Wallet cards */
.wallet-page .wallet-card {
  margin-top: 32px;
  padding: 24px 28px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(14px);
}

/* First card (balance + address) layout */
.wallet-row {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
}

.wallet-col {
  flex: 1 1 260px;
  min-width: 0;
}

.wallet-label {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 6px;
}

.wallet-balance {
  font-size: 1.9rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #f9f0cf;
  margin: 0 0 4px;
}

.wallet-unit {
  font-size: 1.1rem;
  opacity: 0.95;
}

.wallet-note {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 4px 0 0;
}

/* Address pill */
.wallet-address-pill {
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  background: #111318;
  border: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.88rem;
  color: #eae6da;
}

.wallet-address-pill span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Buttons refinements (wallet only) */
.wallet-page .btn-primary,
.wallet-page button[type="submit"] {
  background: #f5dfb0;
  color: #14151b;
}

.wallet-page .btn-secondary,
.wallet-page .btn-danger {
  transition: transform 0.12s ease, box-shadow 0.12s ease,
              background-color 0.12s ease, border-color 0.12s ease;
}

.wallet-page .btn-secondary:hover,
.wallet-page .btn-danger:hover,
.wallet-page .btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.55);
}

/* Backup & security */
.wallet-section-title {
  font-size: 1.1rem;
  margin-bottom: 4px;
  color: #f4e8c6;
}

.wallet-words {
  margin-top: 12px;
  width: 100%;
  min-height: 96px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: #101218;
  color: #eae6da;
  padding: 10px 12px;
  font-size: 0.9rem;
  resize: none;
}

.wallet-actions {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* Activity list */
.wallet-activity-list {
  list-style: none;
  padding: 4px 0 0;
  margin: 0;
}

.wallet-activity-list li {
  font-size: 0.9rem;
  color: #d2c8b3;
  padding: 4px 0;
}

/* Responsive tweaks */
@media (max-width: 720px) {
  .wallet-page .wallet-card {
    padding: 20px 18px;
  }
  .wallet-row {
    flex-direction: column;
  }
}

/* ================= Wallet Page (Option A – Calm Premium) ================ */

.page-wallet .page-header {
  text-align: center;
  margin-bottom: 32px;
}

.page-wallet .logo-img {
  width: 88px;
  height: auto;
  margin-bottom: 12px;
}

.page-wallet .page-title {
  font-size: 2.4rem;
  margin: 0 0 6px;
}

.page-wallet .tagline {
  margin: 0;
  font-size: 0.95rem;
  opacity: 0.85;
}

.page-wallet .subtagline {
  margin: 4px 0 0;
  font-size: 0.85rem;
  opacity: 0.7;
}

/* Wallet cards */

.wallet-card {
  margin-top: 24px;
}

/* Top summary row */

.wallet-top {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
}

.wallet-balance,
.wallet-address {
  flex: 1 1 260px;
}

.wallet-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  opacity: 0.7;
  margin-bottom: 4px;
}

.wallet-amount {
  font-size: 2rem;
  font-weight: 600;
  margin: 2px 0 6px;
}

.wallet-unit {
  font-size: 1.1rem;
  margin-left: 2px;
  opacity: 0.9;
}

.wallet-note {
  font-size: 0.9rem;
  opacity: 0.8;
  max-width: 26rem;
}

.wallet-address-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}

.wallet-address-value {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
    "Liberation Mono", "Courier New", monospace;
  font-size: 0.9rem;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.wallet-small {
  font-size: 0.8rem;
  opacity: 0.75;
  margin-top: 6px;
}

/* Buttons */

.btn-pill {
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 0.85rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.12s ease-out, box-shadow 0.12s ease-out,
    background 0.12s ease-out, border-color 0.12s ease-out;
}

.btn-soft {
  background: var(--accent);
  color: #14151a;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.25);
}

.btn-soft:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border-color: rgba(248, 224, 175, 0.4);
}

.btn-outline:hover {
  background: rgba(248, 224, 175, 0.09);
}

/* Backup card */

.section-title {
  font-size: 1.1rem;
  margin: 0 0 4px;
}

.section-note {
  font-size: 0.9rem;
  opacity: 0.8;
  margin: 0 0 16px;
}

.wallet-textarea {
  width: 100%;
  min-height: 90px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 10px 12px;
  margin-top: 6px;
  font-size: 0.9rem;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background: rgba(4, 6, 10, 0.9);
  resize: none;
  color: inherit;
}

.wallet-textarea::placeholder {
  opacity: 0.5;
}

.wallet-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 14px 0 6px;
}

.wallet-warning {
  font-size: 0.8rem;
  opacity: 0.7;
}

/* Activity list */

.wallet-activity {
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
  font-size: 0.9rem;
}

.wallet-activity li + li {
  margin-top: 4px;
}

.mw-plus {
  color: #8ce49b;
  font-weight: 500;
}

.mw-minus {
  color: #f6a7a7;
  font-weight: 500;
}

/* Responsive */

@media (max-width: 640px) {
  .page-wallet .page-title {
    font-size: 2rem;
  }
  .wallet-top {
    gap: 20px;
  }
}

.wallet-card p {
    font-family: 'Radley', serif !important;
    font-size: 0.95rem;
    line-height: 1.45;
    color: var(--text);
}

.wallet-desc {
    font-family: 'Radley', serif !important;
    font-size: 0.95rem;
    line-height: 1.45;
    color: var(--text);
    letter-spacing: 0.2px;
}
.wallet-desc,
.wallet-address-note {
    font-family: 'Radley', serif !important;
    font-size: 0.9rem !important;     /* match both */
    font-weight: 400 !important;      /* normal, not semi-bold */
    color: var(--muted) !important;
    line-height: 1.45;
    letter-spacing: 0.2px;
}
/* Wallet Info Lines – soft, matching, aesthetic */
.wallet-info-text {
  margin-top: 6px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.wallet-line {
  font-family: 'Radley', serif;
  font-size: 0.92rem;
  font-weight: 400;
  color: var(--muted);
  line-height: 1.45;
  letter-spacing: 0.2px;
  padding-left: 2px;
  transition: opacity 0.2s ease;
}

.wallet-line:hover {
  opacity: 0.85;
}


/* =============== Freedom Wall (wall.html) =============== */

.wall-page .page-header {
  text-align: center;
  margin-bottom: 24px;
}

.wall-page .page-title {
  font-size: 2.2rem;
  margin-bottom: 6px;
}

.wall-page .tagline {
  margin: 0;
  font-size: 0.96rem;
  opacity: 0.85;
}

.wall-page .subtagline {
  margin: 4px 0 0;
  font-size: 0.85rem;
  opacity: 0.7;
}

/* Composer card */
.wall-composer {
  margin-top: 24px;
}

.wall-section-title {
  margin: 0 0 6px;
  font-size: 1.1rem;
}

.wall-section-note {
  margin: 0 0 14px;
  font-size: 0.9rem;
  opacity: 0.85;
}

.wall-textarea {
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(4,6,10,0.9);
  color: var(--text);
  font-size: 0.95rem;
  padding: 10px 12px;
  resize: vertical;
}

.wall-textarea::placeholder {
  opacity: 0.5;
}

.wall-composer-footer {
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.wall-meta {
  font-size: 0.82rem;
  opacity: 0.8;
  display: flex;
  align-items: center;
  gap: 6px;
}

.wall-tip {
  margin-top: 8px;
  font-size: 0.8rem;
  opacity: 0.7;
}

/* Feed */
.wall-feed {
  margin-top: 24px;
}

.wall-item {
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.04);
  padding: 12px 14px;
  background: rgba(8,9,12,0.9);
  margin-top: 10px;
}

.wall-item-body {
  margin: 0 0 8px;
  font-size: 0.93rem;
}

.wall-item-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.wall-item-meta {
  font-size: 0.8rem;
  opacity: 0.7;
}

.wall-item-actions {
  display: flex;
  gap: 8px;
}

.link-btn {
  background: none;
  border: none;
  padding: 4px 6px;
  font-size: 0.82rem;
  color: var(--muted);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.link-btn:hover {
  opacity: 0.85;
}

/* Mobile */
@media (max-width: 600px) {
  .wall-page .page-title {
    font-size: 2rem;
  }
  .wall-item {
    padding: 10px 12px;
  }
}

/* ===== Inside-app header & menu ===== */

.app-shell-header {
  max-width: 900px;
  margin: 24px auto 16px;
  padding: 0 16px;
}

.app-header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.app-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
}

.app-logo-small {
  width: 64px;
  height: auto;
}

.app-brand-name {
  font-size: 1rem;
  font-weight: 600;
}

.app-menu-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--text);
  font-size: 0.8rem;
  cursor: pointer;
}

.app-menu-toggle:hover {
  background: #181b22;
}

.app-menu-icon {
  font-size: 1rem;
  line-height: 1;
}

/* dropdown panel */

.app-menu-panel {
  position: relative;
  margin-top: 10px;
  padding: 12px 14px 14px;
  border-radius: 16px;
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.6);
  display: none; /* default: hidden */
}

.app-menu-panel.open {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.app-menu-group {
  font-size: 0.8rem;
}

.app-menu-label {
  margin: 0 0 6px;
  font-weight: 600;
  color: var(--muted);
}

.app-menu-link {
  display: block;
  padding: 4px 0;
  text-decoration: none;
  color: var(--text);
}

.app-menu-link:hover {
  opacity: 0.8;
}

/* small white pills (soon) */
.chip {
  display: inline-block;
  margin: 3px 4px 0 0;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #f4f3ee;
  color: #111;
  font-size: 0.7rem;
  cursor: default;
}

/* ===== Soul Whispers layout ===== */

.soul-row {
  max-width: 960px;
  margin: 6px auto 10px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.soul-row .soul-card {
  flex: 1 1 0;
}

.soul-intro p {
  margin: 0 0 8px;
  font-size: 0.9rem;
  line-height: 1.5;
}

.soul-list {
  margin: 6px 0 0;
  padding-left: 18px;
  font-size: 0.85rem;
  opacity: 0.9;
}

/* Composer rules (reuse if already added, no problem if duplicated once) */
.soul-section-title {
  margin: 0 0 4px;
  font-size: 1rem;
  font-weight: 600;
}

.soul-hint {
  margin: 0 0 10px;
  font-size: 0.8rem;
  opacity: 0.8;
}

.soul-form {
  margin-top: 4px;
}

.soul-textarea {
  width: 100%;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #12100e;
  color: var(--text);
  padding: 10px 12px;
  font-size: 0.9rem;
  resize: vertical;
  min-height: 90px;
}

.soul-textarea::placeholder {
  color: #b7b0a1;
}

.soul-form-footer {
  margin-top: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.soul-meter {
  font-size: 0.75rem;
  opacity: 0.8;
}

.soul-submit {
  width: auto;
  padding-inline: 16px;
}

.soul-note {
  margin: 8px 0 0;
  font-size: 0.78rem;
  opacity: 0.8;
}

/* Feed */
.soul-feed {
  max-width: 720px;
  margin: 14px auto 40px;
}

.soul-feed-list {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.soul-item {
  background: #151311;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.05);
  padding: 10px 12px;
  font-size: 0.9rem;
}

.soul-item-body {
  margin: 0 0 6px;
  line-height: 1.5;
}

.soul-item-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  opacity: 0.8;
}

.soul-item-meta {
  font-size: 0.75rem;
}

/* Mobile: stack intro + compose */
@media (max-width: 768px) {
  .soul-row {
    flex-direction: column;
  }
  .soul-title {
    font-size: 1.25rem;
  }
}

/* ===== Soul Whispers page ===== */

.soul-page {
  padding-top: 80px;
}

.hero-soul {
  text-align: center;
  margin-bottom: 24px;
}

.soul-title {
  margin: 4px 0 2px;
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.soul-tag {
  margin: 0 0 4px;
  font-size: 0.85rem;
  opacity: 0.85;
}

.soul-sub {
  margin: 0;
  font-size: 0.8rem;
  opacity: 0.75;
}

/* Shared card look */
.soul-card {
  background: var(--card);
  border-radius: 16px;
  border: 1px solid var(--line);
  padding: 14px 16px;
}

/* Side-by-side layout */
.soul-row {
  max-width: 960px;
  margin: 10px auto 16px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.soul-row .soul-card {
  flex: 1 1 0;
}

/* Intro text (left column) */
.soul-intro p {
  margin: 0 0 8px;
  font-size: 0.9rem;
  line-height: 1.5;
}

.soul-list {
  margin: 6px 0 0;
  padding-left: 18px;
  font-size: 0.85rem;
  opacity: 0.9;
}

/* Compose (right column) */
.soul-section-title {
  margin: 0 0 4px;
  font-size: 1rem;
  font-weight: 600;
}

.soul-hint {
  margin: 0 0 10px;
  font-size: 0.8rem;
  opacity: 0.8;
}

.soul-form {
  margin-top: 4px;
}

.soul-textarea {
  width: 100%;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #12100e;
  color: var(--text);
  padding: 10px 12px;
  font-size: 0.9rem;
  resize: vertical;
  min-height: 90px;
}

.soul-textarea::placeholder {
  color: #b7b0a1;
}

.soul-form-footer {
  margin-top: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.soul-meter {
  font-size: 0.75rem;
  opacity: 0.8;
}

.soul-submit {
  width: auto;
  padding-inline: 16px;
}

.soul-note {
  margin: 8px 0 0;
  font-size: 0.78rem;
  opacity: 0.8;
}

/* Feed */
.soul-feed {
  max-width: 720px;
  margin: 10px auto 40px;
}

.soul-feed-list {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.soul-item {
  background: #151311;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.05);
  padding: 10px 12px;
  font-size: 0.9rem;
}

.soul-item-body {
  margin: 0 0 6px;
  line-height: 1.5;
}

.soul-item-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  opacity: 0.8;
}

.soul-item-meta {
  font-size: 0.75rem;
}

/* Mobile: stack the two cards */
@media (max-width: 768px) {
  .soul-row {
    flex-direction: column;
  }
  .soul-title {
    font-size: 1.25rem;
  }
}

/* ----- Soul Whispers wall ----- */

.soul-hero {
  max-width: 640px;
  margin: 72px auto 32px;
  text-align: center;
}

.soul-hero .page-title {
  font-size: 2.1rem;
  margin: 0 0 6px;
}

.soul-hero .tagline {
  margin: 0 0 2px;
  font-size: 0.98rem;
  opacity: 0.9;
}

.soul-hero .subtagline {
  margin: 0;
  font-size: 0.9rem;
  opacity: 0.8;
}

/* main card */

.soul-main {
  position: relative;
  max-width: 900px;
  margin: 0 auto 28px;
}

.soul-main-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* floating help button (option C) */

.soul-help-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid var(--muted);
  background: transparent;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 0 0 0 rgba(250, 237, 205, 0.0);
  transition: transform 0.18s ease, box-shadow 0.18s ease,
    background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
  animation: soulPulse 2.4s ease-in-out infinite;
}

.soul-help-btn:hover {
  transform: translateY(-1px);
  background: rgba(250, 237, 205, 0.06);
  color: var(--text);
  border-color: rgba(250, 237, 205, 0.7);
  box-shadow: 0 0 0 8px rgba(250, 237, 205, 0.18);
}

@keyframes soulPulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(250, 237, 205, 0.0);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(250, 237, 205, 0.16);
  }
}

/* popover panel */

.soul-help-pop {
  position: absolute;
  top: 56px;
  right: 16px;
  width: 320px;
  max-width: calc(100% - 32px);
  padding: 14px 14px 12px;
  border-radius: 12px;
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.65);
  font-size: 0.85rem;
  z-index: 20;
}

.soul-help-pop h2 {
  margin: 0 0 6px;
  font-size: 0.95rem;
}

.soul-help-pop p {
  margin: 0 0 6px;
  line-height: 1.4;
}

.soul-help-pop ul {
  margin: 4px 0 0 18px;
  padding: 0;
}

.soul-help-pop li {
  margin: 0 0 3px;

  /* Popup background & layout (keep whatever you already have) */
.help-modal {
  /* existing backdrop stuff... */
}

/* Card inside the popup */
.help-card {
  /* existing padding, radius, etc... */
  font-family: system-ui, -apple-system, Inter, Roboto, "Segoe UI", sans-serif;
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Popup title – same vibe as other Radley headings */
.help-card-title {
  font-family: "Radley", serif;
  font-size: 1.1rem;
  margin: 0 0 8px;
  color: var(--accent); /* same gold you use for Pino Whisper */
}

/* Paragraphs & bullets */
.help-card p,
.help-card li {
  margin: 4px 0;
}

/* Bullet list spacing */
.help-card ul {
  padding-left: 1.2rem;
  margin: 6px 0 10px;
}
  .guide-modal p,
.guide-modal li {
    margin-bottom: 10px;
    line-height: 1.6;
}

.guide-modal h2 {
    margin-bottom: 14px;
}

/* If your modal container has a class */
.guide-modal {
    padding: 24px !important; 
}


}

/* whisper box + meta */

.whisper-input {
  resize: vertical;
  min-height: 110px;
}

.soul-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: space-between;
  font-size: 0.8rem;
  opacity: 0.8;
}

.soul-count {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    sans-serif;
}

.soul-cost {
  text-align: right;
}

.soul-tip-hint {
  margin: 0;
  font-size: 0.8rem;
  opacity: 0.85;
}

.soul-actions {
  margin-top: 6px;
  display: flex;
  justify-content: flex-end;
}

/* recent whispers */

.wall-recent {
  max-width: 900px;
  margin: 0 auto 48px;
}

.whisper-item {
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #14171d;
  border: 1px solid #232731;
  font-size: 0.9rem;
}

.whisper-meta {
  margin-top: 4px;
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  opacity: 0.8;
}

.whisper-actions {
  font-size: 0.78rem;
}

/* mobile tweaks */

@media (max-width: 700px) {
  .soul-hero {
    margin-top: 56px;
  }
  .soul-main,
  .wall-recent {
    margin: 0 12px 24px;
  }
  .soul-help-pop {
    right: 12px;
  }
}

/* ================= Pino Whisper global header ================= */

.pw-app-header {
  max-width: 900px;
  margin: 24px auto 8px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.pw-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pw-brand-logo {
  width: 40px;
  height: 40px;
  border-radius: 999px;
}

.pw-brand-name {
  font-family: "Radley", serif;
  font-size: 20px;
  letter-spacing: 0.03em;
  color: var(--text);
}

.pw-menu-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(14, 17, 22, 0.9);
  color: var(--text);
  font-size: 0.85rem;
  cursor: pointer;
}

.pw-menu-btn:hover {
  background: rgba(18, 20, 24, 1);
}

.pw-menu-icon {
  font-size: 0.9rem;
}

.pw-menu-label {
  font-size: 0.8rem;
}

/* ================= Soul Whispers layout ================= */

.wall-hero {
  max-width: 900px;
  margin: 16px auto 16px;
  padding: 0 16px;
}

.wall-title {
  margin: 0 0 6px;
  font-family: "Radley", serif;
  font-size: 2rem;
  letter-spacing: 0.04em;
  color: var(--text);
}

.wall-tagline,
.wall-tagline-soft {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
}

.wall-tagline-soft {
  margin-top: 2px;
  opacity: 0.9;
}

.wall-compose,
.wall-list {
  max-width: 900px;
  margin: 12px auto;
  padding: 18px 18px 20px;
}

.wall-compose-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.wall-compose-title {
  margin: 0 0 4px;
  font-size: 1rem;
}

.wall-compose-sub {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.icon-pill {
  border-radius: 999px;
  width: 32px;
  height: 32px;
  border: 1px solid var(--line);
  background: #15171c;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.icon-pill:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 8px rgba(250, 236, 199, 0.25);
}

.wall-compose-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.wall-textarea {
  width: 100%;
  min-height: 140px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #0f1116;
  color: var(--text);
  padding: 12px 14px;
  resize: vertical;
  font-family: inherit;
  font-size: 0.95rem;
}

.wall-textarea:focus {
  outline: 1px solid #f3e2b8;
  box-shadow: 0 0 0 1px #f3e2b8;
}

.wall-compose-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 2px;
}

.wall-count {
  opacity: 0.9;
}

.wall-cost {
  text-align: right;
}

.wall-hint {
  margin: 4px 0 0;
  font-size: 0.8rem;
  color: var(--muted);
}

.wall-compose-actions {
  margin-top: 10px;
  display: flex;
  justify-content: flex-end;
}

.btn-primary {
  padding: 8px 22px;
  border-radius: 999px;
  border: none;
  background: #f3e2b8;
  color: #2a2520;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
}

.btn-primary:hover {
  filter: brightness(1.03);
}

/* Recent whispers */

.wall-list-title {
  margin: 0 0 2px;
  font-size: 1rem;
}

.wall-list-sub {
  margin: 0 0 12px;
  font-size: 0.85rem;
  color: var(--muted);
}

.whisper-card {
  margin-top: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #101218;
  border: 1px solid #1d222b;
}

.whisper-text {
  margin: 0 0 6px;
  font-size: 0.9rem;
}

.whisper-meta {
  display: flex;
  gap: 8px;
  font-size: 0.75rem;
  color: var(--muted);
}

.whisper-actions {
  margin-top: 8px;
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

.whisper-like,
.whisper-tip {
  border-radius: 999px;
  padding: 4px 10px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  font-size: 0.8rem;
  cursor: pointer;
}

.whisper-like:hover,
.whisper-tip:hover {
  background: #161922;
}

/* Info modal */

.wall-info-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(3, 5, 10, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease;
  z-index: 40;
}

.wall-info-backdrop.show {
  opacity: 1;
  pointer-events: auto;
}

.wall-info-dialog {
  background: #121418;
  border-radius: 18px;
  border: 1px solid var(--line);
  max-width: 480px;
  width: 100%;
  padding: 18px 18px 16px;
  position: relative;
  font-size: 0.9rem;
}

.wall-info-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #15171d;
  color: var(--text);
  font-size: 0.9rem;
  cursor: pointer;
}

.wall-info-dialog h2 {
  margin: 0 0 8px;
  font-size: 1rem;
}

.wall-info-dialog p {
  margin: 0 0 8px;
}

.wall-info-strong {
  font-size: 0.9rem;
}

.wall-info-soft {
  font-size: 0.85rem;
  color: var(--muted);
}

.wall-rules {
  margin: 6px 0 10px 1.1rem;
  padding: 0;
  font-size: 0.85rem;
}

.wall-rules li + li {
  margin-top: 4px;
}

/* Footer nav */

.site-footer {
  max-width: 900px;
  margin: 18px auto 24px;
  padding: 0 16px;
}

.footer-nav {
  display: flex;
  gap: 14px;
  justify-content: center;
  font-size: 0.8rem;
}

.footer-nav a {
  color: var(--muted);
  text-decoration: none;
}

.footer-nav a:hover {
  color: var(--text);
}

/* Accessibility helper */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.small-wall-title {
    font-family: 'Radley', serif;
    font-size: 16px;
    color: #EAE6DA;
    opacity: 0.85;
    margin-bottom: 8px;
    letter-spacing: 0.3px;
}
.wall-title,
.section-title,
.share-title,
.recent-title {
    font-family: 'Radley', serif !important;
    font-size: 28px;
    font-weight: 500;
    color: #EAE6DA;
    letter-spacing: 0.3px;
}
.description,
.whisper-description,
.whisper-note,
.wall-subtitle {
    font-family: 'Inter', sans-serif !important;
    font-size: 14px;
    color: #EAE6DA;
    opacity: 0.75;
    line-height: 1.5;
}
.whisper-card,
.whisper-text {
    font-family: 'Inter', sans-serif !important;
    font-size: 15px;
    line-height: 1.45;
}
button,
.tip-button {
    font-family: 'Inter', sans-serif !important;
    font-weight: 500;
}
.modal-content {
    font-family: 'Inter', sans-serif !important;
    line-height: 1.55;
    letter-spacing: 0.2px;
}

.modal-content h2 {
    font-family: 'Radley', serif !important;
}

/* -------------------------
   Whispers Wall night sky
--------------------------*/

.wall-page {
  background: radial-gradient(circle at top,
      #4b4031 0%,
      #171719 45%,
      #050508 100%);
  color: var(--text);
}

/* cards a bit more transparent so background shows */
.wall-page .card {
  background: rgba(18, 20, 24, 0.95);   /* was solid, now 80% visible */
  border: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(-1px);           /* soft glass effect */
}

/* seed layer behind everything */
.pw-seed-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

/* basic seed shape */
.pw-seed {
  position: fixed;
  width: 26px;
  height: 40px;
  pointer-events: none;
  opacity: 0;
  filter: drop-shadow(0 0 6px rgba(245, 232, 205, 0.7));
}

/* puff / head */
.pw-seed::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 4px;
  transform: translateX(-50%);
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%,
    #fff7e8 0%,
    #f6e4c0 40%,
    #e3c38f 70%,
    #b28c55 100%);
  border: 1px solid rgba(143, 111, 72, 0.85);
}

/* stem */
.pw-seed::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 14px;
  transform-origin: top center;
  transform: translateX(-50%) rotate(15deg);
  width: 2px;
  height: 26px;
  border-radius: 999px;
  background: linear-gradient(to bottom,
    rgba(247, 233, 205, 0.98),
    rgba(194, 164, 122, 0.96));
  box-shadow:
    0 0 2px rgba(247, 233, 205, 0.9),
    0 0 6px rgba(247, 233, 205, 0.6);
}

/* little spikes around the puff */
.pw-seed .spike {
  position: absolute;
  left: 50%;
  top: 4px;
  width: 1px;
  height: 10px;
  transform-origin: bottom center;
  background: linear-gradient(to top,
    rgba(245, 232, 205, 0),
    rgba(245, 232, 205, 0.9));
  border-radius: 999px;
}

/* smoother, slower, floating wind animation */
@keyframes seed-drift {
  0% {
    transform: translate3d(0, 0, 0) rotate(-4deg);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  30% {
    transform: translate3d(20px, -15vh, 0) rotate(2deg);
  }
  50% {
    transform: translate3d(-10px, -30vh, 0) rotate(-2deg);
  }
  70% {
    transform: translate3d(15px, -45vh, 0) rotate(3deg);
  }
  100% {
    transform: translate3d(-5px, -60vh, 0) rotate(0deg);
    opacity: 0;
  }
}

/* seeds move much slower now */
.seed-1 {
  left: 10%;
  animation: seed-drift 55s linear infinite;
  animation-delay: -8s;
}

.seed-2 {
  left: 22%;
  animation: seed-drift 62s linear infinite;
  animation-delay: -15s;
}

.seed-3 {
  left: 35%;
  animation: seed-drift 58s linear infinite;
  animation-delay: -5s;
}

.seed-4 {
  left: 48%;
  animation: seed-drift 60s linear infinite;
  animation-delay: -20s;
}

.seed-5 {
  left: 60%;
  animation: seed-drift 54s linear infinite;
  animation-delay: -10s;
}

.seed-6 {
  left: 72%;
  animation: seed-drift 63s linear infinite;
  animation-delay: -3s;
}

.seed-7 {
  left: 84%;
  animation: seed-drift 57s linear infinite;
  animation-delay: -17s;
}

.seed-8 {
  left: 93%;
  animation: seed-drift 66s linear infinite;
  animation-delay: -22s;
}
.pw-seed {
  top: 105%;
}

.seed-1 { top: 140%; }
.seed-2 { top: 180%; }
.seed-3 { top: 160%; }
.seed-4 { top: 150%; }
.seed-5 { top: 116%; }
.seed-6 { top: 120%; }
.seed-7 { top: 105%; }
.seed-8 { top: 180%; }


/* ===== Slide-in menu ===== */

.pw-menu-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  justify-content: flex-end;
  align-items: stretch;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease;
  z-index: 60;
}

.pw-menu-backdrop.show {
  opacity: 1;
  pointer-events: auto;
}

.pw-menu-panel {
  width: 260px;
  max-width: 80vw;
  background: #0e1116;
  border-left: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: -12px 0 28px rgba(0, 0, 0, 0.6);
  padding: 16px 18px 20px;
  transform: translateX(100%);
  transition: transform 0.22s ease-out;
}

.pw-menu-backdrop.show .pw-menu-panel {
  transform: translateX(0);
}

.pw-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.pw-menu-title {
  font-family: "Radley", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  font-size: 1.1rem;
  color: #f5e9cf;
}

.pw-menu-close {
  border: none;
  background: transparent;
  color: #f5e9cf;
  font-size: 1.2rem;
  cursor: pointer;
  padding: 4px 6px;
  border-radius: 999px;
}

.pw-menu-close:hover {
  background: rgba(255, 255, 255, 0.06);
}

.pw-menu-list {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.pw-menu-list a {
  display: block;
  padding: 8px 6px;
  border-radius: 10px;
  font-size: 0.9rem;
  color: rgba(234, 230, 218, 0.88);
  text-decoration: none;
}

.pw-menu-list a:hover {
  background: rgba(255, 255, 255, 0.06);
}

.pw-menu-list a[aria-current="page"] {
  background: rgba(255, 255, 255, 0.09);
  color: #fbead1;
}
/* =========================
   HOME PAGE (index.html)
   ========================= */

/* Only affect the home page body */
body.page {
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
}

/* Center the main content nicely */
body.page > .wrap {
  max-width: 960px;
  margin: 0 auto;
  padding: 72px 16px 96px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Header: logo + title + text */
body.page .page-header {
  text-align: center;
  margin-bottom: 32px;
}

body.page .logo-img {
  width: 120px;
  height: auto;
  margin-bottom: 16px;
}

body.page .page-title {
  font-family: "Radley", serif;
  font-size: 2.4rem;
  letter-spacing: 0.04em;
  margin: 0 0 8px;
}

body.page .tagline {
  margin: 0 0 4px;
  font-size: 1rem;
  opacity: 0.9;
}

body.page .subtagline {
  margin: 0;
  font-size: 0.95rem;
  opacity: 0.8;
}

/* Main hero card */
body.page .hero-card {
  width: 100%;
  max-width: 840px;
  margin: 0 auto;
  border-radius: 24px;
  background: radial-gradient(circle at top, rgba(239, 210, 150, 0.12), transparent 55%),
              var(--card);
  border: 1px solid var(--line);
  box-shadow:
    0 26px 80px rgba(0, 0, 0, 0.75),
    0 0 0 1px rgba(255, 239, 209, 0.05);
  padding: 22px 24px 20px;
}

/* "Choose a nickname" row */
body.page .hero-form .field-label {
  font-size: 0.9rem;
  opacity: 0.9;
}

body.page .hero-row {
  display: flex;
  gap: 10px;
  margin-top: 8px;
}

body.page .hero-row input#nick {
  flex: 1;
  padding: 12px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #0f1116;
  color: var(--text);
  font-size: 0.95rem;
}

body.page .hero-row input#nick::placeholder {
  color: rgba(191, 184, 165, 0.75);
}

/* Start Whispering button */
body.page #startBtn.btn.primary {
  border-radius: 999px;
  padding: 0 20px;
  font-size: 0.9rem;
  white-space: nowrap;
}

/* Small note under the form */
body.page #walletNote {
  margin-top: 10px;
  font-size: 0.85rem;
  opacity: 0.8;
}

/* Advanced options link */
body.page .advanced-link {
  margin-top: 12px;
  font-size: 0.85rem;
  opacity: 0.9;
}
/* =========================
   WALLET / ROOMS MODAL
   (index.html advanced options)
   ========================= */

#walletModal.modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  display: none;              /* JS will toggle .open or inline style */
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

/* In case your JS uses "display: block" already, this keeps flex centering */
#walletModal.modal[style*="block"] {
  display: flex;
}

#walletModal .modal-body {
  width: 100%;
  max-width: 720px;
  background: radial-gradient(circle at top, rgba(239, 210, 150, 0.14), transparent 55%),
              var(--card);
  border-radius: 24px;
  border: 1px solid var(--line);
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.85);
  padding: 24px 26px 22px;
  position: relative;
}

/* Close button (×) */
#walletModal .modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  border: none;
  background: transparent;
  color: var(--muted);
  font-size: 1.2rem;
  cursor: pointer;
}

/* Titles */
#walletModal .modal-title {
  font-family: "Radley", serif;
  font-size: 1.3rem;
  margin: 0 0 6px;
}

#walletModal .modal-note {
  margin: 0 0 14px;
  font-size: 0.9rem;
  opacity: 0.9;
}

/* Sections */
#walletModal .modal-section {
  margin-top: 18px;
}

#walletModal .modal-subtitle {
  font-size: 0.98rem;
  margin: 0 0 4px;
}

#walletModal .modal-divider {
  border: none;
  border-top: 1px solid rgba(188, 173, 145, 0.25);
  margin: 18px 0 12px;
}

/* Backup textarea */
#walletModal #backupWords {
  width: 100%;
  min-height: 80px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #0f1116;
  color: var(--text);
  padding: 10px 12px;
  font-size: 0.9rem;
}

/* Buttons inside modal */
#walletModal .modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

#walletModal .modal-actions .btn {
  flex: 1 1 0;
  min-width: 120px;
  border-radius: 999px;
}

/* Small hints */
#walletModal .hint {
  margin-top: 8px;
  font-size: 0.8rem;
  opacity: 0.8;
}
/* Center contents inside the hero card (index only) */
body.page .hero-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  padding: 32px 28px 34px; /* little bigger padding for breathing space */
}

body.page .hero-form,
body.page .advanced-link {
  width: 100%;
  max-width: 640px;
  text-align: center;
}

/* Center “Choose a nickname” */
body.page .hero-form .field-label {
  width: 100%;
  display: block;
  text-align: left; /* cleaner */
  margin-left: 12px;
}

/* Center Advanced options */
body.page .advanced-link {
  display: block;
  text-align: center;
  margin-top: 14px;

  /* --- Home hero: nickname + start whispering --- */

.hero-card {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.hero-card .hero-form {
  max-width: 720px;
  margin: 0 auto;
}

.hero-card .hero-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-card #nick {
  flex: 1;
}

.hero-card #walletNote {
  margin-top: 10px;
  font-size: 0.9rem;
  opacity: 0.85;
  text-align: center;
}

.hero-card .advanced-link {
  display: inline-block;
  margin-top: 8px;
  text-align: center;
}

}
/* --- Wallet / Rooms modal styling --- */

.modal-body {
  border-radius: 24px;
  border: 1px solid rgba(244, 224, 186, 0.22);
  background:
    radial-gradient(circle at top, rgba(244, 224, 186, 0.08), #050609);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.85);
}

/* Title centered */
.modal-title {
  text-align: center;
  font-size: 1.1rem;
  margin-bottom: 12px;
}

/* Buttons in rows centered and with nice gaps */
.modal-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

/* Visually hidden, still accessible for screen readers */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
/* Wallet modal visibility toggle */
.modal {
  display: none;
}

.modal.is-open {
  display: flex;   /* keeps your current centered look */
}
/* --- Homepage hero alignment fixes --- */

.hero-form {
  text-align: center;
}

.hero-form .field-label {
  display: block;
  margin-bottom: 8px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--muted, #BFB8A5);
}

.hero-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
}

.hero-row input#nick {
  max-width: 520px;
  width: 100%;
  text-align: center;
}

/* --- Homepage hero alignment fixes --- */

.hero-card .hero-form {
  display: flex;
  flex-direction: column;
  align-items: center;      /* center everything inside the card */
}

.hero-card .field-label {
  width: 100%;
  text-align: center;       /* center the text "CHOOSE A NICKNAME" */
  margin-bottom: 8px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.hero-card .hero-row {
  display: flex;
  justify-content: center;  /* center input + button as a group */
  align-items: center;
  gap: 16px;
}

.hero-card .hero-row #nick {
  max-width: 520px;
  width: 100%;
  text-align: center;       /* center the placeholder text too */
}

.hero-card .advanced-link {
  margin-top: 8px;
  display: inline-block;
  text-align: center;
}

.hero-card .hero-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.hero-card .hero-row {
  width: 100%;
  max-width: 620px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.hero-card .hero-row input {
  flex: 1;
  max-width: 400px;
  text-align: center;
}

.advanced-link {
  margin-top: 6px;
  text-align: center;
  cursor: pointer;
}

/* === FINAL HOMEPAGE HERO ALIGNMENT FIXES === */

.hero-card {
  max-width: 840px;
  margin: 0 auto 64px;
  text-align: center;
}

.hero-card .hero-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.hero-card .hero-row {
  width: 100%;
  max-width: 620px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.hero-card .hero-row #nick {
  flex: 1;
  max-width: 420px;
  text-align: center; /* placeholder "Choose a nickname…" centered */
}

.hero-card #startBtn {
  white-space: nowrap;
}

.hero-card #walletNote {
  margin-top: 8px;
  font-size: 0.88rem;
  opacity: 0.8;
}

.hero-card .advanced-link {
  margin-top: 6px;
  font-size: 0.86rem;
  text-align: center;
}

/* Make sure the wallet modal appears when we add .is-open */
#walletModal {
  display: none;
  align-items: center;
  justify-content: center;
}

#walletModal.is-open {
  display: flex;
}

/* === Home hero – bigger, prettier Start Whispering button === */
.hero-card .hero-row {
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.hero-card .hero-row #nick {
  flex: 1;
  max-width: 480px;
  height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #0f1116;
  color: var(--text);
  font-size: 0.95rem;
  text-align: center;
}

.hero-card .hero-row #nick::placeholder {
  color: rgba(191, 184, 165, 0.8);
}

.hero-card #startBtn {
  height: 46px;
  padding: 0 28px;
  border-radius: 999px;
  border: none;
  background: var(--accent);
  color: #1a1610;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.55);
  white-space: nowrap;
}

.hero-card #startBtn:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

/* === Wallet / Rooms modal – softer, premium look === */
#walletModal.modal {
  display: none;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at top,
              rgba(244, 224, 186, 0.10),
              rgba(0, 0, 0, 0.80));
  z-index: 1000;
}

#walletModal.modal.is-open {
  display: flex;
}

#walletModal .modal-body {
  max-width: 720px;
  width: 92%;
  border-radius: 26px;
  padding: 26px 30px 22px;
  background:
    radial-gradient(circle at top,
      rgba(244, 224, 186, 0.16),
      #050609);
  border: 1px solid rgba(244, 224, 186, 0.22);
  box-shadow:
    0 24px 80px rgba(0, 0, 0, 0.9),
    0 0 0 1px rgba(0, 0, 0, 0.4);
  position: relative;
}

#walletModal .modal-title {
  font-family: "Radley", serif;
  font-size: 1.25rem;
  text-align: center;
  margin: 0 0 6px;
  color: var(--accent);
}

#walletModal .modal-note {
  margin: 0 0 14px;
  font-size: 0.9rem;
  opacity: 0.9;
  text-align: center;
}

#walletModal .modal-section {
  margin-top: 18px;
}

#walletModal #backupWords {
  width: 100%;
  min-height: 90px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #0f1116;
  color: var(--text);
  padding: 10px 12px;
  font-size: 0.9rem;
}

#walletModal .modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
  justify-content: center;
}

#walletModal .modal-actions .btn {
  flex: 1 1 0;
  min-width: 140px;
  border-radius: 999px;
}

#walletModal .hint {
  margin-top: 8px;
  font-size: 0.8rem;
  opacity: 0.8;
  text-align: center;
}

/* =========================
   MOON ROOM (room.html)
   ========================= */

/* background – like a softer night sky */
.room-page {
  background: radial-gradient(circle at top,
      #3d3326 0%,
      #0f1218 45%,
      #050609 100%);
  color: var(--text);
  min-height: 100vh;
}

/* wrapper spacing */
.room-page .wrap.room-main {
  max-width: 900px;
  margin: 40px auto 96px;
  padding: 0 24px;
}

/* top strip navigation */
.room-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  font-size: 0.8rem;
}

.room-nav a {
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(15, 17, 22, 0.9);
  color: var(--muted);
  text-decoration: none;
}

.room-nav a:hover {
  background: rgba(24, 26, 32, 1);
  color: var(--text);
}

.room-nav a.is-active {
  background: var(--accent);
  color: #1a1610;
  border-color: transparent;
}

.room-nav a.is-soon {
  opacity: 0.6;
  cursor: default;
}

/* main card */
.room-card {
  max-width: 540px;
  margin: 0 auto;
  padding: 24px 26px 22px;
  border-radius: 24px;
  background: rgba(18, 20, 24, 0.98);
  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.9),
    0 0 0 1px rgba(255, 255, 255, 0.03);
}

/* header text */
.room-header {
  text-align: center;
  margin-bottom: 16px;
}

.room-title {
  margin: 0 0 4px;
  font-family: "Radley", serif;
  font-size: 1.8rem;
  letter-spacing: 0.06em;
}

.room-tagline {
  margin: 0;
  font-size: 0.9rem;
  opacity: 0.8;
}

/* beige chat board */
.room-board {
  margin: 0 auto;
  margin-bottom: 18px;
  width: 100%;
  height: 360px;
  border-radius: 26px;
  background: var(--beige);
  box-shadow:
    0 18px 35px rgba(0, 0, 0, 0.75),
    0 0 0 1px rgba(0, 0, 0, 0.4);
}

/* composer row */
.room-compose {
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.room-input {
  flex: 1;
  height: 40px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #0f1116;
  color: var(--text);
  font-size: 0.9rem;
}

.room-input::placeholder {
  color: rgba(191, 184, 165, 0.8);
}

.room-send-btn {
  height: 40px;
  padding: 0 22px;
  border-radius: 999px;
  border: none;
  background: var(--accent);
  color: #1a1610;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.6);
}

.room-send-btn:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

/* small hint text */
.room-hint {
  margin-top: 10px;
  font-size: 0.8rem;
  opacity: 0.75;
  text-align: center;
}

/* =========================
   MOON ROOM PAGE
   ========================= */

.room-page {
  background: radial-gradient(circle at top,
      #3d3022 0%,
      #101118 50%,
      #050509 100%);
  color: var(--text);
  min-height: 100vh;
  padding-bottom: 90px;
}

.room-main {
  max-width: 900px;
  margin: 40px auto 0;
  padding: 0 16px;
}

.room-shell.card {
  max-width: 640px;
  margin: 32px auto 0;
  padding: 26px 26px 24px;
  border-radius: 26px;
  background: radial-gradient(circle at top,
      rgba(239, 210, 150, 0.14),
      rgba(7, 8, 12, 0.98));
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.85),
    0 0 0 1px rgba(255, 239, 209, 0.05);
}

/* Header inside card */
.room-header {
  text-align: center;
  margin-bottom: 14px;
}

.room-title {
  margin: 0 0 4px;
  font-family: "Radley", serif;
  font-size: 1.8rem;
  letter-spacing: 0.04em;
  color: var(--accent);
}

.room-sub {
  margin: 0 0 4px;
  font-size: 0.95rem;
  opacity: 0.9;
}

.room-note {
  margin: 0;
  font-size: 0.82rem;
  opacity: 0.75;
}

/* Beige board */
.room-board {
  margin: 18px auto 16px;
  width: 100%;
  max-width: 460px;
  height: 360px;
  border-radius: 26px;
  background: #ead9b6;
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(0, 0, 0, 0.3);
}

/* Composer */
.room-compose {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 460px;
  margin: 0 auto;
}

.room-input {
  flex: 1;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #0f1116;
  color: var(--text);
  padding: 10px 14px;
  font-size: 0.95rem;
}

.room-input::placeholder {
  color: rgba(191, 184, 165, 0.75);
}

.room-send-btn {
  border: none;
  border-radius: 999px;
  padding: 9px 20px;
  font-size: 0.9rem;
  font-weight: 600;
  background: var(--accent);
  color: #1a1610;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.55);
}

.room-send-btn:hover {
  filter: brightness(1.05);
}

/* Mobile */
@media (max-width: 640px) {
  .room-shell.card {
    padding: 20px 18px 22px;
  }
  .room-board {
    height: 280px;
  }
  .room-compose {
    flex-direction: column;
    align-items: stretch;
  }
  .room-send-btn {
    width: 100%;
  }
}

/* =========================
   HAMBURGER MENU ICONS
   (pure CSS, no images)
   ========================= */

.pw-menu-list li {
  list-style: none;
}

/* Section labels inside menu */
.pw-menu-section-label {
  margin: 8px 0 2px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
}

/* Align icon + text */
.pw-menu-list a {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Small pill text for "soon" */
.chip-text {
  font-size: 0.75rem;
  opacity: 0.8;
}

/* Base circle for all icons */
.pw-ico {
  position: relative;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  flex: 0 0 20px;
  background: radial-gradient(circle at 30% 20%,
      #fff7e7 0%,
      #f1d7a9 45%,
      #b69363 100%);
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.55);
}

/* HOME icon – tiny house */
.pw-ico-home::before,
.pw-ico-home::after {
  content: "";
  position: absolute;
}

/* house body */
.pw-ico-home::before {
  left: 6px;
  right: 6px;
  bottom: 4px;
  height: 7px;
  border-radius: 4px;
  background: #111319;
}

/* roof */
.pw-ico-home::after {
  left: 5px;
  right: 5px;
  bottom: 9px;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-bottom: 6px solid #111319;
}

/* WALL icon – chat bubble */
.pw-ico-wall::before,
.pw-ico-wall::after {
  content: "";
  position: absolute;
}

/* bubble */
.pw-ico-wall::before {
  left: 4px;
  right: 4px;
  top: 6px;
  bottom: 4px;
  border-radius: 10px;
  background: #111319;
}

/* tail */
.pw-ico-wall::after {
  left: 8px;
  bottom: 3px;
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: #111319;
  transform: rotate(35deg);
}

/* ROOM icon – moon + dot */
.pw-ico-room::before,
.pw-ico-room::after {
  content: "";
  position: absolute;
  border-radius: 999px;
}

/* moon base */
.pw-ico-room::before {
  width: 11px;
  height: 11px;
  left: 4px;
  top: 4px;
  background: #111319;
}

/* crescent cutout */
.pw-ico-room::after {
  width: 9px;
  height: 9px;
  left: 6px;
  top: 4px;
  background: radial-gradient(circle at 30% 20%,
      #f5f5ff 0%,
      #cfd5ff 40%,
      #8e96c7 100%);
}

/* PRIVATE icon – small lock */
.pw-ico-private::before,
.pw-ico-private::after {
  content: "";
  position: absolute;
}

/* lock body */
.pw-ico-private::before {
  left: 6px;
  right: 6px;
  bottom: 4px;
  height: 7px;
  border-radius: 3px;
  background: #111319;
}

/* shackle */
.pw-ico-private::after {
  left: 7px;
  right: 7px;
  top: 5px;
  height: 6px;
  border-radius: 8px;
  border: 2px solid #111319;
  border-bottom: none;
}

/* CONTACTS icon – two heads */
.pw-ico-contacts::before,
.pw-ico-contacts::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  background: #111319;
}

/* front head */
.pw-ico-contacts::before {
  width: 7px;
  height: 7px;
  left: 5px;
  top: 5px;
}

/* back head */
.pw-ico-contacts::after {
  width: 6px;
  height: 6px;
  right: 4px;
  top: 6px;
  opacity: 0.8;
}

.blocked-popup {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(30, 25, 22, 0.85);
  color: #f5e7d7;
  padding: 12px 20px;
  border-radius: 14px;
  font-family: Radley, serif;
  font-size: 0.9rem;
  backdrop-filter: blur(6px);
  box-shadow: 0 0 18px rgba(240, 220, 190, 0.35);
  animation: fadeInOut 2.5s;
}

@keyframes fadeInOut {
  0% { opacity: 0; transform: translate(-50%, 20px); }
  20% { opacity: 1; transform: translate(-50%, 0); }
  80% { opacity: 1; }
  100% { opacity: 0; transform: translate(-50%, 20px); }
}


.blocked-popup {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(30, 25, 22, 0.9);
  color: #f5e7d7;
  padding: 12px 20px;
  border-radius: 14px;
  font-family: "Radley", serif;
  font-size: 0.9rem;
  backdrop-filter: blur(6px);
  box-shadow: 0 0 18px rgba(240, 220, 190, 0.35);
  animation: blockedFade 2.5s ease-in-out;
  z-index: 9999;
}

@keyframes blockedFade {
  0%   { opacity: 0; transform: translate(-50%, 20px); }
  20%  { opacity: 1; transform: translate(-50%, 0); }
  80%  { opacity: 1; }
  100% { opacity: 0; transform: translate(-50%, 20px); }
}
