html {
  scroll-behavior: smooth;
  background: #050505;
}

body {
  margin: 0;
  min-width: 320px;
  background: #050505;
}

.site-honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip-path: inset(100%) !important;
  white-space: nowrap !important;
}

.cookie-consent,
.cookie-consent * {
  box-sizing: border-box;
}

.cookie-consent {
  position: fixed;
  z-index: 2147483000;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 18px;
  background: rgba(0, 0, 0, 0.52);
  backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.18s ease;
  font-family: Inter, Arial, Helvetica, sans-serif;
}

.cookie-consent[hidden] {
  display: none;
}

.cookie-consent.is-visible {
  opacity: 1;
}

.cookie-panel {
  width: min(760px, 100%);
  padding: 25px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-top: 3px solid #ff1835;
  border-radius: 9px;
  color: #fff;
  background:
    radial-gradient(circle at 90% 0, rgba(255, 24, 53, 0.18), transparent 38%),
    rgba(15, 13, 15, 0.98);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.62);
  transform: translateY(18px);
  transition: transform 0.18s ease;
}

.is-visible .cookie-panel {
  transform: translateY(0);
}

.cookie-panel-settings {
  max-height: min(760px, calc(100vh - 36px));
  overflow-y: auto;
}

.cookie-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.cookie-mark {
  color: #ff1835;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1.8px;
}

.cookie-panel h2 {
  margin: 12px 0 8px;
  color: #fff;
  font-size: clamp(24px, 4vw, 34px);
  line-height: 1.05;
  letter-spacing: -0.7px;
}

.cookie-copy {
  max-width: 650px;
  margin: 0 0 19px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
  line-height: 1.55;
}

.cookie-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 20px 0 14px;
}

.cookie-actions button,
.cookie-settings-link,
.cookie-close {
  font: inherit;
  cursor: pointer;
}

.cookie-actions button {
  min-height: 46px;
  padding: 10px 16px;
  border: 1px solid #ff1835;
  border-radius: 6px;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.cookie-primary {
  background: linear-gradient(135deg, #ff1835, #ad0016);
}

.cookie-secondary {
  background: rgba(255, 24, 53, 0.08);
}

.cookie-settings-link,
.cookie-policy {
  color: rgba(255, 255, 255, 0.77);
  font-size: 12px;
}

.cookie-settings-link {
  padding: 0;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  background: none;
}

.cookie-policy:hover,
.cookie-settings-link:hover {
  color: #fff;
}

.cookie-close {
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
  font-size: 23px;
  line-height: 1;
}

.cookie-category {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cookie-category label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 0;
  cursor: pointer;
}

.cookie-category label > span {
  display: grid;
  gap: 4px;
}

.cookie-category strong {
  color: #fff;
  font-size: 14px;
}

.cookie-category small {
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
  line-height: 1.45;
}

.cookie-category input {
  position: absolute;
  opacity: 0;
}

.cookie-category i {
  position: relative;
  flex: 0 0 44px;
  width: 44px;
  height: 24px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.cookie-category i::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.16s ease;
}

.cookie-category input:checked + i {
  border-color: #ff1835;
  background: #ff1835;
}

.cookie-category input:checked + i::after {
  transform: translateX(20px);
}

.cookie-category input:focus-visible + i {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.cookie-category input:disabled + i {
  opacity: 0.65;
}

.cookie-consent-host {
  margin: -8px 0 34px;
}

.cookie-consent-inline {
  position: static;
  z-index: auto;
  inset: auto;
  display: block;
  padding: 0;
  background: transparent;
  backdrop-filter: none;
  opacity: 1;
  transition: none;
}

.cookie-consent-inline .cookie-panel {
  width: 100%;
  padding: clamp(20px, 3vw, 28px);
  border-radius: 7px;
  background:
    radial-gradient(circle at 92% 0, rgba(255, 24, 53, 0.12), transparent 34%),
    rgba(18, 16, 19, 0.76);
  box-shadow: none;
  transform: none;
  transition: none;
}

.cookie-consent-inline .cookie-panel-settings {
  max-height: none;
  overflow: visible;
}

.cookie-consent-inline .cookie-panel h2 {
  margin-top: 9px;
  font-size: clamp(20px, 2.6vw, 26px);
  letter-spacing: -0.3px;
}

.cookie-consent-inline .cookie-copy {
  max-width: 760px;
  margin-bottom: 12px;
  font-size: 14px;
  line-height: 1.6;
}

.cookie-consent-inline .cookie-copy strong {
  color: #fff;
}

.cookie-consent-inline .cookie-actions {
  width: min(560px, 100%);
  margin: 13px 0 10px;
}

.cookie-consent-inline .cookie-actions button {
  min-height: 38px;
  padding: 8px 12px;
  font-size: 11px;
}

.cookie-consent-inline .cookie-category label {
  padding: 11px 0;
}

.cookie-consent-inline .cookie-close {
  width: 28px;
  height: 28px;
  font-size: 19px;
}

.cookie-consent-inline .cookie-panel-summary .cookie-actions {
  width: min(230px, 100%);
  grid-template-columns: minmax(0, 230px);
  margin-bottom: 0;
}

.legal-page {
  min-height: 100vh;
  padding: clamp(32px, 6vw, 76px) max(20px, calc((100vw - 900px) / 2));
  color: #fff;
  background:
    radial-gradient(circle at 88% 8%, rgba(255, 24, 53, 0.22), transparent 32vw),
    linear-gradient(145deg, #050505, #0b0809 58%, #2a080d);
  font-family: Inter, Arial, Helvetica, sans-serif;
}

.legal-back {
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
  text-decoration: none;
}

.legal-kicker {
  margin: 64px 0 12px;
  color: #ff5268;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}

.legal-page h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(38px, 7vw, 72px);
  line-height: 0.96;
  letter-spacing: -2.5px;
}

.legal-lead {
  max-width: 680px;
  margin: 24px 0 36px;
  color: rgba(255, 255, 255, 0.7);
  font-size: clamp(17px, 2.4vw, 21px);
  line-height: 1.55;
}

.legal-notice {
  margin-bottom: 34px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 24, 53, 0.35);
  border-radius: 7px;
  color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 24, 53, 0.08);
  font-size: 13px;
  line-height: 1.55;
}

.legal-sections {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.legal-sections section {
  padding: clamp(20px, 3vw, 28px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 7px;
  background: rgba(18, 16, 19, 0.76);
}

.legal-sections h2 {
  margin: 0 0 10px;
  font-size: 17px;
}

.legal-sections p,
.legal-meta {
  margin: 0;
  color: rgba(255, 255, 255, 0.61);
  font-size: 14px;
  line-height: 1.6;
}

.legal-meta {
  margin-top: 36px;
  padding-bottom: 48px;
}

@media (max-width: 640px) {
  .cookie-consent {
    padding: 8px;
  }

  .cookie-consent-inline {
    padding: 0;
  }

  .cookie-panel {
    padding: 20px;
  }

  .cookie-consent-inline .cookie-panel {
    padding: 20px;
  }

  .cookie-actions,
  .legal-sections {
    grid-template-columns: 1fr;
  }

  .cookie-actions button {
    min-height: 43px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .cookie-consent,
  .cookie-panel,
  .cookie-category i::after {
    transition: none;
  }
}
