:root {
  --bg: #0b0d13;
  --bg-2: #141621;
  --text: #e6e6e6;
  --muted: #a9adba;
  --teal: #27f0c9;
  --purple: #d56dff;
  --accent-glow: 0 0 18px rgba(213, 109, 255, 0.45);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  min-height: 100%;
}

body {
  font-family: "Poppins", sans-serif;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
  color: var(--text);
  min-height: 100vh;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
  background-position: center top;
}

body[class] {
  background-attachment: fixed !important;
  background-repeat: no-repeat;
  background-size: cover;
}

body.auth-modal-open {
  overflow: hidden;
}

.link-button {
  border: 0;
  padding: 0;
  background: none;
  color: var(--teal);
  font: inherit;
  cursor: pointer;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.link-button:hover,
.link-button:focus-visible {
  color: #ffffff;
}

.page {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1 1 auto;
}

body.message-open {
  overflow: hidden;
}

body.message-open .page {
  position: relative;
}

body.message-open .page > :not([data-site-message]) {
  filter: blur(8px);
  transition: filter 0.25s ease;
}

.site-message-layer {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(7, 10, 17, 0.55);
  backdrop-filter: blur(12px);
  z-index: 1600;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.site-message-layer.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.site-message-layer__backdrop {
  position: absolute;
  inset: 0;
}

.site-message-layer__dialog {
  position: relative;
  background: rgba(11, 14, 22, 0.92);
  border-radius: 22px;
  border: 1px solid rgba(39, 240, 201, 0.32);
  box-shadow: 0 24px 44px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(39, 240, 201, 0.15);
  max-width: min(520px, 100%);
  width: 100%;
  padding: 28px 28px 24px;
  display: grid;
  gap: 18px;
  color: var(--text);
}

.site-message-layer__header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.site-message-layer__title {
  font-size: clamp(20px, 2.6vw, 26px);
  font-weight: 700;
  margin: 0;
}

.site-message-layer__body {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.82);
}

.site-message-layer__list {
  margin: 12px 0 0;
  padding-left: 22px;
  color: rgba(255, 255, 255, 0.75);
}

.site-message-layer__list li {
  margin-bottom: 6px;
}

.site-message-layer__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.site-message-layer__button {
  border: 0;
  border-radius: 999px;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  background: linear-gradient(135deg, var(--teal), var(--purple));
  color: #0b0d13;
  box-shadow: 0 14px 24px rgba(39, 240, 201, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.site-message-layer__button:hover,
.site-message-layer__button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 18px 28px rgba(39, 240, 201, 0.35);
}

.site-message-layer__button:focus-visible {
  outline: 2px solid rgba(39, 240, 201, 0.65);
  outline-offset: 2px;
}

.site-message-layer__button--secondary {
  background: transparent;
  color: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: none;
}

.site-message-layer__button--secondary:hover,
.site-message-layer__button--secondary:focus-visible {
  box-shadow: none;
  border-color: rgba(255, 255, 255, 0.6);
  color: #fff;
}

.site-message-layer__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.2s ease, transform 0.2s ease;
}

.site-message-layer__close:hover,
.site-message-layer__close:focus-visible {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-1px);
}

.site-message-layer__close:focus-visible {
  outline: 2px solid rgba(39, 240, 201, 0.6);
  outline-offset: 2px;
}

@media (max-width: 520px) {
  .site-message-layer__dialog {
    border-radius: 18px;
    padding: 24px 24px 20px;
    gap: 16px;
  }

  .site-message-layer__button {
    width: 100%;
    justify-content: center;
  }

  .site-message-layer__actions {
    flex-direction: column;
    align-items: stretch;
  }
}

/* ================= Header ================= */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  height: 64px;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 14px;
  justify-content: space-between;
  padding: 0 16px 0 20px;
  transition: background 0.25s ease, box-shadow 0.25s ease, backdrop-filter 0.25s ease;
  background: transparent;
  backdrop-filter: none;
  box-shadow: none;
}

