@font-face { font-family: "Cormorant Garamond"; font-weight: 600; font-display: swap; src: url(fonts/cormorant-garamond-cyrillic-600-normal.woff2) format("woff2"); unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Cormorant Garamond"; font-weight: 700; font-display: swap; src: url(fonts/cormorant-garamond-cyrillic-700-normal.woff2) format("woff2"); unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Cormorant Garamond"; font-weight: 600; font-display: swap; src: url(fonts/cormorant-garamond-latin-600-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2000-206F; }
@font-face { font-family: "Cormorant Garamond"; font-weight: 700; font-display: swap; src: url(fonts/cormorant-garamond-latin-700-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2000-206F; }
@font-face { font-family: "Manrope"; font-weight: 400; font-display: swap; src: url(fonts/manrope-cyrillic-400-normal.woff2) format("woff2"); unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Manrope"; font-weight: 600; font-display: swap; src: url(fonts/manrope-cyrillic-600-normal.woff2) format("woff2"); unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Manrope"; font-weight: 400; font-display: swap; src: url(fonts/manrope-latin-400-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2000-206F; }
@font-face { font-family: "Manrope"; font-weight: 600; font-display: swap; src: url(fonts/manrope-latin-600-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2000-206F; }

:root {
  --bg: #0d1124;
  --bg-2: #141a33;
  --ink: #eef0f8;
  --ink-2: #aab1cc;
  --gold: #d9b66a;
  --gold-hi: #f3dca0;
  --gold-dark: #a8843e;
  --cyan: #3fd6f0;
  --rose: #c8324a;
  --glass: rgba(255, 255, 255, 0.06);
  --glass-line: rgba(217, 182, 106, 0.35);
  --display: "Cormorant Garamond", Georgia, serif;
  --body: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --gutter: clamp(16px, 4vw, 48px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 14px;
  text-decoration: none; border-radius: 999px; cursor: pointer;
  font: 600 16px/1.2 var(--body);
  transition: transform .2s, box-shadow .2s, filter .2s;
}
.btn svg { width: 26px; height: 26px; fill: currentColor; flex: none; }
.btn span { display: flex; flex-direction: column; text-align: left; }
.btn b { font-weight: 600; font-size: 1.08em; }
.btn small { font-weight: 400; font-size: .78em; opacity: .75; }
.btn-gold {
  color: #4a3714;
  background: linear-gradient(180deg, #fff8e3 0%, #f3dca0 45%, #d9b66a 100%);
  border: 1px solid #fff1c9;
  box-shadow: 0 0 0 1px rgba(168, 132, 62, .6), 0 10px 30px rgba(217, 182, 106, .35), inset 0 1px 0 #fff;
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(168, 132, 62, .7), 0 14px 40px rgba(243, 220, 160, .55), inset 0 1px 0 #fff; }
.btn-ghost {
  color: var(--ink);
  background: rgba(13, 17, 36, .45);
  border: 1px solid rgba(255, 255, 255, .25);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.btn-big { padding: 16px 30px 16px 24px; }
.btn-small { padding: 10px 20px; font-size: 14px; }
.is-soon { cursor: default; opacity: .8; }

/* ---------- навигация ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  display: flex; align-items: center; gap: 28px;
  padding: 12px var(--gutter);
  transition: background .3s, box-shadow .3s;
}
.nav.is-solid { background: rgba(13, 17, 36, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--glass-line); }
.nav-logo img { height: 34px; width: auto; opacity: 0; transition: opacity .3s; }
.nav.is-solid .nav-logo img { opacity: 1; }
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a { text-decoration: none; font-size: 15px; color: #fff; text-shadow: 0 1px 8px rgba(0, 0, 0, .5); opacity: .9; }
.nav-links a:hover { color: var(--gold-hi); }

/* ---------- первый экран ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  overflow: hidden; background: #6f8fc4 url(img/hero_poster.jpg) center / cover;
}
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 30%; }
.hero-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(9, 13, 32, .78) 0%, rgba(9, 13, 32, .5) 38%, rgba(9, 13, 32, 0) 62%),
    linear-gradient(0deg, var(--bg) 0%, rgba(13, 17, 36, 0) 22%);
}
.hero-inner { position: relative; z-index: 1; width: min(640px, 100%); padding: 110px var(--gutter) 90px; }
.badge {
  display: inline-block; padding: 6px 14px; border-radius: 999px;
  font-size: 13px; letter-spacing: .04em; color: var(--gold-hi);
  border: 1px solid var(--glass-line); background: rgba(13, 17, 36, .5);
}
.hero-logo { margin: 18px 0 8px; }
.hero-logo img { width: min(560px, 100%); height: auto; filter: drop-shadow(0 6px 24px rgba(0, 0, 0, .55)); }
.hero-lead { font-size: clamp(16px, 1.6vw, 19px); color: #e7eaf6; text-shadow: 0 1px 12px rgba(0, 0, 0, .6); margin: 0 0 30px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-note { min-height: 1.4em; margin: 14px 0 0; font-size: 14px; color: var(--ink-2); }
.scroll-hint { position: absolute; left: 50%; bottom: 26px; z-index: 1; width: 26px; height: 42px; margin-left: -13px; border: 2px solid rgba(255, 255, 255, .6); border-radius: 14px; }
.scroll-hint span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: wheel 1.8s infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- общие заголовки ---------- */
section { padding: clamp(70px, 10vw, 120px) 0; }
.title {
  margin: 0; text-align: center;
  font: 700 clamp(36px, 5vw, 56px)/1.1 var(--display);
  background: linear-gradient(180deg, #fff6dc, var(--gold) 70%, var(--gold-dark));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.title::after {
  content: ""; display: block; width: 160px; height: 14px; margin: 14px auto 0;
  background:
    radial-gradient(circle, var(--gold-hi) 0 3px, transparent 4px) center / 14px 14px no-repeat,
    linear-gradient(90deg, transparent, var(--gold) 40%, transparent 46%, transparent 54%, var(--gold) 60%, transparent) center / 100% 1px no-repeat;
}
.subtitle { max-width: 720px; margin: 18px auto 48px; text-align: center; color: var(--ink-2); }

/* ---------- о игре ---------- */
.about { background: radial-gradient(ellipse at 50% 0%, #1b2450 0%, var(--bg) 60%); }
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature {
  padding: 28px 24px; border-radius: 20px;
  background: var(--glass); border: 1px solid var(--glass-line);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.feature-icon { font-size: 28px; color: var(--gold); line-height: 1; }
.feature h3 { margin: 14px 0 8px; font: 700 26px/1.15 var(--display); color: var(--gold-hi); }
.feature p { margin: 0; font-size: 15px; color: var(--ink-2); }

/* ---------- героини ---------- */
.heroines { background: linear-gradient(180deg, var(--bg), var(--bg-2) 50%, var(--bg)); }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card {
  position: relative; border-radius: 22px; overflow: hidden;
  background: #0a0e1f; border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent);
  transition: transform .35s, box-shadow .35s;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 20px 60px color-mix(in srgb, var(--accent) 30%, transparent); }
.card-media { position: relative; aspect-ratio: 2 / 3; overflow: hidden; }
.card-media img, .card-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; transition: transform .6s, opacity .5s; }
.card-media video { opacity: 0; }
.card.is-playing .card-media video { opacity: 1; }
.card:hover .card-media img { transform: scale(1.04); }
.card-tag { position: absolute; top: 14px; right: 14px; padding: 4px 12px; border-radius: 999px; font-size: 12px; background: rgba(13, 17, 36, .7); border: 1px solid var(--accent); color: var(--accent); }
.card-body {
  position: absolute; inset: auto 0 0; padding: 70px 22px 22px;
  background: linear-gradient(0deg, rgba(8, 10, 24, .96) 30%, rgba(8, 10, 24, 0));
}
.card-world { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.card h3 { margin: 4px 0 0; font: 700 36px/1 var(--display); }
.card-role { margin: 4px 0 10px; font-size: 14px; color: var(--ink-2); }
.card blockquote { margin: 0; font: 600 18px/1.3 var(--display); font-style: italic; color: #f4ecd8; }

/* ---------- миры ---------- */
.world-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.world {
  position: relative; min-height: 300px; border-radius: 22px; overflow: hidden;
  display: flex; align-items: flex-end;
  background: center / cover no-repeat; border: 1px solid var(--glass-line);
}
.world::before { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8, 10, 24, .92) 10%, rgba(8, 10, 24, .1) 70%); }
.world > div { position: relative; padding: 26px 28px; max-width: 520px; }
.world-tone { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); }
.world h3 { margin: 4px 0 6px; font: 700 40px/1 var(--display); }
.world p { margin: 0; font-size: 15px; color: #d5d9ea; }
.world.is-soon { filter: saturate(.85); }

/* ---------- кадры ---------- */
.screens { background: radial-gradient(ellipse at 50% 100%, #1b2450 0%, var(--bg) 60%); }
.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.shot { padding: 0; border: 1px solid var(--glass-line); border-radius: 14px; overflow: hidden; cursor: zoom-in; background: none; }
.shot img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .4s; }
.shot:hover img { transform: scale(1.05); }
.lightbox { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(5, 7, 16, .92); }
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 92vh; border-radius: 12px; box-shadow: 0 20px 80px #000; }
.lightbox button { position: absolute; top: 14px; right: 18px; width: 44px; height: 44px; border: 0; border-radius: 50%; font-size: 28px; color: #fff; background: rgba(255, 255, 255, .1); cursor: pointer; }

/* ---------- как начать ---------- */
.steps { list-style: none; counter-reset: s; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding: 0; margin: 48px 0 40px; }
.steps li { counter-increment: s; position: relative; padding: 30px 24px 24px 24px; border-radius: 20px; background: var(--glass); border: 1px solid var(--glass-line); }
.steps li::before { content: counter(s); position: absolute; top: -18px; left: 24px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font: 700 20px/1 var(--display); color: #4a3714; background: linear-gradient(180deg, #fff8e3, var(--gold)); }
.steps b { display: block; font: 700 24px/1.2 var(--display); color: var(--gold-hi); margin-bottom: 6px; }
.steps span { font-size: 15px; color: var(--ink-2); }
.reqs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 24px; border-radius: 20px; border: 1px solid var(--glass-line); }
.reqs h4 { margin: 0 0 4px; font: 700 20px/1.2 var(--display); color: var(--gold); }
.reqs p { margin: 0; font-size: 15px; color: var(--ink-2); }
.final-cta { display: flex; justify-content: center; margin-top: 48px; }

/* ---------- подвал ---------- */
.footer { padding: 50px 0 40px; text-align: center; border-top: 1px solid rgba(217, 182, 106, .2); font-size: 14px; color: var(--ink-2); }
.footer-logo { width: 220px; height: auto; margin: 0 auto 16px; opacity: .85; }
.footer p { margin: 4px 0; }
.muted { opacity: .6; }

/* ---------- адаптив ---------- */
@media (max-width: 1080px) {
  .features, .cards { grid-template-columns: repeat(2, 1fr); }
  .reqs { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .nav-links { display: none; }
  .nav .btn-small { margin-left: auto; }
  .hero { align-items: flex-end; }
  .hero-video { object-position: 64% 30%; }
  .hero-shade { background: linear-gradient(0deg, var(--bg) 5%, rgba(9, 13, 32, .75) 45%, rgba(9, 13, 32, .1) 75%); }
  .hero-inner { padding-bottom: 70px; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .features, .cards, .world-grid, .shots, .steps { grid-template-columns: 1fr; }
  .steps { gap: 34px; }
  .world { min-height: 240px; }
  .scroll-hint { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .scroll-hint span { animation: none; }
}
