/* Страница игры (/games/:slug). Подключается только на ней, поверх base.css, ui.css и studio.css.
   Тема Endemion Life — тёмное фэнтези, космический синий и золото. Переменные заданы на main.gp-page,
   поэтому шапка, подвал и остальные страницы сайта сохраняют общую палитру Endemion */

.gp-page {
  --gp-bg: #080b14;
  --gp-bg-2: #111827;
  --gp-blue: #3b82f6;
  --gp-blue-rgb: 59, 130, 246;
  --gp-cosmic: #6366f1;
  --gp-cosmic-rgb: 99, 102, 241;
  --gp-gold: #d4af37;
  --gp-gold-rgb: 212, 175, 55;
  --gp-gold-light: #ecd27a;
  --gp-text: #f8fafc;
  --gp-muted: #94a3b8;
  --gp-line: rgba(var(--gp-gold-rgb), 0.22);
  --gp-line-soft: rgba(148, 163, 184, 0.14);
  --gp-card: linear-gradient(160deg, rgba(17, 24, 39, 0.96), rgba(8, 11, 20, 0.96));
  --gp-glow: 0 0 0 1px rgba(var(--gp-gold-rgb), 0.18), 0 24px 60px -28px rgba(var(--gp-cosmic-rgb), 0.55);
  color: var(--gp-text);
  background:
    radial-gradient(ellipse 70rem 40rem at 50% -10%, rgba(var(--gp-cosmic-rgb), 0.18), transparent 70%),
    linear-gradient(to bottom, transparent, var(--gp-bg) 40rem),
    var(--gp-bg);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.gp-icon {
  width: 18px;
  height: 18px;
  flex: none;
}

/* ==================== КНОПКИ ==================== */

.gp-btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  padding: 0 22px;
  border: 1px solid rgba(var(--gp-gold-rgb), 0.7);
  border-radius: var(--radius-sm);
  color: #1a1404;
  background: linear-gradient(135deg, #f3dc8a, var(--gp-gold) 55%, #b8932a);
  box-shadow: 0 10px 30px -10px rgba(var(--gp-gold-rgb), 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.45);
  font-weight: 800;
  transition: box-shadow 0.2s ease, transform 0.2s ease, filter 0.2s ease;
}

.gp-btn-gold:hover {
  box-shadow: 0 14px 36px -10px rgba(var(--gp-gold-rgb), 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.5);
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.gp-page .ghost-btn {
  border-color: var(--gp-line);
  background: rgba(17, 24, 39, 0.7);
}

.gp-page .ghost-btn:hover {
  border-color: rgba(var(--gp-gold-rgb), 0.55);
  background: rgba(var(--gp-cosmic-rgb), 0.16);
}

.gp-page a:focus-visible,
.gp-page button:focus-visible,
.gp-page summary:focus-visible {
  outline: 2px solid var(--gp-gold);
  outline-offset: 3px;
}

/* ==================== HERO ==================== */

.gp-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(40px, 7vw, 96px) 0 clamp(48px, 7vw, 88px);
  border-bottom: 1px solid var(--gp-line);
}

.gp-hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 45% 65% at 80% 35%, rgba(var(--gp-blue-rgb), 0.3), transparent 70%),
    radial-gradient(ellipse 35% 50% at 92% 85%, rgba(var(--gp-gold-rgb), 0.14), transparent 70%),
    radial-gradient(ellipse 50% 60% at 10% 10%, rgba(var(--gp-cosmic-rgb), 0.22), transparent 70%);
}

.gp-hero-bg::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(to bottom, rgba(8, 11, 20, 0.2), var(--gp-bg) 98%);
}

.gp-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(28px, 5vw, 64px);
}

.gp-hero .breadcrumbs {
  margin-bottom: 18px;
}

.gp-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.gp-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 26px;
  padding: 0 11px;
  border: 1px solid rgba(var(--gp-blue-rgb), 0.35);
  border-radius: 999px;
  color: #bcd4ff;
  background: rgba(var(--gp-blue-rgb), 0.1);
  font-size: 12px;
  font-weight: 700;
}

