@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;600;700&family=Open+Sans:wght@400;600&display=swap');

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

:root {
  --gold:      #C9920A;
  --gold-light:#F0B429;
  --gold-dark: #8a6200;
  --black:     #0a0a0a;
  --dark:      #111111;
  --dark2:     #1a1a1a;
  --dark3:     #222222;
  --white:     #f5f5f5;
  --gray:      #888888;
  --red:       #c0392b;
  --green:     #27ae60;
  --accent-color: var(--gold); /* Nova variável para cor de destaque */
  --accent-color-hover: var(--gold-light); /* Nova variável para hover */
}

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--white);
  font-family: 'Open Sans', sans-serif;
  min-height: 100vh;
}

/* ════════════════════════════════
   SCROLLBAR
════════════════════════════════ */
::-webkit-scrollbar        { width: 6px; height: 6px; }
::-webkit-scrollbar-track  { background: var(--dark); }
::-webkit-scrollbar-thumb  { background: var(--gold); border-radius: 3px; }

/* ════════════════════════════════
   HEADER
════════════════════════════════ */
header {
  background: linear-gradient(180deg, #0d0d0d 0%, #111111 100%);
  border-bottom: 2px solid var(--gold);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(201,146,10,0.15);
}

.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 24px;
  gap: 20px;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  cursor: pointer;
}

.header-logo-img {
  height: 52px;
  width: auto;
  display: block;
  filter: drop-shadow(0 0 8px rgba(201,146,10,0.3));
  transition: filter .3s;
}

.header-logo-img:hover {
  filter: drop-shadow(0 0 14px rgba(240,180,41,0.55));
}

/* Fallback disco animado */
.logo-disc {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, #333 30%, #111 60%, #222 80%);
  border: 3px solid var(--gold);
  position: relative;
  flex-shrink: 0;
  animation: spin 8s linear infinite;
}

.logo-disc::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 10px; height: 10px;
  background: var(--gold);
  border-radius: 50%;
}

@keyframes spin { to { transform: rotate(360deg); } }

.logo-text { line-height: 1; }
.logo-text .brand {
  font-family: 'Oswald', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold-light);
  letter-spacing: 1px;
}
.logo-text .sub {
  font-size: 0.6rem;
  color: var(--gray);
  letter-spacing: 3px;
  text-transform: uppercase;
}

/* ── NAV ── */
nav {
  display: flex;
  gap: 6px;
  align-items: center;
  flex-wrap: wrap;
}

nav a {
  color: var(--white);
  text-decoration: none;
  font-family: 'Oswald', sans-serif;
  font-size: 0.88rem;
  letter-spacing: 1px;
  padding: 7px 16px;
  border-radius: 4px;
  transition: all .2s;
  text-transform: uppercase;
}

nav a:hover            { color: var(--gold-light); }
nav a.active           { background: var(--gold); color: var(--black); font-weight: 700; }

