.page-campaigns {
  background: #f7f5fb;
}

.page-campaigns .page-main {
  padding-bottom: 80px;
}

.ahero {
  color: #f8f5ff;
  background:
    radial-gradient(ellipse 50% 80% at 100% 20%, rgba(167, 139, 250, 0.28), transparent 55%),
    linear-gradient(145deg, #12081f 0%, #1b102e 48%, #2a1650 100%);
}

.ahero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  align-items: center;
  gap: 48px;
  width: 100%;
  max-width: var(--container-max);
  min-height: 420px;
  margin: 0 auto;
  padding: 48px 24px 56px;
}

.ahero h1 {
  margin: 0;
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.12;
}

.ahero__lead {
  margin: 12px 0 0;
  font-size: 16px;
  font-weight: 600;
  color: #c4b5fd;
}

.ahero__visual {
  display: grid;
  place-items: center;
  min-height: 280px;
}

.ahero__visual img {
  width: min(100%, 480px);
  height: auto;
  pointer-events: none;
  user-select: none;
}

@media (max-width: 960px) {
  .ahero__inner {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 32px 16px 40px;
    gap: 28px;
  }

  .ahero__visual {
    min-height: 0;
    order: -1;
  }

  .ahero__visual img {
    width: min(100%, 360px);
  }
}

.ahub {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 28px 16px 64px;
  scroll-margin-top: calc(var(--header-height) + 12px);
}

@media (min-width: 768px) {
  .ahub {
    padding: 36px 24px 80px;
  }
}

.ahub__cats {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 4px;
}

.ahub__cat {
  height: 40px;
  padding: 0 16px;
  border: 0;
  background: none;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
}

.ahub__cat.is-active {
  color: var(--text-strong);
}

.ahub__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 20px 0 24px;
}

.ahub__status {
  display: inline-flex;
  padding: 4px;
  background: #ece8f4;
  border-radius: 999px;
}

.ahub__pill {
  height: 32px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
}

.ahub__pill.is-active {
  background: #fff;
  color: var(--text-strong);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
}

.ahub__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 768px) {
  .ahub__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1100px) {
  .ahub__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.acard {
  display: flex;
  flex-direction: column;
  min-height: 220px;
  padding: 22px 22px 16px;
  background: #fff;
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  box-shadow: var(--shadow-card);
  color: inherit;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.acard:hover {
  transform: translateY(-2px);
  border-color: rgba(121, 68, 228, 0.22);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
}

.acard__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  flex: 1;
}

.acard__heat {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: #f97316;
  font-variant-numeric: tabular-nums;
}

.acard__heat i {
  font-size: 12px;
}

.acard h3 {
  margin: 10px 0 6px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-strong);
}

.acard p {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-secondary);
}

.acard__art {
  flex-shrink: 0;
  width: 88px;
  height: 88px;
  display: grid;
  place-items: center;
  border-radius: 22px;
}

.acard__art i {
  font-size: 34px;
}

.acard__art--zodiac {
  background: linear-gradient(160deg, #ede9fe, #c4b5fd);
  color: #5b21b6;
}

.acard__art--card {
  background: linear-gradient(160deg, #dbeafe, #93c5fd);
  color: #1d4ed8;
}

.acard__art--coin {
  background: linear-gradient(160deg, #fef3c7, #fcd34d);
  color: #b45309;
}

.acard__art--gift {
  background: linear-gradient(160deg, #fce7f3, #f9a8d4);
  color: #be185d;
}

.acard__art--invite {
  background: linear-gradient(160deg, #d1fae5, #6ee7b7);
  color: #047857;
}

.acard__foot {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
}

.acard__count {
  font-variant-numeric: tabular-nums;
  color: var(--text-strong);
  letter-spacing: 0.02em;
}

.ahub__empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 280px;
  color: var(--text-muted);
}

.ahub__empty[hidden] {
  display: none !important;
}

.ahub__empty i {
  font-size: 48px;
  margin-bottom: 12px;
}

.ahub__empty p {
  margin: 0;
  font-size: 14px;
}
