/* ==========================================================================
   Design tokens
   ========================================================================== */
:root{
  --bg:#0a0a09;
  --panel:#131210;
  --panel-2:#1a1815;
  --border:rgba(201,165,116,0.22);
  --border-strong:rgba(201,165,116,0.45);
  --gold:#c9a574;
  --gold-bright:#f0d9ab;
  --gold-dim:#8a7150;
  --text:#f3efe6;
  --text-muted:#948d7d;
  --text-faint:#5f594c;
  --r-lg:26px;
  --r-md:16px;
  --r-sm:10px;
}

/* ==========================================================================
   Reset
   ========================================================================== */
*{
  box-sizing:border-box;
  -webkit-tap-highlight-color:transparent;
}
a{
  color:var(--gold-bright);
  text-decoration:underline;
  text-decoration-color:rgba(201,165,116,0.4);
  text-underline-offset:3px;
  text-decoration-thickness:1px;
  transition:color 250ms ease, text-decoration-color 250ms ease;
}
a:hover,
a:focus{
  color:var(--gold);
  text-decoration-color:var(--gold);
}
html,body{
  margin:0;
  padding:0;
}
body{
  background:#000;
  color:var(--text);
  font-family:'Inter',sans-serif;
  margin:0;
  padding:0;
  display:flex;
  justify-content:center;
}

/* ==========================================================================
   Device frame — mobile layout without the physical frame
   ========================================================================== */
.phone-frame{
  width:100%;
  max-width:430px; /* Standard mobile width */
  background:var(--bg);
  /* Removed physical borders, shadows, and padding */
}
.phone-screen{
  position:relative;
  width:100%;
  max-height:100vh; /* Set max height to viewport height */
  background:var(--bg);
  overflow-y:scroll; /* Ensure internal scrolling */
  overflow-x:hidden;
  scrollbar-width:none;
  -ms-overflow-style:none;
}
.phone-screen::-webkit-scrollbar{
  display:none;
}

/* Sticky hero (header + greeting + card) — see hero.css for its contents */
.hero-sticky{
  position:sticky;
  top:0;
  z-index:1;
  background:var(--bg);
  padding-bottom:6px;
  transform-origin:top center;
  will-change:transform, opacity, filter;
}

/* Sheet that scrolls up and covers the hero — see scroll-parallax.js */
.content-sheet{
  position:relative;
  z-index:2;
  background:rgba(10,10,9,0.62);
  backdrop-filter:blur(10px) saturate(160%);
  -webkit-backdrop-filter:blur(10px) saturate(160%);
  border-radius:26px 26px 0 0;
  border-top:1px solid rgba(201,165,116,0.12);
  box-shadow:
    0 -24px 44px -24px rgba(0,0,0,0.7),
    inset 0 1px 0 rgba(255,255,255,0.06),
    inset 0 -1px 0 rgba(0,0,0,0.3);
  padding-top:4px;
  min-height:calc(100% + 60px);
}
.sheet-handle{
  width:36px;
  height:4px;
  background:var(--border-strong);
  border-radius:2px;
  margin:10px auto 4px;
}

.bc-info{
  padding:8px 20px 24px;
}
.bc-info img{
  display:block;
  margin:0 auto 18px;
}
.bc-info p{
  font-size:12.5px;
  line-height:1.7;
  color:var(--text-muted);
  margin:0;
}
.bc-info p b{
  color:var(--text);
}

.note{
  margin:0 20px 30px;
  padding:14px 16px;
  border:1px dashed var(--border-strong);
  border-radius:var(--r-sm);
  font-size:11px;
  color:var(--text-faint);
  line-height:1.6;
}
.note b{
  color:var(--gold);
}
