/* =========================================================
   NEON FUTURA RECORDS — style.css (FULL FILE)
   Drop-in replacement
   Project hero headers keep per-project overlay control
   Home is minimal (no hero / no home overlay vars)
   ========================================================= */

/* ========== Base ========== */
* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
  font-family: Arial, Helvetica, sans-serif;
    background-color: #111;
  background-image:
    linear-gradient(
      rgba(17, 17, 17, 0.85),
      rgba(17, 17, 17, 0.85)
    ),
    url("images/fundo-hexagonos.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: #eee;

  max-width: 800px;
  margin: 0 auto;
  padding: 20px;

  line-height: 1.45;
}

a {
  color: #9cf;
  text-decoration: none;
}
a:hover { text-decoration: underline; }

.tagline {
  font-style: italic;
  color: #cfcfcf;
  margin: 0;
}

nav a { margin-right: 12px; }

footer {
  margin-top: 40px;
  font-size: 0.85em;
  color: #777;
}

/* Standard header (NOT hero headers) */
header:not(.project-header) {
  border-bottom: 0;
  margin-bottom: 0;
  padding-bottom: 0;
}

/* ========== Standard section divider (USED EVERYWHERE) ========== */
.section-divider {
  height: 1px;
  background: #2a2a2a;
  border: 0;
  margin: 26px 0;
}

/* ========== Buttons ========== */
.project-actions,
.link-buttons {
  margin: 12px 0 6px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.button {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid #3a3a3a;
  background: rgba(255, 255, 255, 0.04);
  color: #eee;
}

.button:hover {
  border-color: #9cf;
  text-decoration: none;
}

.button.ghost { opacity: 0.75; }

/* ========== Clean lists ========== */
.clean-list {
  list-style: none;
  padding-left: 0;
  margin: 10px 0 0 0;
}

.clean-list li { margin: 8px 0; }

/* ========== Projects list (cards) ========== */
.project-link {
  display: flex;
  align-items: center;
  gap: 16px;

  border: 1px solid #2a2a2a;
  border-radius: 12px;
  padding: 16px;
  margin: 14px 0;

  background: rgba(255,255,255,0.02);
  color: inherit;
  text-decoration: none;

  transition: transform 120ms ease,
              border-color 120ms ease,
              background 120ms ease;
}

.project-link:hover {
  border-color: #9cf;
  background: rgba(255,255,255,0.035);
  transform: translateY(-1px);
}

/* Avatar box stays identical for everyone */
.project-avatar {
  width: 84px;
  height: 84px;
  border-radius: 14px;
  border: 1px solid #2a2a2a;
  flex-shrink: 0;

  object-fit: cover;
  object-position: center;
  background: rgba(255,255,255,0.02);
}

/* Optional per-project crop tweak (only if you add this class in HTML) */
.project-avatar--oberon { object-position: 50% 55%; }

.project-meta h2 { margin: 0 0 6px 0; }
.project-meta p  { margin: 0; color: #cfcfcf; }

/* =========================================================
   PROJECT HERO HEADERS — Overlay control system (CSS variables)
   Only for project pages (Oberon, Exolab, Ashtray...)
   ========================================================= */

/* Default overlay values (baseline) */
:root{
  --project-ov-top: 0.42;
  --project-ov-bottom: 0.58;
}

/* Per-project overrides (edit any time) */
.project--oberon{
  --project-ov-top: 0.30;
  --project-ov-bottom: 0.45;
}

.project--exolab{
  --project-ov-top: 0.42;
  --project-ov-bottom: 0.58;
}

.project--ashtray{
  --project-ov-top: 0.30;
  --project-ov-bottom: 0.45;
}

/* Project header block */
.project-header {
  position: relative;

  margin: 26px -20px 26px -20px;
  padding: 40px 20px 22px 20px;

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  border-bottom: 1px solid #2a2a2a;
}

/* Overlay (uses project vars) */
.project-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,var(--project-ov-top)),
    rgba(0,0,0,var(--project-ov-bottom))
  );
}

