/* 62IT · Магазин ИИ-навыков — оформление страницы */

.shop-page {
  --gold: #C8A24A;
  --gold-2: #E8CB84;
  --ink: #101318;
  --paper: #FBF9F4;
  --muted: #5A5D66;
  --line: rgba(16, 19, 24, .10);
  background: var(--paper);
  color: var(--ink);
  font-family: Montserrat, "Segoe UI", system-ui, sans-serif;
}

.shop-page h1,
.shop-page h2,
.shop-page h3 { font-family: Montserrat, "Segoe UI", system-ui, sans-serif; }

/* ---------- герой ---------- */
.shop-hero {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  padding: 66px 24px 26px;
}

.shop-eyebrow {
  margin: 0;
  font: 600 11.5px/1 Montserrat, sans-serif;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: #A9822C;
}

.shop-hero h1 {
  margin: 18px 0 16px;
  font-size: clamp(34px, 5.4vw, 66px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -.035em;
}

.shop-hero h1 em {
  font-style: normal;
  background: linear-gradient(100deg, #A9822C 5%, var(--gold) 40%, var(--gold-2) 70%, #8E6BC0 130%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.shop-lead {
  max-width: 660px;
  margin: 0;
  font-size: 17px;
  line-height: 1.58;
  color: var(--muted);
}

.shop-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.shop-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 50px;
  padding: 0 24px;
  border-radius: 999px;
  font: 600 14.5px/1 Montserrat, sans-serif;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
}

.shop-btn--gold {
  background: linear-gradient(180deg, #E3C57F, #C8A24A);
  color: #17130A;
  box-shadow: 0 10px 24px -12px rgba(168, 130, 44, .8);
}

.shop-btn--gold:hover { transform: translateY(-1px); box-shadow: 0 16px 30px -14px rgba(168, 130, 44, .9); }

.shop-btn--ghost {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
}

.shop-btn--ghost:hover { border-color: rgba(200, 162, 74, .6); background: #FFFDF7; }

.shop-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  font-size: 13px;
  color: var(--muted);
}

.shop-facts li { display: flex; align-items: center; gap: 7px; }

.shop-facts li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
}

/* ---------- каталог ---------- */
.shop-section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 34px 24px 10px;
}

.shop-section h2 {
  margin: 0 0 6px;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800;
  letter-spacing: -.02em;
}

.shop-section-sub {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 14.5px;
}

.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(305px, 1fr));
  gap: 16px;
}

