/* =========================================================================
   Визитка клуба (landing.js): ночная неоновая вывеска. Шрифты — свои файлы (CSP: только 'self'):
   Unbounded — вывеска и заголовки, Golos Text — текст (SIL OFL, public/fonts/OFL.txt).
   Цвета — переменные темы клуба (--accent, --line…); у Фи-Ши — тема «неон».
   ========================================================================= */

@font-face { font-family: 'Unbounded'; src: url('fonts/unbounded-cyrillic.woff2') format('woff2'); font-weight: 400 900; font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Unbounded'; src: url('fonts/unbounded-latin.woff2') format('woff2'); font-weight: 400 900; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Golos Text'; src: url('fonts/golostext-cyrillic.woff2') format('woff2'); font-weight: 400 700; font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Golos Text'; src: url('fonts/golostext-latin.woff2') format('woff2'); font-weight: 400 700; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

body:has(.lp) { overflow-x: clip; }
.lp { overflow-x: clip; }   /* наклонная лента и фишки не расширяют страницу на телефоне */
.panel.panel--bare { background: none; border: none; padding: 0; }

.lp {
  --lp-neon: var(--neon, #3d8bff);
  --lp-light: var(--neon-light, var(--accent-bright, #a9d2ff));
  --lp-ink: var(--ink, #0a0a0b);
  --lp-text: var(--text, #eef4ff);
  --lp-muted: var(--muted, #7f8aa3);
  --lp-glow: 0 0 6px rgba(61, 139, 255, .9), 0 0 22px rgba(61, 139, 255, .55), 0 0 60px rgba(61, 139, 255, .35);
  font-family: 'Golos Text', var(--sans);
  color: var(--lp-text);
  margin: 0 calc(50% - 50vw) calc(-1 * clamp(14px, 3vw, 28px));   /* во всю ширину экрана из колонки сайта */
}
.lp-h { font-family: 'Unbounded', var(--sans); font-weight: 800; font-size: clamp(1.6rem, 4.6vw, 3.1rem); line-height: 1.05;
  letter-spacing: -.01em; margin: 0 0 14px; text-transform: uppercase; color: var(--lp-text); }
.lp-h3 { font-family: 'Unbounded', var(--sans); font-weight: 700; font-size: 1rem; letter-spacing: .06em; text-transform: uppercase;
  color: var(--lp-light); margin: 0 0 12px; }
.lp-lead { color: var(--lp-muted); max-width: 640px; margin: 0 0 24px; line-height: 1.55; font-size: 1.02rem; }
.lp-sec { padding: clamp(56px, 9vw, 120px) clamp(16px, 6vw, 96px); position: relative; }
.lp-sec + .lp-sec { border-top: 1px solid rgba(61, 139, 255, .12); }

/* --- появление при прокрутке: лесенкой (--i из landing.js) --- */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1);
  transition-delay: calc(var(--i, 0) * 90ms); }
[data-reveal].is-in { opacity: 1; transform: none; }

/* ------------------------------- обложка ------------------------------- */
.lp-hero { position: relative; min-height: min(100svh, 920px); display: grid; align-items: end; overflow: hidden; isolation: isolate;
  padding: 0 clamp(16px, 6vw, 96px) clamp(64px, 10vh, 120px); }
.lp-hero__bg { position: absolute; inset: -4% -2%; background-size: cover; background-position: 50% 40%; z-index: -3;
  transform: translateY(var(--by, 0px)) scale(1.06); animation: lp-kenburns 24s ease-in-out infinite alternate; filter: saturate(1.1) contrast(1.05); }
@keyframes lp-kenburns { to { background-position: 46% 52%; scale: 1.12; } }
.lp-hero__veil { position: absolute; inset: 0; z-index: -2;
  background: radial-gradient(120% 70% at 50% 110%, rgba(10, 10, 11, .96) 30%, rgba(10, 10, 11, .55) 65%, rgba(10, 10, 11, .25)),
              linear-gradient(90deg, rgba(10, 10, 11, .85), rgba(10, 10, 11, 0) 70%); }
.lp-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .08; mix-blend-mode: overlay;
  background-image: repeating-linear-gradient(0deg, #fff 0 1px, transparent 1px 3px); }   /* лёгкий «экранный» штрих */
.lp-hero__inner { max-width: 760px; }
.lp-eyebrow { font-family: 'Unbounded', var(--sans); font-size: .78rem; letter-spacing: .32em; text-transform: uppercase; color: var(--lp-light); margin: 0 0 10px; }

.lp-sign { font-family: 'Unbounded', var(--sans); font-weight: 900; font-size: clamp(3rem, 16.5vw, 8.5rem); line-height: .86; margin: 0;
  letter-spacing: -.02em; white-space: nowrap; color: #e6f1ff; }
.lp-sign__ch { display: inline-block; text-shadow: none; animation: lp-flicker 2.4s var(--d, 0s) both; }
@keyframes lp-flicker {
  0% { opacity: .05; text-shadow: none; } 8% { opacity: 1; text-shadow: var(--lp-glow); } 10% { opacity: .2; text-shadow: none; }
  16% { opacity: 1; text-shadow: var(--lp-glow); } 18% { opacity: .5; } 26%, 100% { opacity: 1; text-shadow: var(--lp-glow); }
}
.lp-badge { display: inline-flex; align-items: center; gap: 10px; margin: 20px 0 0; padding: 7px 14px; border-radius: 999px;
  border: 1px solid rgba(61, 139, 255, .6); font-family: 'Unbounded', var(--sans); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--lp-light); background: rgba(10, 10, 11, .55); backdrop-filter: blur(4px); }
.lp-badge__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lp-neon); box-shadow: 0 0 10px var(--lp-neon); animation: lp-pulse 1.6s ease-in-out infinite; }
@keyframes lp-pulse { 50% { opacity: .25; transform: scale(.7); } }
.lp-hero__sub { font-size: clamp(1.05rem, 2.2vw, 1.3rem); line-height: 1.5; color: #cfd9ee; max-width: 560px; margin: 18px 0 26px; }

.lp-chip { position: absolute; z-index: -1; opacity: .9; filter: drop-shadow(0 18px 40px rgba(0, 0, 0, .6)); pointer-events: none;
  transform: translateY(var(--py, 0px)) rotate(var(--r, 0deg)); animation: lp-float 9s ease-in-out infinite; }
.lp-chip--a { width: clamp(90px, 13vw, 180px); right: 8%; top: 14%; --r: -18deg; }
.lp-chip--b { width: clamp(60px, 8vw, 120px); right: 26%; top: 40%; --r: 22deg; animation-delay: -3s; opacity: .7; }
.lp-chip--c { width: clamp(120px, 18vw, 260px); right: -3%; bottom: 8%; --r: 8deg; animation-delay: -6s; opacity: .55; filter: blur(1.5px) drop-shadow(0 18px 40px rgba(0, 0, 0, .6)); }
@keyframes lp-float { 50% { translate: 0 -14px; rotate: 6deg; } }

.lp-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.lp-btn { font-family: 'Unbounded', var(--sans); font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: 14px 22px; border-radius: 10px; border: 1px solid rgba(169, 210, 255, .45); background: rgba(10, 10, 11, .5); color: var(--lp-text);
  cursor: pointer; text-decoration: none; transition: transform .18s, box-shadow .18s, background .18s; }
.lp-btn:hover { transform: translateY(-2px); background: rgba(61, 139, 255, .12); }
.lp-btn--neon { background: var(--lp-light); color: var(--lp-ink); border-color: transparent; box-shadow: 0 0 22px rgba(61, 139, 255, .55); }
.lp-btn--neon:hover { background: #cfe5ff; box-shadow: 0 0 34px rgba(61, 139, 255, .8); }
.lp-btn--tg { border-color: #2aabee; color: #d9f1ff; }
.lp-btn--tg::before { content: "➤"; margin-right: .5em; color: #2aabee; }
.lp-btn--tg:hover { background: rgba(42, 171, 238, .14); }
.lp-scroll { position: absolute; left: 50%; bottom: 22px; width: 26px; height: 42px; margin-left: -13px; border: 2px solid rgba(169, 210, 255, .5); border-radius: 14px; }
.lp-scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--lp-light); animation: lp-wheel 1.8s infinite; }
@keyframes lp-wheel { 70% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }

/* ----------------------------- бегущая лента ----------------------------- */
.lp-tape { transform: rotate(-3deg) scale(1.04); margin: -26px 0 0; background: var(--lp-neon); color: var(--lp-ink); overflow: hidden;
  box-shadow: 0 0 40px rgba(61, 139, 255, .45); position: relative; z-index: 2; }
.lp-tape__track { display: flex; gap: 28px; width: max-content; padding: 13px 0; animation: lp-tape 32s linear infinite;
  font-family: 'Unbounded', var(--sans); font-weight: 800; font-size: clamp(.95rem, 2vw, 1.25rem); text-transform: uppercase; white-space: nowrap; }
.lp-tape__track i { font-style: normal; opacity: .5; }
@keyframes lp-tape { to { transform: translateX(-50%); } }

/* --------------------------------- о нас --------------------------------- */
.lp-about { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(28px, 6vw, 80px); align-items: start; }
.lp-about__text p { font-size: 1.12rem; line-height: 1.65; color: #cfd9ee; margin: 0; }
.lp-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 14px; }
.lp-fact { border: 1px solid rgba(61, 139, 255, .22); border-radius: 14px; padding: 20px 18px; background: linear-gradient(160deg, rgba(61, 139, 255, .1), rgba(10, 10, 11, .4));
  display: flex; flex-direction: column; gap: 4px; }
.lp-fact { aspect-ratio: 1; justify-content: flex-end; }   /* ровная сетка квадратов 2×2 */
.lp-fact b { font-family: 'Unbounded', var(--sans); font-size: clamp(1.9rem, 4vw, 2.7rem); font-weight: 900; color: var(--lp-light); text-shadow: 0 0 18px rgba(61, 139, 255, .5); }
.lp-fact span { font-weight: 600; }
.lp-fact small { color: var(--lp-muted); }

/* --------------------------------- неделя --------------------------------- */
.lp-days { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(230px, 1fr); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 6px 2px 18px; scrollbar-width: thin; }
.lp-day { scroll-snap-align: start; position: relative; border: 1px solid rgba(61, 139, 255, .2); border-radius: 16px; padding: 18px 18px 20px; min-height: 230px;
  background: #0d1015; overflow: hidden; }
.lp-day__d { display: block; font-family: 'Unbounded', var(--sans); font-weight: 900; font-size: 3.6rem; line-height: 1; color: rgba(169, 210, 255, .16);
  margin-bottom: 18px; }
.lp-day h3 { font-family: 'Unbounded', var(--sans); font-size: 1.02rem; text-transform: uppercase; letter-spacing: .03em; margin: 0 0 8px; }
.lp-day p { margin: 0; color: var(--lp-muted); line-height: 1.5; font-size: .95rem; }
.lp-day.is-today { border-color: var(--lp-neon); box-shadow: 0 0 0 1px var(--lp-neon), 0 0 30px rgba(61, 139, 255, .3); }
.lp-day.is-today .lp-day__d { color: #e6f1ff; text-shadow: var(--lp-glow); }
.lp-day__now { position: absolute; right: 16px; top: 20px; font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--lp-light); }

/* ----------------------------- путь к кольцу ----------------------------- */
.lp-steps { list-style: none; margin: 10px 0 0; padding: 0 0 0 36px; position: relative; max-width: 760px; }
.lp-steps::before { content: ""; position: absolute; left: 13px; top: 8px; bottom: 8px; width: 2px; background: var(--lp-neon);
  box-shadow: 0 0 12px var(--lp-neon); transform-origin: top; transform: scaleY(0); transition: transform 1.6s cubic-bezier(.4, .1, .2, 1) .2s; }
.lp-steps.is-in::before { transform: scaleY(1); }
.lp-step { position: relative; display: flex; gap: 18px; padding: 0 0 34px; }
.lp-step__n { position: absolute; left: -36px; top: 0; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  font-family: 'Unbounded', var(--sans); font-size: .8rem; font-weight: 800; background: var(--lp-ink); border: 2px solid var(--lp-neon); color: var(--lp-light); }
.lp-step:last-child .lp-step__n { background: var(--lp-light); color: var(--lp-ink); box-shadow: var(--lp-glow); }
.lp-step h3 { font-family: 'Unbounded', var(--sans); font-size: 1.1rem; text-transform: uppercase; margin: 2px 0 6px; }
.lp-step p { margin: 0; color: var(--lp-muted); line-height: 1.55; }

/* ---------------------------- хранители карт ---------------------------- */
.lp-keepers__row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 3vw, 32px); margin-top: 8px; }
.lp-keeper { background: none; border: 0; padding: 0; cursor: pointer; perspective: 900px; color: var(--lp-text); display: flex; flex-direction: column; align-items: center; gap: 12px; }
.lp-keeper { touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.lp-keeper__inner { position: relative; width: 100%; aspect-ratio: 1; transform-style: preserve-3d; container-type: inline-size;
  --t: 9cqw;                                     /* толщина фишки — от её размера */
  transform: rotateX(30deg) rotateY(calc(var(--ry, 0deg) - 16deg)); transition: transform .8s cubic-bezier(.3, .7, .2, 1); }
.lp-keeper:hover .lp-keeper__inner { transform: rotateX(36deg) rotateY(calc(var(--ry, 0deg) + 20deg)); }
.lp-keeper.is-turning .lp-keeper__inner { transition: none; transform: rotateX(30deg) rotateY(calc(var(--ry, 0deg) - 16deg)); cursor: grabbing; }
.lp-keeper__face { position: absolute; inset: 0; width: 100%; height: 100%; backface-visibility: hidden; border-radius: 50%;
  transform: translateZ(calc(var(--t) / 2)); }
.lp-keeper__back { transform: rotateY(180deg) translateZ(calc(var(--t) / 2)); }
/* ребро: полоски по окружности, каждая повёрнута наружу */
.lp-keeper__rim { position: absolute; inset: 0; transform-style: preserve-3d; pointer-events: none; }
.lp-keeper__rim i { position: absolute; left: 50%; top: 50%; width: calc(3.1416 * 100cqw / 48 + 1px); height: var(--t);
  margin: calc(var(--t) / -2) 0 0 calc((3.1416 * 100cqw / 48 + 1px) / -2);
  transform: rotateZ(var(--a)) translateY(-49.6cqw) rotateX(90deg);
  background: var(--chip-body, #17181c); filter: brightness(var(--l, 1)); backface-visibility: hidden; }
.lp-keeper__rim i.is-insert { background: var(--chip-insert, #e9e3d6); }
.lp-keeper__rim i::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, .25), transparent 30%, transparent 70%, rgba(0, 0, 0, .25)); }
.lp-keeper--common { --chip-body: #e4e6eb; --chip-insert: #4a5367; }
.lp-keeper--rare { --chip-insert: #a9d2ff; }
.lp-keeper--epic { --chip-insert: #c7a6ff; }
.lp-keeper--legendary { --chip-insert: #f2cf7f; }
/* тень под фишкой на «столе» */
.lp-keeper { position: relative; }
.lp-keeper::before { content: ""; position: absolute; left: 12%; right: 12%; top: calc(100% - 3.2rem); height: 14%;
  border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 0, 0, .55), transparent); filter: blur(4px); z-index: -1; }
.lp-keeper__name { font-family: 'Unbounded', var(--sans); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; }
.lp-keeper--common .lp-keeper__face { filter: drop-shadow(0 0 14px rgba(200, 210, 230, .25)); }
.lp-keeper--rare .lp-keeper__face { filter: drop-shadow(0 0 18px rgba(61, 139, 255, .55)); }
.lp-keeper--epic .lp-keeper__face { filter: drop-shadow(0 0 22px rgba(170, 120, 255, .6)); }
.lp-keeper--legendary .lp-keeper__face { filter: drop-shadow(0 0 28px rgba(255, 120, 120, .6)); }
.lp-hint { color: var(--lp-muted); font-size: .8rem; text-align: center; margin: 18px 0 0; }

/* -------------------------------- галерея -------------------------------- */
.lp-gallery__head { display: flex; align-items: end; justify-content: space-between; gap: 12px; }
.lp-arrows { display: flex; gap: 8px; }
.lp-arrow { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(169, 210, 255, .45); background: transparent; color: var(--lp-light); font-size: 1.4rem; cursor: pointer; }
.lp-shots { display: grid; grid-auto-flow: column; grid-auto-columns: min(78vw, 640px); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 14px; scrollbar-width: thin; }
.lp-shot { margin: 0; scroll-snap-align: start; position: relative; border-radius: 16px; overflow: hidden; border: 1px solid rgba(61, 139, 255, .18); }
.lp-shot img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; cursor: zoom-in; transition: transform 1.2s cubic-bezier(.2, .7, .2, 1); }
.lp-shot:hover img { transform: scale(1.04); }
.lp-shot figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 16px 12px; font-size: .9rem;
  background: linear-gradient(transparent, rgba(10, 10, 11, .9)); }
.lp-lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(0, 0, 0, .92); display: grid; place-items: center; padding: 16px; animation: fade .2s ease; cursor: zoom-out; }
.lp-lightbox img { max-width: 100%; max-height: 92vh; border-radius: 10px; box-shadow: 0 0 60px rgba(61, 139, 255, .25); }
.lp-lightbox__x { position: absolute; right: 16px; top: 16px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .3); background: none; color: #fff; font-size: 1.1rem; }

/* -------------------------------- новичку -------------------------------- */
.lp-nsteps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 8px 0 44px; }
.lp-nstep { border-top: 2px solid var(--lp-neon); padding-top: 16px; }
.lp-nstep b { font-family: 'Unbounded', var(--sans); font-size: 2.4rem; font-weight: 900; color: var(--lp-neon); text-shadow: 0 0 18px rgba(61, 139, 255, .5); }
.lp-nstep h3 { font-family: 'Unbounded', var(--sans); font-size: 1rem; text-transform: uppercase; margin: 8px 0 6px; }
.lp-nstep p { margin: 0; color: var(--lp-muted); line-height: 1.55; font-size: .95rem; }
.lp-newbie__cols { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); }
.lp-faq { border-bottom: 1px solid rgba(61, 139, 255, .16); }
.lp-faq summary { cursor: pointer; list-style: none; padding: 16px 34px 16px 0; font-weight: 600; font-size: 1.02rem; position: relative; }
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font-size: 1.4rem; color: var(--lp-light); transition: transform .25s; }
.lp-faq[open] summary::after { transform: rotate(45deg); }
.lp-faq p { margin: 0 0 16px; color: var(--lp-muted); line-height: 1.6; }
.lp-rules { margin: 0; padding-left: 1.2em; display: flex; flex-direction: column; gap: 10px; color: #cfd9ee; line-height: 1.5; }
.lp-rules li::marker { color: var(--lp-neon); font-weight: 700; }

/* ------------------------------- контакты ------------------------------- */
.lp-contact { text-align: center; display: flex; flex-direction: column; align-items: center; padding-bottom: clamp(70px, 10vw, 140px); }
.lp-neon-sign { font-family: 'Unbounded', var(--sans); font-weight: 900; font-size: clamp(2.2rem, 8vw, 5.6rem); line-height: 1; margin: 0 0 18px;
  text-transform: uppercase; color: #e6f1ff; text-shadow: var(--lp-glow);
  animation: lp-buzz 6s infinite; }
@keyframes lp-buzz { 0%, 91%, 95%, 100% { opacity: 1; } 92%, 94% { opacity: .35; } }
.lp-contact .lp-lead { margin-inline: auto; }
.lp-contact__line { display: block; color: var(--lp-text); font-size: 1.1rem; margin: 4px 0; text-decoration: none; }
.lp-contact .lp-cta { justify-content: center; margin-top: 18px; }

/* --------------------------------- телефон --------------------------------- */
@media (max-width: 820px) {
  .lp-about { grid-template-columns: 1fr; }
  .lp-keepers__row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lp-nsteps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lp-newbie__cols { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .lp-facts { grid-template-columns: 1fr 1fr; }
  .lp-fact { aspect-ratio: auto; min-height: 150px; }
  .lp-nsteps { grid-template-columns: 1fr; }
  .lp-chip--b { display: none; }
  .lp-arrows { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .lp *, .lp *::before { animation: none !important; transition: none !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .lp-sign__ch { text-shadow: var(--lp-glow); }
}