.nav-sale              { background: var(--red) !important; color: #fff !important; }
.nav-sale:hover        { background: #e74c3c !important; }

.nav-artists           { border: 1px solid var(--gold); color: var(--gold-light) !important; }
.nav-artists:hover,
.nav-artists.active    { background: var(--gold) !important; color: var(--black) !important; }

.nav-videos            { border: 1px solid var(--red); color: #e74c3c !important; }
.nav-videos:hover,
.nav-videos.active     { background: var(--red) !important; color: #fff !important; }

/* Novo estilo para o botão de login/logout */
.nav-login {
  background: #333;
  color: var(--gold-light);
  border: 1px solid var(--gold);
  padding: 7px 16px;
  border-radius: 4px;
  text-decoration: none;
  font-family: 'Oswald', sans-serif;
  font-size: 0.88rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: all .2s;
}
.nav-login:hover {
  background: var(--gold);
  color: var(--black);
}

/* ════════════════════════════════
   HERO
════════════════════════════════ */
.hero {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(201,146,10,0.12) 0%, transparent 60%),
    linear-gradient(180deg, #0f0e0a 0%, #0a0a0a 100%);
  border-bottom: 1px solid #2a2200;
  padding: 10px 10px 10px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Linhas decorativas de fundo */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 120px,
      rgba(201,146,10,0.03) 120px,
      rgba(201,146,10,0.03) 121px
    );
  pointer-events: none;
}

.hero-logo-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* Novo estilo para o título branco no hero */
.hero-title {
  font-family: 'Oswald', sans-serif;
  font-size: 3.5rem; /* Ajuste conforme necessário */
  font-weight: 700;
  color: var(--white);
  letter-spacing: 2px;
  text-transform: uppercase;
  filter: drop-shadow(0 0 15px rgba(255,255,255,0.3));
  animation: heroPulseText 4s ease-in-out infinite;
}

@keyframes heroPulseText {
  0%, 100% { filter: drop-shadow(0 0 10px rgba(255,255,255,0.2)); }
  50%       { filter: drop-shadow(0 0 25px rgba(255,255,255,0.6)); }
}

.hero-logo-img {
  height: 320px;
  width: auto;
  max-width: 88vw;
  filter: drop-shadow(0 0 32px rgba(201,146,10,0.40));
  animation: heroPulse 4s ease-in-out infinite;
  transition: transform .3s;
}

.hero-logo-img:hover { transform: scale(1.02); }

@keyframes heroPulse {
  0%, 100% { filter: drop-shadow(0 0 24px rgba(201,146,10,0.30)); }
  50%       { filter: drop-shadow(0 0 52px rgba(240,180,41,0.65)); }
}

/* ════════════════════════════════
   FILTERS BAR
════════════════════════════════ */
.filters-bar {
  background: #0f0f0f;
  border-bottom: 1px solid #2a2200;
  border-top: 1px solid #1a1400;
  padding: 14px 24px;
  position: sticky;
  top: 70px;
  z-index: 900;
}

.filters-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  gap: 10px;
  flex-wrap: wrap; /* Já está aqui, mas é importante */
  align-items: center;
}

.filters-inner form { /* Adicione esta nova regra */
  display: flex;
  flex-wrap: wrap;
  gap: 10px; /* Mantém o espaçamento entre os itens do formulário */
  flex: 1; /* Permite que o formulário ocupe o espaço disponível */
}

.filters-inner input[type="search"] {
  flex: 1 1 250px; /* Permite que o campo de busca cresça, mas com largura mínima de 250px */
  min-width: 200px; /* Garante que não fique muito pequeno */
}

.filters-inner select {
  flex: 1 1 180px; /* Permite que os selects cresçam, mas com largura mínima de 180px */
  min-width: 150px; /* Garante que não fiquem muito pequenos */
}

.filters-inner .filter-btn {
  flex-shrink: 0; /* Impede que os botões encolham */
}

.filter-btn {
  background: transparent;
  border: 1px solid #2a2200;
  color: var(--gray);
  padding: 8px 16px;
  border-radius: 5px;
  cursor: pointer;
  font-family: 'Oswald', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: all .2s;
}

.filter-btn:hover,
.filter-btn.active            { border-color: var(--gold); color: var(--gold-light); background: rgba(201,146,10,0.06); }
.filter-btn.sale-filter.active{ border-color: var(--red); color: #e74c3c; background: rgba(192,57,43,0.08); }

.results-count {
  margin-left: auto;
  font-size: 0.78rem;
  color: var(--gray);
  white-space: nowrap;
  font-family: 'Oswald', sans-serif;
  letter-spacing: 1px;
}

/* ════════════════════════════════
   LAYOUT
════════════════════════════════ */
.page-section       { display: none; }
.page-section.active{ display: block; }

.main {
  max-width: 1400px;
  margin: 0 auto;
  padding: 36px 24px 72px;
}

.section-title {
  font-family: 'Oswald', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gold-light);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, var(--gold), transparent);
}

/* ════════════════════════════════
   GALLERY GRID
════════════════════════════════ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 18px;
}

/* ════════════════════════════════
   VINYL CARD
════════════════════════════════ */
.vinyl-card {
  background: #141414;
  border: 1px solid #242200;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  transition: transform .25s, border-color .25s, box-shadow .25s;
  position: relative;
}

.vinyl-card:hover {
  transform: translateY(-7px);
  border-color: var(--gold);
  box-shadow: 0 14px 44px rgba(201,146,10,0.22);
}

.card-cover {
  aspect-ratio: 1;
  overflow: hidden;
  position: relative;
}

.card-cover img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .45s;
}

.vinyl-card:hover .card-cover img { transform: scale(1.06); }

.card-photo-count {
  position: absolute;
  bottom: 8px; right: 8px;
  background: rgba(0,0,0,.80);
  border: 1px solid var(--gold);
  color: var(--gold-light);
  font-size: 0.68rem;
  padding: 2px 8px;
  border-radius: 20px;
  font-family: 'Oswald', sans-serif;
  letter-spacing: 1px;
}

