.cookie-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 12px 24px;
  background: rgba(15, 15, 18, 0.92);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.cookie-bar-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.cookie-bar-hidden {
  opacity: 0;
  transform: translateY(100%);
  pointer-events: none;
}

.cookie-bar-text {
  font-size: 13px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.65);
  margin: 0;
  flex-shrink: 1;
}

.cookie-bar-link {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.3);
  text-underline-offset: 2px;
  transition: color 0.2s, text-decoration-color 0.2s;
  white-space: nowrap;
}

.cookie-bar-link:hover {
  color: white;
  text-decoration-color: rgba(255, 255, 255, 0.6);
}

.cookie-bar-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.cookie-bar-btn {
  padding: 7px 18px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  line-height: 1;
  white-space: nowrap;
}

.cookie-bar-btn-accept {
  background: white;
  color: #0a0a0a;
}

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

.cookie-bar-btn-reject {
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.cookie-bar-btn-reject:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border-color: rgba(255, 255, 255, 0.2);
}

.cookie-float-btn {
  position: fixed;
  bottom: 16px;
  left: 16px;
  z-index: 9998;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(15, 15, 18, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s ease;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.cookie-float-btn:hover {
  background: rgba(25, 25, 30, 0.95);
  border-color: rgba(255, 255, 255, 0.2);
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.cookie-float-btn svg {
  width: 16px;
  height: 16px;
}

.cookie-float-btn-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.cookie-float-btn-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
}

@media (max-width: 768px) {
  .cookie-bar {
    flex-direction: column;
    gap: 10px;
    padding: 14px 16px;
    text-align: center;
  }

  .cookie-bar-actions {
    width: 100%;
    justify-content: center;
  }

  .cookie-float-btn {
    bottom: 10px;
    left: 10px;
    width: 32px;
    height: 32px;
  }
}

@media (max-width: 480px) {
  .cookie-bar {
    padding: 12px;
  }

  .cookie-bar-text {
    font-size: 12px;
  }

  .cookie-bar-btn {
    padding: 8px 14px;
    font-size: 12px;
  }
}
