:root {
  --asphalt-night: #151314;
  --crate-surface: #211c1d;
  --crate-elevated: #2b2425;
  --crate-border: #3d3233;
  --crate-red: #d93829;
  --crate-red-dark: #a8261a;
  --curb-amber: #f2be38;
  --foam-cream: #f6efe4;
  --cap-silver: #b5aaa0;
  --approve-green: #3ca35c;
}

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

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--asphalt-night);
  color: var(--foam-cream);
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body {
  background-image:
    radial-gradient(circle at 12% 8%, rgba(217, 56, 41, 0.14), transparent 45%),
    radial-gradient(circle at 88% 15%, rgba(242, 190, 56, 0.08), transparent 42%);
}

.curb-stripe {
  height: 6px;
  background: repeating-linear-gradient(
    90deg,
    var(--curb-amber) 0,
    var(--curb-amber) 48px,
    var(--crate-red) 48px,
    var(--crate-red) 96px
  );
}

/* Fullscreen animated sunburst intro with triangular beams + TTK centerpiece */
.intro-stage {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: #120e0f;
  display: grid;
  place-items: center;
  overflow: hidden;
  clip-path: circle(150% at 50% 50%);
  transition: clip-path 720ms cubic-bezier(0.65, 0, 0.35, 1), opacity 520ms ease;
}

.intro-stage[hidden] {
  display: none;
}

.intro-stage.is-exiting {
  clip-path: circle(0% at 50% 50%);
  pointer-events: none;
}

.intro-beams-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.beams-spin-cw {
  animation: spinBeamsCw 18s linear infinite;
}

.beams-spin-ccw {
  animation: spinBeamsCcw 24s linear infinite;
}

.beam-wedge {
  transform-origin: 0px 0px;
  animation: beamShootIn 580ms cubic-bezier(0.22, 1, 0.36, 1) backwards;
  animation-delay: calc(var(--i, 0) * 26ms);
}

/* Flying multi-brand beer bottles & cans traveling across the sunburst background */
.intro-beer-field {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.flying-beer {
  position: absolute;
  left: var(--x0, 50%);
  top: var(--y0, 50%);
  width: var(--size, 74px);
  filter: drop-shadow(0 12px 18px rgba(0, 0, 0, 0.6));
  will-change: transform, opacity;
  animation: beerFlyTrajectory var(--dur, 4.4s) linear var(--delay, 0s) infinite backwards;
}

.flying-beer svg {
  width: 100%;
  height: auto;
  display: block;
}

.intro-sound-btn {
  margin-top: 0.85rem;
  appearance: none;
  cursor: pointer;
  border: 2px solid #fff3c4;
  background: linear-gradient(180deg, var(--curb-amber) 0%, #d49617 100%);
  color: #19110b;
  font-family: inherit;
  font-weight: 800;
  font-size: 0.96rem;
  padding: 0.68rem 1.25rem;
  border-radius: 999px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.65);
  animation: soundBtnPulse 1.1s ease-in-out infinite alternate;
}

.intro-sound-btn[hidden] {
  display: none;
}

.intro-progress-track {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 5px;
  background: rgba(255, 255, 255, 0.14);
  z-index: 3;
}

.intro-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--curb-amber), #fff2c2, var(--crate-red));
}

.intro-progress-bar.is-running {
  animation: introProgressFill var(--intro-ms, 9600ms) linear forwards;
}

.intro-centerpiece {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.intro-shockwave {
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  border: 3px solid rgba(242, 190, 56, 0.72);
  pointer-events: none;
  animation: shockwavePulse 2.1s ease-out infinite;
}

.intro-shockwave-delayed {
  animation-delay: 0.95s;
  border-color: rgba(217, 56, 41, 0.78);
}

.intro-ring-text {
  position: absolute;
  width: 318px;
  height: 318px;
  pointer-events: none;
  animation: spinRingText 14s linear infinite;
}

.intro-ring-text text {
  fill: #fff4d6;
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 800;
  font-size: 19.5px;
  letter-spacing: 3.1px;
}

.intro-avatar-wrap {
  width: 208px;
  height: 208px;
  border-radius: 50%;
  padding: 6px;
  background: conic-gradient(
    from 0deg,
    var(--curb-amber),
    #fff3c4,
    var(--crate-red),
    var(--curb-amber)
  );
  box-shadow:
    0 0 0 6px rgba(21, 19, 20, 0.85),
    0 24px 60px rgba(0, 0, 0, 0.75);
  animation:
    ttkPopIn 720ms cubic-bezier(0.34, 1.56, 0.64, 1) 140ms backwards,
    ttkBob 1.6s ease-in-out 860ms infinite alternate;
}

.intro-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  background: var(--asphalt-night);
}

