/* Neon Core's page. */

.hero { min-height: 100svh; display: grid; align-items: center; padding: 130px 0 90px; overflow: hidden; isolation: isolate; }
.hero .field { z-index: -1; }
.hero::after { content: ''; position: absolute; inset: auto 0 0 0; height: 26%; z-index: -1; pointer-events: none; background: linear-gradient(to bottom, transparent, var(--void)); }
.hero-inner { max-width: 620px; }
@media (max-width: 759px) {
  .hero { align-items: end; padding-bottom: 70px; }
  .hero .field { opacity: 0.55; }
  .hero-inner { text-align: center; margin: 0 auto; }
  .hero .store-row, .hero .hero-meta { justify-content: center; }
}
.app-icon { width: 88px; height: 88px; border-radius: 22px; box-shadow: 0 0 0 1px rgba(34, 243, 255, 0.35), 0 16px 50px -12px rgba(34, 243, 255, 0.8); margin-bottom: 22px; }
@media (max-width: 759px) { .app-icon { margin: 0 auto 18px; width: 76px; height: 76px; } }
.logo { font-size: clamp(56px, 11vw, 124px); margin: 14px 0 0; }
.logo span { display: block; }
.hero .lead { margin: 24px 0 32px; }
@media (max-width: 759px) { .hero .lead { margin-left: auto; margin-right: auto; } }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 20px; color: var(--muted); font-size: 14px; font-weight: 600; }
.hero-meta span::before { content: '◆ '; color: var(--cyan); }

/* Invite banner */
.invite {
  position: fixed; left: 50%; top: 82px; z-index: 60; width: min(560px, calc(100% - 32px)); transform: translate(-50%, -20px);
  opacity: 0; pointer-events: none; transition: opacity 0.4s, transform 0.4s;
  padding: 18px 20px; border-radius: 20px; background: rgba(13, 8, 48, 0.92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 61, 200, 0.5); box-shadow: 0 20px 60px -20px rgba(255, 61, 200, 0.7);
}
.invite.is-on { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.invite b.title { display: block; font-size: 18px; margin-bottom: 4px; }
.invite p { margin: 0 0 12px; color: var(--muted); font-size: 15px; }
.invite .code-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.invite code {
  font: 700 22px var(--ui); letter-spacing: 0.18em; padding: 6px 14px; border-radius: 10px; color: #ffe1f6;
  background: rgba(255, 61, 200, 0.12); border: 1px dashed rgba(255, 61, 200, 0.6); text-shadow: 0 0 12px rgba(255, 61, 200, 0.8);
}
.invite .small-btn { font: 700 14px var(--ui); padding: 9px 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--panel); color: var(--text); cursor: pointer; }
.invite .small-btn:hover { border-color: var(--cyan); }
.invite .close { position: absolute; top: 8px; right: 10px; background: none; border: 0; color: var(--muted); font-size: 22px; cursor: pointer; line-height: 1; padding: 6px; }

