/* Сайт soqqa.club. Цвета, логотип, свет и кнопки магазинов — по макету Figma «WEB» (Бура.fig, 1725:10440). */

:root {
  --felt: #51694e;
  --white: #fff;
  --text: #fff;
  --muted: rgba(255, 255, 255, 0.86);
  --line: rgba(255, 255, 255, 0.16);
  --panel: rgba(18, 28, 17, 0.22);
  --font: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--felt);
  color: var(--text);
  font: 16px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
}

/* Текстура сукна лежит на весь экран и не уезжает при прокрутке. */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  background: url('texture.webp') center / cover no-repeat;
  pointer-events: none;
}

a {
  color: inherit;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

a:hover {
  text-decoration-thickness: 2px;
}

:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip {
  position: absolute;
  left: 16px;
  top: -48px;
  padding: 8px 12px;
  background: #000;
  border-radius: 8px;
  z-index: 10;
}

.skip:focus {
  top: 16px;
}

/* Верхняя строка: язык (на главной), логотип и язык (на остальных страницах). */
.topbar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  padding: 20px clamp(20px, 4vw, 48px);
}

.topbar--page {
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.topbar--home {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 2;
}

.lang {
  display: flex;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.lang a {
  display: block;
  min-width: 44px;
  padding: 10px 8px;
  text-align: center;
  text-decoration: none;
  color: var(--muted);
  border-radius: 8px;
}

.lang a:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.lang a[aria-current='page'] {
  color: var(--white);
  background: rgba(255, 255, 255, 0.14);
}

/* Логотип SOQQA CLUB из отдельных букв и мастей макета (1725:10448, 477 × 150). */
.logo {
  position: relative;
  display: block;
  width: 477px;
  aspect-ratio: 477 / 150;
}

.logo img {
  position: absolute;
  display: block;
  max-width: none;
}

.logo .l {
  top: 0;
  width: 19.084%;
  height: 60.611%;
}

.logo .l1 { left: 0; }
.logo .l2 { left: 20.229%; }
.logo .l3 { left: 40.458%; }
.logo .l4 { left: 60.687%; }
.logo .l5 { left: 80.916%; }

.logo .s-diamond { left: 5.616%; top: 75.756%; width: 7.023%; height: 24.244%; }
.logo .s-spade { left: 20.807%; top: 75.756%; width: 7.023%; height: 24.243%; }
.logo .club { left: 37.13%; top: 77.279%; width: 27.814%; height: 21.82%; }
.logo .s-heart { left: 73.746%; top: 76.727%; width: 7.634%; height: 22.305%; }
.logo .s-club { left: 87.105%; top: 76.727%; width: 7.634%; height: 22.305%; }

.logo--small {
  width: 132px;
}

/* Первый экран: логотип со светом и кнопки магазинов, как на макете 1920 × 1080. */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  min-height: 100svh;
  /* Верхний отступ ставит логотип на высоту макета (верх логотипа на 425 из 1080). */
  padding: clamp(96px, 14vh, 150px) 20px 0;
  overflow: hidden;
}

.hero h1 {
  margin: 0;
}

.hero .logo {
  width: min(477px, 78vw);
}

/* Свет за логотипом: круг 450 из макета с размытием, картинка 850 × 850 с центром на логотипе. */
.glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 178.2%;
  height: auto;
  aspect-ratio: 1;
  transform: translate(-50.1%, -50%);
  max-width: none;
  pointer-events: none;
  z-index: -1;
}

.logo-wrap {
  position: relative;
  z-index: 0;
}

.store-block {
  position: relative;
  margin-top: clamp(96px, 15.7vh, 170px);
}

.stores {
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.stores li {
  display: block;
}

.stores img {
  display: block;
  width: min(200px, calc((100vw - 60px) / 2));
  height: auto;
  aspect-ratio: 200 / 60;
}

.stores [aria-disabled='true'] {
  cursor: default;
}

.soon {
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  margin: 14px 0 0;
  font-size: 14px;
  color: var(--muted);
  text-align: center;
}

.scroll-cue {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--muted);
  text-decoration: none;
  border-radius: 50%;
}

.scroll-cue:hover {
  color: var(--white);
}

.scroll-cue svg {
  width: 22px;
  height: 22px;
}

/* О приложении. */
.about {
  max-width: 1080px;
  margin: 0 auto;
  padding: 72px clamp(20px, 4vw, 48px) 40px;
}

.about h2 {
  margin: 0 0 16px;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-align: center;
}

.about .lead {
  max-width: 720px;
  margin: 0 auto 48px;
  font-size: 18px;
  color: var(--muted);
  text-align: center;
  text-wrap: pretty;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.features li {
  padding: 24px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
}

.features .suit {
  display: block;
  width: 28px;
  height: 28px;
  margin-bottom: 14px;
  object-fit: contain;
}

.features h3 {
  margin: 0 0 6px;
  font-size: 18px;
  line-height: 1.3;
}

.features p {
  margin: 0;
  font-size: 15px;
  color: var(--muted);
}

/* Подвал. */
.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 24px;
  margin-top: 48px;
  padding: 28px 20px 36px;
  font-size: 15px;
  line-height: 24px;
  border-top: 1px solid var(--line);
}

.footer a {
  color: var(--white);
}

/* Текстовые страницы: политика конфиденциальности. */
.doc {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px clamp(20px, 4vw, 32px) 24px;
}

.doc h1 {
  margin: 0 0 8px;
  font-size: clamp(30px, 5vw, 42px);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.doc .date {
  margin: 0 0 32px;
  color: var(--muted);
}

.doc h2 {
  margin: 44px 0 12px;
  font-size: 22px;
  line-height: 1.3;
  scroll-margin-top: 24px;
}

.doc h3 {
  margin: 24px 0 6px;
  font-size: 17px;
}

.doc p,
.doc li {
  color: var(--muted);
}

.doc strong {
  color: var(--white);
}

.doc ul {
  padding-left: 22px;
}

.doc li + li {
  margin-top: 6px;
}

.doc .intro {
  padding: 20px 24px;
  font-size: 17px;
  color: var(--white);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
}

.toc {
  margin: 32px 0 0;
  padding: 20px 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
}

.toc h2 {
  margin: 0 0 8px;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.toc ol {
  margin: 0;
  padding-left: 22px;
  columns: 2 260px;
  column-gap: 32px;
}

.toc li {
  break-inside: avoid;
}

@media (max-width: 560px) {
  .topbar--page .logo--small {
    width: 108px;
  }

  .about .lead {
    font-size: 17px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

@media print {
  body::before,
  .topbar,
  .footer {
    display: none;
  }

  body {
    background: #fff;
    color: #000;
  }

  .doc p,
  .doc li,
  .doc .date,
  .doc strong {
    color: #000;
  }
}

.doc--center {
  padding-top: 20vh;
  text-align: center;
}
