/* Brat-style: bold, utilitarian sans across the page. */

:root {
  --lime: #8acd00;
  --deep-blue: #1615d4;
  --electric-red: #ee1c12;
  --hot-red: #c4142d;
  --ink: #050505;
  --neon-yellow: #d6ff2d;
  --shadow: rgba(9, 9, 9, 0.25);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Arial Black", "Helvetica Neue", Helvetica, Arial, sans-serif;
  background: transparent;
  
  
  color: var(--ink);
}


.stage {
  position: fixed;
  inset: 0;
  background: var(--stage-color, #8acd00);
  transition: none;
  z-index: 0;
}

.page {
  position: relative;
  z-index: 1;
}

.page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px 18px 48px;
}

.card {
  width: min(440px, 100%);
  background: var(--lime);
  border-radius: 28px;
  padding: 40px 22px 30px;
  box-shadow: 0 24px 48px rgba(12, 12, 12, 0.2);
  position: relative;
  overflow: hidden;
}

.waitlist-button {
  position: absolute;
  top: 14px;
  left: 14px;
  width: 40px;
  height: 40px;
  border: 2px solid rgba(5, 5, 5, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
  color: #000000;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
  z-index: 2;
  text-decoration: none;
}

.waitlist-button svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
}

.waitlist-button:hover,
.waitlist-button:focus-visible {
  transform: translateY(-1px) scale(1.05);
  background: rgba(255, 255, 255, 0.68);
  border-color: rgba(5, 5, 5, 0.42);
}

.waitlist-button:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