.project-header-inner {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.home-link {
  display: inline-block;
  margin-bottom: 10px;
  color: #9cf;
}

.project-title {
  font-size: 2.2em;
  margin: 8px 0 6px 0;
}

.project-header .tagline {
  max-width: 600px;
  margin: 0 0 10px 0;
}

.project-nav { margin-top: 10px; }
.project-nav a { margin-right: 14px; }

/* =========================================================
   RELEASES CATALOG (table)
   ========================================================= */

.table-wrap{
  overflow-x: auto;
  margin-top: 12px;
  border: 1px solid #2a2a2a;
  border-radius: 12px;
  background: rgba(255,255,255,0.02);
}

.release-table{
  width: 100%;
  border-collapse: collapse;
  min-width: 720px; /* keeps columns readable */
}

.release-table th,
.release-table td{
  padding: 12px 12px;
  border-bottom: 1px solid #2a2a2a;
  text-align: left;
  vertical-align: top;
}

.release-table thead th{
  font-size: 0.95em;
  color: #cfcfcf;
  font-weight: 700;
  background: rgba(255,255,255,0.03);
}

.release-table tbody tr:hover{
  background: rgba(255,255,255,0.03);
}

.release-table td a{
  color: #9cf;
}

.release-table td a:hover{
  text-decoration: underline;
}

/* =========================================================
   HOME (Minimal header like Releases / Projects)
   ========================================================= */

.home-min{
  margin: 0;
  padding: 0;
}

/* Header row: text left, logo right */
.home-min-row{
  display: flex;
  justify-content: space-between;
  align-items: center; /* mantém alinhado verticalmente */
  gap: 22px;
}

/* Left column (title + tagline + nav) */
.home-min-left{
  flex: 1 1 auto;
  min-width: 0;
}

/* Logo wrapper card */
.home-logo-card{
  width: 160px;
  height: 160px;
  flex-shrink: 0;
  border-radius: 16px;
  border: 1px solid #2a2a2a;
  background: rgba(255,255,255,0.03);

  display: flex;
  align-items: center;
  justify-content: center;

  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}

/* Logo itself */
.home-logo{
  width: 78%;
  height: 78%;
  object-fit: contain;
  display: block;
  opacity: 0.95;
}

/* =========================================================
   Mobile
   ========================================================= */
@media (max-width: 520px){
  .home-min-row{
    flex-direction: column-reverse;
    align-items: flex-start;
  }

  .home-logo-card{
    width: 140px;
    height: 140px;
  }
}

/* =========================================================
   HEADER ROW (Projects / Releases) — text left, label card right
   ========================================================= */

.header-row{
  margin-top: 0;

  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 22px;
}

.header-left{
  flex: 1 1 auto;
  min-width: 0;
}

/* Reuse same visual language as home logo card */
.header-logo-card{
  width: 160px;
  height: 160px;
  flex-shrink: 0;
  border-radius: 16px;
  border: 1px solid #2a2a2a;
  background: rgba(255,255,255,0.03);

  display: flex;
  align-items: center;
  justify-content: center;

  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}

.header-logo{
  width: 78%;
  height: 78%;
  object-fit: contain;
  display: block;
  opacity: 0.95;
}

/* Mobile: stack neatly (same behavior as home) */
@media (max-width: 520px){
  .header-row{
    flex-direction: column-reverse;
    align-items: flex-start;
  }

  .header-logo-card{
    width: 140px;
    height: 140px;
  }
}

/* =========================================================
   DISCOGRAPHY GRID (Project pages)
   ========================================================= */

.discography-grid{
  margin-top: 16px;

  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 22px;
}

.discography-item{
  text-decoration: none;
  color: inherit;

  display: flex;
  flex-direction: column;
  align-items: center;
}

.discography-item img{
  width: 100%;
  aspect-ratio: 1 / 1;

  object-fit: cover;
  border-radius: 14px;
  border: 1px solid #2a2a2a;

  background: rgba(255,255,255,0.03);

  transition: transform 120ms ease,
              border-color 120ms ease,
              box-shadow 120ms ease;
}



.discography-meta{
  margin-top: 8px;
  text-align: center;
}

.discography-meta strong{
  display: block;
  font-weight: 700;
}

.discography-meta span{
  font-size: 0.85em;
  color: #aaa;
}

/* Figura decorativa na lateral esquerda */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: calc(50% - 620px);
  width: 300px;
  height: 100vh;

  background: url("images/figura-lateral.png")
              center / auto 100% no-repeat;

  opacity: 0.40;
  filter: grayscale(100%);
  pointer-events: none;
  transform: rotate(0.43deg);
  transform-origin: center;
}

/* Margens dos títulos dos cabeçalhos principais */
.home-min-left h1,
.header-left h1 {
  margin: 0 0 12px 0;
}

