/* Страница на рекламно лице (creator.html) */

.profile-bg { background: var(--soft); }
.profile-page { padding-top: 24px; padding-bottom: 64px; }

.crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; color: var(--muted); font-size: .85rem; font-weight: 600; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--coral); }
.crumbs span:last-child { color: var(--navy); }

.cp { display: grid; gap: 20px; align-items: start; }
.cp__main { display: grid; gap: 20px; min-width: 0; }

/* Карта на профила */
.pcard { border-radius: 24px; background: #fff; box-shadow: 0 20px 50px rgba(15, 27, 69, .1); overflow: hidden; }
.pcard__cover {
  position: relative;
  height: 124px;
  background: linear-gradient(120deg, var(--blue), var(--purple), var(--coral), var(--orange));
  background-size: 300% 100%;
  animation: cover 14s ease-in-out infinite alternate;
  overflow: hidden;
}
.pcard__cover--1 { animation-delay: -5s; }
.pcard__cover--2 { animation-delay: -10s; }
.pcard__cover i { position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .16); }
.pcard__cover i:nth-child(1) { width: 120px; height: 120px; top: -50px; right: -30px; }
.pcard__cover i:nth-child(2) { width: 70px; height: 70px; bottom: -34px; left: 38%; }
@keyframes cover { from { background-position: 0 0; } to { background-position: 100% 0; } }

