:root {
  --coral: #d66f72;
  --coral-deep: #c65c62;
  --ink: #140c0d;
  --muted: #603b3d;
  --gold: #dda900;
  --cream: #fff7ed;
  --shadow: #661f2d38;
}
* { box-sizing: border-box; }
html { min-height: 100%; background: var(--coral); }
body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  overflow-x: hidden;
  font: 16px/1.55 "Avenir Next", Avenir, "Segoe UI Variable",
    "Helvetica Neue", ui-sans-serif, system-ui, sans-serif;
  background:
    radial-gradient(circle at 90% 5%, #ea8a87 0, transparent 35rem),
    linear-gradient(150deg, var(--coral) 0%, #d06a6e 68%, var(--coral-deep) 100%);
}
.ambient {
  position: fixed;
  z-index: -1;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  filter: blur(4px);
  opacity: .38;
  pointer-events: none;
}
.ambient-one {
  top: -240px;
  left: 34%;
  background: radial-gradient(circle, #ffc797, transparent 68%);
}
.ambient-two {
  right: -280px;
  bottom: -270px;
  background: radial-gradient(circle, #8e263e, transparent 68%);
}
header {
  position: absolute;
  top: 36px;
  right: clamp(28px, 6vw, 100px);
  z-index: 3;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 280px;
  padding: 10px 20px 10px 10px;
  color: white;
  text-decoration: none;
  border-radius: 28px;
  border: 1px solid #ffffff18;
  background: linear-gradient(135deg, #1c1114f5, #090607f2);
  box-shadow:
    0 22px 55px #5219234a,
    0 7px 16px #52192338,
    inset 0 1px 0 #ffffff22;
  transition: transform .22s ease, box-shadow .22s ease;
}
.brand:hover {
  transform: translateY(-4px) rotate(-.4deg);
  box-shadow:
    0 28px 65px #52192366,
    0 9px 20px #52192344,
    inset 0 1px 0 #ffffff2a;
}
.brand img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 6px 16px #0009, inset 0 0 0 1px #ffffff26;
}
.brand span { display: grid; line-height: 1.05; }
.brand strong { font-size: 28px; font-weight: 650; }
.brand small {
  margin-top: 7px;
  color: #e7bf48;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.brand small i {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 3px;
  border-radius: 50%;
  background: #67e5a1;
  box-shadow: 0 0 10px #67e5a1;
  animation: breathe 2.2s ease-in-out infinite;
}
main {
  width: min(1500px, calc(100% - 80px));
  margin: auto;
  min-height: calc(100vh - 70px);
  padding-top: 78px;
}
form {
  position: sticky;
  top: 18px;
  z-index: 2;
  display: grid;
  grid-template-columns: 34px 1fr 68px;
  align-items: center;
  width: min(920px, calc(100% - 390px));
  min-height: 92px;
  margin-left: 1.5%;
  border: 2px solid #ffd956;
  border-radius: 999px;
  padding: 9px 10px 9px 26px;
  background:
    linear-gradient(#e98d87e8, #db7978e8) padding-box,
    linear-gradient(100deg, #f7d04d, #d39500) border-box;
  box-shadow:
    0 24px 60px var(--shadow),
    0 8px 20px #69222c28,
    inset 0 1px 0 #ffffff62,
    inset 0 -1px 0 #8d3c4329;
  backdrop-filter: blur(12px);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s;
}
form:focus-within {
  transform: translateY(-3px);
  border-color: #ffe88e;
  box-shadow:
    0 31px 70px #661f2d4d,
    0 0 0 6px #efbd1830,
    inset 0 1px 0 #ffffff70;
}
.search-icon {
  width: 19px;
  height: 19px;
  border: 3px solid #4f272b;
  border-radius: 50%;
  position: relative;
  opacity: .78;
}
.search-icon::after {
  content: "";
  position: absolute;
  width: 9px;
  height: 3px;
  right: -7px;
  bottom: -4px;
  border-radius: 2px;
  background: #4f272b;
  transform: rotate(45deg);
}
input {
  width: 100%;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
  font: inherit;
  font-size: clamp(22px, 3vw, 40px);
}
input::placeholder { color: #1a1112; opacity: .9; }
button {
  position: relative;
  width: 60px;
  height: 60px;
  border: 0;
  border-radius: 50%;
  padding: 0;
  background: linear-gradient(145deg, #241315, #090506);
  color: var(--cream);
  font-size: 31px;
  cursor: pointer;
  box-shadow: 0 8px 18px #661b2960, inset 0 1px 0 #ffffff26;
  transition: transform .18s, background .18s, box-shadow .18s;
}
button:hover {
  background: linear-gradient(145deg, #4a272b, #150a0c);
  transform: translateX(3px) scale(1.04);
  box-shadow: 0 12px 24px #661b2970, inset 0 1px 0 #ffffff30;
}
button:active { transform: translateX(3px) scale(.96); }
form.loading button {
  color: transparent;
  pointer-events: none;
}
form.loading button::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 3px solid #ffffff55;
  border-top-color: white;
  border-radius: 50%;
  animation: spin .7s linear infinite;
}
.result-area {
  width: min(880px, 76%);
  margin: 80px 0 0 5.5%;
}
.result-heading {
  position: relative;
  padding: 32px 34px 22px;
  border: 1px solid #ffffff2c;
  border-radius: 28px 28px 0 0;
  background: linear-gradient(135deg, #f1989066, #bd51595a);
  box-shadow:
    0 25px 55px #641e2a35,
    inset 0 1px 0 #ffffff35;
  backdrop-filter: blur(10px);
}
.result-heading h1 {
  margin: 0;
  color: white;
  font-size: clamp(62px, 9vw, 116px);
  font-family: "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -4px;
  text-shadow: 0 5px 18px #731f3035;
}
.heading-accent {
  display: block;
  width: 96px;
  height: 7px;
  margin-top: 17px;
  border-radius: 8px;
  background: linear-gradient(90deg, #f4cb39, #d09200);
  box-shadow: 0 5px 13px #743d0550;
}
.index-status {
  float: right;
  margin: 16px 8px 0 20px;
  color: #5c3033;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .3px;
}
.summary {
  min-height: 50px;
  padding: 14px 5px 12px;
  color: #563033;
  font-size: 14px;
}
.results {
  display: grid;
  gap: 0;
  padding: 0 0 70px;
  overflow: hidden;
  border: 1px solid #ffffff24;
  border-top: 0;
  border-radius: 0 0 28px 28px;
  background: #b94e5730;
  box-shadow: 0 30px 70px #5e17263d;
  backdrop-filter: blur(9px);
}
.result {
  position: relative;
  padding: 26px 76px 25px 34px;
  border-bottom: 1px solid #4e202735;
  background: linear-gradient(90deg, #f9ada216, transparent);
  transform: translateY(12px);
  animation: resultIn .42s cubic-bezier(.2,.8,.2,1) forwards;
  animation-delay: calc(min(var(--order), 8) * 45ms);
  transition: padding-left .18s, background .18s, box-shadow .18s;
}
.result:last-child { border-bottom: 0; }
.result:hover {
  z-index: 1;
  padding-left: 43px;
  background: linear-gradient(90deg, #ffc0b36b, #e37d7838);
  box-shadow: 0 10px 30px #661d2b26;
}
.result .host {
  color: #5d2d31;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: .8px;
  text-transform: uppercase;
}
.result h2 {
  margin: 4px 0 7px;
  font-size: 24px;
  font-weight: 720;
  line-height: 1.22;
  letter-spacing: -.35px;
}
.result h2 a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--ink);
  text-decoration: none;
}
.result h2 a span {
  flex: 0 0 auto;
  opacity: 0;
  color: #fff8ef;
  font-size: 20px;
  transform: translate(-8px, 5px);
  transition: opacity .18s, transform .18s;
}
.result:hover h2 a span { opacity: 1; transform: translate(0, 0); }
.result h2 a:hover { color: #fff7ed; }
.result p { max-width: 760px; color: #583236; margin: 0; }
mark {
  color: var(--ink);
  background: #e6b713;
  border-radius: 3px;
  padding: 0 2px;
}
.empty {
  text-align: left;
  padding: 52px 10px;
  color: var(--muted);
  border: 1px solid #ffffff2c;
  border-radius: 0 0 28px 28px;
  background: #f3a09835;
  box-shadow: 0 25px 55px var(--shadow);
}
.empty h2 { color: var(--ink); font-size: 28px; }
.empty-icon { font-size: 42px; }
footer {
  width: min(1500px, calc(100% - 80px));
  height: 70px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #6c383c;
  font-size: 12px;
}
@keyframes resultIn {
  from { transform: translateY(12px); }
  to { transform: translateY(0); }
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes breathe {
  50% { opacity: .45; box-shadow: 0 0 4px #67e5a1; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
@media (max-width: 900px) {
  header { position: static; padding: 18px 20px 0; }
  .brand { width: fit-content; min-width: 0; padding-right: 15px; }
  .brand img { width: 48px; height: 48px; border-radius: 14px; }
  .brand strong { font-size: 21px; }
  .brand small { font-size: 9px; margin-top: 4px; }
  main { width: calc(100% - 30px); padding-top: 25px; }
  form {
    width: 100%;
    margin: 0;
    min-height: 70px;
    grid-template-columns: 28px 1fr 50px;
    padding-left: 20px;
  }
  button { width: 46px; height: 46px; font-size: 24px; }
  .result-area { width: 100%; margin: 48px 0 0; }
  .result-heading { padding: 26px 23px 18px; }
  .result-heading h1 { letter-spacing: -3px; }
  .result { padding: 23px 24px; }
  .result:hover { padding-left: 29px; }
  .index-status { float: none; margin: 0 0 8px; }
  footer { width: calc(100% - 30px); }
}
@media (max-width: 520px) {
  .result-heading h1 { font-size: 54px; letter-spacing: -2px; }
  input { font-size: 22px; }
  .result h2 { font-size: 21px; }
  footer span:last-child { display: none; }
}
