:root { --gc: #ff3d5e; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; height: 100%; background: #000; color: #fff; overflow: hidden; font-family: "Helvetica Neue", Arial, "Hiragino Sans", "Apple SD Gothic Neo", Thonburi, sans-serif; -webkit-user-select: none; user-select: none; }
#c { position: fixed; inset: 0; width: 100vw; height: 100vh; height: 100dvh; display: block; }

.logo { position: fixed; top: calc(14px + env(safe-area-inset-top)); left: 16px; font-weight: 900; letter-spacing: .18em; font-size: 13px; color: #fff; text-shadow: 0 0 10px rgba(255,61,94,.8), 0 0 2px #fff; pointer-events: none; }
.hint { position: fixed; left: 0; right: 0; bottom: calc(18px + env(safe-area-inset-bottom)); text-align: center; font-size: 13px; opacity: .75; pointer-events: none; text-shadow: 0 1px 6px #000; }

/* 1 · the feed */
.feed { position: fixed; inset: 0; background: #0a0005; overflow: hidden; display: grid; place-items: center; animation: feedbg .55s steps(1) infinite; }
@keyframes feedbg { 0% { background: #12000a } 33% { background: #001018 } 66% { background: #140f00 } }
.feed__bar { position: absolute; top: calc(10px + env(safe-area-inset-top)); left: 16px; right: 16px; height: 4px; background: rgba(255,255,255,.18); border-radius: 4px; overflow: hidden; }
.feed__bar i { display: block; height: 100%; width: 0; background: #fff; }
.feed__cap { padding: 0 16px; text-align: center; font-weight: 900; font-size: clamp(40px, 13vw, 96px); line-height: .95; letter-spacing: -.02em; color: #fff; -webkit-text-stroke: 2px #000; paint-order: stroke fill; text-shadow: 0 6px 0 #000; }
.feed__cap.pop { animation: cap .32s cubic-bezier(.2,1.8,.4,1) both; }
@keyframes cap { from { transform: scale(1.9) rotate(var(--r, 0deg)); opacity: 0 } to { transform: scale(1) rotate(var(--r, 0deg)); opacity: 1 } }
.feed__arrow { position: absolute; width: 0; height: 0; border-left: 34px solid transparent; border-right: 34px solid transparent; border-top: 56px solid #ff1f3d; filter: drop-shadow(0 0 14px #ff1f3d); animation: bob .4s ease-in-out infinite alternate; }
.feed__arrow.a1 { left: 12%; bottom: 22%; transform: rotate(-24deg); }
.feed__arrow.a2 { right: 10%; top: 20%; transform: rotate(150deg); animation-delay: .2s; }
@keyframes bob { to { translate: 0 14px; } }
.feed__skip { position: absolute; right: 16px; bottom: calc(26px + env(safe-area-inset-bottom)); font: 700 15px/1 inherit; font-family: inherit; color: #fff; background: rgba(0,0,0,.55); border: 1px solid rgba(255,255,255,.45); padding: 12px 18px; border-radius: 4px; }
.feed__skip:not(:disabled) { cursor: pointer; background: rgba(0,0,0,.8); }
.feed.cut { animation: none; background: #000; }
.feed.cut > * { display: none; }

/* 2 · silence */
.quiet { position: fixed; inset: 0; background: #000; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 24px 22px calc(24px + env(safe-area-inset-bottom)); text-align: center; transition: opacity 1.4s ease; }
.quiet.gone { opacity: 0; pointer-events: none; }
.q { margin: 0; font-size: clamp(20px, 5.6vw, 30px); line-height: 1.35; font-weight: 300; color: #efe6d8; opacity: 0; transform: translateY(6px); transition: opacity 1.6s ease, transform 1.6s ease; }
.q.on { opacity: 1; transform: none; }
.q:first-child { font-weight: 600; color: #fff; margin-bottom: 14px; }
.enter { margin-top: 34px; font: 800 18px/1 inherit; font-family: inherit; color: #1a0d06; background: linear-gradient(#ffe3a6, #ffbf55); border: 0; border-radius: 999px; padding: 17px 42px; box-shadow: 0 10px 40px rgba(255,170,60,.35); opacity: 0; transition: opacity 1.2s ease; cursor: pointer; }
.enter.on { opacity: 1; }

/* 3 · door card */
.card, .why { position: fixed; inset: 0; display: flex; align-items: flex-end; justify-content: center; padding: 16px 16px calc(18px + env(safe-area-inset-bottom)); background: linear-gradient(to top, rgba(0,0,0,.82) 0%, rgba(0,0,0,.35) 45%, rgba(0,0,0,0) 70%); animation: up .5s ease both; }
@keyframes up { from { opacity: 0 } to { opacity: 1 } }
.card__box, .why__box { width: min(440px, 100%); text-align: left; animation: rise .55s cubic-bezier(.2,1.2,.4,1) both; }
@keyframes rise { from { transform: translateY(30px); opacity: 0 } to { transform: none; opacity: 1 } }
.card__min { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .12em; color: #000; background: var(--gc); padding: 5px 9px; border-radius: 4px; }
.card h2 { margin: 10px 0 8px; font-size: clamp(32px, 10vw, 52px); line-height: .95; font-weight: 900; letter-spacing: -.01em; color: #fff; text-shadow: 0 0 22px var(--gc), 0 0 2px #fff; }
.card p { margin: 0 0 18px; font-size: 17px; line-height: 1.4; color: #f2eadf; }
.card__play { display: block; text-align: center; font-weight: 900; font-size: 18px; color: #000; background: var(--gc); padding: 17px; border-radius: 14px; text-decoration: none; box-shadow: 0 0 30px var(--gc); }
.card__soon { text-align: center; font-weight: 700; font-size: 15px; padding: 16px; border-radius: 14px; border: 1px dashed rgba(255,255,255,.45); color: #fff; }
.card__close { display: block; width: 100%; margin-top: 10px; font: 700 15px/1 inherit; font-family: inherit; color: #fff; background: transparent; border: 0; padding: 12px; opacity: .8; cursor: pointer; }
.why { align-items: center; background: radial-gradient(circle at 50% 45%, rgba(255,200,130,.25), rgba(0,0,0,.85) 75%); }
.why__box { text-align: center; }
.m { margin: 0 0 10px; font-size: clamp(19px, 5.4vw, 26px); line-height: 1.35; color: #f6ecdd; opacity: 0; animation: rise .9s ease both; }
.m.strong { font-weight: 800; color: #fff; }
#m1 { animation-delay: .8s } #m2 { animation-delay: 1.8s; margin-top: 18px } #m3 { animation-delay: 2.6s }
.why__by { display: inline-block; margin-top: 26px; color: #ffcf7a; font-weight: 700; text-decoration: none; opacity: 0; animation: rise .9s 3.4s ease both; }
.bootfail { position: fixed; inset: auto 16px 40px; text-align: center; background: #111; padding: 14px; border-radius: 12px; }
@media (prefers-reduced-motion: reduce) { .feed, .feed__arrow, .feed__cap.pop { animation: none } }
