.activity-page {
  --activity-blue: #4f7cff;
  --activity-indigo: #5260ea;
  --activity-purple: #8a5cf5;
  --activity-pink: #ff5c9c;
  --activity-orange: #ff9b4a;
  --activity-ink: #152344;
  --activity-muted: #687695;
  --activity-line: #e7ecf7;
  box-sizing: border-box;
  overflow: hidden;
  padding-top: 62px;
  background: #f6f8fe;
  color: var(--activity-ink);
}

.activity-page *,
.activity-page *::before,
.activity-page *::after {
  box-sizing: border-box;
}

.activity-shell {
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;
}

.activity-hero {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  background:
    radial-gradient(circle at 16% 10%, rgba(104, 223, 255, .48), transparent 26%),
    radial-gradient(circle at 82% 18%, rgba(255, 109, 182, .48), transparent 28%),
    linear-gradient(123deg, #132963 0%, #3159e4 42%, #7b53ed 73%, #ef4d99 100%);
  background-size: auto, auto, 180% 180%;
  color: #fff;
  animation: activity-gradient-shift 14s ease-in-out infinite alternate;
}

.activity-hero::before {
  position: absolute;
  inset: 0;
  content: "";
  opacity: .24;
  background-image:
    linear-gradient(rgba(255, 255, 255, .12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .12) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to right, #000, transparent 72%);
}

.activity-hero::after {
  position: absolute;
  right: -120px;
  bottom: -280px;
  width: 720px;
  height: 720px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 50%;
  box-shadow:
    0 0 0 70px rgba(255, 255, 255, .035),
    0 0 0 160px rgba(255, 255, 255, .025);
  content: "";
}

.activity-orb {
  position: absolute;
  z-index: 1;
  display: block;
  border-radius: 50%;
  filter: blur(2px);
  pointer-events: none;
}

.activity-orb-one {
  top: 70px;
  left: 48%;
  width: 70px;
  height: 70px;
  background: linear-gradient(145deg, rgba(255, 255, 255, .8), rgba(95, 233, 255, .08));
  box-shadow: 0 24px 64px rgba(20, 25, 104, .28);
  animation: activity-orb-float 7s ease-in-out infinite;
}

.activity-orb-two {
  right: 7%;
  bottom: 68px;
  width: 34px;
  height: 34px;
  background: linear-gradient(145deg, #ffd178, #ff6da8);
  box-shadow: 0 14px 34px rgba(74, 24, 104, .3);
  animation: activity-orb-float 5.5s ease-in-out 1s infinite reverse;
}

.activity-hero-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr);
  gap: 84px;
  align-items: center;
  min-height: 520px;
  padding: 68px 0 72px;
}

.activity-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, .82);
}

.activity-kicker span {
  width: 30px;
  height: 4px;
  border-radius: 99px;
  background: linear-gradient(90deg, #65e9ff, #ffce68);
}

.activity-hero-copy h1 {
  margin: 0;
  font-size: clamp(40px, 4.2vw, 56px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -1.8px;
  color: #fff;
}

.activity-kicker,
.activity-hero-copy h1,
.activity-hero-copy > p,
.activity-actions,
.activity-hero-points {
  animation: activity-rise-in .72s cubic-bezier(.2, .72, .24, 1) backwards;
}

.activity-hero-copy h1 { animation-delay: .08s; }
.activity-hero-copy > p { animation-delay: .16s; }
.activity-actions { animation-delay: .24s; }
.activity-hero-points { animation-delay: .32s; }

.activity-hero-copy h1 em {
  font-style: normal;
  color: #fff;
  text-shadow: 0 8px 28px rgba(24, 12, 94, .22);
}

.activity-hero-copy > p {
  max-width: 660px;
  margin: 22px 0 0;
  font-size: 17px;
  line-height: 1.85;
  color: rgba(255, 255, 255, .82);
}

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

.activity-btn {
  display: inline-flex;
  min-width: 154px;
  height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.activity-btn:hover {
  transform: translateY(-2px);
}

.activity-btn-primary,
.activity-btn-primary:hover,
.activity-btn-primary:focus {
  background: #fff;
  box-shadow: 0 14px 36px rgba(24, 22, 92, .25);
  color: #4058d9;
}

.activity-btn-ghost,
.activity-btn-ghost:hover,
.activity-btn-ghost:focus {
  border-color: rgba(255, 255, 255, .4);
  background: rgba(255, 255, 255, .08);
  color: #fff;
}

.activity-hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 28px;
  font-size: 13px;
  color: rgba(255, 255, 255, .78);
}

.activity-hero-points span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.activity-hero-points i {
  display: inline-flex;
  width: 20px;
  height: 20px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .15);
  font-style: normal;
  color: #86f3ff;
}

.activity-price-panel {
  position: relative;
  width: 100%;
  max-width: 450px;
  justify-self: end;
  padding: 38px 38px 32px;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(255, 255, 255, .22), rgba(255, 255, 255, .08));
  box-shadow: 0 28px 70px rgba(20, 13, 93, .25);
  backdrop-filter: blur(18px);
  animation: activity-panel-in .85s .16s cubic-bezier(.2, .72, .24, 1) backwards;
}

.activity-price-panel::before {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 82px;
  height: 82px;
  border: 16px solid rgba(255, 255, 255, .07);
  border-radius: 50%;
  content: "";
  animation: activity-ring-breathe 4.5s ease-in-out infinite;
}

@keyframes activity-gradient-shift {
  from { background-position: 0 0, 0 0, 0% 50%; }
  to { background-position: 0 0, 0 0, 100% 50%; }
}

@keyframes activity-orb-float {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(12px, -18px, 0) scale(1.06); }
}

@keyframes activity-rise-in {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes activity-panel-in {
  from { opacity: 0; transform: translateX(30px) scale(.97); }
  to { opacity: 1; transform: translateX(0) scale(1); }
}

@keyframes activity-ring-breathe {
  0%, 100% { opacity: .7; transform: scale(.92); }
  50% { opacity: 1; transform: scale(1.08); }
}

.activity-price-tag {
  display: inline-flex;
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 999px;
  background: rgba(10, 27, 95, .16);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.7px;
  color: #d9f8ff;
}

.activity-price-label {
  margin-top: 28px;
  font-size: 15px;
  color: rgba(255, 255, 255, .76);
}

.activity-price {
  margin-top: 4px;
  font-size: 72px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -3px;
  color: #fff;
}

.activity-price small {
  margin-right: 5px;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 0;
}

.activity-price-cycle {
  margin-top: 5px;
  font-size: 13px;
  color: rgba(255, 255, 255, .64);
}

.activity-price-divider {
  height: 1px;
  margin: 26px 0 22px;
  background: rgba(255, 255, 255, .18);
}

.activity-price-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.activity-price-stats div {
  min-width: 0;
}

.activity-price-stats strong,
.activity-price-stats span {
  display: block;
}

.activity-price-stats strong {
  font-size: 18px;
  color: #fff;
}

.activity-price-stats span {
  margin-top: 3px;
  overflow: hidden;
  font-size: 11px;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: rgba(255, 255, 255, .6);
}

.activity-content {
  position: relative;
  padding: 78px 0 88px;
  background:
    radial-gradient(circle at 3% 18%, rgba(97, 205, 255, .12), transparent 22%),
    radial-gradient(circle at 96% 42%, rgba(255, 101, 175, .1), transparent 22%),
    #f6f8fe;
}

.activity-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
}

.activity-section-kicker {
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
  color: #6478f0;
}

.activity-section-heading h2 {
  margin: 0;
  font-size: 36px;
  font-weight: 750;
  line-height: 1.25;
  color: var(--activity-ink);
}

.activity-section-heading p {
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--activity-muted);
}

.activity-section-heading > a {
  flex: 0 0 auto;
  padding: 10px 0;
  font-size: 14px;
  font-weight: 600;
  color: #5267e9;
}

