/* K1 Sports — cookie banner (AVG/GDPR) */
:root {
  --kc-gold: #bf9f1f;
  --kc-gold-2: #cfaf2f;
  --kc-gold-3: #e6c84a;
  --kc-bg: #0a0a0a;
  --kc-bg2: #1a1714;
  --kc-text: #cfcfcf;
  --kc-mute: #888;
  --kc-line: rgba(191,159,31,.22);
}

#k1-cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 99998;
  width: calc(100% - 40px);
  max-width: 720px;
  background: linear-gradient(180deg, var(--kc-bg2) 0%, var(--kc-bg) 100%);
  border: 1px solid rgba(191,159,31,.4);
  border-radius: 12px;
  padding: 28px 32px;
  color: var(--kc-text);
  font-family: 'Lato','Helvetica Neue',Arial,sans-serif;
  box-shadow: 0 24px 64px rgba(0,0,0,.6), 0 0 80px rgba(191,159,31,.08);
  animation: k1cbIn .35s cubic-bezier(.4,0,.2,1) both;
}
#k1-cookie-banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--kc-gold) 30%, var(--kc-gold-3) 50%, var(--kc-gold) 70%, transparent 100%);
  border-radius: 12px 12px 0 0;
}
@keyframes k1cbIn {
  from { opacity: 0; transform: translate(-50%, 30px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}
#k1-cookie-banner h2 {
  font-family: 'Oswald','Lato',sans-serif;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 12px;
  line-height: 1.2;
}
#k1-cookie-banner p {
  font-size: 14px;
  line-height: 1.6;
  margin: 0 0 18px;
  color: var(--kc-text);
}
#k1-cookie-banner a {
  color: var(--kc-gold-2);
  text-decoration: underline;
}
#k1-cookie-banner a:hover {
  color: var(--kc-gold-3);
}
#k1-cookie-banner .k1-cb-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.k1-cb-btn {
  font-family: 'Oswald','Lato',sans-serif;
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  padding: 12px 22px;
  border-radius: 4px;
  cursor: pointer;
  border: 1px solid;
  transition: transform .2s, box-shadow .2s, background .25s, color .25s, border-color .25s;
  flex: 0 0 auto;
}
.k1-cb-btn--primary {
  background: linear-gradient(135deg, var(--kc-gold) 0%, var(--kc-gold-2) 100%);
  color: #0a0a0a;
  border-color: var(--kc-gold-3);
}
.k1-cb-btn--primary:hover {
  background: linear-gradient(135deg, var(--kc-gold-2) 0%, var(--kc-gold-3) 100%);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -10px rgba(191,159,31,.55);
}
.k1-cb-btn--secondary {
  background: transparent;
  color: #e9e9ec;
  border-color: rgba(191,159,31,.4);
}
.k1-cb-btn--secondary:hover {
  border-color: var(--kc-gold-2);
  color: #fff;
  background: rgba(191,159,31,.05);
}
.k1-cb-btn--ghost {
  background: transparent;
  color: var(--kc-mute);
  border-color: rgba(255,255,255,.1);
}
.k1-cb-btn--ghost:hover {
  color: var(--kc-gold-2);
  border-color: rgba(191,159,31,.4);
}

@media (max-width: 600px) {
  #k1-cookie-banner {
    bottom: 10px;
    width: calc(100% - 20px);
    padding: 22px 20px;
  }
  #k1-cookie-banner h2 {
    font-size: 17px;
    letter-spacing: 1.2px;
  }
  #k1-cookie-banner p {
    font-size: 13.5px;
  }
  #k1-cookie-banner .k1-cb-actions {
    flex-direction: column;
  }
  .k1-cb-btn {
    width: 100%;
    padding: 14px 22px;
  }
}

/* Modal for granular voorkeuren */
#k1-cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
#k1-cookie-modal.k1-cm-open {
  display: flex;
  animation: k1cmFade .25s ease both;
}
@keyframes k1cmFade {
  from { opacity: 0; }
  to { opacity: 1; }
}
.k1-cm-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.78);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.k1-cm-dialog {
  position: relative;
  background: linear-gradient(180deg, var(--kc-bg2) 0%, var(--kc-bg) 100%);
  border: 1px solid rgba(191,159,31,.4);
  border-radius: 12px;
  padding: 32px;
  max-width: 560px;
  width: 100%;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  color: var(--kc-text);
  font-family: 'Lato','Helvetica Neue',Arial,sans-serif;
  box-shadow: 0 24px 64px rgba(0,0,0,.6);
}
.k1-cm-dialog::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--kc-gold) 30%, var(--kc-gold-3) 50%, var(--kc-gold) 70%, transparent 100%);
  border-radius: 12px 12px 0 0;
}
.k1-cm-dialog h2 {
  font-family: 'Oswald','Lato',sans-serif;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 8px;
  line-height: 1.2;
}
.k1-cm-intro {
  margin: 0 0 24px;
  font-size: 14px;
  color: var(--kc-text);
}
.k1-cm-cat {
  border-top: 1px solid var(--kc-line);
  padding: 18px 0;
}
.k1-cm-cat:last-of-type {
  border-bottom: 1px solid var(--kc-line);
  margin-bottom: 24px;
}
.k1-cm-cat-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 8px;
}
.k1-cm-cat-head strong {
  font-family: 'Oswald','Lato',sans-serif;
  font-size: 15px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: #fff;
}
.k1-cm-cat p {
  font-size: 13.5px;
  margin: 0;
  line-height: 1.55;
  color: var(--kc-text);
}
.k1-cm-toggle {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
}
.k1-cm-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}
.k1-cm-slider {
  position: absolute;
  inset: 0;
  background: #2c2c2c;
  border-radius: 24px;
  cursor: pointer;
  transition: background .25s;
}
.k1-cm-slider::before {
  content: "";
  position: absolute;
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background: #fff;
  border-radius: 50%;
  transition: transform .25s;
}
.k1-cm-toggle input:checked + .k1-cm-slider {
  background: linear-gradient(135deg, var(--kc-gold) 0%, var(--kc-gold-2) 100%);
}
.k1-cm-toggle input:checked + .k1-cm-slider::before {
  transform: translateX(20px);
}
.k1-cm-toggle--locked .k1-cm-slider {
  background: #4a3f1f !important;
  opacity: .7;
  cursor: not-allowed;
}
.k1-cm-toggle--locked .k1-cm-slider::before {
  transform: translateX(20px);
  background: #c9b87a;
}
.k1-cm-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

@media (max-width: 600px) {
  .k1-cm-dialog {
    padding: 24px 20px;
  }
  .k1-cm-dialog h2 {
    font-size: 19px;
  }
  .k1-cm-actions {
    flex-direction: column;
  }
  .k1-cm-actions .k1-cb-btn {
    width: 100%;
  }
}
