:root {
  --bg: #0d0c0b;
  --paper: #d9d6d1;
  --red: #c81e1e;
  --red-bright: #e8302f;
  --line: #3a3735;
  --silver: #c0bfbf;
  --footer-text: #605c58;
  --font-blackletter: 'Manufacturing Consent', 'UnifrakturCook', serif;
  --font-display: 'Gotham', 'Helvetica-255', Helvetica, Arial, sans-serif;
  --font-body: 'Helvetica-255', Helvetica, Arial, sans-serif;
}

/*
  Fuentes de marca: Gotham, Helvetica-255 y Manufacturing Consent son fuentes con licencia,
  no CDNs públicos. En cuanto se compartan los archivos (.woff2 idealmente), agregar aquí:

  @font-face { font-family: 'Gotham'; src: url('fonts/Gotham-Bold.woff2') format('woff2'); font-weight: 700; }
  @font-face { font-family: 'Helvetica-255'; src: url('fonts/Helvetica255.woff2') format('woff2'); font-weight: 400; }
  @font-face { font-family: 'Manufacturing Consent'; src: url('fonts/ManufacturingConsent.woff2') format('woff2'); }

  Mientras tanto se usan fallbacks visualmente cercanos.
*/

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  color: var(--silver);
  font-family: var(--font-body);
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background: var(--bg) url('assets/bg-texture.jpg') center top / cover no-repeat;
}

a { color: var(--red); text-decoration: none; }
a:hover { color: var(--red-bright); }
::selection { background: var(--red); color: #fff; }

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

.page {
  min-height: 100vh;
  width: 100%;
  display: flex;
  justify-content: center;
}

.header {
  position: absolute;
  top: 32px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
}
.logo { width: 320px; height: auto; }

.container {
  position: relative;
  width: 100%;
  max-width: 820px;
  padding: 200px 20px 70px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 32px;
  width: 100%;
}
.title-icon { opacity: 0.9; }

.section-title h1 {
  margin: 0;
  flex: 1 1 auto;
  min-width: 0;
}
.section-title img {
  display: block;
  width: 100%;
  height: auto;
}

.releases {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.release-card {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 3 / 1;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #151312;
  isolation: isolate;
}
.release-card:hover,
.release-card:focus-visible,
.release-card.is-active {
  outline: none;
  box-shadow: 0 0 0 1px var(--red);
}

/* --- Cumbia Pedregal: crossfade real dark -> light --- */
.release-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.5s ease;
}
.img-dark { opacity: 1; z-index: 2; }
.img-light { opacity: 0; z-index: 1; }
.release-card:hover .img-dark,
.release-card:focus-visible .img-dark,
.release-card.is-active .img-dark { opacity: 0; }
.release-card:hover .img-light,
.release-card:focus-visible .img-light,
.release-card.is-active .img-light { opacity: 1; }

.footer {
  margin-top: 48px;
  display: flex;
  justify-content: center;
}
.footer-text {
  font-family: var(--font-body);
  font-size: 20px;
  letter-spacing: 3px;
  color: var(--footer-text);
  text-transform: uppercase;
}

.makori-footer {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  width: 100%;
  width: 120px;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: none;
  isolation: isolate;
}

@media (max-width: 640px) {
  .header { top: 24px; }
  .logo { width: 120px; }
  .container { padding: 150px 14px 50px; }
  .releases { gap: 12px; }
  .release-card { aspect-ratio: 3 / 1; }
  .makori-footer{ width: 80px;}
  body::before { background-image: url('assets/BG-celular.png'); }
}


@media (hover: none) {
  .release-card { cursor: pointer; }
}