.card-badges {
  position: absolute;
  top: 8px; left: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.badge {
  font-size: 0.62rem;
  font-family: 'Oswald', sans-serif;
  letter-spacing: 1px;
  padding: 3px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  font-weight: 700;
}

.badge-sale  { background: var(--red);  color: #fff; }
.badge-trade { background: #1a5c38;     color: #fff; }
.badge-rare  { background: var(--gold); color: var(--black); }

.card-info { padding: 13px; }

.card-artist {
  font-size: 0.7rem;
  color: var(--gold-light);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 3px;
  font-family: 'Oswald', sans-serif;
}

.card-album {
  font-family: 'Oswald', sans-serif;
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 8px;
}

.card-condition {
  display: flex;
  align-items: center;
  gap: 3px;
  margin-bottom: 8px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #444;
  border: 1px solid #333;
}
.dot.filled { background: var(--gold-light); border-color: var(--gold); }
.dot.half   {
  background: linear-gradient(to right, var(--gold-light) 50%, #444 50%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.card-meta {
  display: flex;
  align-items: center; /* Alinha verticalmente os itens */
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--gray);
}

.card-year {
  font-family: 'Oswald', sans-serif;
  letter-spacing: 0.5px;
  display: flex; /* Para agrupar o ano com os ícones */
  align-items: center;
  gap: 5px; /* Espaçamento entre o ano e os ícones */
}

.card-genre {
  font-family: 'Oswald', sans-serif;
  letter-spacing: 0.5px;
  margin-left: auto; /* Empurra o gênero para a direita */
}

/* NOVO: Estilo para o ícone de comentários na card */
.card-comments-icon {
  color: var(--gold-light); /* Cor do ícone */
  font-size: 0.85rem; /* Tamanho do ícone */
  margin-left: 5px; /* Espaçamento à esquerda do ícone */
  display: flex;
  align-items: center;
  gap: 3px;
}

/* NOVO: Estilo para o ícone do YouTube na card */
.card-youtube-icon {
  color: var(--red); /* Cor do YouTube */
  font-size: 0.85rem; /* Tamanho do ícone */
  margin-left: 5px; /* Espaçamento à esquerda do ícone */
  display: flex;
  align-items: center;
  gap: 3px;
}

/* ════════════════════════════════
   EMPTY STATE
════════════════════════════════ */
.empty-state {
  text-align: center;
  padding: 50px 20px;
  color: var(--gray);
}
.empty-state .disc-icon {
  font-size: 4rem;
  margin-bottom: 20px;
  color: #444;
}
.empty-state p {
  font-size: 1.1rem;
  line-height: 1.5;
}

/* ════════════════════════════════
   MODAL
════════════════════════════════ */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.90);
  z-index: 9999;
  overflow-y: auto;
  padding: 20px;
}
.modal-overlay.open {
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.modal {
  background: #141414;
  border: 1px solid var(--gold);
  border-radius: 12px;
  width: 100%;
  max-width: 960px;
  margin: auto;
  overflow: hidden;
  position: relative;
  animation: modalIn .3s ease;
}

@keyframes modalIn {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.modal-close {
  position: absolute;
  top: 14px; right: 14px;
  background: rgba(0,0,0,.7);
  border: 1px solid #444;
  color: var(--white);
  width: 36px; height: 36px;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: border-color .2s;
}
.modal-close:hover { border-color: var(--gold); color: var(--gold-light); }

.modal-body {
  display: flex;
  flex-direction: column;
  padding: 28px;
}

.modal-gallery {
  position: relative; /* Para posicionar os botões de navegação */
  width: 100%;
  margin-bottom: 20px;
  flex-shrink: 0;
}

.gallery-main-img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #2a2200;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}

.gallery-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 15px;
  overflow-x: auto;
  padding-bottom: 5px; /* Para scrollbar */
}

.gallery-thumbs img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 5px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: border-color .2s, transform .2s;
}
.gallery-thumbs img:hover { transform: scale(1.05); }
.gallery-thumbs img.active { border-color: var(--gold); }

.modal-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.modal-header {
  border-bottom: 1px solid #1e1a00;
  padding-bottom: 15px;
  margin-bottom: 20px;
}

.modal-artist {
  font-family: 'Oswald', sans-serif;
  font-size: 0.9rem;
  color: var(--gold-light);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 5px;
}

.modal-album {
  font-family: 'Oswald', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
}

.modal-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.modal-tags .tag {
  font-size: 0.7rem;
  padding: 4px 10px;
  border-radius: 20px;
  background: #222;
  color: var(--gray);
  font-family: 'Oswald', sans-serif;
  letter-spacing: 0.5px;
}

.modal-details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px 20px;
  margin-bottom: 20px;
}

