:root {
  --bg: #09070b;
  --text: #e2b178;
  --text-soft: rgba(226, 177, 120, 0.9);
  --line: rgba(226, 177, 120, 0.28);
  --line-strong: rgba(226, 177, 120, 0.55);
  --panel: rgba(11, 11, 16, 0.28);
  --panel-border: rgba(226, 177, 120, 0.08);
  --shadow: rgba(0, 0, 0, 0.5);
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  min-height: 100svh;
  position: relative;
  overflow: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at center, rgba(255, 186, 112, 0.07), rgba(0, 0, 0, 0) 24%),
    linear-gradient(to bottom, rgba(4, 3, 7, 0.72), rgba(4, 3, 7, 0.28) 18%, rgba(4, 3, 7, 0.22) 50%, rgba(4, 3, 7, 0.65)),
    url('assets/bg-desktop.jpg') center center / cover no-repeat,
    var(--bg);
  font-family: Georgia, 'Times New Roman', serif;
}

body::before,
body::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

body::before {
  background:
    linear-gradient(to right, rgba(4, 3, 7, 0.78), rgba(4, 3, 7, 0.22) 16%, rgba(4, 3, 7, 0.22) 84%, rgba(4, 3, 7, 0.78)),
    linear-gradient(to bottom, rgba(4, 3, 7, 0.78), rgba(4, 3, 7, 0.22) 18%, rgba(4, 3, 7, 0.22) 82%, rgba(4, 3, 7, 0.82));
}

body::after {
  inset: 1.35rem;
  border: 1px solid rgba(226, 177, 120, 0.12);
  opacity: 0.6;
}

.page-shell {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(251, 200, 134, 0.06), rgba(0, 0, 0, 0) 34%),
    linear-gradient(to bottom, rgba(8, 8, 12, 0.08), rgba(8, 8, 12, 0.2));
  pointer-events: none;
}

.top-brand {
  position: absolute;
  top: clamp(1.8rem, 3vw, 3rem);
  left: 50%;
  transform: translateX(-50%);
  width: min(92vw, 1120px);
  text-align: center;
  z-index: 2;
}

.top-brand span {
  display: inline-block;
  position: relative;
  padding: 0 1rem;
  font-size: clamp(0.84rem, 1vw, 1.05rem);
  letter-spacing: 0.34em;
  color: rgba(226, 177, 120, 0.84);
  text-shadow: 0 0 12px rgba(226, 177, 120, 0.06);
}

.top-brand::before,
.top-brand::after {
  content: "";
  position: absolute;
  top: calc(100% + 1rem);
  height: 1px;
  background: linear-gradient(to right, transparent, var(--line-strong), transparent);
  width: calc(50% - 5.5rem);
}

.top-brand::before {
  left: 0;
}

.top-brand::after {
  right: 0;
}

.top-brand span::after {
  content: "✦";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: calc(100% + 0.6rem);
  font-size: 0.75rem;
  color: rgba(226, 177, 120, 0.76);
}

.hero {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 8rem 1.5rem 6rem;
  position: relative;
  z-index: 1;
}

.content-card {
  width: min(92vw, 820px);
  text-align: center;
  padding: clamp(2.2rem, 3.4vw, 3.8rem) clamp(1.6rem, 4vw, 4.6rem);
  background:
    linear-gradient(to bottom, rgba(14, 12, 18, 0.12), rgba(14, 12, 18, 0.22) 26%, rgba(14, 12, 18, 0.20) 74%, rgba(14, 12, 18, 0.12)),
    radial-gradient(circle at center, rgba(255, 214, 163, 0.04), rgba(0, 0, 0, 0) 58%);
  border: 1px solid rgba(226, 177, 120, 0.06);
  border-radius: 28px;
  box-shadow:
    0 22px 64px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

h1 {
  margin: 0;
  font-weight: 600;
  font-size: clamp(2.95rem, 5.4vw, 5.1rem);
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: #e8bb82;
  text-shadow:
    0 0 10px rgba(226, 177, 120, 0.10),
    0 0 24px rgba(226, 177, 120, 0.08),
    0 0 42px rgba(226, 177, 120, 0.05),
    0 8px 22px rgba(0, 0, 0, 0.30);
}

.status,
.message,
.contact,
.site-footer {
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.45);
}

