.vd-cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9000;
  background: rgba(5, 13, 26, 0.98);
  border-top: 1px solid rgba(0, 255, 136, 0.18);
  box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(16px);
  padding: 18px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  transform: translateY(0);
  transition: transform 0.35s ease, opacity 0.35s ease;
}
.vd-cookie-banner.is-hidden {
  transform: translateY(110%);
  opacity: 0;
  pointer-events: none;
}
.vd-cookie-banner__text {
  flex: 1;
  min-width: 240px;
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.6;
}
.vd-cookie-banner__text a {
  color: #00ff88;
  text-decoration: underline;
}
.vd-cookie-banner__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.vd-cookie-btn {
  padding: 10px 18px;
  border-radius: 6px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
  white-space: nowrap;
}
.vd-cookie-btn--primary {
  background: #00ff88;
  color: #000;
}
.vd-cookie-btn--primary:hover {
  background: #00cc66;
}
.vd-cookie-btn--ghost {
  background: transparent;
  color: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.vd-cookie-btn--ghost:hover {
  border-color: rgba(0, 255, 136, 0.4);
  color: #00ff88;
}
.vd-cookie-btn--outline {
  background: rgba(0, 255, 136, 0.06);
  color: #00ff88;
  border: 1px solid rgba(0, 255, 136, 0.25);
}
.vd-cookie-btn--outline:hover {
  background: rgba(0, 255, 136, 0.12);
}

.vd-cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 9100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.vd-cookie-modal.is-open {
  opacity: 1;
  pointer-events: all;
}
.vd-cookie-modal__panel {
  width: min(560px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  background: #071525;
  border: 1px solid rgba(0, 255, 136, 0.15);
  border-radius: 14px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}
.vd-cookie-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px 0;
}
.vd-cookie-modal__title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
}
.vd-cookie-modal__close {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.5);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  padding: 4px;
}
.vd-cookie-modal__close:hover { color: #00ff88; }
.vd-cookie-modal__body {
  padding: 18px 24px 24px;
}
.vd-cookie-modal__intro {
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.65;
  margin-bottom: 18px;
}
.vd-cookie-option {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 16px 18px;
  margin-bottom: 12px;
}
.vd-cookie-option__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 8px;
}
.vd-cookie-option__head h3 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
}
.vd-cookie-option p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.55;
  margin: 0;
}
.vd-cookie-badge {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #00ff88;
  background: rgba(0, 255, 136, 0.08);
  border: 1px solid rgba(0, 255, 136, 0.2);
  padding: 4px 10px;
  border-radius: 100px;
  white-space: nowrap;
}
.vd-cookie-toggle {
  position: relative;
  width: 46px;
  height: 26px;
  flex-shrink: 0;
}
.vd-cookie-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}
.vd-cookie-toggle span {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 100px;
  cursor: pointer;
  transition: background 0.2s;
}
.vd-cookie-toggle span::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.2s;
}
.vd-cookie-toggle input:checked + span {
  background: rgba(0, 255, 136, 0.35);
}
.vd-cookie-toggle input:checked + span::after {
  transform: translateX(20px);
  background: #00ff88;
}
.vd-cookie-toggle input:disabled + span {
  opacity: 0.55;
  cursor: not-allowed;
}
.vd-cookie-modal__footer {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  padding: 0 24px 24px;
}
.vd-cookie-modal__footer .vd-cookie-btn { flex: 1 1 auto; }

@media (max-width: 768px) {
  .vd-cookie-banner { padding: 16px 18px; }
  .vd-cookie-banner__actions { width: 100%; }
  .vd-cookie-banner__actions .vd-cookie-btn {
    flex: 1 1 calc(50% - 5px);
    text-align: center;
  }
  .vd-cookie-banner__actions .vd-cookie-btn--outline {
    flex: 1 1 100%;
  }
}