.detail-item {
  display: flex;
  flex-direction: column;
}

.detail-label {
  font-size: 0.75rem;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 3px;
  font-family: 'Oswald', sans-serif;
}

.detail-value {
  font-size: 0.9rem;
  color: var(--white);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 5px;
}

.detail-value .condition-display {
  display: flex;
  gap: 2px;
}

.detail-value .condition-display .star {
  font-size: 0.9rem;
  color: #444;
}
.detail-value .condition-display .star.on { color: var(--gold-light); }
.detail-value .condition-display .star.half {
  background: linear-gradient(to right, var(--gold-light) 50%, #444 50%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.sale-box {
  background: var(--red);
  color: #fff;
  padding: 10px 15px;
  border-radius: 8px;
  text-align: center;
  margin-bottom: 20px;
  display: none; /* Escondido por padrão */
}

.sale-box .sale-text {
  font-family: 'Oswald', sans-serif;
  font-size: 1.1rem;
  letter-spacing: 1px;
  margin-bottom: 5px;
}

.sale-box .sale-price {
  font-family: 'Oswald', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
}

.tracklist-area {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #1e1a00;
}

.tracklist-title {
  font-family: 'Oswald', sans-serif;
  font-size: 0.9rem;
  color: var(--gold-light);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 10px;
}

.tracklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.track {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--white);
  padding: 5px 0;
  border-bottom: 1px dotted #2a2200;
}
.track:last-child { border-bottom: none; }

.track-num {
  color: var(--gray);
  width: 25px;
  flex-shrink: 0;
}
.track-side {
  color: var(--gray);
  width: 25px;
  flex-shrink: 0;
}
.track-name { flex-grow: 1; }
.track-duration {
  color: var(--gray);
  width: 45px;
  text-align: right;
  flex-shrink: 0;
}

.track-side-header {
  font-family: 'Oswald', sans-serif;
  font-size: 0.8rem;
  color: var(--gold-light);
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 10px 0 5px;
  border-bottom: 1px solid var(--gold-dark);
  margin-top: 12px;
}
.track-side-header:first-child { margin-top: 0; }

.modal-notes {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #1e1a00;
}

.modal-notes-text {
  font-size: 0.88rem;
  color: #aaa;
  line-height: 1.6;
}

/* ════════════════════════════════
   ARTISTS GRID (Antigo)
════════════════════════════════ */
.artists-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 18px;
}

.artist-card {
  background: #141414;
  border: 1px solid #242200;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  transition: transform .25s, border-color .25s, box-shadow .25s;
  position: relative;
}

.artist-card:hover {
  transform: translateY(-7px);
  border-color: var(--gold);
  box-shadow: 0 14px 44px rgba(201,146,10,0.22);
}

.artist-card-photo {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-bottom: 1px solid #2a2200;
}
.artist-card-photo-placeholder {
  width: 100%;
  aspect-ratio: 1;
  background: linear-gradient(135deg, #141400, #2a2200);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
}

.artist-card-info { padding: 14px; }
.artist-card-name {
  font-family: 'Oswald', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
}
.artist-card-meta {
  font-size: 0.73rem;
  color: var(--gray);
  margin-bottom: 10px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.artist-card-genres { display: flex; gap: 6px; flex-wrap: wrap; }
.artist-genre-tag {
  font-size: 0.63rem;
  padding: 2px 8px;
  border: 1px solid var(--gold-dark);
  color: var(--gold-light);
  font-family: 'Oswald', sans-serif;
  letter-spacing: 1px;
  background: rgba(201,146,10,0.07);
}
.artist-vinyl-count {
  margin-top: 10px;
  font-size: 0.73rem;
  color: var(--gray);
  border-top: 1px solid #1e1a00;
  padding-top: 10px;
}

/* ════════════════════════════════
   ARTIST MODAL (Antigo)
════════════════════════════════ */
.artist-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.90);
  z-index: 9999;
  overflow-y: auto;
  padding: 20px;
}
.artist-modal-overlay.open {
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.artist-modal {
  background: #141414;
  border: 1px solid var(--gold);
  border-radius: 12px;
  width: 100%;
  max-width: 860px;
  margin: auto;
  overflow: hidden;
  position: relative;
  animation: modalIn .3s ease;
}

.artist-modal-close {
  position: absolute;
  top: 14px; right: 14px;
  background: rgba(0,0,0,.7);
  border: 1px solid #444;
  color: var(--white);
  width: 36px; height: 36px;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: border-color .2s;
}
.artist-modal-close:hover { border-color: var(--gold); color: var(--gold-light); }

.artist-modal-hero {
  background: linear-gradient(135deg, #0d0c00, #1a1500, #0a0a0a);
  border-bottom: 1px solid #2a2200;
  display: flex;
  align-items: flex-end;
  gap: 26px;
  padding: 36px 28px 24px;
}

.artist-modal-photo {
  width: 120px; height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--gold);
  flex-shrink: 0;
  box-shadow: 0 0 24px rgba(201,146,10,0.3);
}
.artist-modal-photo-placeholder {
  width: 120px; height: 120px;
  border-radius: 50%;
  background: #1e1a00;
  border: 3px solid var(--gold);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
}

.artist-modal-headline { flex: 1; }
.artist-modal-name {
  font-family: 'Oswald', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 10px;
}
.artist-modal-tags { display: flex; gap: 7px; flex-wrap: wrap; margin-bottom: 10px; }
.artist-modal-facts {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.78rem;
  color: var(--gray);
}
.artist-modal-facts span { display: flex; align-items: center; gap: 4px; }

.artist-modal-body { padding: 28px; }

.artist-modal-section-title {
  font-family: 'Oswald', sans-serif;
  font-size: 0.82rem;
  color: var(--gold-light);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
  margin-top: 28px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.artist-modal-section-title:first-child { margin-top: 0; }
.artist-modal-section-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, var(--gold), transparent);
}

