/* Page-specific blocks: activity page + domain page. */

/* ---------- activity ---------- */

.act-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(720px 320px at 88% 8%, rgba(0, 168, 232, .10), transparent 70%),
    linear-gradient(180deg, #eef4ff 0%, #f6faff 52%, #ffffff 100%);
  border-bottom: 1px solid #eef2f7;
}

.act-hero-inner { padding: 84px 0 92px; max-width: 880px; }

.chip-label {
  display: inline-block;
  padding: 5px 12px;
  font-size: 12px;
  letter-spacing: .16em;
  font-weight: 700;
  color: var(--blue);
  background: #e6eeff;
  box-shadow: inset 3px 0 0 var(--blue);
}

.act-hero h1 {
  margin-top: 24px;
  font-size: clamp(40px, 4vw, 56px);
  font-weight: 800;
  letter-spacing: -.01em;
}

.act-hero p { margin-top: 16px; color: var(--muted); font-size: 16px; }

.chips { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

.chips span {
  padding: 12px 26px;
  font-size: 15px;
  color: var(--ink-2);
  background: #fff;
  border: 1px solid #e8ecf2;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}

.act-hero-cards {
  position: absolute;
  right: 7%;
  top: 92px;
  display: flex;
  gap: 18px;
  opacity: .95;
}

.float-card {
  width: 220px;
  padding: 22px 20px;
  background: #fff;
  border: 1px solid #eaf0f8;
  box-shadow: 0 18px 40px rgba(15, 23, 42, .08);
}
.float-card.tall { margin-top: -26px; }
.float-card em {
  display: block;
  font-style: normal;
  font-size: 11px;
  letter-spacing: .18em;
  color: var(--cyan);
}
.float-card strong { display: block; margin-top: 8px; font-size: 22px; color: var(--blue); }
.float-card span { display: block; margin-top: 6px; font-size: 12px; color: var(--muted); }

.coupons { padding-top: 70px; }

.coupon-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}
.coupon-head h2 { font-size: 26px; font-weight: 800; }
.coupon-head p { margin-top: 8px; color: var(--muted); font-size: 14px; }

/* mechanical call-to-action, same construction as .btn-mech */
.btn-callout {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  height: 52px;
  padding: 0 26px 0 20px;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  background: linear-gradient(100deg, #0b7fe0, #0b5cff);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35);
  clip-path: polygon(12px 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
}
.btn-callout::before {
  content: "";
  width: 6px;
  height: 28px;
  background: #0d1b2a;
  transform: skewX(-16deg);
  flex: none;
}
.btn-callout .code { font-family: "Segoe UI", monospace; color: #bfe9ff; }
.btn-callout:hover { filter: brightness(1.06); }

.empty { padding: 76px 0 40px; text-align: center; }
.empty-sm { padding: 28px 0 10px; }
.empty-sm .ico { width: 88px; height: 88px; }
.empty-sm p { margin-top: 10px; }
.empty .ico {
  width: 132px;
  height: 132px;
  margin: 0 auto;
  color: #cfd8e0;
  stroke-width: 2;
}
.empty p { margin-top: 16px; color: #9ca3af; }

/* ---------- domain ---------- */

.dom-hero { padding: 24px 0 0; background: #fff; }

.dom-panel {
  position: relative;
  overflow: hidden;
  height: 326px;
  padding: 0 92px;
  background: #0b1a2b;
  clip-path: polygon(0 0, calc(100% - 26px) 0, 100% 26px, 100% 100%, 0 100%);
}

.dom-panel-stripes {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 96px;
  background: repeating-linear-gradient(112deg, #0ab8dd 0 54px, #0b1a2b 54px 116px);
  opacity: .95;
}

.dom-panel-title {
  position: relative;
  margin: 18px 0 0;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  letter-spacing: .02em;
}
.dom-panel-title span { color: #8fd2ee; font-weight: 600; }

.dom-panel-search {
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 112px;
}

.dom-panel-search input {
  flex: 1;
  height: 78px;
  padding: 0 26px;
  font-size: 17px;
  font-family: inherit;
  color: var(--ink);
  border: 0;
  background: #fff;
}

.dom-panel-search button {
  display: grid;
  place-items: center;
  width: 78px;
  height: 78px;
  border: 0;
  cursor: pointer;
  color: #7fd4f2;
  background: transparent;
}
.dom-panel-search button .ico { width: 58px; height: 58px; }

.dom-skeleton { position: relative; display: flex; gap: 26px; margin-top: 22px; }
.dom-skeleton i {
  display: block;
  height: 12px;
  width: 110px;
  background: rgba(0, 168, 232, .40);
}
.dom-skeleton i:nth-child(2) { width: 78px; opacity: .8; }
.dom-skeleton i:nth-child(3) { width: 96px; opacity: .6; }
.dom-skeleton i:nth-child(4) { width: 68px; opacity: .45; }
.dom-skeleton i:nth-child(5) { width: 52px; opacity: .3; }

.dom-recommend { padding-bottom: 40px; }
.empty-text { margin-top: 40px; text-align: center; color: #9ca3af; }

.dom-advantages { background: #fff; border-block: 1px solid #f2f4f6; }

.adv-grid {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.adv-card {
  padding: 26px 26px 28px;
  background: #fff;
  border: 1px solid #eef1f5;
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .18s ease;
}
.adv-card:hover { box-shadow: 0 12px 28px rgba(15, 23, 42, .07); }

.adv-card h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 17px;
  font-weight: 700;
}
.adv-card h3::before {
  content: "";
  width: 7px;
  height: 7px;
  flex: none;
  border: 2px solid var(--cyan);
  border-radius: 50%;
}
.adv-card h3:has(.adv-ico)::before { display: none; }

.adv-ico { display: inline-flex; color: var(--blue-2); }
.adv-ico .ico { width: 20px; height: 20px; }

.adv-card p { margin-top: 12px; font-size: 13px; color: var(--muted); line-height: 1.9; }

.price-table {
  margin-top: 40px;
  background: #fff;
  border: 1px solid #eef1f5;
  border-radius: 10px;
  overflow: hidden;
}

.price-filter {
  padding: 18px 26px;
  font-size: 14px;
  color: var(--ink-2);
  border-bottom: 1px solid #f2f4f7;
}

.price-table table { width: 100%; border-collapse: collapse; }
.price-table th {
  text-align: left;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  padding: 16px 26px;
  border-bottom: 1px solid #f4f6f8;
}
.price-table td { padding: 16px 26px; font-size: 14px; }
.empty-cell { text-align: center; color: #9ca3af; padding: 48px 0 !important; }
.empty-cell .ico { width: 72px; height: 72px; margin: 0 auto 12px; color: #cfd8e0; }
.empty-cell span { display: block; font-size: 13px; }

.price-note { margin-top: 18px; text-align: center; font-size: 12px; color: #9ca3af; }

/* the floating dock hovers over the right gutter; keep the CTA clear of it */
@media (min-width: 1281px) and (max-width: 1760px) {
  .coupon-head { padding-right: 104px; }
}

@media (max-width: 1280px) {
  .act-hero-cards { display: none; }
  .adv-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dom-panel { padding: 0 48px; }
}

@media (max-width: 760px) {
  .coupon-head { flex-direction: column; align-items: flex-start; }
  .adv-grid { grid-template-columns: 1fr; }
  .dom-panel { height: auto; padding: 0 20px 32px; }
  .dom-panel-title { margin-top: 104px; }
  .dom-panel-search { flex-direction: column; align-items: stretch; gap: 10px; }
  .dom-panel-search input { height: 60px; }
  .dom-panel-search button { width: 100%; height: 56px; background: #123; }
  .act-hero-inner { padding: 56px 0 64px; }

  /* price table: keep it inside the viewport instead of bleeding 4px */
  .price-table { overflow-x: auto; }
  .price-table th, .price-table td { padding: 12px 12px; font-size: 12px; }
  .price-table th:first-child, .price-table td:first-child { padding-left: 16px; }
  .price-table th:last-child, .price-table td:last-child { padding-right: 16px; }
  .price-filter { padding: 14px 16px; }
}