.intro-tag {
  margin: 3.6rem 0 0;
  padding: 0.42rem 1.1rem;
  border-radius: 999px;
  background: rgba(21, 19, 20, 0.88);
  border: 1px solid rgba(242, 190, 56, 0.65);
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: 0.03em;
  color: var(--curb-amber);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.6);
  animation: tagFadeUp 520ms ease-out 360ms backwards;
}

.intro-skip-btn {
  position: absolute;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 3;
  appearance: none;
  cursor: pointer;
  background: rgba(21, 19, 20, 0.82);
  color: var(--foam-cream);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  padding: 0.48rem 1rem;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.86rem;
  backdrop-filter: blur(6px);
  transition: border-color 140ms ease, background-color 140ms ease;
}

.intro-skip-btn:hover {
  border-color: var(--curb-amber);
  background: rgba(21, 19, 20, 0.95);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

@keyframes spinBeamsCw {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes spinBeamsCcw {
  from { transform: rotate(360deg); }
  to { transform: rotate(0deg); }
}

@keyframes spinRingText {
  from { transform: rotate(0deg); }
  to { transform: rotate(-360deg); }
}

@keyframes beamShootIn {
  from {
    opacity: 0;
    transform: scale(0.05);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes ttkPopIn {
  from {
    opacity: 0;
    transform: scale(0.25) rotate(-18deg);
  }
  to {
    opacity: 1;
    transform: scale(1) rotate(-3deg);
  }
}

@keyframes ttkBob {
  from { transform: scale(1) rotate(-3deg); }
  to { transform: scale(1.045) rotate(3deg); }
}

@keyframes shockwavePulse {
  0% {
    transform: scale(0.88);
    opacity: 0.85;
  }
  100% {
    transform: scale(1.95);
    opacity: 0;
  }
}

@keyframes tagFadeUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes beerFlyTrajectory {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) translate3d(0, 0, 0) scale(var(--s0, 0.25)) rotate(var(--r0, 0deg));
  }
  12% {
    opacity: 0.96;
  }
  86% {
    opacity: 0.96;
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) translate3d(var(--dx, 420px), var(--dy, -320px), 0) scale(var(--s1, 1.25)) rotate(var(--r1, 340deg));
  }
}

@keyframes soundBtnPulse {
  from { transform: scale(1); }
  to { transform: scale(1.06); }
}

@keyframes introProgressFill {
  from { width: 0%; }
  to { width: 100%; }
}

.page-wrap {
  max-width: 1140px;
  margin: 0 auto;
  padding: 2rem 1.25rem 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.review-banner {
  background: var(--crate-surface);
  border: 2px solid var(--curb-amber);
  border-radius: 10px;
  padding: 1.5rem;
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.55);
}

.review-title {
  margin: 0 0 0.35rem;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.85rem;
  color: var(--curb-amber);
}

.review-subtitle {
  margin: 0 0 1rem;
  color: var(--cap-silver);
  font-size: 0.95rem;
}

.review-preview {
  margin-bottom: 1rem;
  max-width: 520px;
}

.review-preview img,
.review-preview video {
  max-width: 100%;
  max-height: 420px;
  border-radius: 6px;
  display: block;
  background: #000;
}

.review-preview audio {
  width: 100%;
}

.review-caption {
  margin: 0 0 1.15rem;
  font-size: 1.05rem;
  line-height: 1.5;
}

.review-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.review-feedback {
  margin: 0.85rem 0 0;
  font-weight: 600;
  color: var(--curb-amber);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 360px);
  gap: 2rem;
  align-items: center;
}

.hero-title {
  margin: 0 0 0.75rem;
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 800;
  font-size: clamp(2.8rem, 6vw, 4.4rem);
  line-height: 0.96;
  letter-spacing: 0.01em;
  color: var(--foam-cream);
}

.hero-lead {
  margin: 0 0 1.4rem;
  font-size: 1.08rem;
  line-height: 1.6;
  color: var(--cap-silver);
  max-width: 58ch;
}

.btn {
  appearance: none;
  cursor: pointer;
  border: 0;
  border-radius: 6px;
  padding: 0.82rem 1.35rem;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.98rem;
  transition: transform 120ms ease, filter 150ms ease;
}

.btn:hover:not(:disabled) {
  filter: brightness(1.08);
}

.btn:active:not(:disabled) {
  transform: translateY(1px);
}

.btn:disabled {
  opacity: 0.65;
  cursor: wait;
}

