.cookie-consent {
  position: fixed;
  right: 20px;
  bottom: 20px;
  left: 20px;
  z-index: 2147483000;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 22px 24px;
  border: 1px solid rgba(200, 169, 110, 0.22);
  border-radius: 20px;
  color: #f0f0f5;
  background: rgba(10, 14, 26, 0.94);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(18px);
  font-family: Inter, Arial, sans-serif;
}

.cookie-consent.is-visible {
  display: flex;
}

.cookie-consent__content {
  max-width: 760px;
}

.cookie-consent__title {
  margin: 0 0 8px;
  color: #f0f0f5;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.2;
}

.cookie-consent__text {
  margin: 0;
  color: #9aa2b8;
  font-size: 15px;
  line-height: 1.58;
}

.cookie-consent__text a {
  color: #e0c99a;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookie-consent__actions {
  display: flex;
  flex: 0 0 auto;
  gap: 12px;
}

.cookie-consent__button {
  min-width: 132px;
  min-height: 52px;
  padding: 13px 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  color: #f0f0f5;
  background: rgba(255, 255, 255, 0.045);
  font: inherit;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.cookie-consent__button:hover {
  border-color: rgba(200, 169, 110, 0.42);
  color: #e0c99a;
  transform: translateY(-2px);
}

.cookie-consent__button:focus-visible {
  outline: 2px solid #e0c99a;
  outline-offset: 3px;
}

.cookie-consent__button--accept {
  border-color: #c8a96e;
  color: #0a0e1a;
  background: linear-gradient(135deg, #c8a96e, #9a7d4a);
  box-shadow: 0 4px 20px rgba(200, 169, 110, 0.22);
}

.cookie-consent__button--accept:hover {
  border-color: #e0c99a;
  color: #0a0e1a;
  background: linear-gradient(135deg, #e0c99a, #c8a96e);
}

@media (max-width: 900px) {
  .cookie-consent {
    right: 12px;
    bottom: 12px;
    left: 12px;
    align-items: stretch;
    flex-direction: column;
    gap: 16px;
    padding: 18px;
    border-radius: 16px;
  }

  .cookie-consent__title {
    font-size: 18px;
  }

  .cookie-consent__text {
    font-size: 14px;
  }

  .cookie-consent__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .cookie-consent__button {
    min-width: 0;
    min-height: 48px;
    padding: 12px 14px;
    font-size: 15px;
  }
}

@media (max-width: 420px) {
  .cookie-consent__actions {
    grid-template-columns: 1fr;
  }
}