.artist-bio-text {
  font-size: 0.88rem;
  color: #aaa;
  line-height: 1.85;
}

.artist-modal-albums {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(135px, 1fr));
  gap: 12px;
}

.artist-album-mini {
  background: #0f0f0f;
  border: 1px solid #1e1a00;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  transition: border-color .2s, transform .2s;
}
.artist-album-mini:hover { border-color: var(--gold); transform: translateY(-3px); }
.artist-album-mini img   { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; }

.artist-album-mini-info  { padding: 8px; }
.artist-album-mini-title {
  font-family: 'Oswald', sans-serif;
  font-size: 0.78rem;
  color: var(--white);
  margin-bottom: 2px;
  line-height: 1.2;
}
.artist-album-mini-year { font-size: 0.66rem; color: var(--gray); }

/* ════════════════════════════════
   FOOTER
════════════════════════════════ */
footer {
  background: #0d0d0d;
  border-top: 2px solid var(--gold);
  padding: 20px 24px 15px; /* Ajustado padding */
  text-align: center;
}
.footer-inner { max-width: 1400px; margin: 0 auto; }

.footer-brand {
  font-family: 'Oswald', sans-serif;
  font-size: 1.3rem;
  color: var(--gold-light);
  margin-bottom: 4px; /* Ajustado margin */
  letter-spacing: 2px;
}
.footer-sub {
  font-size: 0.7rem;
  color: var(--gray);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 15px; /* Ajustado margin */
}
.footer-social {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 15px; /* Ajustado margin */
}
.footer-social a {
  color: var(--gray);
  text-decoration: none;
  font-size: 0.82rem;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color .2s;
  font-family: 'Oswald', sans-serif;
  letter-spacing: 1px;
}
.footer-social a:hover { color: var(--gold-light); }
.footer-copy { font-size: 0.72rem; color: #444; }

/* Novo estilo para o botão de contato no footer */
.contact-btn-footer {
  background: #333;
  color: var(--gold-light);
  border: 1px solid var(--gold);
  padding: 5px 12px;
  border-radius: 4px;
  text-decoration: none;
  font-family: 'Oswald', sans-serif;
  font-size: 0.82rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: all .2s;
}
.contact-btn-footer:hover {
  background: var(--gold);
  color: var(--black);
}

/* ════════════════════════════════
   RESPONSIVE
════════════════════════════════ */
@media (max-width: 900px) {
  .modal-details { grid-template-columns: repeat(2, 1fr); }
  .hero-title    { font-size: 2.8rem; } /* Ajuste para telas menores */
}

@media (min-width: 700px) {
  .modal-body        { flex-direction: row; gap: 28px; } /* Aumenta o gap aqui */
  .modal-gallery     { width: 44%; flex-shrink: 0; }
  .gallery-main-img  { aspect-ratio: 1; }
  .modal-content     { flex: 1; overflow-y: auto; max-height: 88vh; padding-right: 15px; } /* Adiciona padding-right */
}

@media (max-width: 768px) {
  .header-inner      { flex-wrap: wrap; padding: 8px 14px; }
  .header-logo-img   { height: 38px; }
  nav a              { font-size: 0.78rem; padding: 5px 10px; }

  .hero              { padding: 32px 16px 38px; }
  .hero-title        { font-size: 2.2rem; } /* Ajuste para telas menores */

  .filters-bar       { top: 60px; }
  .filters-inner     { gap: 8px; }

  .gallery-grid      { grid-template-columns: repeat(auto-fill, minmax(155px, 1fr)); gap: 12px; }
  .artists-grid      { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }

  .artist-modal-hero {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 24px 16px 16px;
  }
  .artist-modal-facts,
  .artist-modal-tags { justify-content: center; }
  .artist-modal-body { padding: 16px; }
  .artist-modal-albums { grid-template-columns: repeat(auto-fill, minmax(105px, 1fr)); }
}

@media (max-width: 420px) {

  .hero-logo-img     { height: 130px; }

  .hero-title        { font-size: 1.8rem; } /* Ajuste para telas menores */

  .stat-num          { font-size: 1.6rem; }
  .gallery-grid      { grid-template-columns: repeat(2, 1fr); }
}

/* ════════════════════════════════
   NOVOS ESTILOS PARA AVALIAÇÃO DE ESTRELAS
════════════════════════════════ */
.star-rating-display {
  color: var(--gold-light); /* Cor das estrelas preenchidas */
  font-size: 1.1rem;
  display: inline-flex;
  gap: 2px;
}
.star-rating-display .fas.fa-star-half-alt {
  color: var(--gold-light);
}
.star-rating-display .far.fa-star {
  color: #444; /* Cor das estrelas vazias */
}
.rating-count {
  font-size: 0.75rem;
  color: var(--gray);
  margin-left: 5px;
}

.user-rating-section {
  margin-top: 25px;
  padding-top: 20px;
  border-top: 1px solid #1e1a00; /* Linha sutil para separar */
}
.user-rating-section h4 {
  font-family: 'Oswald', sans-serif;
  font-size: 0.9rem;
  color: var(--gold-light);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 10px;
}
.user-rating-section .login-to-rate {
  font-size: 0.85rem;
  color: var(--gray);
}
.user-rating-section .login-to-rate a {
  color: var(--gold-light);
  text-decoration: underline;
}
.user-rating-section .login-to-rate a:hover {
  color: var(--gold);
}

.star-rating-input {
  display: inline-flex;
  gap: 3px;
  cursor: pointer;
}
.star-rating-input i {
  font-size: 1.5rem;
  color: #444; /* Estrela vazia */
  transition: color 0.2s;
}
.star-rating-input i.fas {
  color: var(--gold-light); /* Estrela preenchida */
}
.star-rating-input i:hover {
  color: var(--gold); /* Cor ao passar o mouse */
}

.rating-message {
  font-size: 0.8rem;
  margin-top: 10px;
}

/* ════════════════════════════════
   NOVOS ESTILOS PARA COMENTÁRIOS
════════════════════════════════ */
.comments-section {
  margin-top: 25px;
  padding-top: 20px;
  border-top: 1px solid #1e1a00;
}

.comments-section .tracklist-title { /* Reutiliza o estilo do título de faixas */
  margin-bottom: 15px;
}

.login-to-comment {
  font-size: 0.85rem;
  color: var(--gray);
  text-align: center;
  padding: 20px 0;
}
.login-to-comment a {
  color: var(--gold-light);
  text-decoration: underline;
}
.login-to-comment a:hover {
  color: var(--gold);
}

.comment-form {
  margin-bottom: 25px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.comment-form textarea {
  width: 100%;
  min-height: 80px;
  padding: 10px;
  border-radius: 5px;
  border: 1px solid #2a2200;
  background: #151515;
  color: var(--white);
  font-family: 'Open Sans', sans-serif;
  font-size: 0.9rem;
  resize: vertical;
  outline: none;
  transition: border-color 0.2s;
}
.comment-form textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 2px rgba(201,146,10,0.1);
}

.comment-form .contact-btn {
  align-self: flex-end; /* Alinha o botão à direita */
  padding: 8px 18px;
  font-size: 0.8rem;
}

.comment-message {
  font-size: 0.8rem;
  margin-top: 5px;
  text-align: right;
}

.comments-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.comment-item {
  background: #0f0f0f;
  border: 1px solid #1e1a00;
  border-radius: 8px;
  padding: 15px;
}

.comment-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  flex-wrap: wrap;
  gap: 5px;
}

