/* ---------------------------------------------------------------------------
   404 body. Markup: app/not-found.tsx. Scoped under .gg-404, and it borrows the
   theme's 5px radius and transition curve so it sits with the rest of the site.
--------------------------------------------------------------------------- */

.gg-404 {
  background: #fff;
  padding: 110px 0 120px;
  text-align: center;
}

.gg-404__inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 15px;
}

.gg-404__code {
  margin: 0 0 6px;
  color: #ededed;
  font-size: 120px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
}

.gg-404__title {
  margin: 0 0 18px;
  color: var(--secondary-color);
  font-size: 42px;
  font-weight: 800;
  line-height: 1.2;
}

.gg-404__title span {
  color: var(--primary-color);
}

.gg-404__body {
  margin: 0 0 34px;
  color: #6b6b6b;
  font-size: 16px;
  line-height: 1.8;
}

/* --- actions ------------------------------------------------------------- */

.gg-404__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-bottom: 44px;
}

.gg-404__btn {
  display: inline-flex;
  align-items: center;
  padding: 16px 32px;
  border: 1px solid var(--primary-color);
  border-radius: 5px;
  background: var(--primary-color);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.gg-404__btn:hover,
.gg-404__btn:focus-visible {
  background: #b00005;
  border-color: #b00005;
  color: #fff;
  transform: translateY(-2px);
}

.gg-404__btn--ghost {
  background: transparent;
  color: var(--secondary-color);
  border-color: #e0e0e0;
}

.gg-404__btn--ghost:hover,
.gg-404__btn--ghost:focus-visible {
  background: var(--secondary-color);
  border-color: var(--secondary-color);
  color: #fff;
}

/* --- popular links ------------------------------------------------------- */

.gg-404__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  justify-content: center;
  padding-top: 26px;
  border-top: 1px solid #e8e8e8;
}

.gg-404__links a {
  color: #6b6b6b;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.gg-404__links a:hover,
.gg-404__links a:focus-visible {
  color: var(--primary-color);
}

/* --- responsive ---------------------------------------------------------- */

@media screen and (max-width: 767px) {
  .gg-404 {
    padding: 70px 0 80px;
  }
  .gg-404__code {
    font-size: 84px;
  }
  .gg-404__title {
    font-size: 30px;
  }
  .gg-404__btn {
    width: 100%;
    justify-content: center;
  }
}