.site-header.scrolled,
.policy-page .site-header {
  background: rgba(15, 18, 27, 0.72);
  backdrop-filter: saturate(140%) blur(8px);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.policy-page .policy-container a {
  color: var(--teal);
  font-weight: 600;
}

.policy-page .policy-container a:hover,
.policy-page .policy-container a:focus-visible {
  color: #ffffff;
  text-decoration: underline;
}

.home-page .site-header {
  background: transparent;
  backdrop-filter: none;
  box-shadow: none;
}

.home-page .site-header.scrolled {
  background: rgba(15, 18, 27, 0.72);
  backdrop-filter: saturate(140%) blur(8px);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.brand {
  position: relative;
  display: inline-block;
  font-weight: 700;
  font-size: 35px;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.brand:hover,
.brand:focus-visible {
  text-decoration: none;
}

.brand__text,
.brand__shadow {
  display: inline-block;
  font: inherit;
}

.brand__text {
  background: linear-gradient(90deg, var(--teal), var(--purple));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand__shadow {
  position: absolute;
  inset: 0;
  color: rgba(0, 0, 0, 0.75);
  pointer-events: none;
  transform: translateY(1px);
  filter: blur(0.7px);
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
  z-index: -1;
}

.brand__beta {
  display: block;
  font-size: 0.35em;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  margin-top: 1px;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 400;
}

.nav {
  display: flex;
  gap: 30px;
  align-items: center;
}

.nav a {
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  opacity: 0.9;
  font-size: 14px;
}

.nav a:hover {
  color: var(--teal);
}

/* Credits badge (desktop & mobile) */
.header-credits {
  display: flex;
  align-items: center;
}

.header-credits__pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 13px;
  color: #0b0d13;
  padding: 8px 12px;
  border-radius: 999px;
  background: linear-gradient(120deg, var(--teal), var(--purple));
  box-shadow: 0 0 12px rgba(39, 240, 201, 0.25);
  text-decoration: none;
  border: 0;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, width 0.2s ease, padding 0.2s ease, background 0.2s ease;
}

.header-credits__pill * {
  cursor: inherit;
}

.header-credits__pill:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.75);
  outline-offset: 2px;
}

.header-credits__pill:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(39, 240, 201, 0.35);
}

.header-credits__pill--auth {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  box-shadow: none;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.header-credits__pill--auth:hover {
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.25);
  border-color: rgba(255, 255, 255, 0.45);
}

.header-credits__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #0b0d13;
  opacity: 0.75;
  pointer-events: none;
}

.header-credits__pill--auth .header-credits__dot {
  background: var(--teal);
}

.header-credits__text {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  height: 16px;
}

.header-credits__amount,
.header-credits__cta {
  pointer-events: none;
  white-space: nowrap;
  position: absolute;
  inset: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.25s ease;
}

.header-credits__amount {
  opacity: 1;
}

.header-credits__cta {
  color: #0b0d13;
  font-weight: 700;
  opacity: 0;
}

.header-credits__pill:not(.header-credits__pill--auth):hover .header-credits__amount,
.header-credits__pill:not(.header-credits__pill--auth):focus-visible .header-credits__amount {
  opacity: 0;
}

.header-credits__pill:not(.header-credits__pill--auth):hover .header-credits__cta,
.header-credits__pill:not(.header-credits__pill--auth):focus-visible .header-credits__cta {
  opacity: 1;
}

.header-credits__pill--auth .header-credits__text {
  min-width: auto;
  height: auto;
  padding: 0;
}

.header-credits__pill--auth .header-credits__amount {
  position: static;
  opacity: 1;
}

.header-credits__pill--auth .header-credits__cta {
  display: none;
  opacity: 0;
}

.menu-btn {
  display: none;
  background: none;
  border: 0;
  color: var(--text);
  padding: 6px;
  border-radius: 8px;
}

.menu-btn:focus-visible {
  outline: 2px solid var(--teal);
}

.spacer {
  height: 64px;
}

.home-page .spacer {
  display: none;
}

