/* ============================================================
   URLHOST — Domain page
   (builds on css/shared-hosting.css)
   ============================================================ */

/* ---------------- Hero ---------------- */
.dm-hero { padding-bottom: 5rem; text-align: center; }
.dm-hero .sh-crumb { justify-content: flex-start; }
.dm-hero__inner { max-width: 860px; margin: 0 auto; }
.dm-hero .sh-hero__title { font-size: clamp(2.3rem, 5.2vw, 4rem); }
.dm-hero .sh-hero__lead { max-width: 38rem; }
.dm-hero__glow2 {
  position: absolute; width: 520px; height: 520px; left: -160px; bottom: -220px; border-radius: 50%;
  background: radial-gradient(circle, rgba(47,191,113,.22), transparent 65%); pointer-events: none;
}
.dm-float { position: absolute; inset: 0; pointer-events: none; }
.dm-float span {
  position: absolute; left: var(--x); top: var(--y);
  font-family: var(--font-mono); font-weight: 700; font-size: .95rem; color: rgba(159,227,194,.55);
  padding: .4rem .8rem; border-radius: 12px; border: 1px solid rgba(111,224,172,.18); background: rgba(255,255,255,.03);
  animation: bob 6s ease-in-out infinite; animation-delay: var(--d);
}
@keyframes bob { 50% { transform: translateY(-14px); } }