.comment-author {
  font-family: 'Oswald', sans-serif;
  font-size: 0.95rem;
  color: var(--gold-light);
  font-weight: 600;
}

.comment-date {
  font-size: 0.75rem;
  color: var(--gray);
}

.comment-text {
  font-size: 0.88rem;
  color: var(--white);
  line-height: 1.5;
}

.comment-status {
  font-size: 0.65rem;
  padding: 2px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  font-weight: 700;
  margin-left: auto; /* Empurra para a direita */
}
.comment-status.pending {
  background: rgba(240,180,41,0.15);
  color: var(--gold-light);
  border: 1px solid var(--gold-dark);
}
.comment-status.approved {
  background: rgba(39,174,96,0.15);
  color: var(--green);
  border: 1px solid #1a5c38;
}
.comment-status.rejected {
  background: rgba(192,57,43,0.15);
  color: var(--red);
  border: 1px solid #c0392b;
}

.no-comments {
  font-size: 0.85rem;
  color: var(--gray);
  text-align: center;
  padding: 20px 0;
}

/* ════════════════════════════════
   RESPONSIVE PARA COMENTÁRIOS
════════════════════════════════ */
@media (max-width: 480px) {
  .comment-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .comment-status {
    margin-left: 0; /* Remove o empurrão para a direita em telas pequenas */
    align-self: flex-end; /* Alinha o status à direita */
  }
}
/* ════════════════════════════════
   NOVOS ESTILOS PARA NAVEGAÇÃO DE IMAGENS NO MODAL
════════════════════════════════ */
.gallery-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.6);
  color: var(--white);
  border: none;
  padding: 10px 15px;
  cursor: pointer;
  font-size: 1.5rem;
  border-radius: 5px;
  transition: background-color 0.2s, color 0.2s;
  display: flex; /* Para centralizar o ícone */
  align-items: center;
  justify-content: center;
  z-index: 5; /* Acima da imagem, abaixo do botão de fechar */
}

