:root {
  color-scheme: dark;
  --bg: #090d16;
  --text: #f7efe1;
  --muted: #a99c8a;
  --line: rgba(255, 239, 209, 0.16);
  --gold: #e7c878;
  --ember: #c56b45;
  --blue: #8ab6ff;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  min-height: 100svh;
  margin: 0;
  font-family: "Avenir Next", "Trebuchet MS", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 18%, rgba(138, 182, 255, 0.24), transparent 28rem),
    radial-gradient(circle at 82% 8%, rgba(231, 200, 120, 0.18), transparent 30rem),
    radial-gradient(circle at 50% 100%, rgba(197, 107, 69, 0.16), transparent 34rem),
    linear-gradient(135deg, #060913, #10131f 58%, #140d10);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.16;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at 50% 40%, black, transparent 72%);
}

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

.seer-directory {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(34px, 6vw, 72px) 0;
}

.intro {
  display: grid;
  justify-items: center;
  margin-bottom: clamp(34px, 6vw, 72px);
  text-align: center;
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(18px);
}

.language-switcher a {
  display: inline-grid;
  min-width: 42px;
  min-height: 34px;
  place-items: center;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.language-switcher a:hover,
.language-switcher a:focus-visible,
.language-switcher a.is-active {
  color: #130e09;
  outline: 0;
  background: linear-gradient(135deg, var(--gold), #fff0b8);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

h1 {
  max-width: 940px;
  margin: 0 0 20px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.2rem, 9vw, 7.8rem);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: -0.075em;
}

.lead {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  line-height: 1.65;
}

.seer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.seer-card {
  position: relative;
  min-height: 190px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 34px;
  padding: 26px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.035)),
    rgba(255, 255, 255, 0.035);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.24);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.seer-card::before {
  content: "";
  position: absolute;
  right: -44px;
  bottom: -44px;
  width: 134px;
  height: 134px;
  border: 1px solid rgba(231, 200, 120, 0.28);
  border-radius: 50%;
}

.seer-card::after {
  content: "";
  position: absolute;
  right: 28px;
  bottom: 28px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 30px rgba(231, 200, 120, 0.75);
}

.seer-card:hover,
.seer-card:focus-visible {
  border-color: rgba(231, 200, 120, 0.55);
  outline: 0;
  background:
    linear-gradient(145deg, rgba(231, 200, 120, 0.17), rgba(138, 182, 255, 0.07)),
    rgba(255, 255, 255, 0.06);
  transform: translateY(-4px);
}

.seer-card span,
.seer-card small {
  position: relative;
  z-index: 1;
  display: block;
}

.seer-card span {
  max-width: 12ch;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.9rem, 3vw, 2.55rem);
  line-height: 0.96;
  letter-spacing: -0.055em;
}

.seer-card small {
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.detail-page {
  max-width: 1120px;
}

.detail-hero {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: clamp(34px, 6vw, 64px);
  padding: clamp(30px, 7vw, 78px);
  background:
    radial-gradient(circle at 84% 12%, rgba(231, 200, 120, 0.18), transparent 26rem),
    linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.035));
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.27);
}

.detail-hero::after {
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  width: 220px;
  height: 220px;
  border: 1px solid rgba(231, 200, 120, 0.24);
  border-radius: 50%;
}

.detail-hero h1 {
  max-width: 880px;
}

.detail-status {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  margin-top: 30px;
  border: 1px solid rgba(231, 200, 120, 0.22);
  border-radius: 999px;
  padding: 0 16px;
  color: var(--gold);
  background: rgba(231, 200, 120, 0.08);
  font-size: 0.84rem;
  font-weight: 800;
}

.detail-status[hidden] {
  display: none;
}

.detail-chat-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  margin-top: 24px;
  border-radius: 999px;
  padding: 0 28px;
  color: #130e09;
  background: linear-gradient(135deg, var(--gold), #fff0b8);
  box-shadow: 0 18px 50px rgba(231, 200, 120, 0.25);
  font-size: 0.95rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.detail-chat-button:hover,
.detail-chat-button:focus-visible {
  outline: 0;
  transform: translateY(-2px);
}

.detail-others {
  margin-top: clamp(32px, 6vw, 66px);
}

.detail-others-label {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.detail-other-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.detail-other-card {
  min-height: 122px;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.05);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.detail-other-card:hover,
.detail-other-card:focus-visible {
  border-color: rgba(231, 200, 120, 0.48);
  outline: 0;
  background: rgba(231, 200, 120, 0.09);
  transform: translateY(-3px);
}

.detail-other-card span,
.detail-other-card small {
  display: block;
}

.detail-other-card span {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
  line-height: 1;
  letter-spacing: -0.04em;
}

.detail-other-card small {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .seer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .detail-other-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 620px) {
  .seer-directory {
    width: min(100% - 28px, 1180px);
  }

  .seer-grid {
    grid-template-columns: 1fr;
  }

  .seer-card {
    min-height: 150px;
  }

  .detail-other-grid {
    grid-template-columns: 1fr;
  }
}
