/* Cookie Consent Widget */
.cookie-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 360px;
  max-width: calc(100vw - 48px);
  background: rgba(10, 10, 10, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 24px;
  z-index: 9999;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  animation: cookieSlideIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

@keyframes cookieSlideIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cookie-widget-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.cookie-widget-icon {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cookie-widget-icon svg {
  width: 24px;
  height: 24px;
  stroke: rgba(255, 255, 255, 0.7);
  stroke-width: 1.5;
}

.cookie-widget-title {
  font-family: 'Inter Tight', 'Inter', -apple-system, system-ui, sans-serif;
  font-size: 17px;
  font-weight: 600;
  color: #fff;
  margin: 0;
  letter-spacing: -0.02em;
}

.cookie-widget-text {
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.5);
  margin: 0 0 20px 0;
}

.cookie-widget-text a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.2s ease;
}

.cookie-widget-text a:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
}

.cookie-widget-buttons {
  display: flex;
  gap: 10px;
}

.cookie-widget-btn {
  flex: 1;
  padding: 12px 16px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  font-family: inherit;
}

.cookie-widget-btn.accept {
  background: #fff;
  color: #000;
}

.cookie-widget-btn.accept:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.15);
}

.cookie-widget-btn.essential {
  background: transparent;
  color: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.cookie-widget-btn.essential:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.05);
}

/* Mobile: Full width at bottom */
@media (max-width: 480px) {
  .cookie-widget {
    bottom: 0;
    right: 0;
    left: 0;
    width: 100%;
    max-width: 100%;
    border-radius: 20px 20px 0 0;
    padding: 24px 20px;
    padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px));
    animation: cookieSlideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  }

  @keyframes cookieSlideUp {
    from {
      opacity: 0;
      transform: translateY(100%);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .cookie-widget-icon {
    width: 40px;
    height: 40px;
  }

  .cookie-widget-icon svg {
    width: 22px;
    height: 22px;
  }

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

  .cookie-widget-text {
    font-size: 13px;
    margin-bottom: 18px;
  }

  .cookie-widget-btn {
    padding: 13px 16px;
    font-size: 13px;
  }
}