.gp-chip .gp-icon {
  width: 14px;
  height: 14px;
}

.gp-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 7.2vw, 84px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 0.98;
  color: transparent;
  background: linear-gradient(100deg, #fff 20%, var(--gp-gold-light) 60%, var(--gp-gold));
  background-clip: text;
  -webkit-background-clip: text;
  text-shadow: 0 0 60px rgba(var(--gp-gold-rgb), 0.15);
}

.gp-slogan {
  margin-top: 14px;
  color: var(--gp-gold-light);
  font-family: var(--font-display);
  font-size: clamp(18px, 2.2vw, 24px);
  font-weight: 600;
}

.gp-lead {
  max-width: 58ch;
  margin-top: 18px;
  color: var(--gp-text);
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.6;
}

.gp-lead-sub {
  max-width: 58ch;
  margin-top: 10px;
  color: var(--gp-muted);
  font-size: 16px;
  line-height: 1.6;
}

.gp-actions {
  margin-top: 28px;
}

.gp-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--gp-line-soft);
  font-size: 14px;
}

.gp-facts dt {
  color: var(--gp-muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.gp-facts dd {
  margin-top: 3px;
  font-weight: 600;
}

.gp-facts a {
  color: var(--gp-gold-light);
}

.gp-hero-art {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border: 1px solid rgba(var(--gp-gold-rgb), 0.35);
  border-radius: calc(var(--radius) + 6px);
  background: var(--gp-bg-2);
  box-shadow: 0 0 0 6px rgba(var(--gp-gold-rgb), 0.05), 0 40px 90px -30px rgba(var(--gp-blue-rgb), 0.6);
}

.gp-hero-art img,
.gp-hero-art .placeholder-art {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gp-hero-art::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  border-radius: inherit;
  background: linear-gradient(to top, rgba(8, 11, 20, 0.45), transparent 45%);
}

/* ==================== НАВИГАЦИЯ ПО СТРАНИЦЕ ==================== */

.gp-subnav {
  position: sticky;
  top: var(--header-height);
  z-index: 20;
  border-bottom: 1px solid var(--gp-line-soft);
  background: rgba(8, 11, 20, 0.86);
  backdrop-filter: blur(12px);
}

.gp-subnav-inner {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
}

.gp-subnav-inner::-webkit-scrollbar {
  display: none;
}

.gp-subnav a {
  flex: none;
  padding: 14px 12px;
  border-bottom: 2px solid transparent;
  color: var(--gp-muted);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.gp-subnav a:hover,
.gp-subnav a[aria-current="true"] {
  color: var(--gp-text);
  border-bottom-color: var(--gp-gold);
}

.gp-page {
  scroll-padding-top: calc(var(--header-height) + 64px);
}

.gp-section {
  scroll-margin-top: calc(var(--header-height) + 60px);
  padding: clamp(56px, 8vw, 104px) 0 0;
}

.gp-section-head {
  max-width: 760px;
  margin-bottom: 32px;
}

.gp-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: var(--gp-gold);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.gp-eyebrow::before {
  width: 28px;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, var(--gp-gold));
  box-shadow: 0 0 8px rgba(var(--gp-gold-rgb), 0.8);
}

.gp-h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.6vw, 42px);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.12;
}

.gp-h3 {
  margin-bottom: 14px;
  font-size: 18px;
}

.gp-section-text {
  margin-top: 14px;
  color: var(--gp-muted);
  font-size: 17px;
  line-height: 1.6;
}

.gp-panel {
  padding: clamp(20px, 3vw, 28px);
  border: 1px solid var(--gp-line);
  border-radius: var(--radius);
  background: var(--gp-card);
  box-shadow: var(--gp-glow);
}

.gp-panel-title {
  margin-bottom: 14px;
  color: var(--gp-gold-light);
  font-size: 15px;
  letter-spacing: 0.04em;
}

.gp-page .empty-card {
  border-color: var(--gp-line);
  background: rgba(17, 24, 39, 0.55);
}