.gallery-nav-btn:hover {
  background: rgba(0, 0, 0, 0.8);
  color: var(--gold-light);
}

.gallery-nav-btn.prev {
  left: 10px;
}

.gallery-nav-btn.next {
  right: 10px;
}

/* Ajuste para telas menores */
@media (max-width: 768px) {
  .gallery-nav-btn {
    padding: 8px 12px;
    font-size: 1.2rem;
  }
  .gallery-nav-btn.prev {
    left: 5px;
  }
  .gallery-nav-btn.next {
    right: 5px;
  }
}

/* ════════════════════════════════
   NOVOS ESTILOS PARA VÍDEO DO YOUTUBE NO MODAL
════════════════════════════════ */
.youtube-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px 20px;
  margin-top: 15px; /* Espaçamento abaixo das miniaturas */
  background: #c0392b; /* Cor do YouTube */
  color: var(--white);
  border: none;
  border-radius: 8px;
  font-family: 'Oswald', sans-serif;
  font-size: 1rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.2s;
}

.youtube-button:hover {
  background: #e74c3c;
  transform: translateY(-2px);
}

.youtube-button i {
  font-size: 1.2rem;
}


.youtube-buttons-row {
  display: flex;
  gap: 10px;
  margin-top: 15px;
  flex-wrap: wrap;
}
.youtube-buttons-row .youtube-button {
  margin-top: 0;
  flex: 1;
  min-width: 200px;
}
.youtube-button-comentario {
  background: #4285F4;
}
.youtube-button-comentario:hover {
  background: #5a95f5;
}

.youtube-video-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* Proporção 16:9 para vídeos responsivos */
  height: 0;
  overflow: hidden;
  margin-top: 15px; /* Espaçamento acima do botão */
  border-radius: 8px;
  background: var(--black); /* Fundo para quando o vídeo não estiver carregado */
  display: none; /* Escondido por padrão */
}

.youtube-video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 8px;
}

/* NOVO: Botão para voltar para a galeria de fotos */
.back-to-gallery-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px 20px;
    margin-top: 15px;
    background: var(--dark3);
    color: var(--white);
    border: 1px solid var(--gray);
    border-radius: 8px;
    font-family: 'Oswald', sans-serif;
    font-size: 1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}

.back-to-gallery-button:hover {
    background: var(--dark2);
    border-color: var(--gold-light);
    color: var(--gold-light);
}

.back-to-gallery-button i {
    font-size: 1.2rem;
}

/* ════════════════════════════════
   NOVOS ESTILOS PARA ARTISTAS (Página artistas.php)
════════════════════════════════ */
.artist-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.artist-card {
    background-color: var(--dark3); /* Usando dark3 para um tom um pouco mais claro que o fundo */
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-bottom: 15px;
}

.artist-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}

