/* ─── COOKIE CONSENT BANNER ─── */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(17, 17, 17, 0.98);
  backdrop-filter: blur(10px);
  border-top: 2px solid rgba(249, 166, 26, 0.3);
  padding: 24px 0;
  z-index: 9999;
  transform: translateY(100%) translateZ(0);
  -webkit-transform: translateY(100%) translateZ(0);
  transition: transform 0.4s ease;
  -webkit-transition: -webkit-transform 0.4s ease;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  will-change: transform;
}

.cookie-consent.show {
  transform: translateY(0) translateZ(0);
  -webkit-transform: translateY(0) translateZ(0);
}

.cookie-consent-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.cookie-consent-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cookie-consent-title {
  font-family: 'Poppins', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #fdfefe;
  margin: 0;
  line-height: 1.3;
}

.cookie-consent-description {
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: #a0a1a1;
  line-height: 1.6;
  margin: 0;
}

.cookie-link {
  color: #f9a61a;
  text-decoration: underline;
  font-weight: 500;
  transition: color 0.3s ease;
}

.cookie-link:hover {
  color: #fdb94a;
}

.cookie-consent-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.cookie-btn {
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 600;
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  min-height: 44px;
}

.cookie-btn-accept {
  background: #f9a61a;
  color: #111111;
  box-shadow: 0 0 14.5px rgba(249, 166, 26, 0.4);
}

.cookie-btn-accept:hover {
  background: #fdb94a;
  box-shadow: 0 0 20px rgba(249, 166, 26, 0.6);
  transform: translateY(-2px);
}

.cookie-btn-reject {
  background: transparent;
  color: #fdfefe;
  border: 1px solid rgba(253, 254, 254, 0.2);
}

.cookie-btn-reject:hover {
  background: rgba(253, 254, 254, 0.05);
  border-color: rgba(253, 254, 254, 0.4);
}

.cookie-btn-settings {
  background: transparent;
  color: #f9a61a;
  border: 1px solid rgba(249, 166, 26, 0.3);
}

.cookie-btn-settings:hover {
  background: rgba(249, 166, 26, 0.1);
  border-color: rgba(249, 166, 26, 0.5);
}

/* ─── COOKIE SETTINGS MODAL ─── */
.cookie-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.cookie-modal.show {
  display: flex;
}

.cookie-modal-content {
  background: #1a1a1a;
  border: 1px solid rgba(249, 166, 26, 0.2);
  border-radius: 12px;
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
}

.cookie-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px;
  border-bottom: 1px solid rgba(249, 166, 26, 0.15);
}

.cookie-modal-title {
  font-family: 'Poppins', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #fdfefe;
  margin: 0;
}

.cookie-modal-close {
  background: transparent;
  border: none;
  color: #fdfefe;
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.3s ease;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.cookie-modal-close:hover {
  color: #f9a61a;
}

.cookie-modal-body {
  padding: 28px;
}

.cookie-modal-description {
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: #a0a1a1;
  line-height: 1.6;
  margin: 0 0 24px;
}

.cookie-category {
  margin-bottom: 20px;
  padding: 16px;
  background: rgba(249, 166, 26, 0.05);
  border: 1px solid rgba(249, 166, 26, 0.15);
  border-radius: 8px;
}

.cookie-category-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.cookie-switch {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 24px;
  flex-shrink: 0;
  margin-top: 2px;
}

.cookie-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.cookie-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #333;
  transition: 0.3s;
  border-radius: 24px;
}

.cookie-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: 0.3s;
  border-radius: 50%;
}

.cookie-switch input:checked + .cookie-slider {
  background-color: #f9a61a;
}

.cookie-switch input:checked + .cookie-slider:before {
  transform: translateX(24px);
}

.cookie-switch input:disabled + .cookie-slider {
  opacity: 0.6;
  cursor: not-allowed;
}

.cookie-category-info {
  flex: 1;
}

.cookie-category-title {
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #fdfefe;
  margin: 0 0 4px;
}

.cookie-category-desc {
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  font-weight: 400;
  color: #a0a1a1;
  line-height: 1.5;
  margin: 0;
}

.cookie-modal-footer {
  padding: 20px 28px;
  border-top: 1px solid rgba(249, 166, 26, 0.15);
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

.cookie-btn-primary {
  background: transparent;
  color: #fdfefe;
  border: 1px solid rgba(253, 254, 254, 0.2);
}

.cookie-btn-primary:hover {
  background: rgba(253, 254, 254, 0.05);
  border-color: rgba(253, 254, 254, 0.4);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  .cookie-consent-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding: 0 32px;
  }

  .cookie-consent-actions {
    width: 100%;
    flex-wrap: wrap;
  }

  .cookie-btn {
    flex: 1;
    min-width: 120px;
  }

  .cookie-modal-content {
    max-height: 85vh;
  }
}

@media (max-width: 600px) {
  .cookie-consent {
    padding: 20px 0;
  }

  .cookie-consent-content {
    padding: 0 20px;
    gap: 16px;
  }

  .cookie-consent-title {
    font-size: 16px;
  }

  .cookie-consent-description {
    font-size: 12px;
  }

  .cookie-consent-actions {
    flex-direction: column;
    gap: 8px;
  }

  .cookie-btn {
    width: 100%;
    padding: 14px 20px;
    font-size: 14px;
    min-height: 48px;
  }

  .cookie-modal-header {
    padding: 20px;
  }

  .cookie-modal-body {
    padding: 20px;
  }

  .cookie-modal-footer {
    padding: 16px 20px;
    flex-direction: column;
  }

  .cookie-modal-title {
    font-size: 18px;
  }

  .cookie-category {
    padding: 12px;
  }
}
