:root {
  --gold-1: #f2e77f;
  --gold-2: #ceb931;
  --gold-3: #8d7614;
  --bg: #040404;
  --text: #ffffff;
  --muted: #d8d8d8;
  --line: rgba(255, 219, 84, 0.75);
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: #000 url('./bg_tile.png') repeat center top;
  background-size: 540px auto;
  overflow-x: hidden;
}

.bg-overlay {
  position: fixed;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.15), rgba(0,0,0,0.38)),
    radial-gradient(circle at center, rgba(255,215,95,0.08), transparent 40%);
  pointer-events: none;
}

.page-shell {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 8px 14px 110px;
}

.phone-frame {
  width: min(100%, 430px);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.top-logo-wrap {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-bottom: 10px;
  position: relative;
}

.top-logo-wrap::before,
.top-logo-wrap::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.4), transparent);
}
.top-logo-wrap::before { top: -6px; }
.top-logo-wrap::after { bottom: -8px; }

.top-logo {
  width: min(100%, 320px);
  height: auto;
  display: block;
  filter: drop-shadow(0 0 10px rgba(255, 208, 97, 0.18));
}

.promo-card {
  width: 100%;
  position: relative;
  padding: 0 0 18px;
}

.poster-shell {
  position: relative;
  border-radius: 0;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.06),
    0 10px 24px rgba(0,0,0,0.45),
    0 0 30px rgba(255, 204, 65, 0.07);
  animation: floaty 5.2s ease-in-out infinite;
}

.poster-image {
  width: 100%;
  display: block;
}

.poster-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 20%, rgba(255,255,255,.16) 40%, transparent 58%);
  transform: translateX(-120%);
  animation: shine 4.8s linear infinite;
  mix-blend-mode: screen;
}

.glow-ring {
  position: absolute;
  inset: 88px 0 auto 0;
  height: 220px;
  background: radial-gradient(circle at center, rgba(255, 199, 84, 0.18), transparent 62%);
  filter: blur(20px);
  pointer-events: none;
}

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

.cta-btn {
  position: relative;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  min-height: 41px;
  border-radius: 4px;
  letter-spacing: 0.2px;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 3px 12px rgba(0,0,0,.25);
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

.cta-btn.gold {
  background: linear-gradient(180deg, #f0e971 0%, #d3c63a 55%, #b7ab24 100%);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fffceb;
  text-shadow: 0 1px 0 rgba(0,0,0,.25);
}

.cta-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 25%, rgba(255,255,255,.3) 45%, transparent 62%);
  transform: translateX(-150%);
  animation: btnSweep 4.5s linear infinite;
}

.cta-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 8px 22px rgba(0,0,0,.35), 0 0 18px rgba(255, 221, 87, 0.18);
}

.headline-block {
  text-align: center;
  padding: 18px 14px 0;
}

.headline-block h1 {
  margin: 8px 0 6px;
  font-size: clamp(26px, 5.8vw, 34px);
  line-height: 1.04;
  font-weight: 800;
  text-shadow: 0 2px 10px rgba(0,0,0,.55);
}

.headline-divider {
  width: 100%;
  max-width: 420px;
  margin: 10px auto 14px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
  box-shadow: 0 0 12px rgba(255,215,64,.28);
}

.headline-block p {
  margin: 0;
  font-size: 15px;
  line-height: 1.28;
  color: #ffffff;
  text-shadow: 0 2px 8px rgba(0,0,0,.5);
}


.bottom-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  pointer-events: none;
}

.bottom-nav-inner {
  position: relative;
  width: min(100%, 430px);
  margin: 0 auto;
  height: 88px;
  background: linear-gradient(180deg, #1b1b1b 0%, #111111 100%);
  border-top: 1px solid rgba(245, 214, 77, 0.95);
  box-shadow: 0 -10px 28px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.04);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: end;
  padding: 10px 10px 8px;
  pointer-events: auto;
}

.bottom-nav-inner::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -1px;
  height: 1px;
  background: rgba(245, 214, 77, 0.95);
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  color: #fff;
  text-decoration: none;
  font-size: 12px;
  line-height: 1;
  position: relative;
  min-height: 60px;
  font-weight: 700;
  flex-shrink: 0;
}

.nav-label {
  color: #ffffff;
  font-weight: 700;
  text-shadow: 0 1px 2px rgba(0,0,0,.45);
  letter-spacing: -.2px;
}

.nav-svg {
  width: 22px;
  height: 22px;
  display: block;
  flex: 0 0 auto;
  color: #fff;
  stroke: #fff !important;
  stroke-width: 2.1;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 1px 1px rgba(0,0,0,.35));
}

.nav-svg path,
.nav-svg circle,
.nav-svg rect,
.nav-svg line,
.nav-svg polyline {
  stroke: #fff !important;
}

.nav-apps .dot,
.nav-chat .dot,
.nav-home .fill,
.nav-user .fill {
  fill: #fff !important;
  stroke: none !important;
}

.nav-center {
  transform: translateY(-34px);
  min-height: 104px;
  gap: 6px;
}

.center-badge {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 34%, #2f2f2f 0%, #1a1a1a 56%, #111 100%);
  border: 3px solid #d7be2b;
  box-shadow: 0 0 0 7px #181818, 0 0 0 8px rgba(245,214,77,.16), 0 10px 20px rgba(0,0,0,.52);
  display: grid;
  place-items: center;
}

.nav-center .nav-svg {
  width: 31px;
  height: 31px;
  stroke-width: 2.3;
}

.nav-center .nav-label {
  font-size: 13px;
  font-weight: 700;
}

.nav-item.active .nav-svg,
.nav-item:hover .nav-svg,
.nav-item:hover .nav-label {
  color: #ffffff;
}

@media (max-width: 480px) {
  .bottom-nav-inner { height: 82px; padding: 8px 8px 7px; }
  .nav-item { font-size: 11px; min-height: 56px; }
  .nav-svg { width: 20px; height: 20px; }
  .nav-center { transform: translateY(-30px); min-height: 96px; }
  .center-badge { width: 70px; height: 70px; box-shadow: 0 0 0 6px #181818, 0 0 0 7px rgba(245,214,77,.16), 0 8px 18px rgba(0,0,0,.5); }
  .nav-center .nav-svg { width: 28px; height: 28px; }
  .nav-center .nav-label { font-size: 12px; }
}
