/* GamePC — moderní systémová stránka 404. Vše je omezeno pouze na body.id-404. */
body.id-404 #content-wrapper {
  width: 100%;
  max-width: none;
  padding-inline: clamp(16px, 4vw, 64px);
}

body.id-404 #content.content.narrow {
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 68px) 0 clamp(48px, 7vw, 92px);
}

body.id-404 #content .content-inner {
  position: relative;
  isolation: isolate;
  width: 100%;
  max-width: none;
  min-height: 430px;
  margin: 0;
  padding: clamp(36px, 6vw, 78px);
  overflow: hidden;
  border: 1px solid #e3e6ef;
  border-radius: 0;
  background:
    linear-gradient(rgba(80, 92, 125, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(80, 92, 125, .045) 1px, transparent 1px),
    radial-gradient(circle at 88% 18%, rgba(113, 78, 232, .14), transparent 34%),
    radial-gradient(circle at 8% 92%, rgba(65, 139, 242, .11), transparent 32%),
    #fff;
  background-size: 52px 52px, 52px 52px, auto, auto, auto;
  box-shadow: 0 22px 60px rgba(27, 31, 49, .08);
}

body.id-404 #content .content-inner::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -90px;
  right: -70px;
  width: 330px;
  height: 330px;
  border: 48px solid rgba(101, 63, 217, .055);
  transform: rotate(18deg);
}

body.id-404 .pageArticleDetail {
  display: grid;
  grid-template-columns: minmax(260px, .8fr) minmax(390px, 1.2fr);
  gap: clamp(38px, 7vw, 100px);
  align-items: center;
  min-height: 274px;
}

body.id-404 .pageArticleDetail > header {
  position: relative;
}

body.id-404 .pageArticleDetail h1 {
  margin: 0;
  color: #15151b;
  font-size: clamp(108px, 13vw, 190px);
  font-weight: 900;
  letter-spacing: -.09em;
  line-height: .78;
}

body.id-404 .pageArticleDetail h1::before {
  content: "STRÁNKA NENALEZENA";
  display: block;
  margin: 0 0 25px 8px;
  color: #7041cf;
  font-size: 13px;
  font-weight: 850;
  letter-spacing: .22em;
  line-height: 1.4;
}

body.id-404 .pageArticleDetail h1::after {
  content: "Tahle cesta nikam nevede.";
  display: block;
  max-width: 330px;
  margin: 35px 0 0 8px;
  color: #252630;
  font-size: clamp(24px, 2.4vw, 34px);
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1.12;
}

body.id-404 .gpc-mini-contact {
  width: 100%;
  margin: 0;
  padding: clamp(28px, 4vw, 44px);
  text-align: left;
  border: 1px solid rgba(214, 217, 228, .92);
  border-left: 4px solid #7041cf;
  border-radius: 0;
  background: rgba(255, 255, 255, .84);
  box-shadow: 0 14px 38px rgba(28, 30, 44, .07);
  backdrop-filter: blur(12px);
}

body.id-404 .gpc-mini-contact h2 {
  margin: 0 0 10px;
  color: #17171d;
  font-size: clamp(25px, 2.2vw, 34px);
  font-weight: 850;
  letter-spacing: -.035em;
  line-height: 1.12;
}

body.id-404 .gpc-mini-contact p {
  max-width: 520px;
  margin: 0 0 24px;
  color: #5e6170;
  font-size: 16px;
  line-height: 1.65;
}

body.id-404 .gpc-mini-actions {
  display: flex;
  justify-content: flex-start;
  gap: 10px;
}

body.id-404 .gpc-mini-actions a,
body.id-404 #content > .text-center .btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 19px;
  border: 1px solid #e1e3e9;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
  color: #262733;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  transition: transform .18s ease, border-color .18s ease, background .18s ease, color .18s ease;
}

body.id-404 .gpc-mini-actions .gpc-btn-call {
  border-color: #7041cf;
  background: #7041cf;
  color: #fff;
}

body.id-404 .gpc-mini-actions a:hover,
body.id-404 #content > .text-center .btn:hover {
  transform: translateY(-2px);
  border-color: #7041cf;
  background: #f6f2ff;
  color: #5b2eb7;
}

body.id-404 .gpc-mini-actions .gpc-btn-call:hover {
  background: #5c2ebc;
  color: #fff;
}

body.id-404 #content > .text-center {
  margin: 18px 0 0;
  text-align: left;
}

body.id-404 #content > .text-center .btn {
  border-color: #20212a;
  background: #20212a;
  color: #fff;
}

body.id-404 #content > .text-center .btn::before {
  content: "←";
  margin-right: 9px;
  font-size: 18px;
}

body.id-404 #content > .text-center .btn:hover {
  border-color: #7041cf;
  background: #7041cf;
  color: #fff;
}

@media (max-width: 767px) {
  body.id-404 #content-wrapper {
    padding-inline: 12px;
  }

  body.id-404 #content.content.narrow {
    padding: 20px 0 48px;
  }

  body.id-404 #content .content-inner {
    min-height: 0;
    padding: 38px 22px 24px;
    background-size: 34px 34px, 34px 34px, auto, auto, auto;
  }

  body.id-404 .pageArticleDetail {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  body.id-404 .pageArticleDetail h1 {
    font-size: clamp(90px, 32vw, 132px);
  }

  body.id-404 .pageArticleDetail h1::after {
    margin-top: 27px;
    font-size: 26px;
  }

  body.id-404 .gpc-mini-contact {
    padding: 25px 20px;
  }

  body.id-404 .gpc-mini-actions {
    flex-direction: column;
  }

  body.id-404 .gpc-mini-actions a {
    width: 100%;
  }

  body.id-404 #content > .text-center .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.id-404 .gpc-mini-actions a,
  body.id-404 #content > .text-center .btn {
    transition: none;
  }
}
