:root {
  --slw-black: #030407;
  --slw-deep: #070a10;
  --slw-navy: #071a3a;
  --slw-blue: #1266d8;
  --slw-blue-soft: #43a5ff;
  --slw-red: #a90c14;
  --slw-red-bright: #e01924;
  --slw-cream: #f6f0df;
  --slw-white: #ffffff;
  --slw-steel: #aeb7c6;
  --slw-muted: rgba(246, 240, 223, 0.74);
  --slw-line: rgba(255, 255, 255, 0.16);
  --slw-shadow: rgba(0, 0, 0, 0.72);
  --footer-height: 94px;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--slw-black);
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--slw-cream);
  font-family: "Oswald", Arial, sans-serif;
  background:
    radial-gradient(circle at 50% 16%, rgba(18, 102, 216, 0.26), transparent 32%),
    radial-gradient(circle at 17% 86%, rgba(177, 15, 22, 0.22), transparent 36%),
    radial-gradient(circle at 83% 82%, rgba(18, 102, 216, 0.17), transparent 34%),
    linear-gradient(135deg, #020306 0%, #07101f 48%, #050507 100%);
  overflow-x: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

body::before {
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at center, black 0%, transparent 74%);
}

body::after {
  opacity: 0.13;
  background:
    repeating-linear-gradient(
      0deg,
      rgba(255, 255, 255, 0.075) 0,
      rgba(255, 255, 255, 0.075) 1px,
      transparent 1px,
      transparent 5px
    );
  mix-blend-mode: overlay;
}

button,
a {
  font: inherit;
}

a {
  color: inherit;
}

button {
  cursor: pointer;
}

#slwCanvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.slw-page {
  position: relative;
  z-index: 2;
  min-height: calc(100vh - var(--footer-height));
  min-height: calc(100svh - var(--footer-height));
  display: grid;
  place-items: center;
  padding: clamp(18px, 3vw, 48px);
  padding-bottom: clamp(20px, 3vw, 44px);
}

.slw-hero {
  width: min(1120px, 100%);
}

.slw-frame {
  position: relative;
  isolation: isolate;
  width: 100%;
  display: grid;
  justify-items: center;
  gap: clamp(14px, 2vw, 22px);
  padding: clamp(18px, 4vw, 54px) clamp(16px, 4vw, 66px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.018)),
    radial-gradient(circle at 50% 2%, rgba(255, 255, 255, 0.13), transparent 26%),
    radial-gradient(circle at 12% 80%, rgba(224, 25, 36, 0.18), transparent 35%),
    radial-gradient(circle at 88% 82%, rgba(67, 165, 255, 0.16), transparent 35%),
    rgba(2, 4, 9, 0.62);
  box-shadow:
    0 30px 90px rgba(0, 0, 0, 0.58),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  overflow: hidden;
  backdrop-filter: blur(5px);
}

.slw-frame::before,
.slw-frame::after {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 22px;
  pointer-events: none;
  z-index: -1;
}

.slw-frame::before {
  border: 1px solid rgba(255, 255, 255, 0.07);
  background:
    linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent) 50% 0 / 65% 1px no-repeat,
    linear-gradient(90deg, transparent, rgba(224, 25, 36, 0.42), transparent) 50% 100% / 78% 1px no-repeat;
}

.slw-frame::after {
  opacity: 0.34;
  background-image:
    linear-gradient(118deg, transparent 0 46%, rgba(255, 255, 255, 0.07) 47%, transparent 49% 100%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 13px);
  mask-image: radial-gradient(circle at center, black 0%, transparent 70%);
}

.slw-topline {
  width: min(660px, 100%);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 14px;
  text-transform: uppercase;
  letter-spacing: 0.26em;
  color: rgba(246, 240, 223, 0.82);
  font-size: clamp(0.68rem, 1.8vw, 0.82rem);
  text-align: center;
  text-shadow: 0 0 18px rgba(67, 165, 255, 0.3);
}

.slw-topline span {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.58), transparent);
}

.slw-logo-wrap {
  display: block;
  width: min(720px, 92vw);
  text-decoration: none;
  filter:
    drop-shadow(0 0 16px rgba(67, 165, 255, 0.28))
    drop-shadow(0 0 26px rgba(224, 25, 36, 0.18))
    drop-shadow(0 18px 28px rgba(0, 0, 0, 0.58));
  transform: translateZ(0);
  transition: transform 260ms ease, filter 260ms ease;
}

.slw-logo-wrap:hover,
.slw-logo-wrap:focus-visible {
  transform: translateY(-3px) scale(1.012);
  filter:
    drop-shadow(0 0 20px rgba(67, 165, 255, 0.45))
    drop-shadow(0 0 34px rgba(224, 25, 36, 0.28))
    drop-shadow(0 20px 30px rgba(0, 0, 0, 0.68));
  outline: none;
}

