/* Wolfpick Sessions x Casa Goa — popup eveniment */
.wpp-root, .wpp-root * { box-sizing: border-box; }
.wpp-root {
  --wpp-cream: #f3eee6;
  --wpp-cream-2: #ebe4d8;
  --wpp-ink: #141414;
  --wpp-muted: #6b655c;
  --wpp-line: #d6cdbf;
  --wpp-red: #d8232a;
  --wpp-red-dark: #b51b21;
  --wpp-serif: Georgia, "Times New Roman", "DejaVu Serif", serif;
  --wpp-sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-family: var(--wpp-sans);
  color: var(--wpp-ink);
  line-height: 1.4;
}

/* ---------- Overlay + popup ---------- */
.wpp-overlay {
  position: fixed; inset: 0; z-index: 99998;
  background: rgba(20, 16, 12, .62);
  backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
  display: flex; align-items: center; justify-content: center;
  padding: 16px;
  opacity: 0; visibility: hidden;
  transition: opacity .35s ease, visibility .35s ease;
}
.wpp-overlay.is-open { opacity: 1; visibility: visible; }

.wpp-modal {
  position: relative;
  width: 100%; max-width: 860px;
  max-height: calc(100vh - 32px);
  overflow: auto;
  background: var(--wpp-cream);
  border-radius: 4px;
  box-shadow: 0 30px 80px rgba(0,0,0,.35);
  display: grid;
  grid-template-columns: 400px 1fr;
  transform: translateY(18px) scale(.97);
  transition: transform .45s cubic-bezier(.2,.8,.2,1), opacity .35s ease;
  opacity: 0;
}
.wpp-overlay.is-open .wpp-modal { transform: none; opacity: 1; }
.wpp-overlay.is-minimizing .wpp-modal {
  transform: translate(var(--wpp-tx, -40vw), var(--wpp-ty, 40vh)) scale(.12);
  opacity: 0;
  transition: transform .5s cubic-bezier(.6,0,.4,1), opacity .45s ease;
}

.wpp-media { background: #f3eee6; display: flex; align-items: center; }
.wpp-media img { display: block; width: 100%; height: auto; }
.wpp-media .wpp-photo { display: none; }

.wpp-body {
  padding: 40px 38px 34px;
  display: flex; flex-direction: column;
}
.wpp-kicker {
  font-size: 11px; letter-spacing: .32em; text-transform: uppercase;
  color: var(--wpp-muted); margin: 0 0 14px;
}
.wpp-title {
  font-family: var(--wpp-serif); font-weight: 400;
  font-size: 30px; line-height: 1.15; margin: 0 0 12px; color: var(--wpp-ink);
}
.wpp-title .wpp-x { color: var(--wpp-red); font-style: italic; padding: 0 .1em; }
.wpp-sub {
  font-family: var(--wpp-serif); font-size: 16px; color: #3b362f;
  margin: 0 0 20px;
}
.wpp-points { list-style: none; margin: 0 0 22px; padding: 0; }
.wpp-points li {
  position: relative; padding: 6px 0 6px 20px;
  font-size: 14px; color: #39342d; border-bottom: 1px solid var(--wpp-line);
}
.wpp-points li:last-child { border-bottom: 0; }
.wpp-points li::before {
  content: ""; position: absolute; left: 2px; top: 13px;
  width: 7px; height: 7px; background: var(--wpp-red); transform: rotate(45deg);
}

.wpp-facts {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--wpp-ink); border-bottom: 1px solid var(--wpp-line);
  margin: auto 0 20px;
}
.wpp-fact { padding: 12px 8px; text-align: center; }
.wpp-fact + .wpp-fact { border-left: 1px solid var(--wpp-line); }
.wpp-fact strong {
  display: block; font-family: var(--wpp-serif); font-weight: 400;
  font-size: 17px; line-height: 1.2; color: var(--wpp-ink);
}
.wpp-fact span {
  display: block; margin-top: 4px;
  font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--wpp-muted);
}

.wpp-cta {
  display: block; width: 100%; text-align: center;
  background: var(--wpp-ink); color: #fff !important;
  text-decoration: none !important;
  font-size: 13px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase;
  padding: 17px 20px; border-radius: 2px;
  transition: background .2s ease, transform .2s ease;
}
.wpp-cta:hover, .wpp-cta:focus-visible { background: var(--wpp-red); transform: translateY(-1px); }
.wpp-cta:focus-visible { outline: 2px solid var(--wpp-red); outline-offset: 3px; }

.wpp-later {
  display: block; margin: 12px auto 0; background: none; border: 0; cursor: pointer;
  font: inherit; font-size: 12px; color: var(--wpp-muted); text-decoration: underline;
  text-underline-offset: 3px;
}
.wpp-later:hover { color: var(--wpp-ink); }