.btn-primary {
  background: var(--crate-red);
  color: #fff;
  box-shadow: 0 8px 22px rgba(217, 56, 41, 0.35);
}

.btn-ghost {
  background: var(--crate-elevated);
  color: var(--foam-cream);
  border: 1px solid var(--crate-border);
}

.btn-approve {
  background: var(--approve-green);
  color: #fff;
}

.btn-reject {
  background: var(--crate-elevated);
  color: #ff9c93;
  border: 1px solid var(--crate-red);
}

/* Signature piece: the 24-slot red plastic stubby beer crate */
.crate-widget {
  background: linear-gradient(180deg, var(--crate-red) 0%, var(--crate-red-dark) 100%);
  border-radius: 10px;
  padding: 1.1rem 1.15rem;
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, 0.2),
    0 18px 36px rgba(0, 0, 0, 0.5);
}

.crate-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.75rem;
}

.crate-heading {
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 800;
  font-size: 1.35rem;
  color: #fff;
}

.crate-count {
  font-size: 0.88rem;
  font-weight: 700;
  color: #ffe39f;
}

.crate-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.45rem;
  background: rgba(21, 19, 20, 0.42);
  padding: 0.65rem;
  border-radius: 8px;
}

.bottle-slot {
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.42);
  border: 2px dashed rgba(255, 255, 255, 0.22);
  transition: transform 200ms ease, background-color 200ms ease;
}

.bottle-slot.is-filled {
  border-style: solid;
  border-color: #fff2c6;
  background: radial-gradient(circle at 35% 35%, #ffe699, var(--curb-amber) 68%, #b37e09 100%);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.45);
}

.crate-note {
  margin: 0.65rem 0 0;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.86);
}

.featured-section {
  margin: 0;
}

.featured-card {
  background:
    radial-gradient(circle at 12% 20%, rgba(242, 190, 56, 0.2), transparent 55%),
    linear-gradient(135deg, #2b2117 0%, var(--crate-surface) 72%);
  border: 2px solid var(--curb-amber);
  border-radius: 12px;
  padding: 1.35rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.48),
    inset 0 1px 0 rgba(255, 240, 194, 0.22);
}

.featured-card.is-playing {
  box-shadow:
    0 0 0 2px rgba(242, 190, 56, 0.45),
    0 20px 44px rgba(0, 0, 0, 0.55);
}

.featured-ribbon {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  align-self: flex-start;
  background: rgba(242, 190, 56, 0.16);
  border: 1px solid rgba(242, 190, 56, 0.55);
  color: #ffe28a;
  border-radius: 999px;
  padding: 0.28rem 0.85rem;
  font-size: 0.86rem;
  font-weight: 700;
}

.featured-main {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.featured-play-btn {
  width: 56px;
  height: 56px;
  font-size: 1.2rem;
  box-shadow: 0 8px 20px rgba(242, 190, 56, 0.35);
}

.featured-title {
  margin: 0;
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 800;
  font-size: clamp(1.55rem, 3vw, 2.05rem);
  line-height: 1.08;
  color: var(--foam-cream);
}

.featured-sub {
  margin: 0.25rem 0 0;
  font-size: 0.92rem;
  color: #e4d4b7;
}

.featured-card audio {
  width: 100%;
  height: 38px;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  border-bottom: 1px solid var(--crate-border);
  padding-bottom: 1rem;
}

.filter-btn {
  appearance: none;
  cursor: pointer;
  background: var(--crate-surface);
  color: var(--cap-silver);
  border: 1px solid var(--crate-border);
  border-radius: 999px;
  padding: 0.48rem 0.95rem;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: border-color 140ms ease, color 140ms ease, background-color 140ms ease;
}

.filter-btn:hover {
  color: var(--foam-cream);
  border-color: var(--curb-amber);
}

.filter-btn.is-active {
  background: var(--curb-amber);
  border-color: var(--curb-amber);
  color: #18130d;
}

.filter-num {
  font-size: 0.8rem;
  opacity: 0.85;
}

.status-msg {
  color: var(--cap-silver);
  font-size: 1.02rem;
}

.section-heading {
  margin: 0 0 1rem;
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 700;
  font-size: 1.65rem;
  color: var(--foam-cream);
}

.audio-section {
  margin-bottom: 2.25rem;
}

.audio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 0.9rem;
}

.audio-card {
  background: var(--crate-surface);
  border: 1px solid var(--crate-border);
  border-radius: 8px;
  padding: 0.95rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  transition: border-color 150ms ease;
}

.audio-card.is-playing {
  border-color: var(--curb-amber);
  box-shadow: 0 0 0 1px rgba(242, 190, 56, 0.3);
}

