/* Geometry Dash — тема «Выбор уровня»: неоновая трасса, панели уровней со шкалой сложности, светлые страницы-гайды */
@import url("/site-assets/fonts.css");
:root {
  --bg: #EEF1FB; --surface: #FFFFFF; --surface-2: #F5F7FE; --surface-dark: #0B0F3A;
  --border: #DCE1F5; --border-strong: #C3CAEB;
  --text: #11143A; --text-2: #2E3363; --muted: #5E648F;
  --accent: #B8F21C; --accent-hover: #A6DE0E; --accent-soft: #F0FCD2; --accent-ink: #0B1A00;
  --link: #3B4BFF; --ok: #1F8F4E; --ok-soft: #DDF5E6; --warn: #A15C00; --warn-soft: #FFF1D8;
  --radius-sm: 8px; --radius-md: 12px; --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(17,20,58,.06), 0 10px 30px -18px rgba(17,20,58,.35);
  --font-sans: 'Golos Text', -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Russo One', 'Golos Text', sans-serif;
  --font-mono: ui-monospace, 'Cascadia Mono', Consolas, monospace;
}
a { color: var(--link); }
h1, h2, h3, .dl-brand { font-family: var(--font-display); font-weight: 400; }
.dl-fan-bar { background: #070A2B; border-bottom: 0; color: #9AA3E0; }
.dl-fan-bar a { color: #9AA3E0; }
.dl-fan-inner::before { border-color: #2A3170; color: #9AA3E0; }
.dl-header { background: #0B0F3A; border-bottom: 2px solid #2B33A8; color: #fff; }
.dl-brand { color: #fff; letter-spacing: .01em; }
.dl-brand-mark { background: #B8F21C; border-radius: 4px; box-shadow: inset 0 0 0 3px #0B0F3A, 0 0 0 2px #B8F21C; }
.dl-brand-mark svg { display: none; }
.dl-brand-ver { background: rgba(255,255,255,.1); color: #C9D0FF; }
.dl-nav a { color: #C9D0FF; font-weight: 600; }
.dl-nav a:hover, .dl-nav a.active { background: rgba(184,242,28,.14); color: #fff; }
.dl-nav-cta { border-radius: 10px; font-family: var(--font-display); font-weight: 400; color: var(--accent-ink); }
.dl-burger { color: #fff; background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.2); }
.dl-mobile-nav { background: #0B0F3A; border-color: #2B33A8; }
.dl-mobile-nav a { color: #fff; background: rgba(255,255,255,.08); }
.dl-btn { font-family: var(--font-display); font-weight: 400; color: var(--accent-ink); }
.dl-btn:hover { color: var(--accent-ink); }
.dl-prose h2, .p3-h2 { letter-spacing: .01em; }
.dl-prose th { background: #E8ECFF; }
.dl-prose code { font-family: var(--font-mono); font-size: .86em; background: #0B0F3A; color: #B8F21C; border-radius: 5px; padding: 1px 6px; }
.dl-side-links a:hover { background: var(--accent-soft); color: var(--text); }
.dl-footer { background: #070A2B; border-top: 0; color: #8F97D0; }
.dl-footer a { color: #fff; }
.p3-tail { margin-top: 44px; }
.p3-h2 { font-family: var(--font-display); font-size: 1.5rem; margin: 6px 0 14px; }
.p3-faq { margin-top: 8px; }
.p3-side-img img { width: 100%; height: auto; display: block; border-radius: 10px; }

/* Главная */
.gd-stage { position: relative; overflow: hidden; color: #fff; background: radial-gradient(1000px 500px at 80% -10%, #4B2BD6 0%, rgba(75,43,214,0) 60%), linear-gradient(180deg, #0B0F3A 0%, #141C6E 60%, #1B2799 100%); padding: 34px 0 30px; }
.gd-stage::after { content: ""; position: absolute; inset: auto 0 0 0; height: 34px; background:
  linear-gradient(135deg, transparent 50%, #0B0F3A 50%) 0 0/34px 34px repeat-x, linear-gradient(225deg, transparent 50%, #0B0F3A 50%) 0 0/34px 34px repeat-x; opacity: .9; }
.gd-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .32; mix-blend-mode: screen; }
.gd-in { position: relative; z-index: 2; }
.gd-head { max-width: 860px; }
.gd-kicker { display: inline-block; font: 600 .78rem/1 var(--font-sans); letter-spacing: .12em; text-transform: uppercase; color: #0B1A00; background: #B8F21C; padding: 7px 10px; border-radius: 6px; }
.gd-head h1 { font-size: clamp(1.9rem, 2.6vw + 1rem, 3.4rem); line-height: 1.05; margin: 14px 0 10px; text-shadow: 0 3px 0 #000, 0 0 24px rgba(120,140,255,.6); text-wrap: balance; }
.gd-lead { font-size: 1.1rem; color: #D4D9FF; max-width: 62ch; }
.gd-levels { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; margin-top: 26px; }
.gd-lv { --c: #3DDC6B; position: relative; display: flex; flex-direction: column; gap: 10px; padding: 18px 16px 16px; border-radius: 18px; background: linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,.04)); border: 2px solid rgba(255,255,255,.16); box-shadow: inset 0 -4px 0 rgba(0,0,0,.25); backdrop-filter: blur(4px); min-width: 0; }
.gd-lv.is-main { border-color: #B8F21C; box-shadow: 0 0 0 3px rgba(184,242,28,.25), inset 0 -4px 0 rgba(0,0,0,.25); }
.gd-lv.d-easy { --c: #43C6FF; } .gd-lv.d-normal { --c: #3DDC6B; } .gd-lv.d-hard { --c: #FFB020; } .gd-lv.d-harder { --c: #FF6A2B; } .gd-lv.d-insane { --c: #FF4FD8; } .gd-lv.d-demon { --c: #FF3B3B; }
.gd-rec { position: absolute; top: -11px; right: 14px; background: #B8F21C; color: #0B1A00; font: 700 .72rem/1 var(--font-sans); padding: 6px 9px; border-radius: 999px; }
.gd-face { position: relative; width: 54px; height: 54px; border-radius: 50%; background: var(--c); box-shadow: inset 0 -5px 0 rgba(0,0,0,.25), 0 0 0 3px #000; }
.gd-face i { position: absolute; top: 18px; width: 9px; height: 11px; background: #000; border-radius: 3px; }
.gd-face i:first-child { left: 14px; } .gd-face i:nth-child(2) { right: 14px; }
.gd-face b { position: absolute; left: 15px; right: 15px; bottom: 12px; height: 6px; border-bottom: 4px solid #000; border-radius: 0 0 12px 12px; }
.d-hard .gd-face b, .d-harder .gd-face b { height: 0; border-radius: 0; }
.d-insane .gd-face b, .d-demon .gd-face b { bottom: 10px; height: 8px; border: 0; border-top: 4px solid #000; border-radius: 12px 12px 0 0; }
.d-demon .gd-face { background: radial-gradient(circle at 50% 40%, #FF6B6B, #B30000); }
.d-demon .gd-face::before, .d-demon .gd-face::after { content: ""; position: absolute; top: -8px; width: 0; height: 0; border-left: 7px solid transparent; border-right: 7px solid transparent; border-bottom: 14px solid #FF3B3B; }
.d-demon .gd-face::before { left: 4px; transform: rotate(-20deg); } .d-demon .gd-face::after { right: 4px; transform: rotate(20deg); }
.gd-diff { font: 700 .74rem/1 var(--font-sans); letter-spacing: .1em; text-transform: uppercase; color: var(--c); }
.gd-lv-t h2 { font-size: 1.2rem; line-height: 1.15; margin: 4px 0 4px; color: #fff; text-shadow: 0 2px 0 #000; }
.gd-lv-t p { font-size: .9rem; color: #C9D0FF; line-height: 1.4; }
.gd-stars { font-family: var(--font-display); font-size: 1rem; color: #FFE14D; text-shadow: 0 2px 0 #000; }
.gd-stars span { color: #FFE14D; }
.gd-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.gd-tags li { font-size: .76rem; padding: 4px 8px; border-radius: 6px; background: rgba(0,0,0,.28); color: #E1E5FF; }
.gd-tags li.hl { background: var(--c); color: #0B0B1A; font-weight: 700; }
.gd-tags li.vt { background: rgba(61,220,107,.2); color: #9FFFBE; }
.gd-play { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border-radius: 12px; background: #B8F21C; color: #0B1A00; font: 400 1.05rem/1 var(--font-display); text-decoration: none; box-shadow: inset 0 -4px 0 rgba(0,0,0,.22); }
.gd-play:hover { background: #C9FF35; color: #0B1A00; }
.gd-more { font-size: .86rem; color: #C9D0FF; text-decoration: none; }
.gd-more:hover { color: #fff; }
.gd-progress { display: flex; align-items: center; gap: 12px; margin-top: 26px; font: 600 .82rem/1 var(--font-sans); color: #C9D0FF; }
.gd-progress i { flex: 1; height: 12px; border-radius: 999px; background: rgba(0,0,0,.35); border: 2px solid rgba(255,255,255,.3); overflow: hidden; }
.gd-progress b { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, #3DDC6B, #B8F21C); animation: gdRun 3.2s ease-in-out infinite; transform-origin: left; }
@keyframes gdRun { from { transform: scaleX(.05); } to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) { .gd-progress b { animation: none; } }
.gd-after { padding-top: 40px; }
.gd-h2 { font-family: var(--font-display); font-size: clamp(1.4rem, 1.4vw + 1rem, 2rem); }
.gd-sub { color: var(--muted); margin: 6px 0 18px; }
.gd-fgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.gd-form { display: grid; grid-template-columns: 46px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 12px; align-items: center; background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 14px; }
.gd-form b { font-family: var(--font-display); font-weight: 400; font-size: 1.02rem; }
.gd-form small { grid-column: 2; color: var(--muted); font-size: .84rem; line-height: 1.35; }
.gd-shape { grid-row: span 2; width: 42px; height: 42px; position: relative; }
.s-cube { background: #B8F21C; border: 3px solid #11143A; border-radius: 4px; box-shadow: inset 0 0 0 5px #3DDC6B; }
.s-ship { width: 0; height: 0; border-top: 14px solid transparent; border-bottom: 14px solid transparent; border-left: 42px solid #43C6FF; }
.s-ball { border-radius: 50%; background: #FF4FD8; border: 3px solid #11143A; }
.s-ufo { height: 22px; margin-top: 10px; border-radius: 50% 50% 10px 10px; background: #FFB020; border: 3px solid #11143A; }
.s-wave { width: 0; height: 0; border-left: 21px solid transparent; border-right: 21px solid transparent; border-bottom: 36px solid #3B4BFF; transform: rotate(90deg); }
.s-robot { background: #5E648F; border: 3px solid #11143A; border-radius: 6px 6px 2px 2px; box-shadow: inset 0 -12px 0 #FFB020; }
.s-spider { border-radius: 50% 50% 4px 4px; background: #11143A; box-shadow: inset 0 0 0 6px #FF3B3B; }
.s-swing { border-radius: 50%; background: conic-gradient(#3DDC6B 0 25%, #B8F21C 0 50%, #3DDC6B 0 75%, #B8F21C 0); border: 3px solid #11143A; }
.gd-spins { margin-top: 44px; }
.gd-sgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 16px; }
.gd-spin { position: relative; display: flex; flex-direction: column; gap: 4px; background: #fff; border: 1px solid var(--border); border-radius: 16px; overflow: hidden; text-decoration: none; color: var(--text); padding-bottom: 14px; }
.gd-spin img { width: 100%; height: 140px; object-fit: cover; display: block; margin-bottom: 8px; }
.gd-spin b { font-family: var(--font-display); font-weight: 400; font-size: 1.08rem; padding: 0 14px; }
.gd-spin small { color: var(--muted); padding: 0 14px; font-size: .86rem; line-height: 1.4; }
.gd-sb { position: absolute; top: 10px; left: 10px; background: #0B0F3A; color: #B8F21C; font: 700 .74rem/1 var(--font-sans); padding: 6px 8px; border-radius: 6px; }
.gd-spin:hover { border-color: #3B4BFF; color: var(--text); }
@media (max-width: 1000px) { .gd-fgrid, .gd-sgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) {
  .dl-header-inner { gap: 8px; }
  .dl-brand { min-width: 0; flex: 1 1 auto; overflow: hidden; font-size: 1rem; }
  .dl-brand > span:not(.dl-brand-mark) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .dl-nav-cta { padding: 0 12px; }
  .gd-stage { padding-top: 22px; }
  .gd-lead { font-size: 1rem; }
  .gd-levels { grid-template-columns: 1fr; }
  .gd-lv { display: grid; grid-template-columns: 54px minmax(0, 1fr); column-gap: 12px; }
  .gd-lv > .gd-stars, .gd-lv > .gd-tags, .gd-lv > .gd-play, .gd-lv > .gd-more { grid-column: 1 / -1; }
  .gd-fgrid { grid-template-columns: 1fr; }
  .gd-sgrid { grid-template-columns: 1fr; }
}
