/* kabu.date landing: photo-first, dark, Kabarak maroon + gold. */
:root {
  --brand: #660033; --brand-400: #8a1f51; --gold: #f2b705; --green: #339933; --danger: #e5484d;
  --bg: #16070f; --bg-2: #22101a; --line: rgba(255, 255, 255, .1); --text: #fff; --muted: rgba(255, 255, 255, .62);
  --font: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); -webkit-font-smoothing: antialiased; }
body { background: radial-gradient(1200px 700px at 75% -10%, rgba(138, 31, 81, .55), transparent 60%), radial-gradient(900px 600px at -10% 30%, rgba(102, 0, 51, .35), transparent 60%), var(--bg); min-height: 100dvh; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
svg.i { flex: none; }
[hidden] { display: none !important; }

/* header */
.bar { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: calc(14px + env(safe-area-inset-top, 0px)) clamp(16px, 4vw, 48px) 14px; background: linear-gradient(rgba(22, 7, 15, .92), rgba(22, 7, 15, .6) 70%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 22px; letter-spacing: -0.03em; }
.brand img { width: 36px; height: 36px; border-radius: 10px; }
.brand i { font-style: normal; color: var(--gold); }
.brand.small { font-size: 18px; } .brand.small img { width: 28px; height: 28px; border-radius: 8px; }
.bar nav { display: flex; align-items: center; gap: 8px; }
.ghost { padding: 10px 16px; border-radius: 999px; font-weight: 700; font-size: 15px; color: var(--text); transition: background .15s; }
.ghost:hover { background: rgba(255, 255, 255, .08); }
.solid { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 18px; border-radius: 999px; font-weight: 800; font-size: 15px; background: #fff; color: var(--brand); border: 0; transition: transform .15s var(--ease), box-shadow .15s; }
.solid:hover { transform: translateY(-1px); box-shadow: 0 10px 30px rgba(0, 0, 0, .35); }
.solid.big { padding: 15px 28px; font-size: 16px; }
.block { display: flex; width: 100%; }

/* hero */
.hero { display: grid; grid-template-columns: 1fr minmax(320px, 420px); gap: clamp(24px, 6vw, 80px); align-items: center; max-width: 1180px; margin: 0 auto; padding: clamp(10px, 4vh, 48px) clamp(16px, 4vw, 48px) 40px; min-height: calc(100dvh - 80px); }
.hero h1 { font-size: clamp(44px, 7.2vw, 92px); font-weight: 800; line-height: .98; letter-spacing: -0.045em; margin: 0; }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 34px; }
.get-app { display: inline-flex; align-items: center; gap: 8px; padding: 14px 20px; border-radius: 999px; font-weight: 700; font-size: 15px; background: rgba(255, 255, 255, .08); border: 1px solid var(--line); transition: background .15s; }
.get-app:hover { background: rgba(255, 255, 255, .14); }
.stat { margin: 26px 0 0; color: var(--muted); font-weight: 600; display: flex; align-items: center; gap: 10px; }
.stat .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(51, 153, 51, .25); }

/* swipe deck */
.deck-wrap { position: relative; width: 100%; max-width: 420px; justify-self: center; }
.deck { position: relative; aspect-ratio: 3/4.1; }
.card { position: absolute; inset: 0; border-radius: 26px; overflow: hidden; background: linear-gradient(160deg, var(--brand-400), var(--brand) 60%, #3d001f); box-shadow: 0 30px 70px rgba(0, 0, 0, .5); transition: transform .55s var(--ease), opacity .45s; cursor: pointer; }
.card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card .info { position: absolute; left: 0; right: 0; bottom: 0; padding: 90px 22px 22px; background: linear-gradient(transparent, rgba(10, 3, 7, .88)); }
.card h3 { margin: 0 0 10px; font-size: 30px; font-weight: 800; letter-spacing: -0.02em; }
.card h3 span { font-weight: 500; }
.pills { display: flex; flex-wrap: wrap; gap: 6px; }
.pill { display: inline-flex; align-items: center; gap: 5px; background: rgba(255, 255, 255, .16); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); border-radius: 999px; padding: 5px 11px; font-size: 13px; font-weight: 600; }
.card.back1 { transform: scale(.94) translateY(18px); opacity: .55; }
.card.back2 { transform: scale(.88) translateY(36px); opacity: .25; }
.card.out-left { transform: translateX(-130%) rotate(-18deg); opacity: 0; }
.card.out-right { transform: translateX(130%) rotate(18deg); opacity: 0; }
.stamp { position: absolute; top: 28px; padding: 6px 14px; border: 3px solid; border-radius: 12px; font-weight: 800; font-size: 24px; letter-spacing: .06em; opacity: 0; transition: opacity .2s; background: rgba(0, 0, 0, .25); }
.stamp.yes { left: 20px; color: #7be07b; transform: rotate(-12deg); }
.stamp.no { right: 20px; color: #ff8a8f; transform: rotate(12deg); }
.card.out-right .stamp.yes, .card.out-left .stamp.no { opacity: 1; }
.card.placeholder { display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 14px; text-align: center; color: rgba(255, 255, 255, .8); font-weight: 700; padding: 30px; }
.card.placeholder .ph-ic { width: 72px; height: 72px; border-radius: 50%; background: rgba(255, 255, 255, .12); display: flex; align-items: center; justify-content: center; }
.deck-btns { display: flex; justify-content: center; gap: 22px; margin-top: 22px; }
.r { width: 66px; height: 66px; border-radius: 50%; border: 0; display: flex; align-items: center; justify-content: center; transition: transform .15s var(--ease); box-shadow: 0 12px 30px rgba(0, 0, 0, .35); }
.r:hover { transform: scale(1.07); } .r:active { transform: scale(.92); }
.r.pass { background: #fff; color: var(--danger); }
.r.like { background: linear-gradient(140deg, var(--gold), #ffcf3a); color: var(--brand); width: 74px; height: 74px; }
.r.like svg { fill: var(--brand); }

/* people grid */
.people { max-width: 1180px; margin: 0 auto; padding: 10px clamp(16px, 4vw, 48px) 60px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
.tile { position: relative; aspect-ratio: 3/4; border-radius: 20px; overflow: hidden; background: var(--bg-2); cursor: pointer; border: 0; padding: 0; text-align: left; transition: transform .25s var(--ease); }
.tile:hover { transform: translateY(-4px); }
.tile img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s var(--ease); }
.tile:hover img { transform: scale(1.04); }
.tile .info { position: absolute; left: 0; right: 0; bottom: 0; padding: 50px 14px 14px; background: linear-gradient(transparent, rgba(10, 3, 7, .85)); }
.tile b { display: block; font-size: 18px; font-weight: 800; margin-bottom: 7px; }
.tile b span { font-weight: 500; }
.tile .pill { font-size: 12px; padding: 4px 9px; }
.more { display: flex; justify-content: center; margin-top: 34px; }

/* footer */
.foot { border-top: 1px solid var(--line); padding: 28px clamp(16px, 4vw, 48px) calc(32px + env(safe-area-inset-bottom, 0px)); display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; max-width: 1180px; margin: 0 auto; color: var(--muted); font-size: 14px; }
.foot nav { display: flex; gap: 20px; flex: 1; }
.foot nav a:hover { color: #fff; }
.foot p { width: 100%; margin: 0; font-size: 12.5px; }

/* sign-up gate */
.gate { position: fixed; inset: 0; z-index: 50; background: rgba(8, 2, 5, .72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); display: flex; align-items: center; justify-content: center; padding: 18px; animation: fade .2s; }
@keyframes fade { from { opacity: 0; } }
.gate-card { position: relative; width: 100%; max-width: 380px; background: #fff; color: #1b1418; border-radius: 26px; padding: 24px; text-align: center; animation: pop .3s var(--ease); }
@keyframes pop { from { transform: scale(.94); opacity: 0; } }
.gate-card h2 { margin: 16px 0 18px; font-size: 22px; letter-spacing: -0.02em; }
.gate-card .solid { background: var(--brand); color: #fff; }
.ghost-dark { padding: 14px; font-weight: 700; color: var(--brand); justify-content: center; margin-top: 6px; border-radius: 999px; }
.gate-x { position: absolute; top: 12px; right: 12px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: #f3eef0; color: #1b1418; display: flex; align-items: center; justify-content: center; z-index: 2; }
.gate-photo { width: 120px; height: 150px; border-radius: 20px; margin: 6px auto 0; background: linear-gradient(160deg, var(--brand-400), var(--brand)); overflow: hidden; }
.gate-photo img { width: 100%; height: 100%; object-fit: cover; filter: blur(3px) saturate(1.1); transform: scale(1.1); }
.steps { text-align: left; padding-left: 22px; margin: 0 0 20px; line-height: 2; }
.steps svg { vertical-align: -3px; }

/* Timeline preview */
.tl { max-width: 680px; margin: 0 auto; padding: 10px clamp(16px, 4vw, 48px) 60px; }
.tl h2 { font-size: clamp(26px, 4vw, 36px); font-weight: 800; letter-spacing: -0.03em; margin: 0 0 18px; }
.tl-compose { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 12px 12px 14px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, .06); color: var(--muted); font: inherit; font-size: 15px; text-align: left; cursor: pointer; transition: background .2s; }
.tl-compose:hover { background: rgba(255, 255, 255, .1); }
.tl-compose > span:nth-child(2) { flex: 1; }
.tl-compose b { background: var(--gold); color: #1b1418; border-radius: 999px; padding: 8px 18px; font-size: 14px; }
.tl-av { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, var(--brand-400), var(--brand)); color: #fff; font-weight: 700; font-size: 14px; }
.tl-feed { display: grid; gap: 12px; margin-top: 16px; }
.tl-post { background: rgba(255, 255, 255, .05); border: 1px solid var(--line); border-radius: 20px; padding: 16px 18px 12px; cursor: pointer; transition: background .2s, transform .2s var(--ease); }
.tl-post:hover { background: rgba(255, 255, 255, .08); transform: translateY(-2px); }
.tl-head { display: flex; align-items: center; gap: 11px; }
.tl-head b { display: block; font-size: 15px; }
.tl-head small { color: var(--muted); font-size: 12.5px; }
.tl-post p { margin: 10px 0 12px; font-size: 15.5px; line-height: 1.5; color: rgba(255, 255, 255, .92); white-space: pre-wrap; overflow-wrap: anywhere; }
.tl-post .pill { font-size: 12px; padding: 4px 10px; background: rgba(255, 255, 255, .1); }
.tl-acts { display: flex; gap: 22px; margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13.5px; font-weight: 600; }
.tl-acts span { display: inline-flex; align-items: center; gap: 6px; }
.gate-sub { color: #75696f; margin: -8px 0 18px; font-size: 14.5px; line-height: 1.45; }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; min-height: 0; padding-top: 4px; gap: 26px; }
  .hero-copy { text-align: center; }
  .hero h1 { font-size: clamp(42px, 12vw, 64px); }
  .cta { justify-content: center; margin-top: 22px; }
  .stat { justify-content: center; }
  .deck-wrap { max-width: 360px; }
  .bar .ghost { padding: 9px 12px; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .foot nav { flex-wrap: wrap; }
}
.bar a { white-space: nowrap; }
@media (max-width: 560px) { .bar .solid { display: none; } .bar .ghost { background: rgba(255, 255, 255, .1); } }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }
