/* Design tokens taken from voucher.vampirebitealarm.com */
@font-face { font-family: GTUltra; src: url("../fonts/GTUltraRegularAlt-Bold.otf") format("opentype"); font-weight: 700; font-display: swap; }
@font-face { font-family: Inter; src: url("../fonts/inter-latin.woff2") format("woff2"); font-weight: 500 700; font-display: swap; }
@font-face { font-family: Inter; src: url("../fonts/inter-latin-ext.woff2") format("woff2"); font-weight: 500 700; font-display: swap;
  unicode-range: U+100-2ba, U+2bd-2c5, U+2c7-2cc, U+2ce-2d7, U+2dd-2ff, U+304, U+308, U+329, U+1d00-1dbf, U+1e00-1e9f, U+1ef2-1eff, U+2020, U+20a0-20ab, U+20ad-20c4, U+2113, U+2c60-2c7f, U+a720-a7ff; }

:root {
  --primary: #00ffc2;
  --teal: #00aaaa;
  --black: #111111;
  --dark-gray: #555555;
  --gray: #999999;
  --danger: #ff6b6b;
  --font-display: "GTUltra", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: 20px;
}

*, *::before, *::after { box-sizing: border-box; }
p, h1 { margin: 0; }
a { color: inherit; }
img { max-width: 100%; display: block; }

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: #000;
  color: #fff;
  font-family: var(--font-body);
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }

.container { width: 100%; max-width: calc(1300px + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }

/* Header */
.site-header { position: relative; z-index: 2; background: rgba(0, 0, 0, .1); border-bottom: 1px solid rgba(0, 255, 194, .1); }
.site-header__inner { height: 60px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.site-header__right { display: flex; align-items: center; gap: 24px; }
.brand { position: relative; display: block; width: 160px; height: 40px; }
.brand > img:first-child { position: absolute; left: 0; top: 0; width: 40px; height: 40px; }
.brand__text { position: absolute; left: 42px; top: 9px; width: 118px; height: auto; }
.shop-link { display: none; align-items: center; gap: 8px; color: var(--teal); font-weight: 600; font-size: 15px; line-height: 20px; text-decoration: none; }
.shop-link:hover { color: var(--primary); }

/* Language switcher */
.lang { position: relative; margin: 0; }
.lang select {
  appearance: none; -webkit-appearance: none;
  min-height: 40px; padding: 5px 38px 5px 16px;
  border: 0; border-radius: 16px;
  background: rgba(255, 255, 255, .2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 12px center / 16px no-repeat;
  color: #fff; font: inherit; font-weight: 600; font-size: 15px; line-height: 20px;
  color-scheme: dark; cursor: pointer; transition: background-color .15s;
}
.lang select:hover { background-color: rgba(255, 255, 255, .26); }
.lang__go { margin-left: 8px; min-height: 40px; padding: 0 14px; border: 0; border-radius: 16px; background: var(--primary); color: var(--black); font: inherit; font-weight: 600; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Hero */
.hero { position: relative; flex: 1 0 auto; display: flex; align-items: center; overflow: hidden; background: #000; }
.hero__glow {
  position: absolute; left: 50%; top: 0; width: 1150px; height: 400px; max-width: none;
  transform: translate(-50%, -62%);
  background: radial-gradient(closest-side, rgba(3, 236, 220, .55), rgba(0, 108, 144, .35) 55%, transparent);
  filter: blur(40px);
  pointer-events: none;
}
.hero__inner { position: relative; display: flex; flex-direction: column; gap: 20px; padding-top: 48px; padding-bottom: 56px; }
.hero__title {
  font-family: var(--font-display); font-weight: 700; font-size: 40px; line-height: 1.2; letter-spacing: -.8px;
  overflow-wrap: break-word; hyphens: auto; text-wrap: balance; max-width: 14em;
}
.accent { color: var(--primary); }
.lead { max-width: 28em; color: var(--gray); font-weight: 600; font-size: 20px; line-height: 30px; letter-spacing: -.2px; text-wrap: balance; }

/* Form (input = the "code pill", button = .btn--primary on the voucher site) */
.signup { display: flex; flex-direction: column; gap: 8px; width: 100%; max-width: 560px; margin-top: 12px; }
.label { font-family: var(--font-display); font-weight: 700; font-size: 14px; line-height: 30px; text-transform: uppercase; }
.label--muted { color: var(--gray); }

.field {
  width: 100%; min-height: 50px; padding: 10px 24px;
  border: 2px solid transparent; border-radius: 20px;
  background: rgba(255, 255, 255, .2); color: #fff;
  font: inherit; font-size: 18px; line-height: 20px;
  transition: background .15s, border-color .15s;
}
.field::placeholder { color: rgba(255, 255, 255, .5); }
.field:hover { background: rgba(255, 255, 255, .26); }
.field:focus { outline: none; border-color: var(--primary); }
.field[aria-invalid="true"] { border-color: var(--danger); }

.check { position: relative; display: flex; align-items: flex-start; gap: 12px; margin: 14px 0 18px; cursor: pointer; }
.check input { position: absolute; opacity: 0; width: 24px; height: 24px; margin: 0; cursor: pointer; }
.check__box {
  flex: 0 0 auto; width: 24px; height: 24px; margin-top: 3px;
  border: 2px solid #333; border-radius: 8px; background: transparent;
  transition: background .15s, border-color .15s;
}
.check input:checked + .check__box {
  background: var(--primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 18px no-repeat;
  border-color: var(--primary);
}
.check input:focus-visible + .check__box { outline: 2px solid var(--primary); outline-offset: 3px; }
.check.is-invalid .check__box { border-color: var(--danger); }
.check__text { color: #fff; font-size: 15px; line-height: 26px; }
.check__text a { color: var(--teal); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.check__text a:hover { color: var(--primary); }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  border: 0; border-radius: 20px; font: inherit; font-weight: 600; font-size: 15px; line-height: 20px; text-align: center;
  cursor: pointer; transition: filter .15s, transform .15s;
}
.btn:active { transform: scale(.98); }
.btn--primary { background: var(--primary); color: var(--black); box-shadow: rgba(0, 255, 238, .48) 0 1px 0 inset, #000 0 1px .5px; }
.btn--primary:hover { filter: brightness(1.06); }
.btn--block { width: 100%; min-height: 50px; padding: 5px 30px; }
.btn[disabled] { opacity: .6; cursor: progress; }

.message { min-height: 30px; margin-top: 8px; font-size: 15px; line-height: 20px; letter-spacing: -.15px; color: var(--gray); }
.message.is-error { color: var(--danger); }
.message.is-success { color: var(--primary); }
.message:empty { display: none; }

.signup.is-done .field,
.signup.is-done .check,
.signup.is-done .btn,
.signup.is-done .label { display: none; }
.signup.is-done .message { font-family: var(--font-display); font-size: 24px; line-height: 30px; letter-spacing: -.5px; margin: 0; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Footer */
.site-footer { background: #000; border-top: 1px solid #151515; padding: 40px 4px 32px; }
.site-footer__inner { display: grid; grid-template-columns: 1fr; gap: 40px; }
.site-footer__brand { display: flex; flex-direction: column; gap: 24px; }
.site-footer__brand p { color: var(--dark-gray); font-size: 15px; line-height: 20px; max-width: 30em; }
.site-footer__social { display: flex; gap: 24px; }
.site-footer__social a { transition: opacity .15s; }
.site-footer__social a:hover { opacity: .7; }
.site-footer__copy { margin-top: -16px; color: var(--dark-gray); font-weight: 600; font-size: 15px; line-height: 20px; }

@media (max-width: 360px) {
  .hero__title { font-size: 34px; }
  .field { font-size: 16px; padding: 10px 18px; }
}
@media (min-width: 640px) {
  :root { --gutter: 40px; }
}
@media (min-width: 1024px) {
  .site-header { background: #000; }
  .shop-link { display: inline-flex; }
  .hero { min-height: 640px; }
  .hero__inner { gap: 32px; padding-top: 80px; padding-bottom: 80px; }
  .hero__title { font-size: 64px; line-height: 1.1; letter-spacing: 0; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