.gp-page .card {
  border-color: var(--gp-line-soft);
  background: var(--gp-card);
}

.gp-page .card:hover,
.gp-page .card:focus-within {
  border-color: rgba(var(--gp-gold-rgb), 0.45);
  box-shadow: var(--gp-glow);
}

.gp-page .list-panel {
  border-color: var(--gp-line-soft);
  background: rgba(17, 24, 39, 0.7);
}

/* ==================== ОБ ИГРЕ ==================== */

.gp-about {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(24px, 4vw, 48px);
}

.gp-about-text {
  font-size: 17px;
}

.gp-highlights {
  display: grid;
  gap: 10px;
  list-style: none;
}

.gp-highlights li {
  position: relative;
  padding-left: 26px;
  line-height: 1.5;
}

.gp-highlights li::before {
  position: absolute;
  top: 0.45em;
  left: 2px;
  width: 9px;
  height: 9px;
  content: "";
  transform: rotate(45deg);
  border: 1px solid var(--gp-gold);
  background: rgba(var(--gp-gold-rgb), 0.25);
  box-shadow: 0 0 8px rgba(var(--gp-gold-rgb), 0.6);
}

/* ==================== МИРЫ ==================== */

.gp-worlds {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr));
  gap: 20px;
}

.gp-world {
  --w1: var(--gp-cosmic-rgb);
  --w2: var(--gp-blue-rgb);
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--gp-line-soft);
  border-radius: var(--radius);
  background: var(--gp-card);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.gp-world:hover,
.gp-world:focus-within {
  border-color: rgba(var(--gp-gold-rgb), 0.5);
  box-shadow: 0 0 0 1px rgba(var(--gp-gold-rgb), 0.2), 0 26px 60px -24px rgba(var(--w1), 0.7);
  transform: translateY(-4px);
}

/* Атмосферная заставка мира — градиенты и символ, а не выдуманный игровой арт */
.gp-world-art {
  position: relative;
  display: grid;
  aspect-ratio: 16 / 7;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 30% 30%, rgba(var(--w1), 0.75), transparent 55%),
    radial-gradient(circle at 75% 70%, rgba(var(--w2), 0.6), transparent 60%),
    linear-gradient(135deg, #0b1020, #141b2f);
}

.gp-world-art::before {
  position: absolute;
  inset: -40%;
  content: "";
  opacity: 0.5;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.5) 1px, transparent 0),
    radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.25) 1px, transparent 0);
  background-position: 0 0, 23px 37px;
  background-size: 53px 53px, 71px 71px;
  transition: transform 6s linear;
}

.gp-world:hover .gp-world-art::before {
  transform: translate(18px, -12px);
}

.gp-world-art::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(to top, rgba(8, 11, 20, 0.85), transparent 70%);
}

.gp-world-glyph {
  position: relative;
  z-index: 1;
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  border: 1px solid rgba(var(--gp-gold-rgb), 0.55);
  border-radius: 50%;
  color: var(--gp-gold-light);
  background: rgba(8, 11, 20, 0.45);
  box-shadow: 0 0 30px rgba(var(--w1), 0.7), inset 0 0 18px rgba(var(--gp-gold-rgb), 0.2);
  font-family: var(--font-display);
  font-size: 26px;
  transition: transform 0.4s ease;
}

.gp-world:hover .gp-world-glyph {
  transform: scale(1.08);
}

.gp-world-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 8px;
  padding: 18px 20px 20px;
}

.gp-world-tag {
  color: var(--gp-gold);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.gp-world-name {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 700;
}

.gp-world-text {
  color: var(--gp-muted);
  line-height: 1.55;
}

.gp-world-more {
  margin-top: auto;
  padding-top: 8px;
}

.gp-world-more summary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--gp-gold-light);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.gp-world-more summary::-webkit-details-marker {
  display: none;
}

.gp-world-more summary::after {
  content: "›";
  transition: transform 0.2s ease;
}

.gp-world-more[open] summary::after {
  transform: rotate(90deg);
}

.gp-world-more p {
  margin-top: 10px;
  color: var(--gp-text);
  font-size: 14px;
  line-height: 1.6;
}