/* Stats */
.stats { padding: 0; margin-top: -30px; }
.stats .grid { display: grid; grid-template-columns: repeat(4, 1fr); }
@media (max-width: 760px) { .stats .grid { grid-template-columns: repeat(2, 1fr); } }
.stat { padding: 28px 18px; text-align: center; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
@media (max-width: 760px) { .stat:nth-child(2) { border-right: 0; } .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }
.stat b { display: block; font: 400 clamp(40px, 6vw, 60px) var(--neon); line-height: 1.1; color: #d9fdff; text-shadow: 0 0 18px rgba(34, 243, 255, 0.75); }
.stat:nth-child(2) b { color: #ffe1f6; text-shadow: 0 0 18px rgba(255, 61, 200, 0.75); }
.stat:nth-child(3) b { color: #f2ffd6; text-shadow: 0 0 18px rgba(198, 255, 61, 0.7); }
.stat:nth-child(4) b { color: #ffeccc; text-shadow: 0 0 18px rgba(255, 138, 31, 0.75); }
.stat span { color: var(--muted); font-weight: 600; font-size: 15px; }

/* Modes */
.modes { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-top: 52px; }
@media (max-width: 900px) { .modes { grid-template-columns: 1fr; } }
.mode { display: grid; grid-template-columns: 1fr 190px; gap: 22px; padding: 30px; overflow: hidden; position: relative; }
@media (max-width: 520px) { .mode { grid-template-columns: 1fr; } .mode .shot { max-width: 220px; margin: 0 auto; } }
.mode::before { content: ''; position: absolute; width: 320px; height: 320px; border-radius: 50%; filter: blur(70px); opacity: 0.35; right: -120px; top: -120px; z-index: -1; background: var(--cyan); }
.mode.classic::before { background: var(--pink); }
.mode .tag { font-size: 13px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--cyan); }
.mode.classic .tag { color: #ff8fe0; }
.mode h3 { margin: 8px 0 12px; font-size: 30px; line-height: 1.1; }
.mode ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; color: var(--muted); }
.mode li { position: relative; padding-left: 22px; }
.mode li::before { content: ''; position: absolute; left: 2px; top: 0.62em; width: 8px; height: 8px; transform: rotate(45deg); border: 2px solid var(--cyan); box-shadow: 0 0 8px var(--cyan); }
.mode.classic li::before { border-color: var(--pink); box-shadow: 0 0 8px var(--pink); }
.shot { width: 100%; height: auto; border-radius: 18px; overflow: hidden; box-shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 255, 255, 0.08); align-self: center; }

/* Screenshot rail */
.rail-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.rail-btns { display: flex; gap: 10px; }
.rail-btns button {
  width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: var(--panel); color: var(--text);
  font-size: 20px; cursor: pointer; transition: border-color 0.2s, transform 0.15s;
}
.rail-btns button:hover { border-color: var(--cyan); transform: scale(1.06); }
.rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(280px, 72vw); gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 40px var(--gutter) 30px; margin: 0 calc(-1 * var(--gutter)); scrollbar-width: none; overscroll-behavior-x: contain;
}
.rail::-webkit-scrollbar { display: none; }
.rail figure { margin: 0; scroll-snap-align: center; transition: transform 0.4s cubic-bezier(.2,.7,.2,1); }
.rail figure:hover { transform: translateY(-8px); }
.rail img { border-radius: 26px; box-shadow: 0 30px 70px -30px rgba(34, 243, 255, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.08); aspect-ratio: 1320 / 2868; width: 100%; height: auto; background: var(--deep); }

/* Features */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 48px; }
@media (max-width: 1000px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .features { grid-template-columns: 1fr; } }
.feature { padding: 24px 22px; transition: border-color 0.25s, transform 0.25s; }
.feature:hover { border-color: rgba(34, 243, 255, 0.5); transform: translateY(-4px); }
.feature svg { width: 30px; height: 30px; margin-bottom: 14px; filter: drop-shadow(0 0 8px currentColor); }
.feature h3 { margin: 0 0 6px; font-size: 19px; }
.feature p { margin: 0; color: var(--muted); font-size: 15px; }

/* Invite friends */
.friends { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; padding: clamp(30px, 5vw, 56px); overflow: hidden; position: relative; }
@media (max-width: 860px) { .friends { grid-template-columns: 1fr; } }
.friends::before { content: ''; position: absolute; inset: -40%; background: conic-gradient(from 0deg, transparent, rgba(255, 61, 200, 0.18), transparent 30%, rgba(34, 243, 255, 0.16), transparent 60%); animation: spin 18s linear infinite; z-index: -1; }
@keyframes spin { to { transform: rotate(360deg); } }
.steps { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: center; color: var(--muted); }
.steps li::before {
  content: counter(step); width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-weight: 700; color: var(--text);
  background: rgba(255, 61, 200, 0.12); border: 1px solid rgba(255, 61, 200, 0.45);
}
.ticket {
  justify-self: center; text-align: center; padding: 28px 34px; border-radius: 22px; border: 2px dashed rgba(255, 61, 200, 0.55);
  background: rgba(13, 8, 48, 0.7); transform: rotate(-3deg); box-shadow: 0 30px 70px -30px rgba(255, 61, 200, 0.7);
}
.ticket small { display: block; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); font-weight: 700; font-size: 12px; }
.ticket b { display: block; font: 400 46px var(--neon); margin: 8px 0; color: #ffe1f6; text-shadow: 0 0 16px rgba(255, 61, 200, 0.9); letter-spacing: 0.08em; }

/* FAQ */
.faq { max-width: 820px; margin: 44px auto 0; display: grid; gap: 12px; }
.faq details { padding: 0; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 24px; font-weight: 700; font-size: 18px; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--cyan); font-size: 24px; line-height: 1; transition: transform 0.25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0; padding: 0 24px 22px; color: var(--muted); }

/* Final call */
.final { text-align: center; overflow: hidden; isolation: isolate; }
.final .field { z-index: -1; opacity: 0.8; }
.final h2 { font-size: clamp(44px, 9vw, 104px); margin: 0 0 18px; }
.final .lead { margin: 0 auto 34px; }
.final .store-row { justify-content: center; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
