.vpa-box {
  position: relative;
  width: 100%;
  max-width: 640px;
  aspect-ratio: 16 / 9;
  background-color: #000;
  border-radius: 12px;
  overflow: hidden;
  margin: 24px auto;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5);
  font-family: system-ui, -apple-system, sans-serif;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.vpa-box video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* POČETNI SCREEN SA PLAY DUGMETOM */
.vpa-box .vpa-start-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 20;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  touch-action: manipulation;
}

.vpa-box .vpa-play-btn {
  width: 68px;
  height: 68px;
  background: rgba(225, 29, 72, 0.95);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px rgba(225, 29, 72, 0.6);
  transition: transform 0.2s ease;
  pointer-events: none;
}

.vpa-box .vpa-start-overlay:active .vpa-play-btn {
  transform: scale(0.95);
}

.vpa-box .vpa-play-icon {
  width: 0;
  height: 0;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  border-left: 20px solid #ffffff;
  margin-left: 4px;
  pointer-events: none;
}

.vpa-box .vpa-start-text {
  color: #fff;
  margin-top: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  text-shadow: 0 2px 4px rgba(0,0,0,0.8);
  pointer-events: none;
}

/* REKLAMNI OVERLAY (16:9 FORMAT) */
.vpa-box .vpa-ad-overlay {
  position: absolute;
  inset: 0;
  background: #0f172a;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 10px;
  box-sizing: border-box;
  z-index: 10;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.vpa-box .vpa-ad-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 2;
  background: rgba(15, 23, 42, 0.85);
  padding: 6px 10px;
  border-radius: 6px;
}

.vpa-box .vpa-tag {
  background-color: #e11d48;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 4px;
}

.vpa-box .vpa-timer {
  font-size: 0.85rem;
  color: #cbd5e1;
}

.vpa-box .vpa-timer span {
  font-weight: 700;
  color: #38bdf8;
  font-size: 1rem;
}

/* PRILAGOĐAVANJE SLIKE U 16:9 */
.vpa-box .vpa-ad-body {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin: 6px 0;
}

.vpa-box .vpa-ad-link {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none !important;
}

.vpa-box .vpa-ad-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 6px;
}

.vpa-box .vpa-text-box {
  text-align: center;
  padding: 10px;
}

.vpa-box .vpa-title-large {
  font-size: 1.15rem;
  font-weight: 700;
  color: #f8fafc !important;
  margin: 0 0 6px 0;
}

.vpa-box .vpa-desc {
  font-size: 0.85rem;
  color: #94a3b8 !important;
  margin: 0 0 12px 0;
}

.vpa-box .vpa-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #0ea5e9, #2563eb);
  color: #ffffff !important;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 8px 18px;
  border-radius: 20px;
  text-decoration: none !important;
}

.vpa-box .vpa-is-hidden {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}