/* Палитры миров. Название класса задаёт профиль игры (theme) */
.gp-world--violet { --w1: 139, 92, 246; --w2: 99, 102, 241; }
.gp-world--blue { --w1: 59, 130, 246; --w2: 34, 211, 238; }
.gp-world--gold { --w1: 212, 175, 55; --w2: 234, 88, 12; }
.gp-world--green { --w1: 16, 185, 129; --w2: 59, 130, 246; }
.gp-world--crimson { --w1: 225, 29, 72; --w2: 139, 92, 246; }
.gp-world--steel { --w1: 100, 116, 139; --w2: 59, 130, 246; }
.gp-world--t1 { --w1: 139, 92, 246; --w2: 59, 130, 246; }
.gp-world--t2 { --w1: 59, 130, 246; --w2: 16, 185, 129; }
.gp-world--t3 { --w1: 212, 175, 55; --w2: 225, 29, 72; }
.gp-world--t4 { --w1: 16, 185, 129; --w2: 34, 211, 238; }
.gp-world--t5 { --w1: 225, 29, 72; --w2: 99, 102, 241; }
.gp-world--t6 { --w1: 100, 116, 139; --w2: 212, 175, 55; }

/* ==================== ОСОБЕННОСТИ ==================== */

.gp-features {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  gap: 18px;
}

