/* ==========================================================================
   Gold Rush — landing v1 «night claim»
   System fonts only. No external requests. No tracking. No forms.
   ========================================================================== */

:root {
  --night-0:   #120c26;
  --night-1:   #1b1436;
  --night-2:   #241a48;
  --gold-hi:   #ffe9a8;
  --gold:      #f5c451;
  --gold-mid:  #eaa837;
  --gold-deep: #cf8420;
  --wood-hi:   #7a4a24;
  --wood:      #56331a;
  --wood-deep: #33200f;
  --ink:       #2a1608;
  --paper:     #fdf3dd;
  --muted:     #cbbfe6;

  --wrap: 40rem;          /* 640px content column */
  --radius: 1.15rem;

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
          Arial, "Noto Sans", sans-serif;

  --shade: linear-gradient(180deg,
            rgba(18,12,38,.94) 0%,
            rgba(18,12,38,.58) 16%,
            rgba(18,12,38,.58) 84%,
            rgba(18,12,38,.94) 100%);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--night-1);
  color: #efe8ff;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  overflow-x: hidden;
}

img, video { max-width: 100%; height: auto; display: block; }

a { color: var(--gold); }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 1.15rem;
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  clip-path: inset(50%); overflow: hidden; white-space: nowrap;
}

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--gold); color: var(--ink);
  padding: .6rem 1rem; border-radius: 0 0 .6rem 0;
  font-weight: 700; text-decoration: none; z-index: 50;
}
.skip:focus { left: 0; }

:where(a, video):focus-visible {
  outline: 3px solid var(--gold-hi);
  outline-offset: 3px;
}

/* Gold engraved lettering ------------------------------------------------- */
.heading,
.handle {
  margin: 0;
  font-weight: 900;
  letter-spacing: .01em;
  text-transform: uppercase;
  color: var(--gold);
  background: linear-gradient(180deg, var(--gold-hi) 0%, var(--gold) 45%, var(--gold-deep) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 0 rgba(58,26,8,.85)) drop-shadow(0 6px 18px rgba(0,0,0,.5));
}

.heading {
  font-size: clamp(1.7rem, 8.5vw, 2.9rem);
  line-height: 1.1;
  text-align: center;
}

/* ==========================================================================
   HERO
   ========================================================================== */

.hero {
  position: relative;
  background:
    linear-gradient(180deg,
      rgba(18,12,38,.55) 0%,
      rgba(18,12,38,.15) 26%,
      rgba(18,12,38,.10) 62%,
      rgba(18,12,38,.85) 100%),
    url("/assets/hero_bg.jpg") center bottom / cover no-repeat,
    var(--night-2);
}

.hero__inner {
  padding-top: clamp(1.6rem, 6vw, 3rem);
  padding-bottom: clamp(2rem, 7vw, 3.5rem);
  text-align: center;
}

.wordmark { margin: 0 auto; max-width: 26rem; }
.wordmark img {
  width: 100%;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,.55));
}

.tagline {
  margin: .35rem auto 1.4rem;
  max-width: 22rem;
  font-size: clamp(1.15rem, 5.4vw, 1.6rem);
  font-weight: 800;
  line-height: 1.25;
  color: #fff;
  text-shadow: 0 2px 0 rgba(30,14,50,.8), 0 4px 16px rgba(0,0,0,.55);
}

/* Video in a plank frame */
.screen {
  width: 100%;
  max-width: 17.5rem;              /* 280px — portrait loop */
  margin: 0 auto 1.5rem;
  padding: .55rem;
  border-radius: calc(var(--radius) + .55rem);
  background: linear-gradient(160deg, var(--wood-hi) 0%, var(--wood) 45%, var(--wood-deep) 100%);
  box-shadow:
    inset 0 0 0 2px rgba(245,196,81,.55),
    inset 0 2px 6px rgba(255,220,150,.18),
    0 14px 34px rgba(0,0,0,.55);
}