/* ================= Mobile menu (drawer) ================= */
.scrim {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(2px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 900;
}

.scrim.show {
  opacity: 1;
  pointer-events: auto;
}

.mobile-drawer {
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  background: rgba(15, 18, 27, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 905;
}

.mobile-drawer.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav {
  display: grid;
  gap: 12px;
  padding: 14px 16px;
}

.mobile-nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  padding: 10px 6px;
  border-radius: 8px;
}

.mobile-nav a:hover {
  background: rgba(255, 255, 255, 0.06);
}

.mobile-credits {
  margin-top: 20px;
  padding: 18px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(9, 12, 20, 0.85);
  display: grid;
  gap: 8px;
  color: rgba(255, 255, 255, 0.82);
}

.mobile-credits__label {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.7;
}

.mobile-credits__amount {
  font-size: 20px;
  font-weight: 700;
}

.mobile-credits__buy {
  color: var(--teal);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
  cursor: pointer;
}

.mobile-credits__buy:hover,
.mobile-credits__buy:focus-visible {
  color: #ffffff;
}

.mobile-auth-links {
  margin-top: 20px;
  display: grid;
  gap: 12px;
}

.mobile-auth-links a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  cursor: pointer;
}

.mobile-auth-links a:hover,
.mobile-auth-links a:focus-visible {
  border-color: rgba(255, 255, 255, 0.45);
  color: #ffffff;
}

.mobile-auth-links__signup {
  background: linear-gradient(120deg, var(--teal), var(--purple));
  color: #0b0d13 !important;
  border-color: transparent !important;
}

.mobile-auth-links__signup:hover,
.mobile-auth-links__signup:focus-visible {
  filter: brightness(1.08);
}

.age-gate {
  position: fixed;
  inset: 0;
  z-index: 2400;
  display: none;
}

.age-gate.is-visible {
  display: block;
}

.age-gate__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 6, 12, 0.78);
  backdrop-filter: blur(8px);
}

.age-gate__dialog {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 540px;
  width: calc(100% - 32px);
  padding: 34px;
  border-radius: 32px;
  border: 1px solid rgba(39, 240, 201, 0.25);
  background: rgba(10, 14, 23, 0.95);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.6);
  color: rgba(255, 255, 255, 0.9);
}

.age-gate__content {
  display: grid;
  gap: 18px;
}

.age-gate__form {
  display: grid;
  gap: 14px;
}

.age-gate__field {
  display: grid;
  gap: 6px;
  font-size: 14px;
}

.age-gate__field input {
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(5, 7, 12, 0.85);
  color: #fff;
  padding: 11px 14px;
}

.age-gate__checkbox {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
}

.age-gate__checkbox input {
  appearance: none;
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.08);
  position: relative;
  transition: border-color 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
}

.age-gate__checkbox input::after {
  content: '';
  position: absolute;
  inset: 3px;
  border-radius: 3px;
  background: transparent;
  box-shadow: 0 0 0 0 rgba(39, 240, 201, 0.5);
  opacity: 0;
  transition: opacity 0.18s ease;
}

