/* ===== Easy-to-tweak colours ===== */
:root {
  --page-bg: #050505;
  --card-bg: #000;
  --text: #fff;
  --muted: #a8a8a8;
  --accent: #d0142c;     /* satin / lipstick red from TraderModeling2 */
  --accent-2: #ff3b55;   /* brighter red for small highlights */
  --silver: #d9d9e0;     /* jewellery silver */
  --photo: url("assets/trader.png");  /* the one photo used everywhere */
  --radius-card: 30px;
  --radius-link: 14px;
  --phone-width: 420px;
  --font: "Arial Rounded MT Bold", "Segoe UI", Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }

html, body { margin: 0; min-height: 100%; }

body {
  background: var(--page-bg);
  color: var(--text);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
}

/* Blurred backdrop behind the phone card */
.backdrop {
  position: fixed;
  inset: -40px;
  background: var(--photo) center 60% / cover no-repeat;
  filter: blur(40px) brightness(.45) saturate(1.3);
  z-index: 0;
}

/* The phone-shaped card */
.phone {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--phone-width);
  min-height: 100vh;
  margin: 0 auto;
  background: var(--card-bg);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

@media (min-width: 600px) {
  .phone {
    min-height: calc(100vh - 48px);
    margin: 24px auto;
    border-radius: var(--radius-card);
    box-shadow: 0 30px 80px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .06);
  }
}

/* ===== Hero ===== */
.hero {
  position: relative;
  aspect-ratio: 4 / 5;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 85%;  /* keeps the face in view; raise/lower to re-crop */
  display: block;
}

/* fade the photo into the black card */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 70%, rgba(0, 0, 0, .55) 86%, #000 100%);
  pointer-events: none;
}

.hero-text {
  position: absolute;
  left: 0; right: 0; bottom: 6px;
  text-align: center;
  z-index: 1;
}

.name {
  margin: 0;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: .3px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .8);
}

.handle {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  color: var(--muted);
}

.bio {
  text-align: center;
  font-size: 15px;
  font-weight: 700;
  margin: 18px 16px 14px;
}

/* ===== Featured link card ===== */
.feature-card {
  cursor: pointer;
  position: relative;
  display: block;
  margin: 0 10px;
  aspect-ratio: 386 / 234;
  border-radius: var(--radius-link);
  overflow: hidden;
  color: var(--text);
  text-decoration: none;
  /* side fill: mustard on the right, warm skin-tone on the left, like the mockup */
  background: #111;
  border: 1px solid rgba(208, 20, 44, .55);
  transition: transform .15s ease, box-shadow .15s ease;
}

.feature-card:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 10px 30px rgba(208, 20, 44, .35);
}

.feature-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;  /* lips-to-legs crop; lower % = higher up the photo */
  display: block;
}

/* darken the bottom so the label reads */
.feature-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, .65), transparent 40%);
}

.feature-icon {
  position: absolute;
  top: 10px; left: 10px;
  width: 28px; height: 28px;
  z-index: 1;
  fill: none;
  stroke: #fff;
  stroke-width: 2.4;
  stroke-linecap: round;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, .8));
}

.feature-label {
  position: absolute;
  left: 0; right: 0; bottom: 8px;
  text-align: center;
  font-size: 17px;
  font-weight: 800;
  z-index: 1;
  text-shadow: 0 1px 4px rgba(0, 0, 0, .9);
}

.bang { color: var(--accent-2); }

.feature-kiss {
  position: absolute;
  right: 8px; bottom: 4px;
  font-size: 36px;
  z-index: 1;
  transform: rotate(-12deg);
}

/* ===== Optional extra pill links ===== */
.links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 16px 10px 0;
}

.pill {
  display: block;
  padding: 14px 16px;
  text-align: center;
  font-weight: 700;
  font-size: 15px;
  color: var(--text);
  text-decoration: none;
  border-radius: var(--radius-link);
  background: linear-gradient(180deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .06));
  border: 1px solid rgba(255, 255, 255, .1);
  transition: background .15s ease, border-color .15s ease;
}

/* the Dosh tip pill is a <button>, make it look like the link pills */
button.pill {
  width: 100%;
  font-family: inherit;
  cursor: pointer;
}