.card.live-mode .waitlist-button {
  color: var(--live-text-color, #ffffff);
  background: rgba(0, 0, 0, 0.35);
  border-color: rgba(255, 255, 255, 0.45);
}

.card.live-mode {
  background: transparent;
  transition: none;
}

.hero {
  text-align: center;
  position: relative;
  z-index: 1;
}

.avatar-ring {
  width: 132px;
  height: 132px;
  border-radius: 50%;
  margin: 0 auto 12px;
  padding: 4px;
  background: conic-gradient(from 0deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888, #833ab4, #fd1d1d, #fcb045, #f09433);
  animation: avatar-glow 2s steps(1, end) infinite;
}

.avatar {
  width: 100%;
  height: 100%;
  margin: 0;
  border-radius: 50%;
  background: var(--ink);
  display: grid;
  place-items: center;
  overflow: hidden;
  position: relative;
}

@keyframes avatar-glow {
  0%   { box-shadow: -4px -4px 16px rgba(255,34,34,0.6),   4px  4px 16px rgba(34,204,34,0.5),  0 0 28px rgba(34,85,255,0.35); }
  33%  { box-shadow:  4px  4px 16px rgba(34,204,34,0.6),  -4px  4px 16px rgba(34,85,255,0.5),  0 0 28px rgba(255,34,34,0.35); }
  66%  { box-shadow:  4px -4px 16px rgba(34,85,255,0.6),  -4px -4px 16px rgba(255,34,34,0.5),  0 0 28px rgba(34,204,34,0.35); }
  100% { box-shadow: -4px -4px 16px rgba(255,34,34,0.6),   4px  4px 16px rgba(34,204,34,0.5),  0 0 28px rgba(34,85,255,0.35); }
}

.avatar::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 3px dotted #000;
  pointer-events: none;
}

.handle {
  margin: 0 0 12px;
  font-size: 22px;
  color: var(--ink);
  font-weight: 700;
  display: block;
  text-align: center;
  animation: handle-rgb 2s steps(1,end) infinite;
}
@keyframes handle-rgb {
  0%   { text-shadow: -1.5px -1.5px 0 rgba(255,34,34,0.5),  1.5px -1.5px 0 rgba(34,204,34,0.5), -1.5px 1.5px 0 rgba(34,85,255,0.5),  1.5px  1.5px 0 rgba(255,34,34,0.5); }
  33%  { text-shadow:  1.5px  1.5px 0 rgba(34,204,34,0.5), -1.5px  1.5px 0 rgba(34,85,255,0.5),  1.5px -1.5px 0 rgba(255,34,34,0.5), -1.5px -1.5px 0 rgba(34,204,34,0.5); }
  66%  { text-shadow:  1.5px -1.5px 0 rgba(34,85,255,0.5), -1.5px -1.5px 0 rgba(255,34,34,0.5),  1.5px  1.5px 0 rgba(34,204,34,0.5), -1.5px  1.5px 0 rgba(34,85,255,0.5); }
  100% { text-shadow: -1.5px -1.5px 0 rgba(255,34,34,0.5),  1.5px -1.5px 0 rgba(34,204,34,0.5), -1.5px 1.5px 0 rgba(34,85,255,0.5),  1.5px  1.5px 0 rgba(255,34,34,0.5); }
}


/* ── scrolling locations ticker (below handle, above badges) ── */
.locations-wrap {
  width: min(280px, 78%);
  max-width: 100%;
  margin: 0 auto 12px;
  overflow: hidden;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.locations-track {
  display: flex;
  gap: 0;
  white-space: nowrap;
  animation: scroll-locations 22s linear infinite;
  will-change: transform;
}

.location-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0 12px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(5, 5, 5, 0.55);
  flex-shrink: 0;
}

.location-item::before {
  content: "📍";
  font-size: 0.9em;
}

.location-sep {
  color: rgba(5, 5, 5, 0.2);
  padding: 0 1px;
  flex-shrink: 0;
  font-size: 10px;
}

.card.live-mode .location-item { color: var(--live-text-color, #ffffff); opacity: 0.7; }
.card.live-mode .location-sep { color: var(--live-text-color, #ffffff); opacity: 0.25; }

@keyframes scroll-locations {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.socials {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.social {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: var(--ink);
  text-decoration: none;
  border-radius: 50%;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card.live-mode .social,
.card.live-mode .handle,
.card.live-mode .dots {
  color: var(--live-text-color, #ffffff);
}

.card.live-mode .thought-bubble {
  color: rgba(255, 255, 255, 0.6);
}

.social svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.social img {
  width: 28px;
  height: 28px;
  display: block;
}

.social:focus-visible,
.social:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.18);
}

.links {
  display: grid;
  gap: 10px;
}

.link {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 12px;
  row-gap: 8px;
  background: var(--deep-blue);
  color: var(--neon-yellow);
  text-decoration: none;
  padding: 10px 14px;
  border-radius: 14px;
  box-shadow: 0 10px 20px var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.link.authorizing {
  background: #2a2a3a;
  color: #888;
  cursor: wait;
  pointer-events: none;
  opacity: 0.7;
}

.link[data-twitch] {
  position: relative;
}

.link[data-twitch] .twitch-player {
  grid-column: 1 / -1;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  background: #000;
  display: none;
}

.link[data-twitch] .twitch-player iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.link[data-twitch].is-live {
  align-items: center;
  gap: 12px 16px;
  padding: 14px 18px 16px;
}

.link[data-twitch].is-live .twitch-player {
  display: block;
  margin: 8px 0 0;
  justify-self: center;
}

.card.live-mode .link {
  background: var(--live-bg-color, #8acd00);
  color: var(--live-text-color, #d6ff2d);
}

.link:hover,
.link:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 14px 24px rgba(5, 5, 5, 0.3);
}

.thumb {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: transparent;
  color: var(--ink);
  display: grid;
  place-items: center;
  font-family: inherit;
  font-size: 16px;
  font-weight: 500;
  text-transform: lowercase;
  overflow: hidden;
}

/* Flat, full-color app icons (each icons/*.svg is a self-contained
   brand-colored square) — no tinted backing behind them. */
.thumb img {
  width: 100%;
  height: 100%;
  border-radius: 10px;
  display: block;
}

.label {
  font-size: 16px;
  font-weight: 600;
}

.dots {
  justify-self: end;
  font-size: 20px;
  opacity: 0.8;
}

.mini-player {
  grid-column: 1 / -1;
  display: none;
  background: rgba(0, 0, 0, 0.25);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.15);
}

.link.is-live .mini-player {
  display: block;
}

.mini-player iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  display: block;
}


.donations-group {
  display: grid;
  gap: 8px;
}

.donations-caret {
  transition: transform 0.2s ease;
}

#donations-toggle.expanded .donations-caret {
  transform: rotate(180deg);
}

.donations-sublist {
  display: grid;
  gap: 8px;
  padding-left: 14px;
  border-left: 3px solid rgba(5, 5, 5, 0.15);
  margin-left: 6px;
}

.donations-sublist[hidden] {
  display: none;
}

.link--sub {
  padding: 8px 12px;
}

.link--sub .thumb {
  width: 32px;
  height: 32px;
}

.link--sub .label {
  font-size: 14px;
}

.card.live-mode .donations-sublist {
  border-left-color: rgba(255, 255, 255, 0.3);
}

.profile-bubble[hidden] { display: none; }
.profile-bubble {
  display: table;
  margin: 0 auto 14px;
  background: rgba(255, 255, 255, 0.88);
  border-radius: 12px;
  padding: 5px 14px;
  font-size: 12px;
  font-weight: 700;
  color: rgba(5, 5, 5, 0.7);
  letter-spacing: 0.02em;
  position: relative;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.profile-bubble::before {
  content: "";
  position: absolute;
  bottom: -9px;
  left: 50%;
  transform: translateX(-50%);
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}

.profile-bubble::after {
  content: "";
  position: absolute;
  bottom: -17px;
  left: 50%;
  transform: translateX(-50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.88);
}

.thought-bubble {
  margin: 24px 0 0;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  color: rgba(5, 5, 5, 0.45);
  letter-spacing: 0.02em;
}

.business-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border: 2px solid rgba(5, 5, 5, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.32);
  color: #000000;
  display: grid;
  place-items: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
  z-index: 2;
}

.business-btn svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
}

.business-btn:hover,
.business-btn:focus-visible {
  transform: translateY(-1px) scale(1.05);
  background: rgba(255, 255, 255, 0.68);
  border-color: rgba(5, 5, 5, 0.42);
}

.business-btn:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

.card.live-mode .business-btn {
  color: var(--live-text-color, #ffffff);
  background: rgba(0, 0, 0, 0.35);
  border-color: rgba(255, 255, 255, 0.45);
}

.share-button {
  position: absolute;
  top: 14px;
  right: 62px;
  width: 40px;
  height: 40px;
  border: 2px solid rgba(5, 5, 5, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
  color: #000000;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
  z-index: 2;
}

.share-button svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
}

.share-button:hover,
.share-button:focus-visible {
  transform: translateY(-1px) scale(1.05);
  background: rgba(255, 255, 255, 0.68);
  border-color: rgba(5, 5, 5, 0.42);
}

.share-button:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

.card.live-mode .share-button {
  color: var(--live-text-color, #ffffff);
  background: rgba(0, 0, 0, 0.35);
  border-color: rgba(255, 255, 255, 0.45);
}

@media (max-width: 480px) {
  body {
    animation: none;
  }

  .card {
    width: 100%;
    min-height: 100vh;
    border-radius: 0;
    padding: 32px 18px 36px;
    box-shadow: none;
  }

  .label {
    font-size: 16px;
  }
}

@keyframes ambient-sweep {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes drift {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(-14px, 10px, 0) scale(1.08);
  }
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes pulse {
  0% {
    transform: scale(0.9);
    opacity: 0.7;
  }
  50% {
    transform: scale(1.1);
    opacity: 1;
  }
  100% {
    transform: scale(0.9);
    opacity: 0.7;
  }
}


.avatar {
  position: relative;
}

.avatar-media,
.avatar-word {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  opacity: 0;
  transition: none;
}

.avatar-media {
  background: url("assets/avatar.jpeg") center 55%/cover no-repeat;
}

.avatar-word {
  font-size: 20px;
  font-weight: 800;
  color: #000;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  background: var(--ink);
  line-height: 1;
  text-align: center;
  padding: 0 8px;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
}

.card.live-mode .avatar,
.card.live-mode .avatar-word {
  background: var(--live-bg-color, #8acd00);
}

.avatar-media.show,
.avatar-word.show {
  opacity: 1;
}

@media (prefers-color-scheme: dark) {
  .profile-bubble {
    background: rgba(30, 30, 30, 0.75);
    color: rgba(255, 255, 255, 0.75);
  }
  .profile-bubble::before,
  .profile-bubble::after {
    background: rgba(30, 30, 30, 0.75);
  }
}

/* ── DVD-logo easter egg ── */
.dvd-egg-backdrop {
  position: fixed;
  inset: 0;
  background: #000;
  opacity: 0;
  z-index: 9998;
  pointer-events: none;
  transition: opacity 0.7s ease;
}

.dvd-egg-backdrop.show { opacity: 0.55; }

.dvd-egg {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  pointer-events: none;
  will-change: transform;
}

.dvd-egg[hidden] { display: none; }

.dvd-egg-inner {
  font-family: "Arial Black", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 900;
  font-style: italic;
  font-size: 46px;
  letter-spacing: 0.01em;
  white-space: nowrap;
  color: var(--lime);
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.6));
}

/* ── Support-a-Creator popup ad ── */
.creator-ad {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 500;
  width: min(260px, calc(100vw - 32px));
  border: 2px solid var(--ink);
  border-radius: 18px;
  overflow: hidden;
  line-height: 0;
  box-shadow: 0 14px 28px rgba(5, 5, 5, 0.35);
  animation: creator-ad-in 0.35s ease both;
}

.creator-ad-video {
  display: block;
  width: 100%;
  height: auto;
}

.creator-ad[hidden] { display: none; }

.creator-ad.creator-ad--closing {
  animation: creator-ad-out 0.2s ease both;
}

@keyframes creator-ad-in {
  from { transform: translateY(18px) scale(0.92); opacity: 0; }
  to   { transform: translateY(0) scale(1); opacity: 1; }
}

@keyframes creator-ad-out {
  from { transform: scale(1); opacity: 1; }
  to   { transform: scale(0.9); opacity: 0; }
}

.creator-ad-close {
  position: absolute;
  top: 7px;
  right: 7px;
  z-index: 1;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid var(--ink);
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  font-size: 14px;
  line-height: 1;
  font-family: inherit;
  display: grid;
  place-items: center;
  cursor: pointer;
  padding: 0;
}

.creator-ad-close:hover,
.creator-ad-close:focus-visible {
  background: var(--neon-yellow);
}

@media (max-width: 480px) {
  .creator-ad {
    right: 10px;
    bottom: 10px;
    width: min(210px, calc(100vw - 20px));
  }
}