.age-gate__checkbox input:checked {
  background: linear-gradient(135deg, rgba(39, 240, 201, 0.95), #d56dff);
  border-color: rgba(39, 240, 201, 0.75);
  box-shadow: 0 0 0 2px rgba(39, 240, 201, 0.2);
}

.age-gate__checkbox input:checked::after {
  opacity: 1;
  box-shadow: inset 0 0 0 10px rgba(5, 7, 13, 0.7);
}

.age-gate__checkbox input:focus-visible {
  outline: 2px solid rgba(39, 240, 201, 0.75);
  outline-offset: 3px;
}

.age-gate__error {
  margin: 0;
  font-size: 13px;
  color: #ff8585;
}

.age-gate__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.age-gate__region {
  font-weight: 600;
  color: rgba(39, 240, 201, 0.95);
}

.age-gate__notes {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
}

.age-gate__state-warnings {
  display: grid;
  gap: 10px;
  padding: 6px 0 2px;
}

.age-gate__state-warning {
  font-size: 14pt;
  line-height: 1.45;
  color: #ffffff;
}

body.age-gate-lock {
  overflow: hidden;
}

.age-gate .btn-secondary {
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 10px 18px;
  color: rgba(255, 255, 255, 0.9);
}

.age-gate .btn-secondary:hover,
.age-gate .btn-secondary:focus-visible {
  border-color: rgba(255, 255, 255, 0.55);
}

.age-gate .btn-primary {
  width: 100%;
  border: none;
  border-radius: 999px;
  background: linear-gradient(120deg, rgba(39, 240, 201, 0.92), #d56dff);
  color: #06070c;
  font-weight: 600;
  font-size: 15px;
  padding: 13px 20px;
  box-shadow: 0 18px 36px rgba(39, 240, 201, 0.25);
}

.age-gate .btn-primary,
.age-gate .btn-secondary {
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.age-gate .btn-primary + .age-gate__actions {
  margin-top: 6px;
}

.age-gate .btn-primary:hover,
.age-gate .btn-primary:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 20px 38px rgba(39, 240, 201, 0.32);
}

.age-gate .btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  font-size: 14px;
  font-weight: 600;
}

.auth-modal {
  position: fixed;
  inset: 0;
  z-index: 2600;
  display: none;
}

.auth-modal.is-open {
  display: block;
}

.auth-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 7, 13, 0.72);
  backdrop-filter: blur(6px);
}

.auth-modal__dialog {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(420px, 92%);
  padding: 28px 26px 24px;
  border-radius: 28px;
  background: rgba(12, 15, 24, 0.94);
  border: 1px solid rgba(39, 240, 201, 0.25);
  box-shadow: 0 24px 44px rgba(0, 0, 0, 0.55);
  color: var(--text);
  display: grid;
  gap: 18px;
}

.auth-modal__header h2 {
  margin: 0;
  font-size: clamp(22px, 3vw, 28px);
}

.auth-modal__subtitle {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.65);
  font-size: 14px;
}

.auth-modal__form {
  display: grid;
  gap: 14px;
}

.auth-modal__field {
  display: grid;
  gap: 6px;
  font-size: 13px;
}

.auth-modal__field input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(8, 11, 18, 0.85);
  color: #ffffff;
  font-size: 14px;
}

.auth-modal__field input:focus-visible {
  outline: 2px solid rgba(39, 240, 201, 0.6);
  border-color: transparent;
}

.auth-modal__checkbox {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
}

.auth-modal__checkbox input {
  width: 18px;
  height: 18px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(10, 12, 18, 0.92);
  appearance: none;
  position: relative;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.auth-modal__checkbox input:focus-visible {
  outline: none;
  border-color: rgba(39, 240, 201, 0.9);
  box-shadow: 0 0 0 2px rgba(39, 240, 201, 0.2);
}

.auth-modal__checkbox input:checked {
  border-color: rgba(39, 240, 201, 0.9);
  background: linear-gradient(135deg, var(--teal), var(--purple));
}

.auth-modal__checkbox input:checked::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 4px;
  background: rgba(8, 10, 16, 0.85);
}

.auth-modal__error {
  margin: 0;
  font-size: 13px;
  color: #ff8080;
}

.auth-modal__error[hidden] {
  display: none;
}

.auth-modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.auth-modal__submit {
  border: 0;
  border-radius: 999px;
  padding: 12px 24px;
  font-weight: 600;
  cursor: pointer;
  background: linear-gradient(120deg, var(--teal), var(--purple));
  color: #0b0d13;
  box-shadow: 0 12px 26px rgba(39, 240, 201, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.auth-modal__submit:hover,
.auth-modal__submit:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 18px 32px rgba(39, 240, 201, 0.35);
}

.auth-modal__secondary {
  color: var(--teal);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.auth-modal__secondary:hover,
.auth-modal__secondary:focus-visible {
  color: #ffffff;
}

.auth-modal__footer {
  font-size: 13px;
}

.auth-modal__footer a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
}

.auth-modal__footer a:hover,
.auth-modal__footer a:focus-visible {
  color: #ffffff;
}

.auth-modal__close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease;
}

.auth-modal__close:hover,
.auth-modal__close:focus-visible {
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.05);
}

