* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Heebo", sans-serif;
  color: #f6f0ea;
  background:
    linear-gradient(180deg, #1a1a1a 0%, #232323 50%, #161616 100%);
}

.vk-top {
  position: sticky;
  top: 0;
  z-index: 60;
  border-bottom: 2px solid #3a3029;
  background: color-mix(in srgb, #161616 88%, transparent);
  backdrop-filter: blur(8px);
}

.vk-top-row {
  width: min(1400px, calc(100% - 2rem));
  margin: 0 auto;
  min-height: 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.vk-logo {
  text-decoration: none;
  color: #ffe4d8;
  display: inline-flex;
  gap: 0.75rem;
  align-items: center;
  font-family: "Archivo Black", sans-serif;
  letter-spacing: 0.04em;
  font-size: 0.95rem;
}

.vk-logo-chip {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: #ff6f4e;
  color: #29140f;
  font-size: 0.8rem;
}

.vk-burger {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid #4d3e33;
  border-radius: 8px;
  background: #231e1a;
}

.vk-burger span {
  display: block;
  width: 20px;
  height: 2px;
  background: #f8e5db;
  margin: 4px auto;
}

.vk-nav {
  display: flex;
  gap: 0.3rem;
}

.vk-nav a {
  text-decoration: none;
  color: #ffe8dd;
  font-weight: 700;
  padding: 0.45rem 0.72rem;
  border: 1px solid transparent;
  border-radius: 7px;
}

.vk-nav a:hover,
.vk-nav a.vk-current {
  border-color: #7a4637;
  background: #35251f;
}

main {
  width: min(1400px, calc(100% - 2rem));
  margin: 1.2rem auto 2.4rem;
}

.vk-hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1rem;
}

.vk-section {
  border: 1px solid #4e3d32;
  border-radius: 14px;
  background: #1f1a17;
  padding: 1rem;
}

.vk-section h1,
.vk-section h2,
.vk-section h3 {
  margin: 0 0 0.56rem;
  font-family: "Archivo Black", sans-serif;
  letter-spacing: 0.02em;
}

.vk-section h1 {
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.05;
}

.vk-warning-list {
  margin-top: 0.8rem;
  display: grid;
  gap: 0.5rem;
}

.vk-warning-list div {
  background: #2a201b;
  border-left: 4px solid #ff6f4e;
  border-radius: 7px;
  padding: 0.54rem 0.7rem;
  font-weight: 700;
}

.vk-stack {
  display: grid;
  gap: 0.8rem;
}

.vk-box {
  border: 1px solid #594638;
  background: #2a231e;
  border-radius: 10px;
  padding: 0.72rem;
}

.vk-bar {
  margin-top: 0.7rem;
  border: 1px solid #60483b;
  border-radius: 999px;
  overflow: hidden;
  height: 12px;
}

.vk-bar span {
  display: block;
  width: 66%;
  height: 100%;
  background: linear-gradient(90deg, #ff6f4e, #ffae66);
}

.vk-game {
  margin-top: 1rem;
  border: 1px solid #5f4a3c;
  border-radius: 14px;
  background: #171311;
  padding: 0.75rem;
}

.vk-game iframe {
  width: 100%;
  height: min(72vw, 660px);
  border: 0;
  border-radius: 10px;
  background: #000;
}

.vk-layers {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
}

.vk-foot {
  border-top: 1px solid #4b3a2f;
  background: #171311;
}

.vk-foot-wrap {
  width: min(1400px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1rem 0 1.8rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.8rem;
}

.vk-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.vk-links a {
  color: #ffd8c8;
}

.vk-age {
  position: fixed;
  inset: 0;
  z-index: 95;
  display: grid;
  place-items: center;
  background: rgba(15, 11, 9, 0.87);
  padding: 1rem;
}

.vk-age[hidden] {
  display: none;
}

.vk-age-box {
  width: min(560px, 100%);
  border: 1px solid #705241;
  border-radius: 14px;
  background: #221b16;
  padding: 1rem;
}

.vk-age-actions {
  display: flex;
  gap: 0.7rem;
  margin-top: 0.8rem;
}

.vk-age-actions button {
  border: 0;
  border-radius: 8px;
  padding: 0.62rem 0.87rem;
  font-weight: 800;
  cursor: pointer;
}

.vk-age-yes {
  background: linear-gradient(120deg, #ff6f4e, #ffb166);
  color: #2d170f;
}

.vk-age-no {
  background: #4a372d;
  color: #fde5db;
}

.vk-age-msg {
  min-height: 1.4em;
  color: #ff9f8f;
}

@media (max-width: 1120px) {
  .vk-hero {
    grid-template-columns: 1fr;
  }

  .vk-layers {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .vk-burger {
    display: inline-block;
  }

  .vk-nav {
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: calc(100% + 0.25rem);
    display: none;
    flex-direction: column;
    background: #1e1814;
    border: 1px solid #624a3d;
    border-radius: 12px;
    padding: 0.6rem;
  }

  .vk-nav.vk-open {
    display: flex;
  }

  .vk-layers {
    grid-template-columns: 1fr;
  }
}
