/* Social Infinite — стили лендинга */
:root {
  --bg: #0d0e1a;
  --bg-2: #12132180;
  --surface: #171a2b;
  --surface-2: #1d2138;
  --line: #2a2f4a;
  --text: #eef0fb;
  --muted: #a4a8c4;
  --c1: #38e1ff;
  --c2: #b14bff;
  --gold: #ffce6b;
  --radius: 18px;
  --maxw: 1120px;
  --grad: linear-gradient(110deg, var(--c1), var(--c2));
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Manrope", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .brand-name { font-family: "Space Grotesk", "Manrope", sans-serif; }

a { color: inherit; }

img { max-width: 100%; display: block; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 22px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; background: var(--c1); color: #001018;
  padding: 10px 16px; border-radius: 0 0 10px 0; z-index: 100; font-weight: 600;
}
.skip-link:focus { left: 0; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px; font-weight: 600; font-size: 15px;
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--grad); color: #06121b; box-shadow: 0 8px 30px -10px var(--c2); }
.btn-primary:hover { box-shadow: 0 12px 36px -8px var(--c2); transform: translateY(-2px); }
.btn-ghost { border-color: var(--line); color: var(--text); background: #ffffff08; }
.btn-ghost:hover { border-color: var(--c1); }
.btn-sm { padding: 9px 16px; font-size: 14px; }

/* ── Header ── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: #0d0e1ad9; backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 20px; height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; }
.brand-mark { display: inline-flex; }
.brand-name { font-size: 19px; letter-spacing: .2px; }
.nav { margin-left: auto; display: flex; gap: 26px; }
.nav a { text-decoration: none; color: var(--muted); font-weight: 500; font-size: 15px; transition: color .15s; }
.nav a:hover { color: var(--text); }

.lang-switch { display: flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.lang-switch button {
  background: transparent; color: var(--muted); border: 0; padding: 7px 13px;
  font: inherit; font-size: 13px; font-weight: 600; cursor: pointer;
}
.lang-switch button.is-active { background: var(--grad); color: #06121b; }

/* ── Hero ── */
.hero { position: relative; overflow: hidden; padding: 96px 0 84px; }
.hero-glow {
  position: absolute; inset: -30% 0 auto 0; height: 600px; pointer-events: none;
  background:
    radial-gradient(50% 60% at 25% 20%, #38e1ff33, transparent 70%),
    radial-gradient(45% 55% at 80% 10%, #b14bff33, transparent 70%);
  filter: blur(10px);
}
.hero-inner { position: relative; text-align: center; }
.eyebrow {
  text-transform: uppercase; letter-spacing: 3px; font-size: 13px; font-weight: 600;
  color: var(--c1); margin: 0 0 14px;
}
.hero-title { font-size: clamp(44px, 9vw, 96px); line-height: 1.02; margin: 0 0 22px; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-lead { max-width: 640px; margin: 0 auto 32px; font-size: clamp(17px, 2.2vw, 20px); color: var(--muted); }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-stats {
  list-style: none; padding: 0; margin: 56px auto 0; display: flex; gap: 48px; justify-content: center; flex-wrap: wrap;
}
.hero-stats li { display: flex; flex-direction: column; align-items: center; }
.hero-stats strong { font-family: "Space Grotesk"; font-size: 34px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-stats span { color: var(--muted); font-size: 14px; }

/* ── Sections ── */
.section { padding: 84px 0; }
.section-alt { background: linear-gradient(180deg, #ffffff05, transparent); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { text-align: center; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(30px, 5vw, 44px); margin: 0 0 10px; }
.section-head p { color: var(--muted); margin: 0; font-size: 18px; }

/* ── Games grid ── */
.games-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 26px; }
.game-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column; transition: transform .2s, border-color .2s;
}
.game-card:hover { transform: translateY(-4px); border-color: var(--c2); }
.game-cover { aspect-ratio: 16 / 9; position: relative; display: grid; place-items: center; overflow: hidden; }
.game-cover .cover-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.game-cover .cover-fallback { font-family: "Space Grotesk"; font-size: 40px; font-weight: 700; color: #ffffffcc; z-index: 1; text-align: center; padding: 0 16px; }
.badge {
  position: absolute; top: 12px; left: 12px; z-index: 2; font-size: 12px; font-weight: 600;
  padding: 4px 10px; border-radius: 999px; background: #0009; backdrop-filter: blur(4px); color: #fff;
}
.badge.live { background: #14b86a; color: #04230f; }
.badge.soon { background: var(--gold); color: #2a1a00; }
.game-body { padding: 22px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.game-body h3 { margin: 0; font-size: 22px; }
.game-genre { color: var(--c1); font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; margin: -4px 0 0; }
.game-desc { color: var(--muted); margin: 0; flex: 1; }
.game-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.socials { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.socials a {
  font-size: 12.5px; color: var(--muted); text-decoration: none; padding: 5px 10px;
  border: 1px solid var(--line); border-radius: 999px; transition: color .15s, border-color .15s;
}
.socials a:hover { color: var(--text); border-color: var(--c1); }

/* ── About ── */
.about-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: start; }
.about-grid h2 { font-size: clamp(30px, 5vw, 44px); margin: 0 0 18px; }
.about-grid p { color: var(--muted); font-size: 17px; }
.values { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.values li { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; }
.values h3 { margin: 0 0 6px; font-size: 18px; }
.values p { margin: 0; color: var(--muted); font-size: 15px; }

/* ── Services cards ── */
.cards-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.card h3 { margin: 0 0 12px; font-size: 20px; }
.card p { color: var(--muted); margin: 0 0 10px; }
.card .price { color: var(--text); font-weight: 600; font-size: 15px; background: #ffffff08; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; margin-top: 6px; }
.legal-note { margin-top: 28px; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.legal-note h3 { margin: 0 0 10px; }
.legal-note p { color: var(--muted); margin: 0; }

/* ── Contacts ── */
.contacts-inner { text-align: center; }
.contacts-inner h2 { font-size: clamp(30px, 5vw, 44px); margin: 0 0 10px; }
.contacts-inner .lead, .contacts-inner p { color: var(--muted); }
.contact-row { margin-top: 22px; }

/* ── Footer ── */
.site-footer { border-top: 1px solid var(--line); background: #0a0b14; padding: 56px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 0.8fr 2fr; gap: 48px; }
.footer-brand .brand-name { font-size: 22px; }
.footer-brand p { color: var(--muted); margin: 8px 0 0; }
.requisites h2 { font-size: 18px; margin: 0 0 16px; color: var(--text); }
.requisites dl { margin: 0; display: grid; gap: 12px; }
.requisites dl > div { display: grid; grid-template-columns: 220px 1fr; gap: 16px; }
.requisites dt { color: var(--muted); font-size: 14px; }
.requisites dd { margin: 0; font-size: 14px; }
.requisites a { color: var(--c1); }
.footer-bottom { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }

/* ── Play modal ── */
.play-modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; }
.play-modal[hidden] { display: none; }
.play-backdrop { position: absolute; inset: 0; background: #04050bdd; backdrop-filter: blur(4px); }
.play-window {
  position: relative; width: min(960px, 94vw); height: min(640px, 88vh);
  background: #000; border: 1px solid var(--line); border-radius: 16px; overflow: hidden;
  display: flex; flex-direction: column; box-shadow: 0 30px 80px -20px #000;
}
.play-bar { display: flex; align-items: center; justify-content: space-between; padding: 10px 14px; background: var(--surface); border-bottom: 1px solid var(--line); }
.play-name { font-weight: 600; }
.play-close { background: transparent; border: 0; color: var(--muted); font-size: 26px; line-height: 1; cursor: pointer; padding: 0 6px; }
.play-close:hover { color: var(--text); }
.play-frame-wrap { flex: 1; }
.play-frame-wrap iframe { width: 100%; height: 100%; border: 0; }

/* ── Responsive ── */
@media (max-width: 860px) {
  .nav { display: none; }
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .requisites dl > div { grid-template-columns: 1fr; gap: 2px; }
  .hero-stats { gap: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto; transition: none !important; }
}