/* ================= Hero ================= */
.hero {
  position: relative;
  min-height: 72vh;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  overflow: hidden;
  background: var(--bg-2);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  isolation: isolate;
}

.hero-bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease;
}

.hero-bg img.is-active {
  opacity: 1;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  /* clip-path: polygon(0 0, 15% 0, 65% 100%, 0% 100%); */
  background: linear-gradient(45deg, rgba(20, 22, 33, 1) 0%, rgba(20, 22, 33, 0.25) 45%, rgba(20, 22, 33, 0) 100%);
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 70px;
  pointer-events: none;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(11, 13, 19, 0.95) 0%,
    rgba(11, 13, 19, 0) 100%
  );
}

.hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 150px;
  pointer-events: none;
  z-index: 1;
  background: linear-gradient(
    0deg,rgba(18, 20, 29, 100%) 5%,
    /* var(--bg-2) 0%, */
    rgba(11, 13, 19, 0) 100%
  );
}

.hero-inner {
  position: relative;
  z-index: 2;
  text-align: left;
  padding: 90px 16px 20px;
  max-width: 600px;
  margin-left: clamp(16px, 5vw, 60px);
  margin-bottom: 10px;
}

.hero h1 {
  font-size: clamp(28px, 7vw, 56px);
  margin: 0.1em 0 0.05em;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.65);
}

.hero p {
  color: #ffffff;
  max-width: 45ch;
  margin: 0 0 1.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 15px;
  padding: 20px 30px;
  border-radius: 10px;
  background: linear-gradient(90deg, var(--teal), var(--purple));
  color: #0b0d13;
  border: 0;
  cursor: pointer;
  box-shadow: var(--accent-glow);
  transition: transform 0.18s ease, box-shadow 0.25s ease;
}

.cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 26px rgba(39, 240, 201, 0.32);
}

/* ================= Sections ================= */
.section {
  padding: 28px 16px;
}

.section h2 {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 14px;
  color: var(--teal);
}

/* ================= Carousels ================= */
.carousel {
  position: relative;
  --gap: 22px;
  --pad: 12px;
}

.track {
  display: flex;
  gap: var(--gap);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 0 var(--pad) 4px;
  margin: 0;
  list-style: none;
  scrollbar-width: none;
}

.track::-webkit-scrollbar {
  display: none;
}

.card {
  position: relative;
  width: 300px;
  aspect-ratio: 16 / 9;
  flex: 0 0 auto;
  border-radius: 12px;
  overflow: hidden;
  scroll-snap-align: start;
  background: var(--bg-2);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
  transition: transform 0.28s ease, box-shadow 0.28s ease, opacity 0.6s ease;
  cursor: pointer;
  opacity: 0;
  transform: translateY(10px) scale(0.985);
  will-change: transform, opacity;
}

.card.category {
  width: 330px;
  aspect-ratio: 2 / 3;
}

.card.revealed {
  opacity: 1;
  transform: none;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.5);
}

.thumb {
  position: absolute;
  inset: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.thumb.loaded {
  opacity: 1;
}

.video-card__thumb {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.video-card__thumb-layer {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: 0;
}

.video-card__thumb-layer--base {
  opacity: 1;
  z-index: 1;
}

.video-card__thumb-layer--overlay {
  opacity: 0;
  z-index: 2;
}

.video-card__thumb-layer--overlay.is-visible {
  opacity: 1;
}

.card.video-card .thumb {
  z-index: 0;
}

.veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 35%, rgba(0, 0, 0, 0.75) 100%);
  z-index: 3;
}

.label {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  z-index: 4;
}

.label-title {
  font-weight: 400;
  font-size: 13px;
  line-height: 1.2;
  color: var(--text);
  text-align: left;
}

.label.label-category {
  justify-content: center;
}


.label-category .label-title {
  font-size: 28px;
  text-align: center;
  line-height: 1.1;
}

.credit-chip {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--teal), var(--purple));
  color: #0b0d13;
  font-size: 12px;
  font-weight: 600;
  box-shadow: 0 0 8px rgba(39, 240, 201, 0.25);
  white-space: nowrap;
}