.pcard__body { padding: 0 22px 24px; }
.pcard__photo {
  position: relative;
  width: 104px;
  height: 104px;
  margin-top: -52px;
  border-radius: 50%;
  border: 5px solid #fff;
  object-fit: cover;
  font-size: 2rem;
  box-shadow: 0 8px 20px rgba(15, 27, 69, .18);
}
.pcard h1 { font-size: 1.55rem; margin: 14px 0 4px; }
.pcard__tagline { margin: 0 0 14px; color: var(--muted); font-size: .92rem; }
.pcard__bio { margin: 16px 0 0; color: #2B3560; font-size: .95rem; }
.pcard__bio.is-clamped { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden; }
.pcard__more { margin-top: 6px; padding: 0; border: 0; background: none; color: var(--blue-deep); font: inherit; font-size: .88rem; font-weight: 700; cursor: pointer; }
.pcard__more:hover { color: var(--coral); }

.stats { display: flex; margin: 20px 0; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats div { flex: 1; text-align: center; }
.stats div + div { border-left: 1px solid var(--line); }
.stats dd { margin: 0; font-size: 1.25rem; font-weight: 800; line-height: 1.2; }
.stats dt { margin-top: 2px; color: var(--muted); font-size: .68rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }

.pcard__label { display: block; margin-bottom: 10px; color: var(--muted); font-size: .7rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.pcard__empty { margin: 0; color: var(--muted); font-size: .88rem; }
.socials { display: flex; flex-wrap: wrap; gap: 8px; }
.social {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  font-size: .82rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease;
}
.social:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(15, 27, 69, .12); }
.social svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.social .social__out { width: 12px; height: 12px; opacity: .6; }
.social--instagram { border-color: #F3B4D3; background: #FFF0F7; color: #B82F7C; }
.social--tiktok { border-color: #C6C9D4; background: #F0F1F5; color: #14151A; }
.social--youtube { border-color: #F5B5B5; background: #FFF0F0; color: #C71A1A; }
.social--facebook { border-color: #B5CCF7; background: #EEF4FF; color: #1763CF; }

.pcard__actions { display: grid; gap: 10px; margin-top: 22px; }
.pcard__actions .btn svg { width: 18px; height: 18px; margin-right: 8px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pcard__actions .btn--ghost.is-done { border-color: #2FBF71; color: #1B7A47; }

/* Панели вдясно */
.panel { padding: 22px; border-radius: 24px; background: #fff; box-shadow: 0 12px 34px rgba(15, 27, 69, .07); }
.panel__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.panel h2 { margin: 0; font-size: 1.25rem; }
.panel__note { color: var(--muted); font-size: .82rem; font-weight: 600; }

.tabs { display: flex; gap: 4px; margin-bottom: 16px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.tab { position: relative; flex: none; padding: 10px 16px; border: 0; background: none; color: var(--muted); font: inherit; font-size: .9rem; font-weight: 700; cursor: pointer; }
.tab::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; border-radius: 3px 3px 0 0; background: linear-gradient(90deg, var(--coral), var(--orange)); transform: scaleX(0); transition: transform .25s ease; }
.tab:hover { color: var(--navy); }
.tab[aria-pressed="true"] { color: var(--navy); }
.tab[aria-pressed="true"]::after { transform: scaleX(1); }
.tab:focus-visible { outline: 3px solid var(--purple); outline-offset: -3px; }

.pf { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.pf__item {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  padding: 0;
  border: 0;
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(160deg, var(--blue-deep), var(--navy));
  color: #fff;
  cursor: pointer;
  animation: cardIn .45s ease both;
  animation-delay: calc(var(--i, 0) * 50ms);
}
.pf__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.pf__item:hover img { transform: scale(1.06); }
.pf__item:focus-visible { outline: 3px solid var(--purple); outline-offset: 3px; }
.pf__badge { position: absolute; top: 8px; right: 8px; padding: 3px 9px; border-radius: 8px; background: rgba(15, 27, 69, .75); color: #fff; font-size: .62rem; font-weight: 800; letter-spacing: .08em; }
.pf__play { position: absolute; left: 10px; bottom: 10px; width: 34px; height: 34px; border-radius: 50%; background: rgba(255, 255, 255, .9); transition: transform .2s ease; }
.pf__play::after { content: ""; position: absolute; top: 10px; left: 13px; border: 7px solid transparent; border-left: 11px solid var(--navy); border-right: 0; }
.pf__item:hover .pf__play { transform: scale(1.15); }
.pf__title { position: absolute; left: 52px; right: 10px; bottom: 16px; font-size: .78rem; font-weight: 700; text-align: left; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pf__item--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  border: 2px dashed #CBD3EA;
  background: var(--soft);
  color: #9AA5C8;
  font-size: .8rem;
  font-weight: 600;
  text-align: center;
  cursor: default;
}
.pf__none { grid-column: 1 / -1; margin: 0; padding: 28px 0; color: var(--muted); text-align: center; }

.prices { list-style: none; padding: 0; margin: 0 0 18px; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.prices li { display: flex; justify-content: space-between; gap: 16px; padding: 13px 16px; font-size: .92rem; }
.prices li + li { border-top: 1px solid var(--line); }
.prices strong { white-space: nowrap; }
.prices__ask { color: var(--muted); font-weight: 600; }
.editor { margin: 0 0 18px; padding: 14px 16px 14px 46px; border-radius: 14px; background: linear-gradient(135deg, rgba(242, 107, 94, .1), rgba(248, 160, 112, .16)); color: #2B3560; font-size: .92rem; position: relative; }
.editor::before { content: "✂"; position: absolute; left: 16px; top: 12px; color: var(--coral); font-size: 1.15rem; }
.editor strong { color: var(--navy); }
.perks { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: .88rem; font-weight: 600; }
.perks li { position: relative; padding-left: 24px; }
.perks li::before { content: "✓"; position: absolute; left: 0; color: #2FBF71; font-weight: 800; }

/* Отзиви */
.rating { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.rating > strong { font-size: 2.8rem; font-weight: 800; line-height: 1; }
.rating span:last-child { display: block; margin-top: 4px; color: var(--muted); font-size: .85rem; }
.rating .stars { font-size: 1.3rem; }
.reviews { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 12px; }
.review { padding: 18px 20px; border: 1px solid var(--line); border-radius: 16px; }
.review__top { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-bottom: 8px; }
.review__top span:last-child { color: var(--muted); font-size: .82rem; }
.review p { margin: 0; color: #2B3560; }
.review--empty { border-style: dashed; color: var(--muted); background: var(--soft); }

.review-form { display: grid; gap: 16px; padding: 22px; border-radius: 18px; background: var(--soft); }
.review-form h3 { font-size: 1.15rem; margin: 0; }
.review-form__sub { margin: -8px 0 0; color: var(--muted); font-size: .92rem; }
.rf-field { display: grid; gap: 8px; }
.rf-label { font-size: .74rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); }
.rf-field input[type="text"], .rf-field textarea { width: 100%; padding: 13px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; color: var(--navy); font: inherit; font-size: .95rem; }
.rf-field textarea { resize: vertical; }
.rf-field input:focus, .rf-field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(63, 114, 184, .18); }
.stars-input { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; }
.stars-input input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.stars-input label { font-size: 2.2rem; line-height: 1; color: #CBD3EA; cursor: pointer; transition: color .12s ease, transform .12s ease; }
.stars-input label:hover { transform: scale(1.15); }
.stars-input label:hover, .stars-input label:hover ~ label, .stars-input input:checked ~ label { color: var(--gold); }
.stars-input input:focus-visible + label { outline: 3px solid var(--purple); outline-offset: 2px; border-radius: 6px; }
.review-form .btn { justify-self: start; }
.review-form__error { margin: 0; padding: 10px 14px; border-radius: 12px; background: rgba(242, 107, 94, .14); color: #A12A1F; font-size: .9rem; font-weight: 500; }
.review-form__note { margin: 0; color: var(--muted); font-size: .8rem; }
.review-form__note a { color: var(--blue-deep); }
.review-form--done p { margin: 0; color: var(--muted); }

.notfound { padding: 80px 0; text-align: center; }
.notfound h1 { font-size: clamp(1.6rem, 4vw, 2.2rem); }
.notfound p { color: var(--muted); margin-bottom: 24px; }

/* Преглед на снимка или клип на цял екран */
.lightbox { max-width: min(92vw, 520px); max-height: 92vh; padding: 0; border: 0; border-radius: 18px; background: #000; overflow: hidden; }
.lightbox::backdrop { background: rgba(8, 14, 40, .82); }
.lightbox img, .lightbox video { display: block; max-width: 100%; max-height: 92vh; margin: 0 auto; }
.lightbox__close { position: absolute; top: 10px; right: 10px; z-index: 1; width: 38px; height: 38px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .9); color: var(--navy); font-size: 1.4rem; line-height: 1; cursor: pointer; }

@media (min-width: 720px) {
  .pf { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .panel { padding: 28px; }
}

@media (min-width: 960px) {
  .cp { grid-template-columns: 340px minmax(0, 1fr); gap: 28px; }
  .cp__side { position: sticky; top: 92px; }
}

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

.social--website { border-color: #C9BDF0; background: #F4F0FF; color: #5B3FB5; }
.pcard__bio { white-space: pre-line; }
.pcard__photo { object-position: center 20%; }

/* Пакети в панела с цената */
.packs__title { margin: 4px 0 14px; font-size: 1.05rem; }
.packs { display: grid; gap: 14px; margin-bottom: 18px; }
.pack {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 22px 20px 20px;
  border: 1.5px solid var(--line);
  border-radius: 20px;
  background: #fff;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  animation: cardIn .5s ease both;
  animation-delay: calc(var(--i, 0) * 80ms);
}
.pack:hover { transform: translateY(-5px); border-color: var(--orange); box-shadow: 0 18px 40px rgba(15, 27, 69, .12); }
.pack--top { border-color: transparent; background: linear-gradient(#fff, #fff) padding-box, linear-gradient(135deg, var(--coral), var(--orange)) border-box; border-width: 2px; box-shadow: 0 14px 34px rgba(242, 107, 94, .18); }
.pack__badge { position: absolute; top: -12px; left: 18px; padding: 4px 12px; border-radius: 999px; background: linear-gradient(90deg, var(--coral), var(--orange)); color: #fff; font-size: .66rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; box-shadow: 0 6px 14px rgba(242, 107, 94, .35); }
.pack__name { margin: 0 0 6px; font-size: 1rem; font-weight: 700; }
.pack__price { margin: 0 0 10px; font-size: 1.45rem; font-weight: 800; letter-spacing: -.01em; line-height: 1.15; }
.pack--top .pack__price { background: linear-gradient(90deg, var(--coral), var(--orange)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pack__clips { align-self: flex-start; margin-bottom: 14px; padding: 4px 11px; border-radius: 999px; background: var(--soft); color: var(--blue-deep); font-size: .75rem; font-weight: 700; }
.pack__list { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 8px; flex: 1; align-content: start; font-size: .88rem; color: #2B3560; }
.pack__list li { position: relative; padding-left: 24px; }
.pack__list li::before { content: "✓"; position: absolute; left: 0; color: #2FBF71; font-weight: 800; }
.price-note { margin: 0 0 18px; padding-left: 14px; border-left: 3px solid var(--orange); color: var(--muted); font-size: .88rem; }
@media (min-width: 620px) { .packs { grid-template-columns: repeat(2, 1fr); } }
@media (prefers-reduced-motion: reduce) { .pack { animation: none; transition: none; } }

/* Фонът идва от общата тема */
.profile-bg { background: none; }

/* Телефон: трите раздела на портфолиото се събират на един ред */
@media (max-width: 480px) { .tab { padding: 10px 11px; font-size: .84rem; } }

.score-note { margin: 0 0 16px; padding: 14px 16px; border-radius: 14px; background: rgba(245, 179, 1, .12); color: #2B3560; font-size: .92rem; }
.score-note strong { color: #8A6100; }
.social .social__img { width: 18px; height: 18px; border-radius: 4px; }
.social .social__img--tall { width: auto; border-radius: 0; }
