:root {
  --bg: #070a08;
  --card: #111713;
  --line: #263029;
  --green: #b8f5c5;
  --green-strong: #7eea96;
  --white: #f5f7f5;
  --muted: #929d95;
}

* { box-sizing: border-box; }
html { background: var(--bg); scroll-behavior: smooth; }
body {
  margin: 0;
  background: radial-gradient(circle at 50% -10%, rgba(96, 200, 120, .15), transparent 34rem), var(--bg);
  color: var(--white);
  font-family: "Outfit", Arial, Helvetica, sans-serif;
}
button, input { font: inherit; }

.hero {
  max-width: 1180px;
  min-height: 340px;
  margin: auto;
  padding: 72px 28px 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
}
.logo {
  width: 118px;
  height: 118px;
  padding: 14px;
  object-fit: contain;
  border: 1px solid rgba(184, 245, 197, .25);
  border-radius: 30px;
  background: rgba(184, 245, 197, .08);
  box-shadow: 0 20px 70px rgba(62, 185, 89, .18);
}
.eyebrow { margin: 0 0 13px; color: var(--green); font-size: 12px; font-weight: 700; letter-spacing: .16em; }
h1 { margin: 0; font-size: clamp(42px, 6vw, 76px); line-height: 1; letter-spacing: -.055em; }
h1 span { color: var(--green); }
.intro { max-width: 690px; margin: 20px 0 0; color: #b6beb8; font-size: clamp(16px, 2vw, 21px); line-height: 1.55; }

.directory { max-width: 1240px; margin: auto; padding: 0 30px 80px; border-top: 1px solid var(--line); }
.tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.tab {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  border: 1px solid transparent;
  border-radius: 16px;
  background: transparent;
  color: #8f9992;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  transition: .25s;
}
.tab:hover { color: white; background: #101511; }
.tab.active { color: #071009; background: var(--green); box-shadow: 0 8px 34px rgba(126, 234, 150, .18); }

.search {
  height: 76px;
  margin: 38px 0 18px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  border: 1px solid #303a33;
  border-radius: 18px;
  background: #0d120f;
}
.search:focus-within { border-color: var(--green-strong); box-shadow: 0 0 0 4px rgba(126, 234, 150, .08); }
.search-icon { width: 22px; height: 22px; margin-right: 20px; border: 2px solid #89938b; border-radius: 50%; position: relative; }
.search-icon::after { content: ""; width: 9px; height: 2px; background: #89938b; position: absolute; right: -7px; bottom: -3px; transform: rotate(45deg); }
.search input { width: 100%; border: 0; outline: 0; background: transparent; color: white; font-size: 19px; }
.search input::placeholder { color: #68716b; }

.result-info { margin: 0 3px 18px; display: flex; justify-content: space-between; color: #778179; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.live::before { content: ""; width: 7px; height: 7px; margin-right: 8px; display: inline-block; border-radius: 50%; background: var(--green-strong); box-shadow: 0 0 12px var(--green-strong); }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.card {
  min-width: 0;
  min-height: 242px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid #202a23;
  border-radius: 22px;
  background: linear-gradient(145deg, #121814, #0d120f);
  transition: .25s;
  animation: appear .4s ease backwards;
}
.card:hover { transform: translateY(-4px); border-color: #3c5743; box-shadow: 0 20px 60px rgba(0, 0, 0, .3); }
.card-header { min-width: 0; display: flex; align-items: center; gap: 16px; }
.item-icon { width: 54px; height: 54px; flex: 0 0 54px; display: grid; place-items: center; border: 1px solid #2b3a2f; border-radius: 15px; background: #1a251d; color: var(--green); font-size: 22px; font-weight: 800; }
.title { min-width: 0; }
.title h2 { margin: 0 0 7px; overflow: hidden; color: white; font-size: 19px; text-overflow: ellipsis; white-space: nowrap; }
.title p { margin: 0; color: var(--green-strong); font-size: 11px; font-weight: 800; letter-spacing: .12em; }
.title p span { color: #677169; }
.url-box { min-width: 0; padding: 15px 12px 15px 16px; display: flex; align-items: center; gap: 12px; border: 1px solid #263029; border-radius: 14px; background: #090d0a; }
.url-box > div { min-width: 0; flex: 1; }
.url-box small { display: block; margin-bottom: 7px; color: #626d65; font-size: 9px; font-weight: 800; letter-spacing: .12em; }
.url-box p { margin: 0; overflow: hidden; color: #aab3ac; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.copy { width: 38px; height: 38px; flex: 0 0 38px; border: 1px solid #334039; border-radius: 10px; background: #151c17; color: #aab3ac; cursor: pointer; position: relative; }
.copy:not(.copied)::before, .copy:not(.copied)::after { content: ""; width: 11px; height: 11px; position: absolute; border: 1.8px solid currentColor; border-radius: 2px; }
.copy:not(.copied)::before { left: 11px; top: 10px; }
.copy:not(.copied)::after { left: 15px; top: 14px; background: #151c17; }
.copy:hover, .copy.copied { border-color: var(--green); background: var(--green); color: #071009; }
.skeleton { min-height: 242px; border-radius: 22px; background: linear-gradient(100deg, #101512 20%, #19211b 40%, #101512 60%); background-size: 200% 100%; animation: shimmer 1.2s infinite linear; }
.empty { padding: 80px 20px; text-align: center; border: 1px dashed #2c362f; border-radius: 22px; color: var(--muted); }
.empty strong { color: white; font-size: 22px; }

footer { min-height: 130px; display: flex; align-items: center; justify-content: center; gap: 12px; border-top: 1px solid #1f2822; color: #59625c; }
footer img { width: 34px; height: 34px; border-radius: 8px; }
footer strong { color: white; }
.toast { position: fixed; right: 24px; bottom: 24px; padding: 15px 20px; border: 1px solid #5d8667; border-radius: 13px; background: #17231a; color: var(--green); font-weight: 700; opacity: 0; transform: translateY(80px); transition: .3s; pointer-events: none; }
.toast.show { opacity: 1; transform: translateY(0); }

@keyframes appear { from { opacity: 0; transform: translateY(12px); } }
@keyframes shimmer { to { background-position: -200% 0; } }
@media (max-width: 900px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .logo { width: 94px; height: 94px; } }
@media (max-width: 620px) {
  .hero { padding: 50px 20px 40px; flex-direction: column; text-align: center; gap: 22px; }
  .logo { width: 82px; height: 82px; border-radius: 22px; }
  .directory { padding: 0 16px 54px; }
  .tabs { gap: 7px; }
  .tab { min-height: 58px; gap: 7px; border-radius: 13px; font-size: 12px; }
  .search { height: 64px; margin-top: 24px; }
  .search input { font-size: 16px; }
  .grid { grid-template-columns: 1fr; }
  .card { min-height: 215px; padding: 20px; }
  footer { padding: 28px 20px; flex-wrap: wrap; }
  footer span { width: 100%; text-align: center; }
  .toast { left: 16px; right: 16px; text-align: center; }
}