.skill {
  display: flex;
  flex-direction: column;
  padding: 22px 22px 20px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 18px 40px -34px rgba(16, 19, 24, .55);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.skill:hover {
  transform: translateY(-3px);
  border-color: rgba(200, 162, 74, .45);
  box-shadow: 0 26px 46px -30px rgba(16, 19, 24, .45);
}

.skill-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.skill-ico {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(150deg, #FFF8E6, #F3E6C6);
  border: 1px solid rgba(200, 162, 74, .35);
  color: #8A6A21;
}

.skill-ico svg { width: 22px; height: 22px; }

.skill-tag {
  padding: 5px 10px;
  border-radius: 999px;
  background: #F5F3EE;
  border: 1px solid var(--line);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #6B6E77;
}

.skill h3 {
  margin: 0 0 8px;
  font-size: 18.5px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -.01em;
}

.skill-desc {
  margin: 0 0 14px;
  font-size: 13.8px;
  line-height: 1.5;
  color: var(--muted);
}

.skill-inside {
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 7px;
  font-size: 13px;
  color: #33363D;
}

.skill-inside li {
  position: relative;
  padding-left: 20px;
}

.skill-inside li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 6px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1.5px solid rgba(200, 162, 74, .55);
  background: radial-gradient(circle at 50% 50%, rgba(200, 162, 74, .85) 0 2.5px, transparent 3px);
}

.skill-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.skill-price {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -.02em;
  white-space: nowrap;
}

.skill-price small {
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: #8A8D95;
  letter-spacing: 0;
}

.skill-buy {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font: 600 13px/1 Montserrat, sans-serif;
  text-decoration: none;
  transition: background .18s ease, transform .18s ease;
}

.skill-buy:hover { background: #1E232B; transform: translateY(-1px); }

.skill-buy svg { width: 15px; height: 15px; }

/* ---------- как это работает ---------- */
.shop-how {
  max-width: 1180px;
  margin: 46px auto 0;
  padding: 0 24px;
}

.shop-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.shop-steps li {
  position: relative;
  padding: 22px 22px 20px 64px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}

.shop-steps li b {
  display: block;
  margin-bottom: 4px;
  font-size: 15.5px;
  color: var(--ink);
}

.shop-steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 20px;
  top: 20px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(180deg, #F0DFB2, #DCC183);
  color: #5E4A16;
  font-weight: 800;
  font-size: 13px;
}

/* ---------- финальный блок ---------- */
.shop-cta {
  max-width: 1180px;
  margin: 44px auto 0;
  padding: 0 24px 60px;
}

.shop-cta-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 30px 32px;
  border-radius: 22px;
  background: linear-gradient(120deg, #14171C, #1D222A 60%, #232830);
  color: #F2EFE8;
}

.shop-cta-inner h2 {
  margin: 0 0 6px;
  font-size: 22px;
  letter-spacing: -.01em;
}

.shop-cta-inner p { margin: 0; color: #A8A59D; font-size: 14px; }

/* ---------- адаптив ---------- */
@media (max-width: 700px) {
  .shop-hero { padding: 40px 16px 12px; }
  .shop-section, .shop-how, .shop-cta { padding-left: 16px; padding-right: 16px; }
  .shop-hero-actions .shop-btn { flex: 1 1 100%; justify-content: center; }
  .shop-grid { grid-template-columns: 1fr; }
  .shop-cta-inner { padding: 24px; }
}


/* ---------- герой: текст + плавающие звери ---------- */
.shop-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 520px;
  gap: 28px;
  align-items: center;
}

.shop-hero-text { max-width: 640px; }

.shop-hero-art {
  position: relative;
  height: 500px;
  isolation: isolate;
}

.shop-glow {
  position: absolute;
  inset: 8% 2% 10% 2%;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 45%, rgba(232, 203, 132, .45), rgba(200, 162, 74, .12) 45%, transparent 70%);
  filter: blur(18px);
  z-index: -1;
}

/* медленное круговое движение: элемент описывает маленькую окружность,
   оставаясь ровным (rotate -> translate -> обратный rotate) */
.bubble {
  position: absolute;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: radial-gradient(circle at 42% 32%, #FFFFFF, #F6F1E4 70%, #EFE6D2);
  border: 1px solid rgba(200, 162, 74, .35);
  box-shadow: 0 18px 34px -18px rgba(70, 52, 12, .45), inset 0 1px 2px rgba(255, 255, 255, .9);
  text-decoration: none;
  will-change: transform;
  animation: bubbleOrbit var(--dur, 26s) linear infinite;
  animation-delay: var(--delay, 0s);
  transition: box-shadow .35s ease, border-color .35s ease;
}

.bubble:hover {
  box-shadow: 0 26px 44px -18px rgba(70, 52, 12, .55), inset 0 1px 2px rgba(255, 255, 255, .95);
  border-color: rgba(200, 162, 74, .7);
}

.bubble img {
  width: 84%;
  height: 84%;
  object-fit: contain;
  filter: drop-shadow(0 4px 6px rgba(60, 45, 10, .18));
}

@keyframes bubbleOrbit {
  from { transform: rotate(0deg) translateX(var(--r, 8px)) rotate(0deg); }
  to   { transform: rotate(360deg) translateX(var(--r, 8px)) rotate(-360deg); }
}

@media (prefers-reduced-motion: reduce) {
  .bubble { animation: none; }
}

.b1 { width: 104px; height: 104px; left: 2%;   top: 8%;  --r: 9px;  --dur: 34s; --delay: -4s; }
.b2 { width: 118px; height: 118px; left: 57%;  top: 0;   --r: 11px; --dur: 41s; --delay: -12s; }
.b3 { width: 92px;  height: 92px;  left: 30%;  top: 24%; --r: 7px;  --dur: 29s; --delay: -20s; }
.b4 { width: 112px; height: 112px; left: 6%;   top: 41%; --r: 10px; --dur: 38s; --delay: -7s; }
.b5 { width: 88px;  height: 88px;  left: 55%;  top: 41%; --r: 8px;  --dur: 31s; --delay: -16s; }
.b6 { width: 84px;  height: 84px;  left: 80%;  top: 55%; --r: 6px;  --dur: 27s; --delay: -2s; }
.b7 { width: 98px;  height: 98px;  left: 23%;  top: 63%; --r: 9px;  --dur: 36s; --delay: -25s; }
.b8 { width: 78px;  height: 78px;  left: 3%;   top: 76%; --r: 6px;  --dur: 24s; --delay: -9s; }
.b9 { width: 94px;  height: 94px;  left: 57%;  top: 76%; --r: 8px;  --dur: 33s; --delay: -14s; }
.b10 { width: 86px; height: 86px; left: 84%; top: 21%; --r: 7px;  --dur: 32s; --delay: -18s; }

/* ---------- иконка-зверь в карточке ---------- */
.skill-ico {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: radial-gradient(circle at 40% 30%, #FFFFFF, #F6F0E1);
  border: 1px solid rgba(200, 162, 74, .35);
  overflow: hidden;
}

.skill-ico img {
  width: 90%;
  height: 90%;
  object-fit: contain;
  filter: drop-shadow(0 3px 4px rgba(60, 45, 10, .16));
}

@media (max-width: 1180px) {
  .shop-hero { grid-template-columns: 1fr; }
  .shop-hero-art { height: 380px; max-width: 520px; margin: 6px auto 0; }
}

@media (max-width: 700px) {
  .shop-hero-art { display: none; }
}


/* ---------- переход из пузыря к карточке навыка ---------- */
html { scroll-behavior: smooth; scroll-padding-top: 0 !important; }

.skill { scroll-margin-top: 132px; }

.skill:target {
  border-color: rgba(200, 162, 74, .85);
  box-shadow: 0 0 0 3px rgba(200, 162, 74, .22), 0 26px 46px -30px rgba(16, 19, 24, .45);
}

@media (max-width: 991px) {
  .skill { scroll-margin-top: 104px; }
}


/* ---------- слоган под заголовком ---------- */
.shop-slogan {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: -4px 0 18px;
  color: #A9822C;
  font: 700 12px/1 Montserrat, sans-serif;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.shop-slogan::before {
  content: "";
  width: 30px;
  height: 1px;
  background: currentColor;
  opacity: .65;
}

@media (max-width: 700px) {
  .shop-slogan { font-size: 10.5px; letter-spacing: .16em; margin-bottom: 14px; }
}


/* ---------- прототип: ИИ-DJ / промоутер / ведущий ---------- */
.shop-proto { max-width: 1180px; margin: 30px auto 0; padding: 0 24px; }

.shop-proto-inner {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 30px;
  align-items: center;
  padding: 30px 34px;
  border-radius: 24px;
  background: radial-gradient(120% 140% at 12% 0%, #1A1E25 0%, #0E1015 62%);
  border: 1px solid rgba(200, 162, 74, .3);
  box-shadow: 0 30px 60px -46px rgba(16, 19, 24, .95);
}

.shop-proto-art { color: #E8CB84; display: grid; place-items: center; }
.shop-proto-art svg { width: 180px; height: 180px; display: block; }

.shop-proto-eyebrow {
  margin: 0 0 10px;
  font: 700 11px/1 Montserrat, sans-serif;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #C8A24A;
}

.shop-proto h2 {
  margin: 0 0 12px;
  font: 800 clamp(21px, 2.6vw, 30px)/1.15 Montserrat, sans-serif;
  letter-spacing: -.02em;
  color: #F7F4EC;
}

.shop-proto-text {
  margin: 0 0 14px;
  max-width: 640px;
  font: 400 14.5px/1.6 Montserrat, sans-serif;
  color: rgba(247, 244, 236, .72);
}

.shop-proto-list {
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.shop-proto-list li {
  position: relative;
  padding-left: 16px;
  font: 500 12.5px/1.4 Montserrat, sans-serif;
  color: rgba(247, 244, 236, .62);
}

.shop-proto-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .45em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, #E8CB84, #C8A24A);
}

.shop-proto .shop-btn--gold { display: inline-flex; align-items: center; }

.shop-proto-note {
  margin: 12px 0 0;
  text-align: center;
  font: 400 11.5px/1.4 Montserrat, sans-serif;
  letter-spacing: .04em;
  color: rgba(16, 19, 24, .42);
}

.shop-proto-note a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.shop-proto-note a:hover { color: rgba(16, 19, 24, .7); }

@media (max-width: 860px) {
  .shop-proto { padding: 0 16px; margin-top: 22px; }
  .shop-proto-inner { grid-template-columns: minmax(0, 1fr); gap: 20px; padding: 22px 20px; text-align: left; }
  .shop-proto-art svg { width: 120px; height: 120px; }
}