.audio-top {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.audio-play-btn {
  appearance: none;
  cursor: pointer;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 0;
  flex-shrink: 0;
  background: var(--curb-amber);
  color: #18130d;
  font-weight: 800;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.audio-info {
  min-width: 0;
  flex: 1;
}

.audio-caption {
  margin: 0;
  font-weight: 700;
  font-size: 0.98rem;
  line-height: 1.35;
}

.audio-author {
  margin: 0.2rem 0 0;
  font-size: 0.82rem;
  color: var(--cap-silver);
}

.audio-card audio {
  width: 100%;
  height: 34px;
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.1rem;
}

.media-card {
  margin: 0;
  background: var(--crate-surface);
  border: 1px solid var(--crate-border);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 160ms ease, transform 160ms ease;
}

.media-card:hover {
  border-color: rgba(242, 190, 56, 0.55);
  transform: translateY(-2px);
}

.media-thumb-btn {
  appearance: none;
  border: 0;
  padding: 0;
  margin: 0;
  background: #0d0b0c;
  cursor: pointer;
  position: relative;
  aspect-ratio: 4 / 5;
  width: 100%;
  overflow: hidden;
  display: block;
}

.media-thumb-btn img,
.media-thumb-btn video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-pill {
  position: absolute;
  top: 0.65rem;
  left: 0.65rem;
  background: rgba(21, 19, 20, 0.86);
  color: var(--curb-amber);
  border: 1px solid rgba(242, 190, 56, 0.45);
  border-radius: 999px;
  padding: 0.22rem 0.6rem;
  font-size: 0.78rem;
  font-weight: 700;
}

.media-body {
  padding: 0.85rem 0.95rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.media-caption {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.4;
  color: var(--foam-cream);
}

.media-author {
  margin: 0;
  font-size: 0.8rem;
  color: var(--cap-silver);
}

.site-footer {
  border-top: 1px solid var(--crate-border);
  padding-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem 1.5rem;
  font-size: 0.9rem;
  color: var(--cap-silver);
}

.ttk-socials {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1rem;
}

.ttk-socials a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 600;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--foam-cream);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--curb-amber);
  text-decoration: underline;
}

.modal,
.lightbox {
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--foam-cream);
  max-width: min(520px, 94vw);
  width: 100%;
}

.lightbox {
  max-width: min(920px, 95vw);
}

.modal::backdrop,
.lightbox::backdrop {
  background: rgba(10, 8, 9, 0.82);
}

.modal-card {
  background: var(--crate-surface);
  border: 1px solid var(--crate-border);
  border-radius: 10px;
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.modal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.modal-title {
  margin: 0;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.75rem;
}

.modal-desc {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--cap-silver);
}

.icon-close {
  appearance: none;
  cursor: pointer;
  background: var(--crate-elevated);
  color: var(--foam-cream);
  border: 1px solid var(--crate-border);
  border-radius: 6px;
  width: 34px;
  height: 34px;
  font-size: 1rem;
}

.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.38rem;
}

.field-label {
  font-size: 0.88rem;
  font-weight: 600;
}

.field input[type="text"],
.field textarea,
.field input[type="file"] {
  background: var(--asphalt-night);
  color: var(--foam-cream);
  border: 1px solid var(--crate-border);
  border-radius: 6px;
  padding: 0.65rem 0.75rem;
  font-family: inherit;
  font-size: 0.95rem;
}

.upload-status {
  margin: 0;
  padding: 0.65rem 0.8rem;
  border-radius: 6px;
  background: var(--crate-elevated);
  color: var(--curb-amber);
  font-size: 0.9rem;
  font-weight: 600;
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.65rem;
}

.lightbox-inner {
  position: relative;
  background: var(--crate-surface);
  border: 1px solid var(--crate-border);
  border-radius: 10px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.lightbox-close {
  align-self: flex-end;
}

.lightbox-stage {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #090808;
  border-radius: 6px;
  overflow: hidden;
  max-height: 75dvh;
}

.lightbox-stage img,
.lightbox-stage video {
  max-width: 100%;
  max-height: 75dvh;
  display: block;
}

.lightbox-caption {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 600;
}

.lightbox-author {
  margin: 0.2rem 0 0;
  font-size: 0.86rem;
  color: var(--cap-silver);
}

:focus-visible {
  outline: 2px solid var(--curb-amber);
  outline-offset: 2px;
}

@media (max-width: 820px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .intro-avatar-wrap {
    width: 170px;
    height: 170px;
  }

  .intro-ring-text {
    width: 266px;
    height: 266px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
