/* ============================================================
   marketplace.css — PLAY MY v8.5.0
   Grid de cards, playlists, artistas, tickets, recomendações.
   ============================================================ */
/* ============ GRID ============ */
.spotify-grid { display: grid; gap: 20px; margin-bottom: 32px; grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* ============ CARDS DE MÚSICA ============ */
.spotify-card { background: transparent; border-radius: var(--radius-lg); padding: 12px; cursor: pointer; position: relative; transition: all 0.3s; }
.spotify-card:hover { background: rgba(255, 255, 255, 0.05); transform: translateY(-2px); }
.spotify-card:hover .play-overlay { opacity: 1; }
.spotify-cover { position: relative; width: 100%; aspect-ratio: 1/1; border-radius: var(--radius-md); overflow: hidden; margin-bottom: 12px; box-shadow: var(--shadow-md); background: linear-gradient(135deg, var(--apple-gray-6), var(--apple-gray-5)); }
.spotify-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.spotify-card:hover .spotify-cover img { transform: scale(1.04); }
.play-overlay { position: absolute; bottom: 10px; right: 10px; background: var(--apple-green); width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 22px; opacity: 0; transition: all 0.3s; border: none; cursor: pointer; }
.spotify-title { font-size: 15px; font-weight: 600; color: var(--apple-label); margin: 0 0 4px 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.spotify-artist { font-size: 13px; color: var(--apple-label-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-bottom: 6px; }
.spotify-stats { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; }
.spotify-elo { font-size: 11px; padding: 3px 10px; border-radius: var(--radius-pill); background: rgba(52, 199, 89, 0.15); color: var(--apple-green); font-weight: 600; }
.spotify-price { font-size: 14px; font-weight: 700; color: var(--apple-label); }
.btn-invest { width: 100%; margin-top: 10px; padding: 8px; background: transparent; border: 0.5px solid var(--apple-separator); border-radius: var(--radius-pill); color: var(--apple-label); font-size: 12px; font-weight: 600; cursor: pointer; }
.btn-invest:hover { background: var(--apple-green); border-color: var(--apple-green); color: #fff; }

/* ============ CARDS EXTERNOS ============ */
.spotify-card.external-card { border: 0.5px dashed rgba(255, 149, 0, 0.4); }
.external-badge { position: absolute; top: 10px; right: 10px; background: var(--apple-orange); color: #fff; padding: 4px 10px; border-radius: var(--radius-pill); font-size: 10px; font-weight: 700; z-index: 20; }
.global-badge { position: absolute; top: 10px; left: 10px; background: linear-gradient(135deg, var(--apple-blue), #0062cc); color: #fff; padding: 4px 10px; border-radius: var(--radius-pill); font-size: 10px; font-weight: 700; z-index: 20; }

/* ============ RECOMENDADO ============ */
.recommended-card { display: flex; align-items: center; gap: 16px; background: var(--apple-bg-card); border: 0.5px solid var(--apple-separator); border-radius: var(--radius-lg); padding: 16px; cursor: pointer; }
.recommended-cover { width: 72px; height: 72px; border-radius: var(--radius-md); object-fit: cover; flex-shrink: 0; }
.recommended-info { flex: 1; min-width: 0; }
.recommended-info h4 { color: var(--apple-label); font-size: 18px; font-weight: 700; margin: 0 0 4px 0; }
.recommended-info p { color: var(--apple-label-2); font-size: 14px; margin: 0; }
.recommended-card .btn-play { background: var(--apple-green); border: none; width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 22px; cursor: pointer; }

/* ============ HEADER DE SEÇÃO ============ */
.section-header-spotify { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.section-header-spotify h2 { color: var(--apple-label); font-size: 24px; font-weight: 700; margin: 0; }

/* ============ PLAYLISTS ============ */
.playlist-item { display: flex; align-items: center; gap: 16px; padding: 14px 16px; border-bottom: 0.5px solid var(--apple-separator); cursor: pointer; border-radius: var(--radius-md); }
.playlist-item:hover { background: rgba(255,255,255,0.04); }
.playlist-cover { width: 60px; height: 60px; border-radius: var(--radius-md); object-fit: cover; background: linear-gradient(135deg, var(--apple-green), var(--apple-blue)); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 28px; flex-shrink: 0; }

/* ============ ARTISTAS ============ */
.artist-card { background: var(--apple-bg-card); border: 0.5px solid var(--apple-separator); border-radius: var(--radius-lg); padding: 20px; text-align: center; cursor: pointer; transition: all 0.3s; }
.artist-card:hover { transform: translateY(-4px); border-color: var(--apple-green); }
.artist-avatar { width: 90px; height: 90px; border-radius: 50%; margin: 0 auto 12px; object-fit: cover; border: 2px solid var(--apple-green); background: var(--apple-gray-5); display: block; }
.artist-name { color: var(--apple-label); font-weight: 700; font-size: 16px; margin-bottom: 4px; }
.artist-followers { color: var(--apple-label-2); font-size: 12px; margin-bottom: 12px; }

/* ============ TICKETS ============ */
.ticket-card { background: linear-gradient(135deg, rgba(175, 82, 222, 0.15), rgba(0, 122, 255, 0.15)); border: 1px solid rgba(175, 82, 222, 0.4); border-radius: var(--radius-lg); padding: 20px; margin-bottom: 16px; }
.ticket-title { font-size: 18px; font-weight: 700; color: var(--apple-label); }
.ticket-price { display: inline-flex; align-items: center; gap: 6px; background: linear-gradient(135deg, var(--selo-coin), var(--selo-coin-dark)); color: #000; padding: 6px 14px; border-radius: var(--radius-pill); font-weight: 700; font-size: 14px; }
.btn-redeem { background: var(--apple-green); border: none; border-radius: var(--radius-pill); color: #fff; font-weight: 600; padding: 8px 16px; font-size: 13px; cursor: pointer; }

/* ============ TRADES ============ */
.trade-offer-card { background: var(--apple-bg-card); border: 0.5px solid var(--apple-separator); border-radius: var(--radius-lg); padding: 16px; margin-bottom: 16px; }
.trade-offer-card.pending { border-left: 3px solid var(--apple-yellow); }
.trade-offer-card.accepted { border-left: 3px solid var(--apple-green); }
.trade-offer-card.declined { border-left: 3px solid var(--apple-red); }

/* ============ NOTÍCIAS ============ */
.news-card { background: var(--apple-bg-card); border: 0.5px solid var(--apple-separator); border-radius: var(--radius-lg); margin-bottom: 20px; overflow: hidden; }
.news-header { display: flex; align-items: center; gap: 12px; padding: 14px 16px; }
.news-avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; border: 2px solid var(--apple-yellow); }
.news-author-info { flex: 1; min-width: 0; }
.news-author { color: var(--apple-label); font-weight: 600; font-size: 14px; }
.news-time { color: var(--apple-label-3); font-size: 12px; }
.news-category { font-size: 10px; padding: 3px 10px; border-radius: var(--radius-pill); font-weight: 700; text-transform: uppercase; }
.news-cat-musica { background: rgba(52,199,89,0.2); color: var(--apple-green); }
.news-cat-shows { background: rgba(255,149,0,0.2); color: var(--apple-orange); }
.news-cat-negocios { background: rgba(90,200,250,0.2); color: var(--apple-teal); }
.news-cat-artistas { background: rgba(175,82,222,0.2); color: var(--apple-purple); }
.news-body { padding: 16px; }
.news-title { color: var(--apple-label); font-weight: 700; font-size: 17px; margin-bottom: 8px; line-height: 1.3; }
.news-text { color: var(--apple-label-2); font-size: 14px; line-height: 1.5; margin-bottom: 12px; }
.news-actions { display: flex; gap: 20px; padding: 12px 16px; border-top: 0.5px solid var(--apple-separator); }
.news-action-btn { background: none; border: none; color: var(--apple-label-2); font-size: 14px; cursor: pointer; display: flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: var(--radius-md); text-decoration: none; }
.news-action-btn:hover { background: rgba(255,255,255,0.06); color: var(--apple-label); }
.news-action-btn.liked { color: var(--apple-red); }
