/* ===================================================================
   Luna — La Luchadora
   Design tokens
   Palette: charcoal ring canvas + ring-rope gold + corner-post teal
   Type: Bebas Neue (poster display) + Inter (body/UI)
=================================================================== */

:root {
  --bg: #14161a;
  --surface: #1c1f26;
  --surface-raised: #242832;
  --line: #33384433;
  --text: #edeae3;
  --text-muted: #9aa0ac;
  --gold: #d4a24c;
  --gold-bright: #e8bc6e;
  --teal: #3e7c7c;
  --teal-bright: #56a3a3;
  --danger: #b5484a;

  --radius: 4px;
  --font-display: "Bebas Neue", "Arial Narrow", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

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

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Focus visibility */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}

/* ---------------------------------------------------------------
   Top bar
--------------------------------------------------------------- */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  border-bottom: 1px solid var(--line);
}

.topbar__brand {
  font-family: var(--font-display);
  letter-spacing: 0.04em;
  font-size: 22px;
  text-decoration: none;
  color: var(--text);
}

.topbar__ig {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  color: var(--gold-bright);
  border: 1px solid var(--gold);
  padding: 8px 14px;
  border-radius: 999px;
  transition: background 0.15s ease, color 0.15s ease;
}

.topbar__ig:hover {
  background: var(--gold);
  color: #14161a;
}

/* ---------------------------------------------------------------
   Hero — the poster face-off
--------------------------------------------------------------- */

.hero {
  position: relative;
  padding: 72px 24px 56px;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(20,22,26,0.55) 0%, rgba(20,22,26,0.88) 100%),
    url("images/hero-bg.jpg") center 30% / cover no-repeat;
  border-bottom: 3px solid var(--gold);
}
.hero__eyebrow {
  font-size: 13px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--teal-bright);
  margin: 0 0 10px;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(48px, 9vw, 96px);
  line-height: 0.95;
  letter-spacing: 0.01em;
  margin: 0;
  color: var(--text);
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.4);
}

.hero__title span {
  color: var(--gold-bright);
}

.hero__subtitle {
  margin: 14px auto 0;
  max-width: 520px;
  font-size: 16px;
  color: var(--text-muted);
}

.hero__subtitle strong {
  color: var(--text);
  font-weight: 600;
}

/* ---------------------------------------------------------------
   Filter bar — styled like weigh-in tags
--------------------------------------------------------------- */
.filters {
  padding: 28px 24px 8px;
}

.filter-group {
  margin-bottom: 18px;
}

.filter-group__label {
  display: block;
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  appearance: none;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.chip:hover {
  border-color: var(--gold);
  color: var(--text);
}

.chip[aria-pressed="true"] {
  background: var(--gold);
  border-color: var(--gold);
  color: #14161a;
}

.chip[aria-pressed="true"].chip--teal {
  background: var(--teal);
  border-color: var(--teal);
  color: #eafafa;
}

/* ---------------------------------------------------------------
   Video grid — match cards
--------------------------------------------------------------- */
.grid-section {
  padding: 12px 24px 80px;
}

.results-count {
  color: var(--text-muted);
  font-size: 13px;
  margin: 8px 0 20px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}

.card {
  display: block;
  text-decoration: none;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.card:hover {
  transform: translateY(-3px);
  border-color: var(--gold);
}

.card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  background: #0d0f13;
  overflow: hidden;
}

.card__media img,
.card__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card__badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--teal);
  color: #eafafa;
  font-family: var(--font-display);
  letter-spacing: 0.06em;
  font-size: 12px;
  padding: 3px 10px;
  border-radius: 999px;
}

.card__price {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(20, 22, 26, 0.88);
  border: 1px solid var(--gold);
  color: var(--gold-bright);
  font-family: var(--font-display);
  font-size: 16px;
  letter-spacing: 0.03em;
  padding: 3px 10px;
  border-radius: var(--radius);
}

.card__body {
  padding: 14px 16px 16px;
  border-top: 1px dashed var(--line);
}

.card__title {
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: 0.01em;
  margin: 0 0 6px;
  line-height: 1.05;
}

.card__meta {
  display: flex;
  gap: 10px;
  font-size: 12px;
  color: var(--text-muted);
}

.card__meta span::before {
  content: "•";
  margin-right: 10px;
  color: var(--gold);
}

.card__meta span:first-child::before {
  content: "";
  margin-right: 0;
}

.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
}

.empty-state__title {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--text);
  margin-bottom: 8px;
}

/* ---------------------------------------------------------------
   Detail page
--------------------------------------------------------------- */
.detail {
  padding: 40px 24px 80px;
}

.detail__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  margin-bottom: 24px;
}

.detail__back:hover {
  color: var(--gold-bright);
}

.detail__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: start;
}

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

.detail__media {
  background: #0d0f13;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

.detail__media img,
.detail__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail__badge-row {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
}

.badge {
  font-family: var(--font-display);
  letter-spacing: 0.06em;
  font-size: 12px;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--text-muted);
}

.badge--new {
  background: var(--teal);
  border-color: var(--teal);
  color: #eafafa;
}

.badge--location {
  border-color: var(--gold);
  color: var(--gold-bright);
}

.detail__title {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1;
  margin: 0 0 12px;
}

.detail__meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 18px;
}

.detail__meta-row strong {
  color: var(--text);
}

.detail__description {
  font-size: 15px;
  color: var(--text);
  margin-bottom: 20px;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 26px;
}

.tag {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  border: 1px solid var(--line);
  padding: 5px 12px;
  border-radius: 999px;
}

.buy-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 0.03em;
  padding: 16px 20px;
  background: var(--gold);
  color: #14161a;
  border: none;
  border-radius: var(--radius);
  text-decoration: none;
  transition: background 0.15s ease;
}

.buy-button:hover {
  background: var(--gold-bright);
}

.buy-note {
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 10px;
}

.wrestler-list {
  font-size: 14px;
  color: var(--text);
}

/* ---------------------------------------------------------------
   Footer / compliance
--------------------------------------------------------------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 40px 24px 60px;
  color: var(--text-muted);
  font-size: 12.5px;
  line-height: 1.7;
}

.site-footer .container {
  max-width: 760px;
}

.site-footer h2 {
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: 0.04em;
  color: var(--text);
  margin: 20px 0 8px;
}

.site-footer h2:first-child {
  margin-top: 0;
}

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

.site-footer a:hover {
  text-decoration: underline;
}

.site-footer__meta {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: #6b7078;
}
