a {
  text-decoration: none;
  color: inherit;
}

/* Page */
.error-page {
  min-height: 85vh;
  padding: 28px;
  position: relative;
  overflow: hidden;
}

/* Header */
.site-header {
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px 24px;
  border: 1px solid rgba(238, 131, 131, 0.18);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(18px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 18px 50px rgba(238, 131, 131, 0.12);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: #b84f59;
}

.brand-icon {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  background: linear-gradient(135deg, #ee8383, #ffc0b8);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 24px rgba(238, 131, 131, 0.35);
}

.brand-name {
  font-size: 18px;
}

.header-nav {
  display: flex;
  gap: 22px;
  color: #7a6464;
  font-size: 14px;
}

.header-nav a:hover {
  color: #ee8383;
}

/* Section */
.error-section {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  place-items: center;
  position: relative;
  padding: 50px 0;
}

/* Main Card */
.error-card {
  width: 100%;
  min-height: 560px;
  padding: 52px;
  border-radius: 42px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.86), rgba(255, 246, 244, 0.68));
  border: 1px solid rgba(238, 131, 131, 0.2);
  box-shadow:
    0 35px 90px rgba(91, 48, 52, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 44px;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.error-card::before {
  content: "";
  position: absolute;
  width: 430px;
  height: 430px;
  border-radius: 50%;
  background: rgba(238, 131, 131, 0.13);
  top: -180px;
  left: -140px;
}

.error-card::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(255, 205, 198, 0.3);
  bottom: -90px;
  right: -80px;
}

/* 404 Visual */
.error-visual {
  position: relative;
  min-height: 430px;
  display: grid;
  place-items: center;
  z-index: 2;
}

.error-code {
  font-size: clamp(110px, 16vw, 220px);
  line-height: 1;
  font-weight: 900;
  letter-spacing: -8px;
  color: transparent;
  background:
    linear-gradient(135deg, #ee8383 0%, #c95d69 45%, #ffd2cb 100%);
  -webkit-background-clip: text;
  background-clip: text;
  text-shadow: 0 22px 45px rgba(238, 131, 131, 0.22);
}

/* Sparkles */
.sparkle {
  position: absolute;
  color: #ee8383;
  font-size: 28px;
  filter: drop-shadow(0 10px 18px rgba(238, 131, 131, 0.35));
}

.sparkle-one {
  top: 54px;
  right: 90px;
}

.sparkle-two {
  bottom: 82px;
  left: 110px;
  font-size: 36px;
}

.sparkle-three {
  top: 120px;
  left: 72px;
  font-size: 22px;
}

/* Product Cards */
.beauty-product {
  position: absolute;
  width: 86px;
  height: 120px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(238, 131, 131, 0.2);
  box-shadow: 0 20px 45px rgba(119, 62, 68, 0.16);
  backdrop-filter: blur(14px);
}

.beauty-product span {
  position: absolute;
  inset: 14px;
  border-radius: 18px;
  background: linear-gradient(180deg, #ee8383, #ffd0ca);
}

.product-one {
  right: 22px;
  bottom: 58px;
  transform: rotate(-12deg);
}

.product-two {
  left: 42px;
  top: 48px;
  transform: rotate(14deg);
}

/* Content */
.error-content {
  position: relative;
  z-index: 2;
}

.eyebrow {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 9px 16px;
  border-radius: 999px;
  background: rgba(238, 131, 131, 0.12);
  color: #c45d66;
  font-size: 13px;
  font-weight: 700;
}

.error-content h2 {
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.35;
  margin-bottom: 18px;
  color: #332727;
}

.error-content p {
  max-width: 520px;
  font-size: 16px;
  line-height: 2.1;
  color: #756464;
  margin-bottom: 34px;
}

/* Buttons */
.action-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  min-height: 52px;
  padding: 0 24px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  transition: 0.25s ease;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #ee8383, #d86472);
  box-shadow: 0 16px 34px rgba(238, 131, 131, 0.35);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 44px rgba(238, 131, 131, 0.45);
}

.btn-secondary {
  color: #c45d66;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(238, 131, 131, 0.28);
}

.btn-secondary:hover {
  background: #fff3f1;
  transform: translateY(-3px);
}

/* Decorative Cosmetic Elements */
.decor {
  position: absolute;
  opacity: 0.85;
  z-index: 1;
}

.decor-lipstick {
  width: 34px;
  height: 130px;
  border-radius: 18px;
  background:
    linear-gradient(to bottom, #b94859 0 34%, #ee8383 34% 58%, #3a2c2c 58%);
  right: -10px;
  top: 22%;
  transform: rotate(-18deg);
  box-shadow: 0 24px 45px rgba(238, 131, 131, 0.28);
}

.decor-brush {
  width: 26px;
  height: 170px;
  border-radius: 16px;
  background:
    linear-gradient(to bottom, #f8c7c1 0 28%, #ee8383 28% 44%, #6b4c4c 44%);
  left: 8px;
  bottom: 20%;
  transform: rotate(22deg);
  box-shadow: 0 24px 45px rgba(238, 131, 131, 0.22);
}

.decor-serum {
  width: 58px;
  height: 86px;
  border-radius: 20px;
  background:
    linear-gradient(180deg, #fff, #ffe7e3);
  border: 1px solid rgba(238, 131, 131, 0.22);
  left: 12%;
  top: 14%;
  box-shadow: 0 24px 50px rgba(238, 131, 131, 0.16);
}

/* Responsive */
@media (max-width: 900px) {
  .site-header {
    flex-direction: column;
    gap: 16px;
  }

  .error-card {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 36px 24px;
  }

  .error-content p {
    margin-left: auto;
    margin-right: auto;
  }

  .action-buttons {
    justify-content: center;
  }

  .error-visual {
    min-height: 310px;
  }
}

@media (max-width: 560px) {
  .error-page {
    padding: 16px;
  }

  .header-nav {
    gap: 14px;
    font-size: 13px;
  }

  .error-card {
    border-radius: 30px;
    padding: 30px 18px;
  }

  .error-code {
    letter-spacing: -4px;
  }

  .btn {
    width: 100%;
  }

  .decor {
    display: none;
  }

  .beauty-product {
    width: 64px;
    height: 90px;
  }
}