/* Cookie Consent 样式 */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.95);
  color: #fff;
  padding: 20px;
  z-index: 10000;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
  display: none;
  border-top: 2px solid var(--brand-100, #a48eff);
}

.cookie-consent.show {
  display: block;
  animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

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

.cookie-consent-text {
  flex: 1;
  min-width: 250px;
}

.cookie-consent-text p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9);
}

.cookie-consent-text a {
  color: var(--brand-100, #a48eff);
  text-decoration: underline;
}

.cookie-consent-text a:hover {
  color: var(--brand-130, #b8a5ff);
}

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

.cookie-consent-button {
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.cookie-consent-button.accept {
  background: var(--brand-100, #a48eff);
  color: #fff;
}

.cookie-consent-button.accept:hover {
  background: var(--brand-130, #b8a5ff);
  transform: translateY(-1px);
}

.cookie-consent-button.decline {
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.cookie-consent-button.decline:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.cookie-consent-button:active {
  transform: scale(0.98);
}

/* 响应式设计 */
@media (max-width: 767px) {
  .cookie-consent {
    padding: 15px;
  }

  .cookie-consent-content {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-consent-text {
    min-width: 100%;
    margin-bottom: 15px;
  }

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

  .cookie-consent-buttons {
    width: 100%;
    flex-direction: column;
  }

  .cookie-consent-button {
    width: 100%;
    padding: 12px 20px;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .cookie-consent {
    padding: 18px;
  }

  .cookie-consent-text p {
    font-size: 13px;
  }

  .cookie-consent-button {
    padding: 11px 18px;
    font-size: 13px;
  }
}