.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(20, 22, 33, 0.6);
  color: var(--text);
  display: grid;
  place-items: center;
  backdrop-filter: blur(6px);
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.1s ease;
}

.arrow:hover {
  transform: translateY(-50%) scale(1.05);
}

.arrow.prev {
  left: 6px;
}

.arrow.next {
  right: 6px;
}

.empty-card {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 180px;
  background: rgba(20, 22, 33, 0.4);
  border-radius: 12px;
  color: var(--muted);
  padding: 24px;
  text-align: center;
}

.empty-card__content {
  max-width: 240px;
  line-height: 1.4;
}

footer {
  padding: 6px 10px;
  font-size: 11px;
  color: var(--muted);
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: linear-gradient(180deg, rgba(16, 18, 26, 0.4), rgba(16, 18, 26, 0.8));
  flex-shrink: 0;
  margin-top: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  font-size: 12px;
}

.footer-links a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: #ffffff;
}

.footer-state-notice {
  font-size: 14pt;
  line-height: 1.45;
  color: #ffffff;
  max-width: 1200px;
  text-align: center;
  margin-top: 4px;
}

.policy-main {
  width: min(960px, 100%);
  margin: 0 auto;
  padding: clamp(32px, 6vw, 72px) clamp(18px, 6vw, 72px);
}

.policy-container {
  background: linear-gradient(180deg, rgba(15, 18, 29, 0.82), rgba(11, 13, 22, 0.9));
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
  padding: clamp(24px, 5vw, 48px);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.policy-container h1 {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 700;
  margin-bottom: 4px;
}

.policy-body {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(230, 230, 230, 0.92);
  display: grid;
  gap: 16px;
}

.policy-body p + p {
  margin-top: -6px;
}

.policy-body a {
  color: var(--teal);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.policy-body ul,
.policy-body ol {
  padding-left: 26px;
  display: grid;
  gap: 8px;
}

.policy-body li::marker {
  color: var(--purple);
}

.policy-body table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(12, 15, 24, 0.6);
}

.policy-body th,
.policy-body td {
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 10px 12px;
  text-align: left;
}

.policy-body th {
  background: rgba(255, 255, 255, 0.08);
}

.policy-body blockquote {
  border-left: 3px solid var(--teal);
  padding-left: 16px;
  color: rgba(255, 255, 255, 0.82);
  font-style: italic;
}

.policy-body hr {
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin: 10px 0;
}

.policy-modal-content {
  max-height: min(60vh, 520px);
  overflow-y: auto;
  padding-right: 10px;
  scrollbar-gutter: stable both-edges;
}

.policy-modal-content::-webkit-scrollbar {
  width: 8px;
}

.policy-modal-content::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
}

.policy-modal-content::-webkit-scrollbar-thumb {
  background: rgba(39, 240, 201, 0.55);
  border-radius: 999px;
}

/* ================= Responsive tweaks ================= */
@media (max-width: 900px) {
  .nav {
    display: none;
  }

  .site-header {
    gap: 10px;
    justify-content: flex-start;
  }

  .brand {
    flex: 0 0 auto;
  }

  .menu-btn {
    display: inline-grid;
    place-items: center;
    margin-left: auto;
  }

  .header-credits {
    order: 1;
  }
}

/* Shrink preview cards further on small phones */
@media (max-width: 600px) {
  .card {
    width: 220px;
  }

  .card.category {
    width: 240px;
  }
}

@media (max-width: 450px) {
  .brand {
    font-size: 18px;
  }

  .header-credits__pill,
  .header-credits__pill--auth {
    padding: 6px 12px;
    font-size: 12px;
    gap: 6px;
  }

  .header-credits__dot {
    width: 6px;
    height: 6px;
  }

  .header-credits__text {
    min-width: 90px;
  }
}

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

  .cta,
  .card {
    transition: none;
  }

  .hero-bg img {
    transition: none;
  }

  .card {
    opacity: 1;
    transform: none;
  }

  .thumb {
    transition: none;
    opacity: 1;
  }
}
.category-card__link {
  display: block;
  position: relative;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.category-card__link .thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}