.slw-logo {
  display: block;
  width: 100%;
  height: auto;
}

.slw-message-card {
  width: min(780px, 100%);
  padding: clamp(18px, 3vw, 32px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(6, 10, 18, 0.78), rgba(3, 4, 7, 0.62)),
    radial-gradient(circle at 50% 0, rgba(255, 255, 255, 0.08), transparent 42%);
  box-shadow:
    0 18px 50px rgba(0, 0, 0, 0.42),
    inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.slw-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0 0 12px;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background:
    linear-gradient(90deg, rgba(169, 12, 20, 0.62), rgba(7, 26, 58, 0.78));
  color: #fff;
  font-family: "Black Ops One", "Oswald", sans-serif;
  font-size: clamp(0.76rem, 1.8vw, 0.95rem);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-shadow: 0 1px 0 #000;
}

.slw-kicker::before,
.slw-kicker::after {
  content: "";
  width: 7px;
  height: 7px;
  transform: rotate(45deg);
  background: var(--slw-cream);
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.65);
}

h1 {
  margin: 0;
  font-family: "Roboto Slab", Georgia, serif;
  font-size: clamp(1.58rem, 4.5vw, 3.35rem);
  line-height: 1.03;
  letter-spacing: -0.035em;
  text-wrap: balance;
  color: var(--slw-white);
  text-shadow:
    0 2px 0 rgba(0, 0, 0, 0.72),
    0 0 22px rgba(67, 165, 255, 0.16);
}

.slw-message {
  max-width: 650px;
  margin: 16px auto 0;
  color: rgba(246, 240, 223, 0.88);
  font-size: clamp(1.02rem, 2.3vw, 1.32rem);
  line-height: 1.48;
  text-wrap: balance;
}

.slw-divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 14px;
  width: min(420px, 84%);
  margin: 22px auto 15px;
  color: var(--slw-red-bright);
  text-shadow: 0 0 12px rgba(224, 25, 36, 0.5);
}

.slw-divider span {
  height: 2px;
  background:
    linear-gradient(90deg, transparent, rgba(224, 25, 36, 0.72), rgba(67, 165, 255, 0.64), transparent);
}

.slw-note {
  margin: 0 auto;
  color: rgba(246, 240, 223, 0.72);
  font-family: "Roboto Slab", Georgia, serif;
  font-size: clamp(0.87rem, 2vw, 1rem);
  line-height: 1.5;
}

.slw-socials {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.slw-socials a {
  width: 46px;
  height: 46px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  color: #fff;
  text-decoration: none;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.02)),
    rgba(2, 4, 8, 0.72);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.slw-socials a:hover,
.slw-socials a:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.36);
  background:
    linear-gradient(145deg, rgba(224, 25, 36, 0.46), rgba(18, 102, 216, 0.42)),
    rgba(2, 4, 8, 0.72);
  outline: none;
}

.slw-footer {
  position: relative;
  z-index: 2;
  min-height: var(--footer-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px clamp(16px, 4vw, 46px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(2, 3, 7, 0.74);
  backdrop-filter: blur(7px);
  color: rgba(246, 240, 223, 0.74);
  font-size: 0.88rem;
}

.footer-branding p {
  margin: 0;
  line-height: 1.45;
}

.footer-branding a,
.footer-links button {
  color: rgba(255, 255, 255, 0.9);
}

.footer-branding a {
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

.footer-branding a:hover,
.footer-branding a:focus-visible {
  color: #fff;
  border-bottom-color: var(--slw-red-bright);
  outline: none;
}

.footer-links {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px 14px;
}

.footer-links button {
  border: 0;
  padding: 0;
  background: transparent;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.74rem;
}

.footer-links button:hover,
.footer-links button:focus-visible {
  color: #fff;
  text-decoration: underline;
  text-decoration-color: var(--slw-red-bright);
  outline: none;
}

.cookie-banner {
  position: fixed;
  left: clamp(12px, 3vw, 28px);
  right: clamp(12px, 3vw, 28px);
  bottom: clamp(12px, 3vw, 28px);
  z-index: 30;
}

.cookie-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(1040px, 100%);
  margin: 0 auto;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(6, 10, 18, 0.96), rgba(2, 3, 7, 0.96)),
    radial-gradient(circle at 0 100%, rgba(224, 25, 36, 0.2), transparent 45%);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.68);
}

.cookie-banner-copy p {
  margin: 0;
  color: rgba(246, 240, 223, 0.78);
  line-height: 1.45;
  font-size: 0.95rem;
}

