/* --------------- 404 Page (dark) --------------- */

.right-side .e404-page {
  padding-left: 80px;
  padding-right: 80px; }

@media (max-width: 991px) {
  .right-side .e404-page {
    padding-left: 48px;
    padding-right: 48px; } }

@media (max-width: 767px) {
  .right-side .e404-page {
    padding-left: 24px;
    padding-right: 24px; } }

.e404-page {
  position: relative;
  min-height: 520px;
  background: #0a0a0a;
  border: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 64px 48px; }

@media (max-width: 767px) {
  .e404-page {
    padding: 48px 24px;
    min-height: 460px; } }

.e404-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(90px); }

.e404-glow--1 {
  width: 420px;
  height: 420px;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(248, 68, 56, 0.22); }

.e404-glow--2 {
  width: 300px;
  height: 300px;
  bottom: -100px;
  right: -60px;
  background: rgba(248, 68, 56, 0.08); }

.e404-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 620px;
  margin: 0 auto; }

.e404-code {
  display: block;
  font-size: clamp(88px, 16vw, 160px);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(248, 68, 56, 0.35);
  margin-bottom: -24px;
  user-select: none; }

.e404-label {
  display: inline-block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--main-color);
  margin-bottom: 16px; }

.e404-inner h1 {
  font-size: clamp(32px, 4.5vw, 52px);
  line-height: 1.05;
  font-weight: 600;
  color: #fff;
  margin: 0 0 18px; }

.e404-inner h1 .accent {
  color: var(--main-color); }

.e404-text {
  font-size: 16px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.45);
  margin: 0 0 32px; }

.e404-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 40px; }

.e404-actions .butn-bg {
  box-shadow: 0 0 28px rgba(248, 68, 56, 0.3); }

.e404-actions .butn-bord {
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff; }

.e404-actions .butn-bord:hover {
  background: #fff;
  color: #1b1b1b;
  border-color: #fff; }

.e404-links {
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08); }

.e404-links-label {
  display: block;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.3);
  margin-bottom: 16px; }

.e404-links-list {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 20px; }

.e404-links-list li {
  margin: 0; }

.e404-links-list a {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.25s; }

.e404-links-list a:hover {
  color: var(--main-color); }
