:root {
  --pet-bg: #02060d;
  --pet-surface: rgba(8, 18, 31, 0.84);
  --pet-line: rgba(108, 232, 255, 0.35);
  --pet-cyan: #67e8ff;
  --pet-blue: #2b76ff;
  --pet-gold: #f4d56e;
  --pet-text: #f4fbff;
  --pet-muted: #9bbbc9;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--pet-bg);
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--pet-text);
  background:
    radial-gradient(circle at 50% 0%, rgba(103, 232, 255, 0.16), transparent 34%),
    radial-gradient(circle at 50% 54%, rgba(244, 213, 110, 0.1), transparent 28%),
    linear-gradient(180deg, #040b14 0%, #02060d 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(103, 232, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(103, 232, 255, 0.07) 1px, transparent 1px);
  background-size: 48px 48px;
  content: "";
  mask-image: radial-gradient(circle at 50% 50%, black, transparent 78%);
}

body::after {
  position: fixed;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  background: repeating-linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.035) 0,
    rgba(255, 255, 255, 0.035) 1px,
    transparent 1px,
    transparent 5px
  );
  content: "";
  mix-blend-mode: screen;
  opacity: 0.32;
}

a {
  color: var(--pet-cyan);
}

.pet-site,
.pet-main {
  min-height: 100vh;
}

.pet-main {
  display: grid;
}

.pet-content-main {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: clamp(20px, 4vw, 56px);
}

.pet-content-panel,
.pet-missing-panel {
  width: min(860px, 100%);
  border: 1px solid var(--pet-line);
  border-radius: 12px;
  padding: clamp(24px, 4vw, 44px);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 42%),
    var(--pet-surface);
  box-shadow:
    0 0 0 1px rgba(103, 232, 255, 0.08) inset,
    0 24px 90px rgba(0, 0, 0, 0.46),
    0 0 54px rgba(43, 118, 255, 0.18);
  backdrop-filter: blur(18px);
}

.pet-content-header h1,
.pet-missing-panel h1 {
  margin: 0 0 18px;
  font-size: clamp(32px, 7vw, 64px);
  line-height: 0.94;
  letter-spacing: 0;
  text-transform: uppercase;
}

.pet-content {
  color: var(--pet-muted);
  font-size: 17px;
  line-height: 1.7;
}

.pet-missing {
  position: relative;
  display: grid;
  min-height: 100vh;
  overflow: hidden;
  place-items: center;
  padding: clamp(20px, 4vw, 56px);
}

.pet-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(103, 232, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(103, 232, 255, 0.07) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(circle at center, black, transparent 74%);
}

.pet-missing-panel {
  position: relative;
  z-index: 1;
  text-align: center;
}

.pet-kicker {
  margin: 0 0 10px;
  color: var(--pet-gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pet-missing-panel p:last-child {
  margin-bottom: 0;
  color: var(--pet-muted);
  font-size: 16px;
  line-height: 1.6;
}

body.personalecho-gateway-page .pet-site {
  min-height: 100vh;
}

@media (max-width: 720px) {
  .pet-content-main,
  .pet-missing {
    padding: 18px;
  }
}
