/* Cookie Banner Styles */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #1a1a1a;
  opacity:0.9;
  color: white;
  padding: 16px;
  z-index: 9999;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
  animation: slideUp 0.3s ease;
  border-top: 1px solid #333;
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.cookie-text {
  flex: 1;
  min-width: 300px;
}

.cookie-text p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: #e0e0e0;
}

.cookie-link {
  color: #4da6ff;
  text-decoration: underline;
  font-weight: 500;
}

.cookie-link:hover {
  color: #80c1ff;
}

.cookie-buttons {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.cookie-btn {
  padding: 10px 24px;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.cookie-btn-reject {
  background: transparent;
  color: #ffffff;
  border: 1px solid #666;
}

.cookie-btn-reject:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #888;
}

.cookie-btn-accept {
  background: #0066cc;
  color: white;
}

.cookie-btn-accept:hover {
  background: #0052a3;
}

/* Мобильная адаптация */
@media (max-width: 768px) {
  .cookie-content {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }
  
  .cookie-text {
    min-width: auto;
  }
  
  .cookie-buttons {
    width: 100%;
    justify-content: center;
  }
  
  .cookie-btn {
    flex: 1;
    max-width: 180px;
  }
}

/* Анимация исчезновения баннера */
.cookie-banner.hiding {
  animation: slideDown 0.3s ease forwards;
}

@keyframes slideDown {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(100%);
  }
}