.status {
  margin: 1.6rem 0 0;
  font-size: clamp(1rem, 1.45vw, 1.4rem);
  font-weight: 600;
  color: rgba(226, 177, 120, 0.90);
}

.divider {
  width: min(500px, 74%);
  margin: 2.1rem auto 2.15rem;
  height: 1px;
  position: relative;
  background: linear-gradient(to right, transparent, var(--line), var(--line), transparent);
}

.divider::before,
.divider::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: rgba(226, 177, 120, 0.74);
  transform: translateY(-50%);
  box-shadow: 0 0 14px rgba(226, 177, 120, 0.18);
}

.divider::before {
  left: calc(50% - 0.7rem);
}

.divider::after {
  right: calc(50% - 0.7rem);
}

.message {
  margin: 0 auto;
  max-width: 34ch;
  font-size: clamp(1.08rem, 1.55vw, 1.65rem);
  line-height: 1.55;
  color: rgba(226, 177, 120, 0.92);
}

.contact {
  display: inline-block;
  margin-top: 2.7rem;
  font-size: clamp(1.12rem, 1.7vw, 1.6rem);
  font-weight: 600;
  color: #edc18a;
  text-decoration: none;
  transition: opacity 0.2s ease, transform 0.2s ease, color 0.2s ease;
}

.contact:hover,
.contact:focus-visible {
  color: #f7d4aa;
  opacity: 0.96;
  transform: translateY(-1px);
}

.site-footer {
  position: absolute;
  left: 50%;
  bottom: clamp(1.3rem, 2.6vw, 2.2rem);
  transform: translateX(-50%);
  width: min(92vw, 780px);
  text-align: center;
  font-size: clamp(0.9rem, 1vw, 1rem);
  color: rgba(226, 177, 120, 0.82);
  z-index: 2;
}

@media (max-width: 900px) {
  body {
    background-position: center center;
  }

  .content-card {
    width: min(94vw, 760px);
    padding: 1.8rem 1.2rem 2rem;
    border-radius: 24px;
    background:
      linear-gradient(to bottom, rgba(14, 12, 18, 0.26), rgba(14, 12, 18, 0.38) 28%, rgba(14, 12, 18, 0.34) 72%, rgba(14, 12, 18, 0.24));
  }

  .top-brand {
    top: 1.5rem;
    width: min(94vw, 900px);
  }

  .top-brand span {
    letter-spacing: 0.34em;
    font-size: 0.9rem;
  }

  .top-brand::before,
  .top-brand::after {
    width: calc(50% - 4.5rem);
  }

  .status {
    margin-top: 1.1rem;
  }

  .divider {
    margin-top: 1.45rem;
    margin-bottom: 1.45rem;
    width: min(430px, 82%);
  }

  .contact {
    margin-top: 2rem;
  }
}

@media (max-width: 560px) {
  body::after {
    inset: 0.8rem;
  }

  .hero {
    padding: 7rem 1rem 5.25rem;
  }

  .content-card {
    width: min(100%, 560px);
    padding: 1.65rem 1rem 1.8rem;
    border-radius: 22px;
  }

  h1 {
  font-size: clamp(2.35rem, 12vw, 3.3rem);
  line-height: 1.04;
  }

  .status {
    font-size: 1rem;
  }

  .message {
  font-size: 0.98rem;
  line-height: 1.55;
  max-width: 25ch;
  }

  .contact {
  font-size: 1.02rem;
  line-height: 1.4;
  max-width: 14ch;
  overflow-wrap: anywhere;
  }

  .site-footer {
    font-size: 0.82rem;
    bottom: 1rem;
  }
}

@media (max-height: 760px) {
  .hero {
    padding-top: 6.5rem;
  }

  .content-card {
    padding-top: 1.6rem;
    padding-bottom: 1.7rem;
  }

  .contact {
    margin-top: 1.55rem;
  }
}