.activity-section-heading > a span {
  display: inline-block;
  margin-left: 5px;
  transition: transform .2s ease;
}

.activity-section-heading > a:hover span {
  transform: translateX(4px);
}

.activity-product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  min-height: 320px;
}

.activity-products-loading,
.activity-products-error {
  grid-column: 1 / -1;
  display: flex;
  min-height: 220px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid var(--activity-line);
  border-radius: 22px;
  background: rgba(255, 255, 255, .8);
  font-size: 14px;
  color: var(--activity-muted);
}

.activity-products-error a {
  margin-left: 4px;
  color: #5369e9;
}

.activity-loading-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #6077f3;
  box-shadow: 0 0 0 0 rgba(96, 119, 243, .35);
  animation: activity-pulse 1.5s infinite;
}

@keyframes activity-pulse {
  70% { box-shadow: 0 0 0 10px rgba(96, 119, 243, 0); }
  100% { box-shadow: 0 0 0 0 rgba(96, 119, 243, 0); }
}

.activity-product-card {
  --card-accent: #5777f5;
  --card-soft: #eef2ff;
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 338px;
  flex-direction: column;
  overflow: hidden;
  padding: 24px;
  border: 1px solid #e4e9f5;
  border-radius: 20px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 12px 34px rgba(37, 58, 125, .07);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.activity-product-grid[data-loaded="true"] .activity-product-card {
  animation: activity-card-in .55s cubic-bezier(.2, .72, .24, 1) backwards;
}

.activity-product-grid[data-loaded="true"] .activity-product-card:nth-child(2) { animation-delay: .05s; }
.activity-product-grid[data-loaded="true"] .activity-product-card:nth-child(3) { animation-delay: .1s; }
.activity-product-grid[data-loaded="true"] .activity-product-card:nth-child(4) { animation-delay: .15s; }
.activity-product-grid[data-loaded="true"] .activity-product-card:nth-child(5) { animation-delay: .2s; }
.activity-product-grid[data-loaded="true"] .activity-product-card:nth-child(6) { animation-delay: .25s; }
.activity-product-grid[data-loaded="true"] .activity-product-card:nth-child(7) { animation-delay: .3s; }
.activity-product-grid[data-loaded="true"] .activity-product-card:nth-child(8) { animation-delay: .35s; }

@keyframes activity-card-in {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.activity-product-card::before {
  position: absolute;
  top: 0;
  right: 0;
  width: 116px;
  height: 116px;
  border-radius: 0 0 0 116px;
  background: var(--card-soft);
  content: "";
  opacity: .8;
}

.activity-product-card:hover {
  transform: translateY(-6px);
  border-color: color-mix(in srgb, var(--card-accent) 30%, #e4e9f5);
  box-shadow: 0 22px 48px rgba(52, 68, 139, .14);
}

.activity-product-card:nth-child(4n + 2) {
  --card-accent: #8a5cf5;
  --card-soft: #f3edff;
}

.activity-product-card:nth-child(4n + 3) {
  --card-accent: #f4559a;
  --card-soft: #fff0f6;
}

.activity-product-card:nth-child(4n) {
  --card-accent: #f79a3f;
  --card-soft: #fff5e8;
}

.activity-card-head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.activity-card-category {
  display: inline-flex;
  max-width: calc(100% - 58px);
  min-height: 28px;
  align-items: center;
  padding: 5px 10px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--card-soft);
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: var(--card-accent);
}

.activity-card-icon {
  display: inline-flex;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, .8);
  border-radius: 14px;
  background: rgba(255, 255, 255, .72);
  box-shadow: 0 8px 20px rgba(45, 53, 126, .08);
  font-size: 13px;
  font-weight: 800;
  color: var(--card-accent);
}

.activity-product-name {
  position: relative;
  z-index: 1;
  min-height: 56px;
  margin: 21px 0 0;
  overflow-wrap: anywhere;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.45;
  color: var(--activity-ink);
}

.activity-product-specs {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 58px;
  flex-wrap: wrap;
  align-content: flex-start;
  gap: 7px;
  margin-top: 14px;
}

.activity-product-specs span {
  display: inline-flex;
  height: 25px;
  align-items: center;
  padding: 0 8px;
  border: 1px solid #e8ecf5;
  border-radius: 7px;
  background: #fafbfe;
  font-size: 11px;
  color: #66728c;
}

.activity-product-bottom {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid #edf0f6;
}

.activity-product-price strong {
  font-size: 29px;
  line-height: 1;
  letter-spacing: -1px;
  color: var(--card-accent);
}

.activity-product-price small {
  font-size: 13px;
  font-weight: 500;
  color: #8a94aa;
}

.activity-product-price span {
  display: block;
  margin-top: 7px;
  font-size: 10px;
  color: #a1a9ba;
}

.activity-product-link {
  display: inline-flex;
  height: 38px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  padding: 0 15px;
  border-radius: 10px;
  background: var(--card-accent);
  box-shadow: 0 8px 18px color-mix(in srgb, var(--card-accent) 22%, transparent);
  font-size: 13px;
  font-weight: 600;
  color: #fff;
}

.activity-product-link:hover,
.activity-product-link:focus {
  color: #fff;
  filter: brightness(.96);
}

.activity-guarantees {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 58px;
}

.activity-guarantee-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
  border: 1px solid var(--activity-line);
  border-radius: 18px;
  background: rgba(255, 255, 255, .74);
}

