/* Cookie-modal — zelfde look als JokerTV (subpage-card + cta-btn) */

.jtv-consent {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  font-family: "Poppins", system-ui, -apple-system, sans-serif;
}

.jtv-consent.is-visible {
  display: flex;
}

body.jtv-consent-open {
  overflow: hidden;
}

.jtv-consent__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 40, 185, 0.42);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.jtv-consent__panel {
  position: relative;
  z-index: 1;
  width: min(100%, 720px);
  max-height: calc(100vh - 40px);
  overflow: auto;
  background: #ffffff;
  border: 1px solid rgba(14, 26, 67, 0.07);
  border-radius: 16px;
  padding: clamp(28px, 5vw, 40px) clamp(24px, 5vw, 40px) clamp(24px, 4vw, 32px);
  box-shadow: 0 12px 40px rgba(14, 27, 72, 0.14);
  color: #1d2647;
}

.jtv-consent__title {
  margin: 0 0 clamp(16px, 3vw, 22px);
  font-size: clamp(22px, 3.2vw, 28px);
  font-weight: 700;
  line-height: 1.25;
  color: #0e1a43;
}

.jtv-consent__body {
  font-size: 15px;
  line-height: 1.7;
  color: #445068;
}

.jtv-consent__body p {
  margin: 0 0 12px;
  max-width: none;
  font-size: 15px;
  line-height: 1.7;
  color: #445068;
}

.jtv-consent__body p:last-child {
  margin-bottom: 0;
}

.jtv-consent__body a {
  color: #0328b9;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.jtv-consent__body a:hover {
  color: #001f9d;
}

.jtv-consent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: clamp(24px, 4vw, 32px);
  align-items: center;
  justify-content: flex-end;
}

.jtv-consent__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 8px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.2px;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: filter 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.jtv-consent__btn--outline {
  background: #ffffff;
  border-color: rgba(14, 26, 67, 0.15);
  color: #1d2647;
}

.jtv-consent__btn--outline:hover {
  background: #f5f7fb;
  border-color: rgba(14, 26, 67, 0.22);
}

.jtv-consent__btn--accept {
  background: linear-gradient(90deg, #3fc4ff 0%, #2446ff 100%);
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
  border: none;
  min-width: min(100%, 180px);
}

.jtv-consent__btn--accept:hover {
  filter: brightness(1.05);
}

@media (max-width: 640px) {
  .jtv-consent {
    padding: 0;
    align-items: flex-end;
  }

  .jtv-consent__panel {
    width: 100%;
    max-height: 92vh;
    border-radius: 16px 16px 0 0;
  }

  .jtv-consent__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .jtv-consent__btn {
    width: 100%;
  }
}
