#cookie-consent-root {
  --cookie-orange: #ff5a1f;
  --cookie-black: #0d0e11;
  --cookie-text: #f8f8f4;
  --cookie-muted: rgba(248, 248, 244, 0.68);
  bottom: 0;
  left: 0;
  pointer-events: none;
  position: fixed;
  z-index: 2147483000;
}

#cookie-consent-root [hidden] {
  display: none !important;
}

.cookie-consent-banner,
.cookie-preferences-panel,
.cookie-fab {
  pointer-events: auto;
}

.cookie-consent-banner,
.cookie-preferences-panel {
  background: linear-gradient(135deg, rgba(17, 18, 22, 0.94), rgba(12, 13, 16, 0.88));
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.28);
  color: var(--cookie-text);
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 0.06em;
  margin: 0 0 24px 24px;
  overflow: hidden;
  position: relative;
  width: min(420px, calc(100vw - 32px));
}

.cookie-consent-banner::before,
.cookie-preferences-panel::before {
  background: radial-gradient(circle, rgba(255, 90, 31, 0.22), transparent 62%);
  content: '';
  height: 180px;
  position: absolute;
  right: -70px;
  top: -85px;
  width: 180px;
}

.cookie-consent-banner {
  align-items: flex-start;
  display: grid;
  gap: 18px;
  grid-template-columns: auto 1fr;
  padding: 22px;
}

.cookie-consent-copy,
.cookie-consent-actions,
.cookie-panel-head,
.cookie-choice,
.cookie-panel-actions {
  position: relative;
  z-index: 1;
}

.cookie-consent-copy h3,
.cookie-preferences-panel h3 {
  color: #ffffff;
  font-size: 24px;
  font-weight: 400;
  line-height: 0.95;
  margin: 0 0 10px;
  text-transform: uppercase;
}

.cookie-consent-copy p:not(.cookie-eyebrow),
.cookie-choice p {
  color: var(--cookie-muted);
  font-family: 'Comfortaa', sans-serif;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.03em;
  line-height: 1.55;
  margin: 0;
}

.cookie-eyebrow {
  color: rgba(255, 255, 255, 0.48);
  font-family: 'Bebas Neue', sans-serif;
  font-size: 12px;
  letter-spacing: 0.28em;
  margin: 0 0 8px;
  text-transform: uppercase;
}

.cookie-consent-actions,
.cookie-panel-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  grid-column: 1 / -1;
}

.cookie-primary-btn,
.cookie-ghost-btn,
.cookie-link-btn,
.cookie-close-btn {
  appearance: none;
  border: 0;
  cursor: pointer;
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cookie-primary-btn,
.cookie-ghost-btn {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  font-size: 14px;
  gap: 8px;
  justify-content: center;
  min-height: 42px;
  padding: 12px 18px 10px;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.cookie-primary-btn {
  background: #ffffff;
  color: #111216;
}

.cookie-primary-btn::before,
.cookie-ghost-btn::before {
  background: var(--cookie-orange);
  border-radius: 999px;
  content: '';
  height: 7px;
  width: 7px;
}

.cookie-ghost-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #ffffff;
}

.cookie-link-btn {
  background: transparent;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  padding: 0 6px;
}

.cookie-primary-btn:hover,
.cookie-ghost-btn:hover,
.cookie-fab:hover {
  transform: translateY(-2px);
}

.cookie-preferences-panel {
  padding: 22px;
}

.cookie-panel-head {
  align-items: flex-start;
  display: flex;
  justify-content: space-between;
  margin-bottom: 16px;
}

.cookie-close-btn {
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  color: #ffffff;
  display: inline-flex;
  font-family: Arial, sans-serif;
  font-size: 24px;
  height: 38px;
  justify-content: center;
  line-height: 1;
  width: 38px;
}

.cookie-choice {
  align-items: center;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr auto;
  margin-top: 10px;
  padding: 14px;
}

.cookie-choice strong {
  color: #ffffff;
  display: block;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.cookie-choice input {
  height: 1px;
  opacity: 0;
  position: absolute;
  width: 1px;
}

.cookie-toggle {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  height: 28px;
  position: relative;
  transition: background 180ms ease;
  width: 50px;
}

.cookie-toggle::after {
  background: #ffffff;
  border-radius: 999px;
  content: '';
  height: 20px;
  left: 4px;
  position: absolute;
  top: 3px;
  transition: transform 180ms ease;
  width: 20px;
}

.cookie-choice input:checked + .cookie-toggle,
.cookie-toggle.is-on {
  background: rgba(255, 90, 31, 0.72);
}

.cookie-choice input:checked + .cookie-toggle::after,
.cookie-toggle.is-on::after {
  transform: translateX(21px);
}

.cookie-panel-actions {
  justify-content: flex-end;
  margin-top: 18px;
}

.cookie-fab {
  align-items: center;
  background: rgba(17, 18, 22, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 15px;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.22);
  display: inline-flex;
  height: 46px;
  justify-content: center;
  margin: 0 0 18px 18px;
  padding: 0;
  width: 46px;
}

.cookie-fab .cookie-pixel-icon {
  transform: scale(0.78);
}

.cookie-pixel-icon {
  display: inline-grid;
  flex: 0 0 auto;
  height: 34px;
  place-items: center;
  position: relative;
  width: 34px;
}
.cookie-invader-canvas{
  display:block;
  width:100%;
  height:100%;
  image-rendering:pixelated;
  image-rendering:crisp-edges;
  border-radius:8px;
}

@media (max-width: 640px) {
  #cookie-consent-root {
    left: 0;
    right: 0;
  }

  .cookie-consent-banner,
  .cookie-preferences-panel {
    border-radius: 24px;
    margin: 0 auto 14px;
    width: calc(100vw - 28px);
  }

  .cookie-consent-banner {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .cookie-consent-actions,
  .cookie-panel-actions {
    flex-direction: column;
  }

  .cookie-primary-btn,
  .cookie-ghost-btn,
  .cookie-link-btn {
    width: 100%;
  }

  .cookie-fab {
    margin: 0 0 12px 12px;
  }
}