.activity-guarantee-icon {
  display: inline-flex;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: linear-gradient(145deg, #526ff1, #8959ee);
  box-shadow: 0 9px 22px rgba(83, 95, 219, .2);
  font-size: 15px;
  font-weight: 700;
  color: #fff;
}

.activity-guarantee-card strong {
  display: block;
  margin: 1px 0 5px;
  font-size: 15px;
  color: var(--activity-ink);
}

.activity-guarantee-card p {
  margin: 0;
  font-size: 12px;
  line-height: 1.65;
  color: var(--activity-muted);
}

@media (max-width: 1080px) {
  .activity-page { padding-top: 50px; }
  .activity-hero-layout { grid-template-columns: minmax(0, 1.05fr) minmax(330px, .95fr); gap: 44px; }
  .activity-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 768px) {
  .activity-shell { width: min(100% - 28px, 620px); }
  .activity-hero { min-height: 0; }
  .activity-hero::after { right: -360px; bottom: -420px; }
  .activity-hero-layout { display: block; min-height: 0; padding: 58px 0 54px; }
  .activity-hero-copy h1 { font-size: 38px; letter-spacing: -1.2px; }
  .activity-hero-copy > p { font-size: 15px; line-height: 1.75; }
  .activity-kicker { font-size: 11px; letter-spacing: 1.4px; }
  .activity-price-panel { max-width: none; margin-top: 42px; padding: 28px 24px 25px; border-radius: 22px; }
  .activity-price { font-size: 58px; }
  .activity-price small { font-size: 25px; }
  .activity-content { padding: 54px 0 64px; }
  .activity-section-heading { align-items: flex-start; }
  .activity-section-heading h2 { font-size: 29px; }
  .activity-section-heading > a { display: none; }
  .activity-product-grid { grid-template-columns: 1fr; min-height: 260px; }
  .activity-product-card { min-height: 316px; }
  .activity-guarantees { grid-template-columns: 1fr; margin-top: 38px; }
}

@media (max-width: 420px) {
  .activity-page { padding-top: 48px; }
  .activity-hero-layout { padding-top: 48px; }
  .activity-hero-copy h1 { font-size: 34px; }
  .activity-actions { display: grid; grid-template-columns: 1fr; }
  .activity-btn { width: 100%; }
  .activity-hero-points { gap: 10px 16px; }
  .activity-price-stats { gap: 6px; }
  .activity-product-card { padding: 22px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .activity-page *,
  .activity-page *::before,
  .activity-page *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