.pill:hover {
  background: rgba(208, 20, 44, .22);
  border-color: var(--accent);
}

/* ===== Footer ===== */
.footer {
  margin-top: auto;
  padding: 40px 16px 24px;
  text-align: center;
  font-size: 15px;
  font-weight: 700;
}

.footer a { color: var(--text); text-decoration: none; }
.footer a:hover { text-decoration: underline; }

/* footer "links" that look real but do nothing */
.fake-link { cursor: pointer; }
.fake-link:hover { text-decoration: underline; }

.disclaimer {
  margin: 8px 0 0;
  font-size: 11px;
  font-weight: 400;
  color: #666;
}

/* ===== 18+ age gate ===== */
.gate {
  position: fixed;
  inset: 0;
  z-index: 10;
  display: grid;
  place-items: center;
  padding: 16px;
  background: rgba(0, 0, 0, .75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.gate[hidden] { display: none; }

.gate-box {
  width: 100%;
  max-width: 340px;
  padding: 28px 22px 22px;
  text-align: center;
  background: #0d0d0d;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 22px;
}

.gate-box .gate-badge {
  display: inline-block;
  margin: 0 0 10px;
  padding: 6px 12px;
  border: 2px solid var(--accent-2);
  border-radius: 999px;
  color: var(--accent-2);
  font-weight: 800;
}

.gate-box h2 { margin: 0 0 8px; font-size: 22px; }
.gate-box p { color: var(--muted); line-height: 1.4; }

.gate-yes {
  display: block;
  width: 100%;
  margin-top: 16px;
  padding: 14px;
  font: inherit;
  font-weight: 800;
  color: #fff;
  background: var(--accent);
  border: 0;
  border-radius: 12px;
  cursor: pointer;
}

.gate-yes:hover { filter: brightness(1.1); }

.gate-no {
  display: inline-block;
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
}

/* ===== 💋 easter egg countdown ===== */
.feature-kiss { cursor: default; }  /* no hand cursor, so it stays a secret */

.egg {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: rgba(0, 0, 0, 0);
  transition: background .35s ease;
}

.egg[hidden] { display: none; }
.egg.show { background: rgba(0, 0, 0, .6); }

.egg-panel {
  position: relative;
  width: 100%;
  max-width: var(--phone-width);
  padding: 28px 20px 32px;
  text-align: center;
  background: linear-gradient(180deg, #1a0006, #000 70%);
  border: 1px solid rgba(208, 20, 44, .55);
  border-bottom: 0;
  border-radius: 26px 26px 0 0;
  box-shadow: 0 -20px 60px rgba(208, 20, 44, .25);
  transform: translateY(100%);
  transition: transform .35s cubic-bezier(.2, .9, .3, 1.15);
}

.egg.show .egg-panel { transform: translateY(0); }

.egg-close {
  position: absolute;
  top: 12px; right: 14px;
  background: none;
  border: 0;
  color: var(--muted);
  font-size: 18px;
  cursor: pointer;
}

.egg-kiss { font-size: 44px; margin: 0; }
.egg-panel h2 { margin: 6px 0 4px; font-size: 22px; }
.egg-sub { margin: 0 0 18px; color: var(--muted); }

.egg-timer {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.egg-timer div {
  padding: 12px 0 10px;
  border-radius: 12px;
  background: rgba(208, 20, 44, .14);
  border: 1px solid rgba(208, 20, 44, .4);
}

.egg-timer span {
  display: block;
  font-size: 28px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.egg-timer small {
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}

.egg-foot { margin: 18px 0 0; font-size: 12px; color: #777; }

/* the kiss while it's running around the screen */
.feature-kiss.kiss-loose {
  position: fixed;
  right: auto; bottom: auto;
  z-index: 15;
  font-size: 40px;
  user-select: none;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .6));
}

.kiss-pop { animation: kissPop .3s ease-out; }

@keyframes kissPop {
  0%   { transform: rotate(-12deg) scale(.3); opacity: 0; }
  70%  { transform: rotate(-12deg) scale(1.2); opacity: 1; }
  100% { transform: rotate(-12deg) scale(1); }
}
