/* Public kampanya kart + detay: panel .dxk / .dxd dili (guest sayfalar) */
.pub-wrap {
  --dx-line: rgba(255, 255, 255, .08);
  --dx-surface: #151618;
  --dx-ease: cubic-bezier(.2, .7, .2, 1);
  --dx-spring: cubic-bezier(.34, 1.56, .64, 1);
  --dx-display: 'Space Grotesk', 'Sora', system-ui, sans-serif;
}

@keyframes dxGrow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes dxShine { from { transform: translateX(-120%); } to { transform: translateX(220%); } }
@keyframes dxPulse { 0%, 100% { box-shadow: none; } }

.pub-wrap .pub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.1rem;
}
.pub-wrap .dxk {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border-radius: 22px;
  background: #151618;
  border: 1px solid var(--dx-line);
  text-decoration: none;
  color: inherit;
  isolation: isolate;
  transition: transform .45s var(--dx-ease), border-color .3s;
}
.pub-wrap .dxk:hover { transform: translateY(-6px); border-color: rgba(255, 255, 255, .14); }
.pub-wrap .dxk:focus-visible { outline: 2px solid var(--clipydrop-brand); outline-offset: 3px; }
.pub-wrap .dxk[hidden] { display: none !important; }
.pub-wrap .dxk-cover { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #161719; }
.pub-wrap .dxk-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transition: transform .9s var(--dx-ease); }
.pub-wrap .dxk:hover .dxk-img { transform: scale(1.08); }
.pub-wrap .dxk-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14, 15, 17, .45) 0%, transparent 38%, rgba(14, 15, 17, .55) 100%); }
.pub-wrap .dxk-cover::after { content: ""; position: absolute; top: 0; bottom: 0; width: 40%; left: 0; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .12), transparent); transform: translateX(-120%); pointer-events: none; }
.pub-wrap .dxk:hover .dxk-cover::after { animation: dxShine .9s var(--dx-ease) 1; }
.pub-wrap .dxk-top { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.pub-wrap .dxk-pill { position: absolute; left: 14px; top: 14px; display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: 99px; background: rgba(14, 15, 17, .72); border: 1px solid rgba(255, 255, 255, .14); font-size: 12.5px; font-weight: 700; color: #fff; white-space: nowrap; pointer-events: auto; }
.pub-wrap .dxk-pill i { width: 8px; height: 8px; border-radius: 50%; background: var(--clipydrop-brand); }
.pub-wrap .dxk-pill.is-full { color: #FFD98A; border-color: rgba(255, 200, 87, .35); }
.pub-wrap .dxk-pill.is-warn { color: #FFD98A; border-color: rgba(255, 200, 87, .35); }
.pub-wrap .dxk-plats { position: absolute; left: 14px; bottom: 14px; display: inline-flex; gap: 5px; pointer-events: auto; }
.pub-wrap .dxk-plats .cp-plat { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: rgba(14, 15, 17, .72); border: 1px solid rgba(255, 255, 255, .14); color: #fff; }
.pub-wrap .dxk-plats .cp-plat svg { width: 14px; height: 14px; }
.pub-wrap .cp-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.pub-wrap .dxk-body { flex: 1; display: grid; gap: 12px; padding: 18px 20px 20px; align-content: start; grid-template-rows: auto auto auto 1fr; }
.pub-wrap .dxk-brand { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #A9B8AE; min-width: 0; }
.pub-wrap .dxk-brand span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pub-wrap .dxk-av { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 9px; background: rgba(255, 255, 255, .055); color: #fff; font-size: 13px; font-weight: 800; }
.pub-wrap .dxk h3 { margin: 0; font-family: var(--dx-display); font-size: 1.15rem; font-weight: 700; line-height: 1.3; letter-spacing: -.01em; color: #fff; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pub-wrap .dxk-pay { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.pub-wrap .dxk-pay strong { font-family: var(--dx-display); font-size: 1.55rem; font-weight: 700; line-height: 1; letter-spacing: -.03em; color: #fff; font-variant-numeric: tabular-nums; }
.pub-wrap .dxk-pay span { font-size: 14px; color: #A9B8AE; }
.pub-wrap .dxk-pool { display: grid; gap: 8px; padding-top: 14px; border-top: 1px solid var(--dx-line); align-self: end; }
.pub-wrap .dxk-pool-h, .pub-wrap .dxk-pool-f { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 13.5px; color: #A9B8AE; }
.pub-wrap .dxk-pool-h b { color: #fff; font-weight: 700; }
.pub-wrap .dxk-bar { display: block; height: 8px; border-radius: 99px; background: rgba(255, 255, 255, .09); overflow: hidden; }
.pub-wrap .dxk-bar i { display: block; height: 100%; width: var(--w, 0%); border-radius: inherit; background: var(--clipydrop-brand); transform-origin: left; animation: dxGrow 1.1s var(--dx-ease) .2s both; }
.pub-wrap .dxk-go { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--clipydrop-brand); opacity: 0; transform: translateX(-6px); transition: opacity .3s, transform .35s var(--dx-ease); }
.pub-wrap .dxk-go svg { width: 15px; height: 15px; }
.pub-wrap .dxk:hover .dxk-go, .pub-wrap .dxk:focus-visible .dxk-go { opacity: 1; transform: none; }
@media (hover: none) { .pub-wrap .dxk-go { opacity: 1; transform: none; } }
@media (max-width: 700px) { .pub-wrap .pub-grid { grid-template-columns: 1fr; } }

/* Detay: panel dxd dili */
.pub-wrap.pd .dxd { display: grid; gap: 18px; }
.pub-wrap.pd .dx-card { padding: 0; border-radius: 22px; background: var(--dx-surface); border: 1px solid var(--dx-line); overflow: hidden; }
.pub-wrap.pd .dxd-banner { position: relative; aspect-ratio: 21 / 9; background: #161719; min-height: 200px; }
.pub-wrap.pd .dxd-banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pub-wrap.pd .dxd-banner-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,15,17,.2) 0%, rgba(14,15,17,.55) 55%, rgba(21,22,24,.98) 100%); }
.pub-wrap.pd .dxd-banner-top { position: absolute; left: 16px; right: 16px; top: 16px; z-index: 2; display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.pub-wrap.pd .dxd-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.pub-wrap.pd .dxd-chip { padding: 7px 12px; border-radius: 99px; background: rgba(14,15,17,.7); border: 1px solid rgba(255,255,255,.14); font-size: 13px; font-weight: 600; color: #fff; }
.pub-wrap.pd .dxd-plats { display: inline-flex; gap: 6px; }
.pub-wrap.pd .dxd-plats .cp-plat { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: rgba(14,15,17,.72); border: 1px solid rgba(255,255,255,.14); color: #fff; }
.pub-wrap.pd .dxd-plats .cp-plat svg { width: 15px; height: 15px; }
.pub-wrap.pd .dxd-banner-txt { position: absolute; left: 20px; right: 20px; bottom: 20px; z-index: 2; display: grid; gap: 10px; }
.pub-wrap.pd .dxd-brandpill { display: inline-flex; align-items: center; gap: 8px; width: fit-content; height: 32px; padding: 0 12px 0 4px; border-radius: 99px; background: rgba(0,0,0,.45); border: 1px solid rgba(255,255,255,.14); color: #fff; font-size: 13px; font-weight: 600; }
.pub-wrap.pd .dxd-brandpill i { width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.14); color: #fff; font: 700 12px/1 var(--dx-display); font-style: normal; }
.pub-wrap.pd .dxd-title { margin: 0; font-family: var(--dx-display); font-size: clamp(1.6rem, 3.4vw, 2.3rem); font-weight: 700; line-height: 1.12; letter-spacing: -.02em; color: #fff; }
.pub-wrap.pd .dxd-hero-body { padding: 20px 22px 22px; display: grid; gap: 16px; }
.pub-wrap.pd .dxd-lead { margin: 0; font-size: 15px; line-height: 1.65; color: #C9D6CE; }
.pub-wrap.pd .dxd-mode { margin: 0; font-size: 14px; line-height: 1.55; color: #A9B8AE; }
.pub-wrap.pd .dxd-mode b { color: #fff; }
.pub-wrap.pd .dxd-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.pub-wrap.pd .dxd-tile { display: grid; gap: 4px; padding: 14px 16px; border-radius: 16px; background: rgba(255,255,255,.04); border: 1px solid var(--dx-line); min-width: 0; }
.pub-wrap.pd .dxd-tile.is-main { border-color: rgba(255,255,255,.1); }
.pub-wrap.pd .dxd-ti { display: block; margin-bottom: 4px; }
.pub-wrap.pd .dxd-ti img { width: 44px; height: 44px; object-fit: contain; }
.pub-wrap.pd .dxd-tl { font-size: 13px; color: #A9B8AE; }
.pub-wrap.pd .dxd-tile b { font-family: var(--dx-display); font-size: 1.35rem; font-weight: 700; color: #fff; letter-spacing: -.02em; overflow-wrap: anywhere; }
.pub-wrap.pd .dxd-tile small { font-size: 12.5px; color: #7E8F86; }
.pub-wrap.pd .dxd-cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.pub-wrap.pd .dxd-cta { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 99px; background: var(--clipydrop-button-gradient); color: #18191B; font-weight: 800; text-decoration: none; }
.pub-wrap.pd .dxd-cta-ghost { display: inline-flex; align-items: center; min-height: 48px; padding: 0 18px; border-radius: 99px; border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.05); color: #fff; font-weight: 700; text-decoration: none; }

.pub-wrap.pd .dxd-tabs { padding: 18px 18px 20px; }
.pub-wrap.pd .dxw-tabs {
  position: relative; display: flex; flex-wrap: nowrap; gap: 4px; width: fit-content; max-width: 100%;
  margin: 0 0 16px; padding: 5px; border-radius: 999px; border: 1px solid rgba(255,255,255,.06);
  background: rgba(255,255,255,.055); overflow-x: auto; scrollbar-width: none;
}
.pub-wrap.pd .dxw-tabs::-webkit-scrollbar { display: none; }
.pub-wrap.pd .dxw-tab {
  flex: 0 0 auto; min-height: 38px; padding: 0 16px; border: 0; border-radius: 999px;
  background: transparent; color: #C9CDD2; font: 600 13.5px/1 inherit; cursor: pointer; white-space: nowrap;
}
.pub-wrap.pd .dxw-tab.is-on { background: var(--clipydrop-brand); color: #07110A; }
.pub-wrap.pd .dxw-panel { display: none; }
.pub-wrap.pd .dxw-panel.is-on { display: block; }
.pub-wrap.pd .dx-muted { margin: 0 0 12px; font-size: 14px; color: #A9B8AE; }
.pub-wrap.pd .dxd-body { display: grid; gap: 12px; }
.pub-wrap.pd .dxr-h { margin: 8px 0 0; font: 700 13px/1.3 var(--dx-display); letter-spacing: .02em; color: #fff; padding-bottom: 8px; border-bottom: 1px solid rgba(255,255,255,.08); }
.pub-wrap.pd .dxr-h:first-child { margin-top: 0; }
.pub-wrap.pd .dxr-rows { display: grid; gap: 0; margin: 0; border-radius: 16px; background: rgba(255,255,255,.04); overflow: hidden; }
.pub-wrap.pd .dxr-rows > div { display: grid; grid-template-columns: minmax(92px, 34%) 1fr; gap: 12px; padding: 12px 14px; }
.pub-wrap.pd .dxr-rows > div + div { border-top: 1px solid rgba(255,255,255,.06); }
.pub-wrap.pd .dxr-rows dt { margin: 0; font-size: 13px; color: #A3A9A6; }
.pub-wrap.pd .dxr-rows dd { margin: 0; font-size: 14px; font-weight: 600; color: #fff; overflow-wrap: anywhere; }
.pub-wrap.pd .dxr-p { margin: 0; font-size: 14px; line-height: 1.65; color: #D2D6DA; overflow-wrap: anywhere; }
.pub-wrap.pd .dxr-li { position: relative; margin: 0; padding-left: 16px; font-size: 14px; line-height: 1.6; color: #D2D6DA; }
.pub-wrap.pd .dxr-li::before { content: ""; position: absolute; left: 2px; top: .7em; width: 5px; height: 5px; border-radius: 50%; background: #8E949A; }
.pub-wrap.pd .dxd-tiers { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.pub-wrap.pd .dxd-tiers li { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 16px; background: rgba(255,255,255,.04); border: 1px solid var(--dx-line); }
.pub-wrap.pd .dxd-n { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: rgba(255,255,255,.08); font-size: 14px; font-weight: 700; color: #C9D6CE; }
.pub-wrap.pd .dxd-tt { flex: 1; min-width: 0; display: grid; gap: 2px; }
.pub-wrap.pd .dxd-tt strong { font-size: 15px; color: #fff; }
.pub-wrap.pd .dxd-tt em { font-style: normal; font-size: 13px; color: #A9B8AE; }
.pub-wrap.pd .dxd-tiers b { flex: none; font-family: var(--dx-display); font-size: 1.1rem; font-weight: 700; color: #fff; }

.pub-wrap .pk-hero-art { display: flex; align-items: center; justify-content: center; min-height: 220px; }
.pub-wrap .pk-hero-art .pk-a { position: static; width: min(220px, 55%); height: auto; filter: drop-shadow(0 18px 28px rgba(0,0,0,.45)); animation: none; }
.pub-wrap .pk-orb, .pub-wrap .pk-a2, .pub-wrap .pk-a3, .pub-wrap .pk-a4 { display: none !important; }
.pub-wrap .pk-stats img { width: 44px; height: 44px; object-fit: contain; }

@media (max-width: 900px) {
  .pub-wrap.pd .dxd-tiles { grid-template-columns: 1fr; }
  .pub-wrap.pd .dxd-banner { aspect-ratio: 16 / 10; }
}
@media (max-width: 640px) {
  .pub-wrap.pd .dxd-hero-body { padding: 16px; }
  .pub-wrap.pd .dxd-cta-row > * { flex: 1 1 100%; justify-content: center; }
}


/* Kampanya detayı: üretici panelindeki detay sayfasıyla aynı düzen — içeriden banner, düz kartlar, kayan sekme çizgisi */
.pub-wrap.pd .dxd-hero2 { padding: 20px; display: grid; gap: 18px; }
.pub-wrap.pd .dxd-hero2 .dxd-banner { aspect-ratio: auto; height: 270px; min-height: 0; border-radius: 20px; overflow: hidden; }
.pub-wrap.pd .dxd-hero-body { padding: 0; gap: 16px; }
.pub-wrap.pd .dxd-ti { display: none; }
.pub-wrap.pd .dxd-tile { padding: 16px 18px; gap: 6px; border: 0; background: rgba(255, 255, 255, .05); }
.pub-wrap.pd .dxd-tile.is-main b { color: var(--clipydrop-brand, #88F06D); font-size: 1.7rem; }
.pub-wrap.pd .dxd-tl { font-size: 12.5px; }
.pub-wrap.pd .dxd-tabs { padding: 20px; }
.pub-wrap.pd .dxw-tabs { width: 100%; gap: 2px; padding: 5px; border-radius: 999px; margin: 0 0 18px; }
.pub-wrap.pd .dxw-ink { position: absolute; left: 0; top: 5px; bottom: 5px; width: 0; border-radius: 999px; background: var(--clipydrop-brand, #88F06D); transition: transform .45s cubic-bezier(.22, 1, .36, 1), width .45s cubic-bezier(.22, 1, .36, 1); z-index: 0; pointer-events: none; }
.pub-wrap.pd .dxw-tab { position: relative; z-index: 1; flex: 1 0 auto; display: inline-flex; align-items: center; justify-content: center; min-height: 40px; transition: color .3s ease .12s; }
.pub-wrap.pd .dxw-tab.is-on { background: transparent; color: #07110A; }
.pub-wrap.pd .dxr-rows > div { grid-template-columns: minmax(80px, 150px) 1fr; }
@media (max-width: 900px) {
  .pub-wrap.pd .dxd-hero2 { padding: 12px; gap: 14px; }
  .pub-wrap.pd .dxd-hero2 .dxd-banner { height: 230px; border-radius: 18px; }
  .pub-wrap.pd .dxd-tabs { padding: 14px; }
  .pub-wrap.pd .dxd-tiles { grid-template-columns: 1fr 1fr; }
  .pub-wrap.pd .dxd-tile.is-main { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) { .pub-wrap.pd .dxw-ink { transition: none; } }

/* Platform filtresi: aktif hap yeni seçime kayarak gider (panelle aynı kayan çizgi) */
.pub-filters.dxw-tabs .dxw-ink { position: absolute; left: 0; top: 5px; bottom: 5px; width: 0; border-radius: 999px; background: var(--clipydrop-brand, #88F06D); z-index: 0; pointer-events: none; transition: transform .45s cubic-bezier(.22, 1, .36, 1), width .45s cubic-bezier(.22, 1, .36, 1); }
.pub-filters.dxw-tabs a.is-on { background: transparent !important; color: #07110A !important; }
.pub-filters.dxw-tabs a { transition: color .3s ease .1s; }
@media (prefers-reduced-motion: reduce) { .pub-filters.dxw-tabs .dxw-ink { transition: none; } }
@keyframes pubSwapIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.pub-wrap .pub-grid.is-swap .dxk:not([hidden]) { animation: pubSwapIn .38s cubic-bezier(.22, 1, .36, 1) both; }
@media (prefers-reduced-motion: reduce) { .pub-wrap .pub-grid.is-swap .dxk { animation: none; } }

/* Kampanya şartlarındaki bağlantılar (ör. yayın linki) tıklanabilir görünür */
.pub-wrap.pd .dxr a.dxr-a { color: var(--clipydrop-brand, #5BFF8A); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; font-weight: 700; cursor: pointer; overflow-wrap: anywhere; }
.pub-wrap.pd .dxr a.dxr-a:hover { text-decoration-thickness: 2px; }