/* search card */
.ds {
  text-align: left; margin-top: 2.2rem; padding: .9rem; border-radius: 24px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(10px); box-shadow: 0 40px 80px -30px rgba(0,0,0,.6);
}
.ds-tabs { display: flex; gap: .3rem; margin-bottom: .7rem; }
.ds-tab {
  border: 0; background: transparent; color: #b8d6c8; font-weight: 600; font-size: .88rem;
  padding: .5rem .9rem; border-radius: 10px; cursor: pointer; transition: .2s ease; display: inline-flex; align-items: center; gap: .4rem;
}
.ds-tab:hover { color: #fff; background: rgba(255,255,255,.06); }
.ds-tab.is-active { background: rgba(111,224,172,.16); color: #fff; }
.ds-tab.is-active i { color: #6fe0ac; }

.ds-form {
  display: flex; align-items: center; background: #fff; border-radius: 16px; padding: .45rem .45rem .45rem 1.1rem;
  box-shadow: 0 0 0 4px rgba(111,224,172,0); transition: box-shadow .2s ease;
}
.ds-form:focus-within { box-shadow: 0 0 0 4px rgba(111,224,172,.35); }
.ds-form__www { font-family: var(--font-mono); color: #a3afa9; font-size: 1rem; margin-right: .1rem; }
.ds-form__input {
  flex: 1; min-width: 0; border: 0; outline: 0; background: transparent;
  font-size: 1.2rem; font-weight: 600; color: var(--ink); padding: .7rem .2rem;
}
.ds-form__input::placeholder { color: #a3afa9; font-weight: 500; }
.ds-form__btn { border-radius: 12px; padding: .85rem 1.6rem; font-size: 1rem; white-space: nowrap; }
.ds-hint { min-height: 1.3rem; margin: .45rem .3rem 0; font-size: .84rem; color: #ffcf8a; }
.ds-hint:empty { min-height: 0; margin: 0; }

.ds-chips { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: .75rem; }
.ds-chip {
  border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.04); color: #b8d6c8;
  font-size: .82rem; padding: .35rem .7rem; border-radius: 99px; cursor: pointer; transition: .2s ease;
}
.ds-chip b { color: #fff; font-family: var(--font-mono); margin-right: .2rem; }
.ds-chip:hover { border-color: #6fe0ac; background: rgba(111,224,172,.12); }

/* suggestions */
.sugs { margin-top: .9rem; background: #fff; border-radius: 18px; overflow: hidden; animation: sugIn .25s ease; }
@keyframes sugIn { from { opacity: 0; transform: translateY(6px); } }
.sugs__head { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .4rem 1rem; padding: .9rem 1.2rem; background: var(--brand-tint); border-bottom: 1px solid var(--brand-border); }
.sugs__head span { font-size: .88rem; color: var(--body); font-weight: 600; }
.sugs__head b { color: var(--brand-dark); }
.sugs__head small { font-size: .76rem; color: var(--muted); }
.sugs__head small i { color: var(--brand); }
.sugs__list { list-style: none; padding: .3rem .6rem; margin: 0; }
.sug { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 1rem; padding: .7rem .6rem; border-radius: 12px; }
.sug + .sug { border-top: 1px dashed var(--line); }
.sug:hover { background: var(--brand-tint); }
.sug__name { font-size: 1.05rem; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sug__name b { font-weight: 700; }
.sug__name em { font-style: normal; font-weight: 700; color: var(--brand); }
.sug__price { font-family: var(--font-display); font-weight: 700; color: var(--ink); text-align: right; line-height: 1.15; }
.sug__price small { font-family: var(--font-body); font-weight: 500; font-size: .74rem; color: var(--muted); margin-left: .1rem; }
.sug__price .sug__ren { display: block; margin: 0; font-size: .7rem; }
.sug__btn { background: var(--brand); color: #fff; border: 0; padding: .45rem .9rem; border-radius: 9px; font-size: .84rem; }
.sug__btn:hover { background: var(--brand-dark); color: #fff; }
.sugs__all { display: block; text-align: center; padding: .75rem; font-size: .86rem; font-weight: 600; color: var(--brand); border-top: 1px solid var(--line); }
.sugs__all:hover { background: var(--brand-tint); color: var(--brand-dark); }

.dm-trust { list-style: none; padding: 0; margin: 1.8rem 0 0; display: flex; justify-content: center; flex-wrap: wrap; gap: .6rem 1.6rem; }
.dm-trust li { font-size: .88rem; color: #dcebe3; display: inline-flex; align-items: center; gap: .4rem; }
.dm-trust i { color: #6fe0ac; }

/* ---------------- Popular TLD cards ---------------- */
.tld-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.tld-card {
  position: relative; display: flex; flex-direction: column; gap: .3rem; padding: 1.6rem;
  border-radius: 22px; background: #fff; border: 1px solid var(--line); color: var(--ink); transition: .25s ease; overflow: hidden;
}
.tld-card:hover { border-color: var(--brand); box-shadow: var(--shadow-md); transform: translateY(-5px); color: var(--ink); }
.tld-card__hot {
  position: absolute; top: 1.2rem; right: 1.2rem; font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em;
  padding: .25rem .6rem; border-radius: 99px; background: var(--brand-soft); color: var(--brand-dark);
}
.tld-card__ext { font-family: var(--font-display); font-size: 2.6rem; font-weight: 700; letter-spacing: -.03em; color: var(--brand); line-height: 1.1; }
.tld-card__for { font-size: .9rem; color: var(--muted); min-height: 2.8em; }
.tld-card__price { font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; margin-top: .6rem; }
.tld-card__price small { font-family: var(--font-body); font-size: .85rem; color: var(--muted); font-weight: 500; }
.tld-card__go { font-size: .88rem; font-weight: 700; color: var(--brand); display: inline-flex; align-items: center; gap: .35rem; margin-top: .3rem; }
.tld-card__go i { transition: transform .2s; }
.tld-card:hover .tld-card__go i { transform: translateX(4px); }
.tld-card--feat { background: linear-gradient(150deg, var(--dark-bg), #13573a); border: 0; color: #fff; box-shadow: 0 24px 50px -18px rgba(14,42,28,.55); }
.tld-card--feat:hover { color: #fff; border: 0; }
.tld-card--feat .tld-card__ext { color: #6fe0ac; }
.tld-card--feat .tld-card__for { color: #b8d6c8; }
.tld-card--feat .tld-card__price small { color: #9fc2b2; }
.tld-card--feat .tld-card__go { color: #6fe0ac; }
.tld-card--feat .tld-card__hot { background: #2fbf71; color: #062014; }
.tld-card--in { background: linear-gradient(160deg, #fff 60%, #fff7ea); }
.tld-card--in .tld-card__hot { background: #fdf0da; color: #a8630a; }

/* ---------------- Price table ---------------- */
.tld-table { max-width: 940px; margin: 0 auto; background: #fff; border: 1px solid var(--brand-border); border-radius: 20px; box-shadow: var(--shadow-sm); overflow: hidden; }
.tld-table__bar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; padding: 1rem 1.2rem; border-bottom: 1px solid var(--line); }
.tld-filter { display: flex; align-items: center; gap: .5rem; flex: 1; max-width: 320px; padding: .55rem .9rem; border: 1px solid var(--line); border-radius: 12px; transition: .2s; }
.tld-filter:focus-within { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.tld-filter i { color: var(--muted); }
.tld-filter input { flex: 1; min-width: 0; border: 0; outline: 0; font-size: .92rem; color: var(--ink); background: transparent; }
.tld-table__note { font-size: .82rem; color: var(--muted); display: inline-flex; align-items: center; gap: .35rem; }
.tld-table__note i { color: var(--brand); }
.tld-table__scroll { overflow-x: auto; position: relative; }
.tld-cmp { min-width: 520px; }
.tld-cmp th, .tld-cmp td { text-align: left; }
.tld-cmp thead th { font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-family: var(--font-body); padding-top: .9rem; padding-bottom: .9rem; background: var(--brand-tint); }
.tld-cmp td { font-weight: 500; color: var(--body); }
.tld-cmp td b { color: var(--ink); font-family: var(--font-display); font-size: 1.02rem; }
.tld-cmp td:last-child { text-align: right; }
.tld-name { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; color: var(--ink); }
.tld-hot { margin-left: .5rem; font-size: .62rem; font-weight: 800; text-transform: uppercase; color: #a8630a; background: #fdf0da; padding: .15rem .45rem; border-radius: 99px; vertical-align: 2px; }
.tld-empty { text-align: center !important; color: var(--muted); padding: 1.6rem !important; }
.tld-empty a { color: var(--brand); font-weight: 600; }

/* bento chips as links */
.bento__chips a { font-size: .8rem; font-weight: 600; color: #dcebe3; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); padding: .4rem .75rem; border-radius: 99px; display: inline-flex; align-items: center; gap: .35rem; transition: .2s; }
.bento__chips a i { color: #6fe0ac; }
.bento__chips a:hover { background: rgba(111,224,172,.18); color: #fff; }

/* ---------------- Tips ---------------- */
.dm-tips__lead { color: var(--muted); font-size: 1.05rem; line-height: 1.65; margin: 1rem 0 1.8rem; }
.tips { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.tips li { display: flex; gap: 1rem; padding: 1.4rem; border-radius: 18px; background: #fff; border: 1px solid var(--line); transition: .2s; }
.tips li:hover { border-color: var(--brand-border); box-shadow: var(--shadow-sm); }
.tips li > span { flex: 0 0 auto; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 11px; background: var(--brand); color: #fff; font-family: var(--font-display); font-weight: 700; }
.tips h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: .25rem; }
.tips p { font-size: .9rem; color: var(--muted); margin: 0; }

/* ---------------- Responsive ---------------- */
@media (max-width: 991.98px) {
  .tld-cards { grid-template-columns: repeat(2, 1fr); }
  .dm-float { display: none; }
}
@media (max-width: 575.98px) {
  .ds { padding: .6rem; border-radius: 18px; }
  .ds-tab { font-size: .8rem; padding: .45rem .6rem; }
  .ds-form { flex-wrap: wrap; padding: .4rem; }
  .ds-form__www { display: none; }
  .ds-form__input { font-size: 1.05rem; padding: .7rem .6rem; width: 100%; flex-basis: 100%; }
  .ds-form__btn { width: 100%; justify-content: center; }
  .sug { grid-template-columns: 1fr auto; row-gap: .35rem; }
  .sug__name { grid-column: 1 / -1; }
  .sug__price { text-align: left; }
  .tld-cards { grid-template-columns: 1fr; }
  .tips { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .dm-float span { animation: none; } }