.cookie-title {
  color: #fff !important;
  font-family: "Roboto Slab", Georgia, serif;
  font-weight: 800;
  font-size: 1.05rem !important;
  margin-bottom: 4px !important;
}

.cookie-actions,
.modal-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
}

.btn-primary,
.btn-secondary {
  min-height: 42px;
  border-radius: 999px;
  padding: 10px 16px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  font-weight: 700;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.btn-primary {
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  background: linear-gradient(135deg, var(--slw-red), var(--slw-blue));
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
}

.btn-secondary {
  border: 1px solid rgba(255, 255, 255, 0.17);
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.055);
}

.btn-primary:hover,
.btn-secondary:hover,
.btn-primary:focus-visible,
.btn-secondary:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.38);
  outline: none;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 35;
  background: rgba(0, 0, 0, 0.68);
  backdrop-filter: blur(7px);
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 18px;
}

.modal-panel {
  position: relative;
  width: min(720px, 100%);
  max-height: min(82vh, 760px);
  overflow: auto;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 24px;
  color: rgba(246, 240, 223, 0.82);
  background:
    linear-gradient(145deg, rgba(7, 10, 16, 0.98), rgba(2, 4, 8, 0.98)),
    radial-gradient(circle at 16% 0, rgba(224, 25, 36, 0.2), transparent 38%),
    radial-gradient(circle at 92% 18%, rgba(67, 165, 255, 0.16), transparent 38%);
  box-shadow: 0 28px 100px rgba(0, 0, 0, 0.75);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
}

.modal-close:hover,
.modal-close:focus-visible {
  background: rgba(224, 25, 36, 0.25);
  outline: none;
}

.modal-label {
  margin: 0 44px 6px 0;
  color: var(--slw-red-bright);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  font-weight: 700;
}

.modal h2 {
  margin: 0 44px 12px 0;
  color: #fff;
  font-family: "Roboto Slab", Georgia, serif;
  font-size: clamp(1.55rem, 4vw, 2.25rem);
  line-height: 1.08;
}

.modal p {
  line-height: 1.6;
}

.preference-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 16px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.045);
}

.preference-row h3,
.policy-copy h3 {
  margin: 0 0 6px;
  color: #fff;
  font-family: "Roboto Slab", Georgia, serif;
  font-size: 1.05rem;
}

.preference-row p {
  margin: 0;
  color: rgba(246, 240, 223, 0.72);
  font-size: 0.96rem;
}

.toggle {
  position: relative;
  flex: 0 0 auto;
  width: 62px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  transition: background 180ms ease, border-color 180ms ease;
}

.toggle span {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.4);
  transition: transform 180ms ease;
}

.toggle.is-on {
  border-color: rgba(67, 165, 255, 0.58);
  background: linear-gradient(135deg, var(--slw-red), var(--slw-blue));
}

.toggle.is-on span {
  transform: translateX(28px);
}

.toggle.is-locked {
  cursor: not-allowed;
  opacity: 0.82;
}

.modal-actions {
  margin-top: 20px;
}

.policy-copy {
  display: grid;
  gap: 12px;
}

.policy-copy p {
  margin: 0;
}

.policy-copy h3 {
  margin-top: 8px;
}

.noscript-notice {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 50;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 14px;
  color: #fff;
  background: rgba(0, 0, 0, 0.88);
  text-align: center;
}

[hidden] {
  display: none !important;
}

@media (max-width: 760px) {
  :root {
    --footer-height: auto;
  }

  body {
    overflow-y: auto;
  }

  .slw-page {
    min-height: auto;
    padding-top: 16px;
  }

  .slw-frame {
    border-radius: 22px;
  }

  .slw-logo-wrap {
    width: min(580px, 98vw);
  }

  .slw-message-card {
    padding: 18px 14px;
    border-radius: 18px;
  }

  .slw-socials a {
    width: 44px;
    height: 44px;
  }

  .slw-footer {
    flex-direction: column;
    align-items: flex-start;
    padding-bottom: 20px;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .cookie-banner-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .cookie-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .cookie-actions .btn-primary,
  .cookie-actions .btn-secondary {
    flex: 1 1 140px;
  }

  .preference-row {
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .slw-page {
    padding: 12px;
  }

  .slw-frame {
    padding: 16px 12px;
  }

  .slw-topline {
    gap: 9px;
    letter-spacing: 0.15em;
  }

  .slw-logo-wrap {
    width: 100%;
  }

  h1 {
    font-size: clamp(1.45rem, 9vw, 2.15rem);
  }

  .slw-message {
    font-size: 1rem;
  }

  .preference-row {
    flex-direction: column;
  }

  .modal {
    padding: 10px;
  }

  .modal-panel {
    max-height: 86vh;
    border-radius: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