.artist-photo-wrap {
    width: 100%;
    height: 200px; /* Altura fixa para as fotos */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--dark2); /* Fundo para a área da foto */
}

.artist-photo-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Garante que a imagem cubra a área sem distorcer */
    transition: transform 0.3s ease;
}

.artist-card:hover .artist-photo-wrap img {
    transform: scale(1.05);
}

.artist-info {
    padding: 15px;
    width: 100%;
    box-sizing: border-box;
}

.artist-name {
    font-size: 1.4em;
    color: var(--white);
    margin-bottom: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
}

.artist-country {
    font-size: 0.9em;
    color: var(--gray);
    margin-bottom: 10px;
}

.artist-bio {
    font-size: 0.85em;
    color: var(--gray);
    line-height: 1.4;
    height: 3.8em; /* Limita a altura para 3 linhas de texto */
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3; /* Limita a 3 linhas */
    -webkit-box-orient: vertical;
}

.view-artist-btn {
    background-color: var(--accent-color);
    color: var(--black);
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9em;
    font-weight: bold;
    transition: background-color 0.2s ease;
    font-family: 'Oswald', sans-serif;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.view-artist-btn:hover {
    background-color: var(--accent-color-hover);
}

/* Estilos para o modal de artista */
#modalArtistaOverlay .modal {
    max-width: 700px;
    width: 90%;
    background-color: var(--dark2);
    color: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
}

#modalArtistaOverlay .modal-body {
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.modal-artist-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.modal-artist-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--accent-color);
    flex-shrink: 0;
    box-shadow: 0 0 15px rgba(var(--gold-rgb), 0.3); /* Adiciona sombra sutil */
}

.modal-artist-details {
    flex-grow: 1;
}

.modal-artist-name {
    font-size: 2em;
    margin-bottom: 5px;
    color: var(--accent-color);
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
}

.modal-artist-country {
    font-size: 1.1em;
    color: var(--gray);
}

.modal-artist-bio-section .tracklist-title { /* Reutilizando estilo de título */
    margin-top: 0;
    margin-bottom: 10px;
    color: var(--white);
    font-size: 1.2em;
}

#modalArtistaBiografia {
    font-size: 1em;
    line-height: 1.6;
    color: var(--gray);
    text-align: justify;
}

/* Placeholder para foto de artista */
.artist-photo-wrap img[src*="placeholder-artist.png"],
.modal-artist-photo[src*="placeholder-artist.png"] {
    object-fit: contain; /* Para placeholders, é melhor 'contain' */
    padding: 20px; /* Adiciona um padding para o ícone */
    background-color: var(--dark3);
}

/* Estilo para o ícone de "Nenhum artista encontrado" */
.empty-state .disc-icon {
    font-size: 4em;
    color: #444;
    margin-bottom: 15px;
}

/* Responsividade para a página de artistas */
@media (max-width: 768px) {
    .artist-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 15px;
        padding: 15px;
    }
    .artist-card {
        padding-bottom: 10px;
    }
    .artist-photo-wrap {
        height: 160px;
    }
    .artist-name {
        font-size: 1.2em;
    }
    .artist-country {
        font-size: 0.8em;
    }
    .artist-bio {
        font-size: 0.8em;
        height: 3.5em; /* Ajusta altura para telas menores */
    }
    .view-artist-btn {
        padding: 6px 12px;
        font-size: 0.8em;
    }

    /* Modal de artista em telas menores */
    #modalArtistaOverlay .modal {
        width: 95%;
    }
    #modalArtistaOverlay .modal-body {
        padding: 20px;
        gap: 15px;
    }
    .modal-artist-header {
        flex-direction: column;
        text-align: center;
        gap: 15px;
        margin-bottom: 15px;
    }
    .modal-artist-photo {
        width: 120px;
        height: 120px;
    }
    .modal-artist-name {
        font-size: 1.6em;
    }
    .modal-artist-country {
        font-size: 0.9em;
    }
    .modal-artist-bio-section .tracklist-title {
        font-size: 1em;
    }
    #modalArtistaBiografia {
        font-size: 0.9em;
    }
}

@media (max-width: 480px) {
    .artist-grid {
        grid-template-columns: 1fr; /* Uma coluna em telas muito pequenas */
        padding: 10px;
    }
    .artist-photo-wrap {
        height: 180px; /* Pode aumentar um pouco para melhor visualização */
    }
}

.loading-more {
  text-align: center;
  padding: 24px;
  color: var(--gray);
  font-family: 'Oswald', sans-serif;
  letter-spacing: 1px;
  font-size: 0.85rem;
}