/* Page theme */
:root {
  --wrap: 980px;
  --pixel: "Minecraft Ten font cyrillic", system-ui, sans-serif;
  --panel-bg: rgba(70, 70, 70, 0.84);
  --panel-border: rgba(0, 0, 0, 0.55);
  --panel-inset: rgba(255, 255, 255, 0.12);
  --text: #f2f2f2;
  --shadow: rgba(0, 0, 0, 0.65);
  --accent: #f0bd2c;
}

body {
  color: var(--text);
  background: #000 url("Backrogund.png") center top / 100% auto no-repeat fixed;
  min-height: 100vh;
}

.page {
  min-height: 100vh;
  position: relative;
}

.page::before {
  content: "";
  position: fixed;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.55));
  pointer-events: none;
  z-index: -1;
}

.wrap {
  width: min(var(--wrap), calc(100% - 32px));
  margin: 0 auto;
}

/* Top bar */
.topbar {
  padding: 18px 0 10px;
}

.topbar__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: flex-start;
  gap: 18px;
}

.mainlogo {
  display: block;
  justify-self: center;
}

.mainlogo img {
  display: block;
  width: 320px;
  height: auto;
}

.menu {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
  padding-top: 6px;
}

.menu--left {
  justify-content: flex-start;
}

.menu--right {
  justify-content: flex-end;
}

.menu a {
  font-family: var(--pixel);
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.65);
  padding: 6px 8px;
  border-radius: 2px;
}

.menu a:hover {
  color: #fff;
  background: rgba(0, 0, 0, 0.18);
}

/* Hero center */
.hero {
  position: relative;
  padding: 0 0 16px;
}

.hero__center {
  display: grid;
  justify-items: center;
  padding: 8px 0 14px;
  gap: 14px;
}

.hero__media {
  position: relative;
  width: min(320px, 78vw);
}

.hero__frame {
  aspect-ratio: 3 / 4;
  background: #000;
  border: 4px solid rgba(0, 0, 0, 0.82);
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.45),
    inset 0 0 0 2px rgba(255, 255, 255, 0.10),
    inset 0 0 0 6px rgba(0, 0, 0, 0.28);
  position: relative;
  z-index: 2;
}

.hero__frame video,
.hero__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero__peek {
  position: absolute;
  width: 122px;
  height: auto;
  pointer-events: none;
  z-index: 1;
  filter: drop-shadow(0 12px 12px rgba(0, 0, 0, 0.35));
}

.hero__peek--left {
  left: -56px;
  bottom: -22px;
  transform: rotate(-10deg);
}

.hero__peek--right {
  right: -56px;
  bottom: -18px;
  transform: rotate(10deg);
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 18px;
  min-width: 170px;
  font-family: var(--pixel);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: rgba(160, 160, 160, 0.85);
  color: #fff;
  border: 2px solid rgba(0, 0, 0, 0.70);
  box-shadow:
    0 6px 0 rgba(0, 0, 0, 0.35),
    inset 0 0 0 2px rgba(255, 255, 255, 0.14);
}

.btn:hover {
  background: rgba(178, 178, 178, 0.92);
}

.btn__icon {
  width: 34px;
  height: 34px;
  display: block;
  background: transparent;
  border: none;
  box-shadow: none;
}

/* Section titles */
.mc-title {
  font-family: var(--pixel);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: 28px;
  line-height: 1;
  text-shadow:
    0 4px 0 rgba(0, 0, 0, 0.65),
    0 0 12px rgba(0, 0, 0, 0.25);
  margin: 0 0 12px;
  text-align: center;
}

/* Panels */
.panel {
  background: var(--panel-bg);
  border: 3px solid var(--panel-border);
  box-shadow:
    0 14px 30px rgba(0, 0, 0, 0.35),
    inset 0 0 0 2px var(--panel-inset);
  padding: 16px 18px;
}

.panel + .panel {
  margin-top: 14px;
}

.section {
  padding: 10px 0;
}

.section--stack {
  padding: 6px 0 16px;
}

.lead {
  font-size: 14px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.4);
}

.kicker {
  font-family: var(--pixel);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: 20px;
  margin: 0 0 10px;
  text-shadow: 0 3px 0 rgba(0, 0, 0, 0.55);
}

.list {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
  font-size: 14px;
  line-height: 1.35;
}

.list li {
  position: relative;
  padding-left: 16px;
}

.list li::before {
  content: "■";
  position: absolute;
  left: 0;
  top: 0;
  color: rgba(255, 255, 255, 0.75);
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.55);
}

/* FAQ */
.faq {
  display: grid;
  gap: 10px;
}

.faq__row {
  display: grid;
  gap: 4px;
}

.faq__q {
  font-weight: 800;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.45);
}

.faq__a {
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
}

/* Footer */
.footer {
  padding: 16px 0 22px;
}

.footer__inner {
  text-align: center;
  font-family: var(--pixel);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.88);
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.55);
}

.footer__rule {
  height: 2px;
  background: rgba(255, 255, 255, 0.22);
  margin: 10px auto;
  width: min(620px, 100%);
}

/* Responsive tweaks */
@media (max-width: 760px) {
  .topbar__inner {
    align-items: flex-start;
    gap: 12px;
  }

  .mainlogo img {
    width: 240px;
  }

  .hero__peek--left,
  .hero__peek--right {
    display: none;
  }
}