.wpp-close {
  position: absolute; top: 10px; right: 10px; z-index: 2;
  width: 40px; height: 40px; border-radius: 50%;
  border: 0; cursor: pointer;
  background: rgba(243,238,230,.92); color: var(--wpp-ink);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 10px rgba(0,0,0,.15);
  transition: background .2s ease, transform .2s ease;
}
.wpp-close:hover { background: #fff; transform: rotate(90deg); }
.wpp-close svg { width: 18px; height: 18px; }

/* ---------- Insigna din colt ---------- */
.wpp-badge {
  position: fixed; bottom: 18px; z-index: 99990;
  display: flex; align-items: center; gap: 10px;
  padding: 6px 14px 6px 6px;
  background: var(--wpp-cream);
  border: 1px solid var(--wpp-line);
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(0,0,0,.18);
  cursor: pointer; text-align: left;
  font-family: var(--wpp-sans); color: var(--wpp-ink);
  opacity: 0; transform: translateY(20px) scale(.9); pointer-events: none;
  transition: opacity .35s ease, transform .4s cubic-bezier(.2,.8,.2,1), box-shadow .2s ease;
}
.wpp-badge.is-left { left: 18px; }
.wpp-badge.is-right { right: 18px; }
.wpp-badge.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.wpp-badge:hover { box-shadow: 0 14px 36px rgba(0,0,0,.26); transform: translateY(-2px); }
.wpp-badge:focus-visible { outline: 2px solid var(--wpp-red); outline-offset: 3px; }
.wpp-badge img {
  width: 42px; height: 42px; border-radius: 50%; object-fit: cover; flex: none;
  border: 2px solid #fff;
}
.wpp-badge-txt strong {
  display: block; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
}
.wpp-badge-txt span { display: block; font-size: 11px; color: var(--wpp-muted); margin-top: 1px; }
.wpp-badge-dot {
  position: absolute; top: 4px; width: 11px; height: 11px; border-radius: 50%;
  background: var(--wpp-red); border: 2px solid var(--wpp-cream);
}
.wpp-badge.is-left .wpp-badge-dot { left: 38px; }
.wpp-badge.is-right .wpp-badge-dot { left: 38px; }
.wpp-badge-dot::after {
  content: ""; position: absolute; inset: -2px; border-radius: 50%;
  border: 2px solid var(--wpp-red); animation: wpp-pulse 1.8s ease-out infinite;
}
@keyframes wpp-pulse { from { transform: scale(1); opacity: .8; } to { transform: scale(2.4); opacity: 0; } }

body.wpp-lock { overflow: hidden; }

/* ---------- Tableta ---------- */
@media (max-width: 860px) {
  .wpp-modal { grid-template-columns: 300px 1fr; max-width: 700px; }
  .wpp-body { padding: 30px 26px 26px; }
  .wpp-title { font-size: 25px; }
  .wpp-points li { font-size: 13px; }
}

/* ---------- Mobil ---------- */
@media (max-width: 640px) {
  .wpp-overlay { padding: 12px; align-items: center; }
  .wpp-modal { grid-template-columns: 1fr; max-width: 440px; max-height: calc(100vh - 24px); }
  .wpp-media .wpp-poster { display: none; }
  .wpp-media .wpp-photo { display: block; aspect-ratio: 900 / 343; height: auto; }
  .wpp-body { padding: 22px 20px 20px; }
  .wpp-kicker { font-size: 10px; margin-bottom: 8px; }
  .wpp-title { font-size: 23px; margin-bottom: 8px; }
  .wpp-sub { font-size: 14px; margin-bottom: 12px; }
  .wpp-points { display: none; }
  .wpp-facts { margin: 4px 0 16px; }
  .wpp-fact { padding: 10px 4px; }
  .wpp-fact strong { font-size: 14px; }
  .wpp-fact span { font-size: 9px; letter-spacing: .14em; }
  .wpp-cta { padding: 15px; font-size: 12px; }
  .wpp-badge { bottom: 12px; padding: 5px 12px 5px 5px; }
  .wpp-badge.is-left { left: 12px; }
  .wpp-badge.is-right { right: 12px; }
  .wpp-badge img { width: 36px; height: 36px; }
  .wpp-badge.is-left .wpp-badge-dot, .wpp-badge.is-right .wpp-badge-dot { left: 32px; }
  .wpp-badge-txt span { display: none; }
}
@media (max-height: 560px) and (max-width: 640px) {
  .wpp-media { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .wpp-overlay, .wpp-modal, .wpp-badge, .wpp-cta, .wpp-close { transition: none !important; }
  .wpp-badge-dot::after { animation: none; }
}