/* Reserva espaço para a barra de rolagem vertical */
html {
  scrollbar-gutter: stable;
}

/* Tipografia comum a todas as páginas */
body {
  font-size: 1rem;
}

h1,
.project-title {
  font-size: 2rem;
  font-weight: 700;
}

h2 {
  font-size: 1.5rem;
  font-weight: 700;
}

.release-table {
  font-family: inherit;
  font-size: 1rem;
}

.release-table thead th {
  font-size: 1rem;
}

/* Centraliza o logo no topo em telas de celular */
@media (max-width: 520px) {
  .home-logo-card,
  .header-logo-card {
    align-self: center;
  }
}

/* Catálogo em cartões nas telas pequenas */
@media (max-width: 640px) {
  .table-wrap {
    border: 0;
    background: none;
    overflow: visible;
  }

  .release-table {
    display: block;
    min-width: 0;
    width: 100%;
  }

  .release-table thead {
    display: none;
  }

  .release-table tbody {
    display: block;
  }

  .release-table tbody tr {
    display: block;
    margin-bottom: 16px;
    padding: 12px;
    border: 1px solid #2a2a2a;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
  }

  .release-table tbody td {
    display: grid;
    grid-template-columns: 85px minmax(0, 1fr);
    gap: 12px;
    padding: 6px 0;
    border: 0;
    overflow-wrap: anywhere;
  }

  .release-table tbody td::before {
    font-weight: 700;
    color: #aaa;
  }

  .release-table td:nth-child(1)::before {
    content: "Code";
  }

  .release-table td:nth-child(2)::before {
    content: "Title";
  }

  .release-table td:nth-child(3)::before {
    content: "Artist";
  }

  .release-table td:nth-child(4)::before {
    content: "Type";
  }

  .release-table td:nth-child(5)::before {
    content: "Year";
  }

  .release-table td:nth-child(6)::before {
    content: "Links";
  }
}

/* Logo maior e margem menor dentro da moldura */
.home-logo,
.header-logo {
  width: 85%;
  height: 85%;
  object-fit: contain;
}

/* Destaque apenas nas capas com link */
a.discography-item:hover img,
a.discography-item:focus-visible img {
  transform: translateY(-2px);
  border-color: #9cf;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

/* Páginas de discos de Ashtray Gene */

.ashtray-release .album-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 32px;
  margin: 24px 0 32px;
}

.ashtray-release .album-artwork {
  margin: 0;
  text-align: center;
}

.ashtray-release .album-artwork img {
  display: block;
  box-sizing: border-box;
  width: 100%;
  height: auto;
  border: 1px solid #2a2a2a;
  border-radius: 14px;
}

.ashtray-release .album-artwork figcaption {
  margin-top: 10px;
  color: #aaa;
}

.ashtray-release .album-tracklist {
  min-width: 0;
}

.ashtray-release .album-tracklist h3 {
  margin-top: 0;
}

.ashtray-release .album-tracklist ol {
  margin: 0;
  padding-left: 26px;
}

.ashtray-release .album-tracklist li {
  padding: 14px 0;
  border-bottom: 1px solid #2a2a2a;
}

.ashtray-release .album-track-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
}

.ashtray-release .album-track-row strong {
  min-width: 0;
  overflow-wrap: anywhere;
}

.ashtray-release .album-track-duration {
  color: #aaa;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.ashtray-release .album-total {
  margin-top: 18px;
  color: #aaa;
  font-size: 0.9em;
}

@media (max-width: 640px) {
  .ashtray-release .album-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .ashtray-release .album-artwork {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
  }
}

.link-buttons .platform-pending {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 12px 16px;
  border: 1px solid #333;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  color: #aaa;
  text-align: center;
  cursor: default;
}

.link-buttons .platform-pending small {
  font-size: 0.7em;
  color: #888;
}

/* Links das plataformas e avisos de disponibilidade */
.release-platforms {
  align-items: flex-start;
  gap: 14px 10px;
}

.release-platforms .platform-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.release-platforms .button {
  white-space: nowrap;
}

.release-platforms .button-unavailable,
.release-platforms .button-unavailable:hover {
  padding: 8px 12px;
  border: 1px solid #3a3a3a;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  color: #eee;
  text-decoration: none;
  cursor: default;
}

.release-platforms .platform-status {
  color: #aaa;
  font-size: 0.75rem;
  line-height: 1.3;
  text-align: center;
}