.screen__video {
  width: 100%;
  aspect-ratio: 640 / 1138;
  border-radius: var(--radius);
  background: #0d0a18;
  object-fit: cover;
}

/* App Store badge */
.badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin: 0 0 1rem;
  padding: .5rem 1.05rem;
  border: 1px solid rgba(245,196,81,.5);
  border-radius: 999px;
  background: rgba(14,9,30,.72);
  color: #f4eeff;
  font-size: clamp(.82rem, 3.5vw, .95rem);
  font-weight: 700;
  letter-spacing: .01em;
  box-shadow: 0 6px 18px rgba(0,0,0,.45);
}
.badge__apple { width: 1.05em; height: 1.05em; fill: #fff; flex: none; }

/* CTA */
.cta {
  display: block;
  width: 100%;
  max-width: 21rem;
  margin: 0 auto;
  padding: .95rem 1.2rem;
  border-radius: 999px;
  border: 2px solid #9c5f18;
  background: linear-gradient(180deg, #ffe08a 0%, var(--gold) 42%, var(--gold-deep) 100%);
  color: var(--ink);
  font-size: clamp(1.02rem, 4.6vw, 1.2rem);
  font-weight: 900;
  letter-spacing: .01em;
  text-decoration: none;
  text-shadow: 0 1px 0 rgba(255,240,200,.6);
  box-shadow:
    inset 0 2px 0 rgba(255,255,255,.6),
    inset 0 -3px 0 rgba(150,86,16,.45),
    0 8px 22px rgba(0,0,0,.5),
    0 0 34px rgba(245,196,81,.22);
  transition: transform .12s ease, box-shadow .12s ease, filter .12s ease;
}
.cta:hover { filter: brightness(1.05); }
.cta:active { transform: translateY(2px); box-shadow: inset 0 2px 0 rgba(255,255,255,.5), 0 4px 12px rgba(0,0,0,.5); }

/* ==========================================================================
   PLANK DIVIDER
   ========================================================================== */

.divider {
  display: block;
  width: 100%;
  max-width: 68rem;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 6px 14px rgba(0,0,0,.55));
}

/* ==========================================================================
   FEATURES
   ========================================================================== */

.features,
.screens,
.social {
  background: var(--shade), url("/assets/section_bg.jpg") center / cover no-repeat, var(--night-1);
}

.features .wrap { padding-top: clamp(2.6rem, 9vw, 3.6rem); padding-bottom: clamp(2rem, 7vw, 3rem); }

.grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(2.4rem, 8vw, 3rem) clamp(.7rem, 3vw, 1.1rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.card {
  position: relative;
  padding: 0 .8rem 1rem;
  border-radius: var(--radius);
  border: 2px solid rgba(245,196,81,.32);
  background:
    repeating-linear-gradient(0deg, rgba(0,0,0,.10) 0 3px, rgba(255,255,255,.03) 3px 7px),
    linear-gradient(180deg, #6b3f20 0%, #4a2b14 55%, #35200f 100%);
  box-shadow:
    inset 0 2px 0 rgba(255,214,150,.22),
    inset 0 -4px 10px rgba(0,0,0,.4),
    0 10px 24px rgba(0,0,0,.45);
  text-align: center;
}

.card__icon {
  width: clamp(3.6rem, 17vw, 4.8rem);
  height: auto;
  margin: calc(-1 * clamp(1.8rem, 8.5vw, 2.4rem)) auto .5rem;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,.55)) drop-shadow(0 0 16px rgba(245,196,81,.28));
}

.card__title {
  margin: 0 0 .35rem;
  font-size: clamp(.95rem, 4.2vw, 1.12rem);
  font-weight: 900;
  line-height: 1.15;
  text-transform: uppercase;
  letter-spacing: .01em;
  color: var(--gold);
  text-shadow: 0 2px 0 rgba(35,17,6,.85);
}

.card__text {
  margin: 0;
  font-size: clamp(.8rem, 3.4vw, .92rem);
  line-height: 1.4;
  color: #e8d9bd;
  opacity: .92;
}

/* ==========================================================================
   SCREENS
   ========================================================================== */

.screens .wrap { padding-top: clamp(2.2rem, 8vw, 3.2rem); padding-bottom: clamp(1.6rem, 6vw, 2.4rem); }

.phones {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: clamp(1.4rem, 6vw, 2.2rem);
}

.phone {
  width: clamp(6rem, 27vw, 11rem);
  border-radius: .6rem;
  filter: drop-shadow(0 14px 26px rgba(0,0,0,.6));
}

.phone--l { transform: rotate(-7deg) translateY(1.5%); margin-right: -3%; z-index: 1; }
.phone--c { transform: scale(1.08); z-index: 3; position: relative; }
.phone--r { transform: rotate(7deg) translateY(1.5%); margin-left: -3%; z-index: 1; }

/* ==========================================================================
   SOCIAL
   ========================================================================== */

.social .wrap {
  padding-top: clamp(2.2rem, 8vw, 3rem);
  padding-bottom: clamp(2.4rem, 9vw, 3.4rem);
  text-align: center;
}

.social__row {
  display: flex;
  justify-content: center;
  gap: clamp(1.2rem, 6vw, 2rem);
  margin: clamp(1.2rem, 5vw, 1.8rem) 0 1rem;
}

.orb {
  display: grid;
  place-items: center;
  width: clamp(4.2rem, 20vw, 5.5rem);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 3px solid #9c5f18;
  background: radial-gradient(circle at 34% 28%, #fff0bd 0%, var(--gold) 42%, var(--gold-deep) 100%);
  box-shadow:
    inset 0 2px 0 rgba(255,255,255,.55),
    0 10px 24px rgba(0,0,0,.5),
    0 0 30px rgba(245,196,81,.25);
  transition: transform .12s ease, filter .12s ease;
}
.orb:hover { filter: brightness(1.06); transform: translateY(-2px); }
.orb:active { transform: translateY(1px); }

.orb__glyph { width: 46%; height: 46%; fill: #14121c; }
.orb__glyph--yt { fill: #e8000d; width: 52%; height: 52%; }

.handle {
  font-size: clamp(1.3rem, 6.5vw, 2rem);
  line-height: 1.2;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.footer {
  border-top: 3px solid rgba(245,196,81,.45);
  background:
    repeating-linear-gradient(0deg, rgba(0,0,0,.10) 0 3px, rgba(255,255,255,.03) 3px 7px),
    linear-gradient(180deg, #56331a 0%, #3a2312 100%);
  color: #e6d3b0;
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: .35rem 1rem;
  padding-top: 1.1rem;
  padding-bottom: calc(1.1rem + env(safe-area-inset-bottom, 0px));
  font-size: clamp(.8rem, 3.4vw, .92rem);
  text-align: center;
}

.footer__links { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .35rem .6rem; }
.footer__links a { color: var(--gold); text-decoration: none; font-weight: 700; }
.footer__links a:hover { text-decoration: underline; }
.footer__dot { opacity: .5; }
.footer__copy { margin: 0; opacity: .8; }

/* ==========================================================================
   DESKTOP POLISH
   ========================================================================== */

@media (min-width: 46rem) {
  body { font-size: 18px; }

  .hero { background-position: center 62%; }
  .hero__inner { padding-top: 3.5rem; padding-bottom: 4rem; }

  .grid { gap: 3.2rem 1.4rem; }
  .card { padding: 0 1.1rem 1.35rem; }

  .phones { margin-top: 2.6rem; }
  .phone { width: 11.5rem; }
  .phone--l { margin-right: -2.5%; }
  .phone--r { margin-left: -2.5%; }
}

@media (min-width: 64rem) {
  .hero { background-position: center 55%; }
}

/* ==========================================================================
   REDUCED MOTION
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .orb:hover { transform: none; }
}
