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

html,
body {
  height: 100%;
  background: #000;
  color: #fff;
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", Inter, system-ui, sans-serif;
}

body,
a,
button,
[role="button"] {
  cursor: url("../assets/orig/cursor.png") 3 3, crosshair;
}

img,
video {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hud-type {
  font-family: MedievalSharp, Cinzel, serif;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #ffe9a8;
  text-shadow:
    0 0 2px rgba(0, 0, 0, 0.95),
    0 2px 4px rgba(0, 0, 0, 0.95),
    0 0 10px rgba(245, 217, 140, 0.55),
    0 0 22px rgba(245, 217, 140, 0.35);
}

.stage {
  position: relative;
  min-height: 100svh;
  width: 100%;
  overflow: hidden;
}

.bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  background: #000;
}

.bg-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
}

.tagline-wrap {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 1rem;
}

.tagline {
  max-width: 52vw;
  text-align: center;
  font-family: MedievalSharp, Cinzel, serif;
  letter-spacing: 0.04em;
  line-height: 1.25;
  font-size: 1.125rem;
  color: #f5d98c;
  text-shadow:
    0 0 14px rgba(0, 0, 0, 0.9),
    0 2px 6px rgba(0, 0, 0, 0.95),
    0 0 32px rgba(245, 217, 140, 0.45);
  animation: groyyp-fade-loop 7s ease-in-out infinite;
  will-change: opacity, transform;
}

.cap {
  pointer-events: auto;
  position: fixed;
  left: 50%;
  top: 0.5rem;
  z-index: 30;
  transform: translateX(-50%);
  padding: 0 0.75rem;
}

.cap p {
  white-space: nowrap;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 700;
}

.rail {
  position: fixed;
  top: 0.5rem;
  z-index: 20;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.rail-left {
  left: 0.375rem;
}

.rail-right {
  right: 0.375rem;
  align-items: flex-end;
}

.card {
  position: relative;
  display: block;
  width: 4.25rem;
  max-width: 34vw;
  border-radius: 0.75rem;
  overflow: hidden;
  transform: perspective(700px) rotateX(0) rotateY(0) scale(1);
  transition: transform 0.18s cubic-bezier(0.22, 1, 0.36, 1);
  transform-style: preserve-3d;
  will-change: transform;
}

.card video {
  width: 100%;
  height: auto;
  max-height: 10vh;
  object-fit: cover;
  border-radius: 0.75rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.55);
}

.card-label {
  pointer-events: none;
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  user-select: none;
  padding: 0.125rem 0.5rem;
  font-size: 10px;
  font-weight: 700;
  border-radius: 0.75rem;
  box-shadow: inset 0 0 0 1px rgba(253, 230, 138, 0.5);
}

.card::after {
  content: "";
  pointer-events: none;
  position: absolute;
  inset: 0;
  border-radius: 0.75rem;
  opacity: 0;
  transition: opacity 0.2s ease;
  mix-blend-mode: screen;
  background: radial-gradient(circle at var(--spot-x, 50%) var(--spot-y, 50%), rgba(245, 217, 140, 0.35), transparent 55%);
}

.card:hover::after,
.card:focus-visible::after {
  opacity: 1;
}

.stats {
  position: fixed;
  left: 50%;
  bottom: 6.75rem;
  z-index: 20;
  transform: translateX(-50%);
  display: flex;
  align-items: stretch;
  gap: 0.25rem;
  padding: 0.375rem 0.5rem;
  border-radius: 0.5rem;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
  box-shadow: 0 0 0 1px rgba(253, 230, 138, 0.3);
}

.stat {
  min-width: 58px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 0.25rem;
}

.stat-value {
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.15;
}

.stat-label {
  font-size: 9px;
  line-height: 1.15;
  color: rgba(254, 243, 199, 0.8);
}