.gp-feature {
  position: relative;
  overflow: hidden;
  padding: 24px;
  border: 1px solid var(--gp-line-soft);
  border-radius: var(--radius);
  background: var(--gp-card);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.gp-feature::before {
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(var(--gp-gold-rgb), 0.6), transparent);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.gp-feature:hover {
  border-color: rgba(var(--gp-gold-rgb), 0.4);
  box-shadow: var(--gp-glow);
  transform: translateY(-3px);
}

.gp-feature:hover::before {
  opacity: 1;
}

.gp-feature-icon {
  display: grid;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  place-items: center;
  border: 1px solid rgba(var(--gp-gold-rgb), 0.4);
  border-radius: 14px;
  color: var(--gp-gold-light);
  background: radial-gradient(circle at 30% 20%, rgba(var(--gp-cosmic-rgb), 0.45), rgba(17, 24, 39, 0.9));
}

.gp-feature-icon .gp-icon {
  width: 24px;
  height: 24px;
}

.gp-feature-title {
  font-size: 18px;
}

.gp-feature-sub {
  margin-top: 3px;
  color: var(--gp-gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.gp-feature-text {
  margin-top: 10px;
  color: var(--gp-muted);
  line-height: 1.6;
}

/* ==================== СКРИНШОТЫ ==================== */

.gp-shots {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
  gap: 16px;
}

.gp-shot {
  overflow: hidden;
  border: 1px solid var(--gp-line-soft);
  border-radius: var(--radius);
  background: var(--gp-bg-2);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.gp-shot:hover {
  border-color: rgba(var(--gp-gold-rgb), 0.45);
  box-shadow: var(--gp-glow);
}

.gp-shot a {
  display: block;
  overflow: hidden;
  cursor: zoom-in;
}

.gp-shot img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gp-shot:hover img {
  transform: scale(1.03);
}

.gp-shot figcaption {
  padding: 10px 14px;
  color: var(--gp-muted);
  font-size: 13px;
}

.gp-lightbox {
  width: min(1200px, 100vw);
  max-width: none;
  max-height: 100vh;
  padding: 0;
  border: 0;
  color: var(--gp-text);
  background: transparent;
}

.gp-lightbox::backdrop {
  background: rgba(4, 6, 12, 0.9);
  backdrop-filter: blur(4px);
}

.gp-lightbox[open] {
  display: grid;
  place-items: center;
  animation: gp-fade 0.2s ease;
}

.gp-lightbox figure {
  display: grid;
  gap: 10px;
  padding: 56px 64px 24px;
  text-align: center;
}

.gp-lightbox img {
  max-width: 100%;
  max-height: calc(100vh - 140px);
  border-radius: var(--radius-sm);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}

.gp-lightbox figcaption {
  color: var(--gp-muted);
}

.gp-lb-btn {
  position: fixed;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid var(--gp-line);
  border-radius: 50%;
  color: var(--gp-text);
  background: rgba(17, 24, 39, 0.8);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

.gp-lb-btn:hover {
  border-color: var(--gp-gold);
}

.gp-lb-prev { top: 50%; left: 12px; transform: translateY(-50%); }
.gp-lb-next { top: 50%; right: 12px; transform: translateY(-50%); }
.gp-lb-close { top: 12px; right: 12px; }
.gp-lightbox[data-single] .gp-lb-prev,
.gp-lightbox[data-single] .gp-lb-next { display: none; }

@keyframes gp-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ==================== ROADMAP ==================== */

.gp-roadmap-intro {
  margin-bottom: 28px;
}

.gp-timeline {
  position: relative;
  display: grid;
  gap: 22px;
  list-style: none;
}

.gp-timeline::before {
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 19px;
  width: 2px;
  content: "";
  background: linear-gradient(to bottom, var(--gp-gold), rgba(var(--gp-cosmic-rgb), 0.6), rgba(148, 163, 184, 0.15));
}

.gp-stage {
  position: relative;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 18px;
}

.gp-stage-dot {
  position: relative;
  z-index: 1;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid var(--gp-line-soft);
  border-radius: 50%;
  color: var(--gp-muted);
  background: var(--gp-bg-2);
  font-weight: 800;
}

.gp-stage--completed .gp-stage-dot {
  border-color: var(--gp-gold);
  color: #1a1404;
  background: linear-gradient(135deg, #f3dc8a, var(--gp-gold));
  box-shadow: 0 0 18px rgba(var(--gp-gold-rgb), 0.55);
}

.gp-stage--in_progress .gp-stage-dot {
  border-color: var(--gp-blue);
  color: #fff;
  background: rgba(var(--gp-blue-rgb), 0.35);
  box-shadow: 0 0 0 4px rgba(var(--gp-blue-rgb), 0.15);
}

.gp-stage-card {
  padding: 20px 22px;
  border: 1px solid var(--gp-line-soft);
  border-radius: var(--radius);
  background: var(--gp-card);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.gp-stage-card:hover {
  border-color: rgba(var(--gp-gold-rgb), 0.4);
  box-shadow: var(--gp-glow);
}

.gp-stage--in_progress .gp-stage-card {
  border-color: rgba(var(--gp-blue-rgb), 0.45);
}

.gp-stage-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  margin-bottom: 8px;
  font-size: 12px;
}

.gp-stage-status {
  padding: 3px 10px;
  border: 1px solid var(--gp-line-soft);
  border-radius: 999px;
  color: var(--gp-muted);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.gp-stage--completed .gp-stage-status { border-color: rgba(var(--gp-gold-rgb), 0.5); color: var(--gp-gold-light); }
.gp-stage--in_progress .gp-stage-status { border-color: rgba(var(--gp-blue-rgb), 0.5); color: #9cc0ff; }

.gp-stage-date {
  color: var(--gp-muted);
}

.gp-stage-title {
  font-size: 19px;
}

.gp-stage-text {
  margin-top: 8px;
  color: var(--gp-muted);
  font-size: 15px;
}

.gp-tasks {
  display: grid;
  gap: 7px;
  margin-top: 14px;
  list-style: none;
  font-size: 14px;
}

.gp-tasks li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.gp-task-mark {
  display: grid;
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  place-items: center;
  border: 1px solid var(--gp-line-soft);
  border-radius: 5px;
  font-size: 12px;
  font-weight: 800;
}

.gp-tasks .is-done .gp-task-mark {
  border-color: var(--gp-gold);
  color: #1a1404;
  background: var(--gp-gold);
}

.gp-tasks .is-done {
  color: var(--gp-muted);
}

.gp-progress {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  color: var(--gp-muted);
  font-size: 13px;
}

.gp-progress progress {
  flex: 1;
  height: 8px;
  overflow: hidden;
  border: 0;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.15);
  appearance: none;
}

.gp-progress progress::-webkit-progress-bar {
  background: rgba(148, 163, 184, 0.15);
}

.gp-progress progress::-webkit-progress-value {
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gp-cosmic), var(--gp-blue), var(--gp-gold));
}

.gp-progress progress::-moz-progress-bar {
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gp-cosmic), var(--gp-blue), var(--gp-gold));
}

.gp-roadmap-posts {
  margin-top: 28px;
}

/* ==================== DEVLOG ==================== */

.gp-post-art {
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 25% 30%, rgba(var(--gp-cosmic-rgb), 0.55), transparent 55%),
    radial-gradient(circle at 80% 75%, rgba(var(--gp-gold-rgb), 0.3), transparent 55%),
    var(--gp-bg-2);
}

.gp-post .card-meta {
  margin-top: 0;
}

.gp-empty {
  padding: 56px 24px;
  background:
    radial-gradient(ellipse 60% 80% at 50% 0%, rgba(var(--gp-cosmic-rgb), 0.16), transparent 70%),
    rgba(17, 24, 39, 0.55);
}

.gp-empty strong {
  color: var(--gp-gold-light);
  font-family: var(--font-display);
  font-size: 20px;
}

/* ==================== СООБЩЕСТВО ==================== */

.gp-community {
  position: relative;
}

.gp-community .gp-section-head {
  max-width: none;
  padding: clamp(28px, 5vw, 48px);
  border: 1px solid var(--gp-line);
  border-radius: calc(var(--radius) + 6px);
  background:
    radial-gradient(ellipse 50% 90% at 100% 0%, rgba(var(--gp-gold-rgb), 0.14), transparent 70%),
    radial-gradient(ellipse 60% 90% at 0% 100%, rgba(var(--gp-cosmic-rgb), 0.24), transparent 70%),
    var(--gp-bg-2);
  box-shadow: var(--gp-glow);
}

.gp-community-actions {
  margin: -16px 0 36px;
  padding: 0 clamp(28px, 5vw, 48px);
}

.gp-community-actions a {
  gap: 9px;
}

.gp-community-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 24px;
}

/* ==================== СТАТУС ==================== */

.gp-status {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr));
  gap: 14px;
}

