﻿:root {
  --bg: #140b07;
  --bg-deep: #0a0604;
  --gold: #ffc21a;
  --gold-deep: #f08a00;
  --red: #e01b22;
  --ink: #1b0d05;
  --text: #fbefe2;
  --text-muted: rgba(251, 239, 226, 0.62);
  --surface: rgba(20, 11, 7, 0.9);
  --surface-press: rgba(40, 20, 12, 0.94);
  --line: rgba(255, 184, 110, 0.16);
  --line-strong: rgba(255, 184, 110, 0.32);

  --radius: 14px;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);

  --font-display: "Oswald", "Arial Narrow", "Roboto Condensed", Impact, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

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

html {
  background: var(--bg-deep);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  color: var(--text);
  font-family: var(--font-body);
  background:
    radial-gradient(120% 60% at 50% 100%, #3a1506 0%, rgba(58, 21, 6, 0) 60%),
    linear-gradient(180deg, var(--bg-deep) 0%, var(--bg) 55%, #1f0d06 100%);
  background-attachment: fixed;
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
}

/* ---------- Background layers ---------- */
/* Embers video: anchored to the bottom, fading into the dark background on top */
.embers {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: 40vh;
  z-index: 0;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.6) 45%, #000 75%);
  mask-image: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.6) 45%, #000 75%);
}

/* Tones the fire down behind the buttons, keeps it bright at the very bottom */
.embers::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(10, 6, 4, 0.55) 0%, rgba(10, 6, 4, 0.3) 55%, rgba(10, 6, 4, 0.05) 100%);
}

.embers video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  display: block;
  background: transparent;
}

/* Salt video: black backdrop disappears with screen blending; edges are faded in the video itself */
.salt {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 80vh;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
  mix-blend-mode: screen;
}

/* The stream sits at ~45% of the clip's width; place it in the empty space right of the bull */
.salt video {
  position: absolute;
  top: 0;
  left: calc(50% + min(26vw, 120px));
  height: 100%;
  aspect-ratio: 540 / 900;
  transform: translateX(-45%);
  display: block;
}

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

/* Darkens the middle just enough to keep buttons legible over the fire */
.scrim {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background: radial-gradient(90% 55% at 50% 45%, rgba(10, 6, 4, 0.45) 0%, rgba(10, 6, 4, 0) 70%);
}

/* ---------- Layout ---------- */
.page {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 440px;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0 auto;
  padding:
    max(1.25rem, env(safe-area-inset-top))
    max(1.25rem, env(safe-area-inset-right))
    max(1.5rem, env(safe-area-inset-bottom))
    max(1.25rem, env(safe-area-inset-left));
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.5rem;
}

.brand {
  margin: 0;
  display: flex;
  justify-content: center;
  animation: enter-logo 700ms var(--ease-out) backwards;
}

.brand img {
  display: block;
  width: min(80vw, 340px);
  height: auto;
  filter: drop-shadow(0 10px 30px rgba(255, 110, 20, 0.28));
}

/* Short screens (small phones / landscape): shrink logo so buttons stay above the fold */
@media (max-height: 700px) {
  .brand img { width: min(62vw, 250px); }
  .page { gap: 1rem; }
}

.links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.875rem;
  min-height: 64px;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--text);
  touch-action: manipulation;
  user-select: none;
  -webkit-user-select: none;
  transition: transform 160ms var(--ease-out), background-color 200ms ease, border-color 200ms ease;
  animation: enter-item 520ms var(--ease-out) backwards;
}

.links .btn:nth-child(1) { animation-delay: 180ms; }
.links .btn:nth-child(2) { animation-delay: 240ms; }
.links .btn:nth-child(3) { animation-delay: 300ms; }
.links .btn:nth-child(4) { animation-delay: 360ms; }

.btn:active { transform: scale(0.97); }

.btn:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.btn__label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.125rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.1;
}

.btn__text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.btn__hint {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.2;
}

.btn__chev {
  width: 20px;
  height: 20px;
  margin-left: auto;
  flex-shrink: 0;
  opacity: 0.55;
}

/* Primary: the menu, the main reason people land here */
.btn--primary {
  min-height: 72px;
  color: #fff;
  background: linear-gradient(180deg, #f3262d 0%, var(--red) 45%, #a8131a 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    inset 0 -2px 0 rgba(90, 8, 12, 0.4),
    0 8px 24px rgba(168, 19, 26, 0.45);
}

.btn--primary .btn__label { font-size: 1.375rem; }
.btn--primary .btn__chev { opacity: 0.8; }

.btn__icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

/* Soft sheen that sweeps across the primary button once in a while */
.btn--primary::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.45) 50%, transparent 65%);
  transform: translateX(-120%);
  animation: sheen 5.5s ease-in-out 1.4s infinite;
  pointer-events: none;
}

.btn--primary { overflow: hidden; }

/* Secondary: social links */
.btn--social {
  background: var(--surface);
  border: 1px solid var(--line);
}

.btn--social:active {
  background: var(--surface-press);
  border-color: var(--line-strong);
}

.badge {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 11px;
  flex-shrink: 0;
}

.badge svg { width: 24px; height: 24px; }

.badge--ig { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.badge--fb { background: #1877f2; }
.badge--wa { background: #25d366; }

@media (hover: hover) and (pointer: fine) {
  .btn--social:hover {
    background: var(--surface-press);
    border-color: var(--line-strong);
  }
  .btn:hover .btn__chev {
    transform: translateX(2px);
  }
  .btn__chev { transition: transform 200ms var(--ease-out); }
}

.foot {
  align-self: center;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  background: rgba(10, 6, 4, 0.72);
  font-size: 0.75rem;
  color: rgba(251, 239, 226, 0.78);
  letter-spacing: 0.02em;
}

/* ---------- Motion ---------- */
@keyframes enter-logo {
  from { opacity: 0; transform: translateY(8px) scale(0.96); }
  to   { opacity: 1; transform: none; }
}

@keyframes enter-item {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: none; }
}

@keyframes sheen {
  0%, 70% { transform: translateX(-120%); }
  100%    { transform: translateX(120%); }
}

@media (prefers-reduced-motion: reduce) {
  .brand,
  .btn { animation: fade 300ms ease backwards; }
  .btn--primary::after { display: none; }
  .btn:active { transform: none; }
}

@keyframes fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}