.partners {
  pointer-events: none;
  position: fixed;
  left: 50%;
  bottom: 0.5rem;
  z-index: 20;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.partners-kicker {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: rgba(253, 230, 138, 0.9);
}

.partner-row {
  pointer-events: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  max-width: 94vw;
  padding: 0.375rem 0.5rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
  box-shadow: 0 0 0 1px rgba(253, 230, 138, 0.3);
}

.partner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  padding: 0.2rem 0.55rem 0.2rem 0.2rem;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.partner img {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 999px;
  object-fit: contain;
  background: #000;
}

.partner-name {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.partner:hover,
.partner:focus-visible {
  transform: scale(1.06);
  box-shadow: 0 0 0 1px rgba(253, 230, 138, 0.7);
}

.socials {
  position: fixed;
  right: 0.5rem;
  bottom: 0.5rem;
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
}

.social {
  display: flex;
  width: 2.75rem;
  height: 2.75rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #ffe9a8;
  background: radial-gradient(circle at 50% 35%, #141006eb, #000000f5);
  border: 2px solid rgba(245, 217, 140, 0.85);
  box-shadow:
    0 0 0 2px #000000d9,
    0 2px 10px #000000d9,
    0 0 18px #f5d98c80,
    inset 0 0 12px #f5d98c33;
  backdrop-filter: blur(4px);
  transition: box-shadow 0.2s ease, transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.social svg {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
}

.social-x {
  width: auto;
  height: 2.75rem;
  gap: 0.4rem;
  padding: 0 0.85rem 0 0.7rem;
}

.social-handle {
  font-family: Nunito, system-ui, sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1;
  white-space: nowrap;
}

.social:hover,
.social:focus-visible {
  color: #fff5d6;
  background: radial-gradient(circle at 50% 35%, #281e08f5, #000000fa);
  border-color: #ffe9a8;
  box-shadow:
    0 0 0 2px #000000d9,
    0 4px 16px #000000e6,
    0 0 26px #f5d98cbf,
    inset 0 0 16px #f5d98c4d;
  transform: scale(1.1);
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.72);
}

.modal[hidden] {
  display: none;
}

.modal-card {
  width: min(26rem, 100%);
  padding: 1.75rem 1.5rem 1.5rem;
  border-radius: 1.5rem;
  text-align: center;
  background: #111;
  border: 1px solid rgba(245, 217, 140, 0.45);
  box-shadow: 0 0 0 2px #000, 0 20px 50px rgba(0, 0, 0, 0.55);
}

.modal-kicker {
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  margin-bottom: 0.6rem;
}

.modal-ca {
  display: block;
  width: 100%;
  margin-bottom: 0.75rem;
  padding: 0.75rem 0.85rem;
  border-radius: 0.85rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0.01em;
  word-break: break-all;
  color: #ffe9a8;
  background: #000;
  border: 1px solid rgba(245, 217, 140, 0.4);
}

.modal-ca:hover,
.modal-ca:focus-visible {
  border-color: #ffe9a8;
}

.modal-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.modal-copy {
  color: rgba(255, 233, 168, 0.8);
  font-size: 0.95rem;
  line-height: 1.45;
  margin-bottom: 1.1rem;
  text-transform: none;
  letter-spacing: 0;
  font-family: Nunito, system-ui, sans-serif;
}

.modal-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.15rem;
  border-radius: 999px;
  color: #ffe9a8;
  border: 1px solid rgba(245, 217, 140, 0.7);
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 5.5rem;
  z-index: 60;
  transform: translateX(-50%) translateY(12px);
  padding: 0.65rem 1rem;
  border-radius: 999px;
  background: #0b0b0b;
  color: #ffe9a8;
  font-family: MedievalSharp, Cinzel, serif;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  border: 1px solid rgba(245, 217, 140, 0.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.kitchen {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  background: #fff;
  color: #111;
}

.kitchen-card {
  width: min(42rem, 100%);
  text-align: center;
  padding: 2rem 1.5rem;
  border-radius: 1.5rem;
  background: #fff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.kitchen-card h1 {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 900;
  color: hsl(95 24% 38%);
  margin-bottom: 1rem;
  animation: float 3s ease-in-out infinite;
}

.kitchen-card p {
  color: #666;
  font-weight: 700;
  font-size: 1.125rem;
}

.lost {
  min-height: 100svh;
  display: grid;
  place-items: center;
  background: #f4f4f5;
  color: #111;
  text-align: center;
  padding: 1.5rem;
}

.lost h1 {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.lost a {
  color: hsl(95 24% 38%);
  text-decoration: underline;
}

@keyframes groyyp-fade-loop {
  0% {
    opacity: 0;
    transform: scale(0.96);
  }
  18% {
    opacity: 1;
    transform: scale(1);
  }
  82% {
    opacity: 1;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(1.02);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-14px);
  }
}

@media (max-width: 639px) {
  .socials {
    bottom: 5.25rem;
  }
}

@media (min-width: 640px) {
  .tagline {
    max-width: calc(100vw - 22rem);
    font-size: 1.85rem;
  }
  .cap {
    top: 1rem;
  }
  .cap p {
    font-size: 1rem;
  }
  .rail {
    top: 1rem;
    gap: 0.75rem;
  }
  .rail-left {
    left: 1rem;
  }
  .rail-right {
    right: 1rem;
  }
  .card {
    width: 9rem;
    max-width: none;
  }
  .card video {
    max-height: 24vh;
  }
  .card-label {
    font-size: 1rem;
  }
  .stats {
    left: 1rem;
    bottom: 1rem;
    transform: none;
    gap: 0.375rem;
  }
  .stat {
    min-width: 62px;
    padding: 0 0.375rem;
  }
  .stat-value {
    font-size: 0.875rem;
  }
  .stat-label {
    font-size: 10px;
  }
  .partners {
    bottom: 0.75rem;
    gap: 0.375rem;
  }
  .partners-kicker {
    font-size: 0.75rem;
  }
  .partner-row {
    gap: 0.375rem;
    padding: 0.5rem 0.75rem;
  }
  .partner {
    padding: 0.25rem 0.7rem 0.25rem 0.25rem;
  }
  .partner img {
    width: 2rem;
    height: 2rem;
  }
  .partner-name {
    font-size: 0.7rem;
  }
  .socials {
    right: 1rem;
    bottom: 1rem;
  }
}

@media (min-width: 768px) {
  .tagline {
    font-size: 2.15rem;
  }
  .cap p {
    font-size: 1.125rem;
  }
}

@media (min-width: 1024px) {
  .tagline {
    max-width: calc(100vw - 28rem);
    font-size: 2.35rem;
  }
  .card {
    width: 11rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tagline,
  .kitchen-card h1 {
    animation: none;
  }
  .card {
    transition: none;
  }
}