.gp-status-item {
  padding: 18px 20px;
  border: 1px solid var(--gp-line-soft);
  border-radius: var(--radius-sm);
  background: var(--gp-card);
}

.gp-status-item dt {
  color: var(--gp-muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.gp-status-item dd {
  margin-top: 8px;
  font-size: 16px;
  font-weight: 700;
}

.gp-page-end {
  height: clamp(56px, 8vw, 96px);
}

/* ==================== ПОЯВЛЕНИЕ ==================== */

/* Секции проявляются при прокрутке, если скрипт поставил .gp-js. Без скрипта всё видно сразу */
.gp-js .gp-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.gp-js .gp-reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .gp-page *,
  .gp-page *::before,
  .gp-page *::after {
    transition: none !important;
    animation: none !important;
  }

  .gp-js .gp-reveal {
    opacity: 1;
    transform: none;
  }
}

/* ==================== ПЛАНШЕТЫ И ТЕЛЕФОНЫ ==================== */

@media (max-width: 960px) {
  .gp-hero-inner,
  .gp-about,
  .gp-community-grid {
    grid-template-columns: 1fr;
  }

  .gp-hero-art {
    order: -1;
  }
}

@media (max-width: 600px) {
  .gp-actions a,
  .gp-community-actions a {
    width: 100%;
  }

  .gp-community-actions {
    margin-top: 16px;
    padding: 0;
  }

  .gp-stage {
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 12px;
  }

  .gp-stage-dot {
    width: 32px;
    height: 32px;
    font-size: 13px;
  }

  .gp-timeline::before {
    left: 15px;
  }

  .gp-lightbox figure {
    padding: 64px 8px 16px;
  }

  .gp-lb-prev,
  .gp-lb-next {
    top: auto;
    bottom: 12px;
    transform: none;
  }
}
