body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #000;
    color: #fff;
    display: flex;
}

/* SIDEBAR MAIS FINA */
.sidebar {
    width: 120px;              /* antes era 240px */
    background: #111;
    height: 100vh;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: fixed;
}

/* LOGO */
.logo {
    font-size: 22px;           /* menor para caber melhor */
    font-weight: bold;
    color: #1db954;
}
.logo span {
    color: #fff;
}

/* MENU */
.nav {
    margin-top: 30px;
}
.nav a {
    display: block;
    color: #ddd;
    text-decoration: none;
    margin: 12px 0;
    font-size: 16px;
}
.nav a:hover {
    color: #1db954;
}

/* ÁREA DE ANÚNCIOS NA SIDEBAR */
.ad-sidebar {
    margin-top: 20px;
}
.ad-sidebar p {
    font-size: 13px;
    color: #aaa;
    margin-bottom: 5px;
}
.ad-box {
    width: 100%;
    height: 250px;
    background: #222;
    border: 1px solid #1db95455;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1db954;
    font-size: 14px;
    
}

img-box{
  max-width: 100%; /* Garante que a imagem não ultrapasse a div */
  height: auto; /* Mantém a proporção */
  display: block; /* Para usar margin auto */
  margin: auto; /* Centraliza a imagem */
}

/* MAIN CONTENT */
.main-content {
    flex: 1;
    margin-left: 180px; /* ajustado */
}

/* ANÚNCIO SUPERIOR */
.ad-top {
    width: 100%;
    padding: 15px;
    display: flex;
    justify-content: center;
}
.ad-top-box {
    width: 728px;
    height: 90px;
    background: #222;
    border: 1px solid #1db95455;
    border-radius: 10px;
    color: #1db954;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* HEADER */
.top-bar {
    padding: 20px;
    background: #000;
    border-bottom: 1px solid #1db95455;
}
.search-bar {
    width: 280px;
    padding: 10px;
    border-radius: 20px;
    border: none;
    background: #222;
    color: white;
}

/* HERO */
.hero {
    height: 250px;
    background: url("https://upload.wikimedia.org/wikipedia/pt/b/b4/Tim_Maia_1976.jpg");
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: flex-end;
}
.hero::after {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
}
.hero-info {
    position: relative;
    padding: 25px;
}
.hero-info h1 {
    font-size: 32px;
}
.hero-info p {
    color: #ccc;
}

/* CARDS — ESTILO SPOTIFY */
.cards-section {
    padding: 25px;
}
.cards-section h2 {
    margin-bottom: 20px;
}

.cards-grid {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}

.card {
    width: 160px;
    background: #181818;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    transition: 0.2s;
}
.card:hover {
    background: #222;
    transform: scale(1.05);
}
.img-circle {
    width: 120px;
    height: 120px;
    background: #1db954;
    border-radius: 50%;
    margin: auto;
}
.card p {
    color: #999;
    font-size: 14px;
}

/* RODAPÉ SIDEBAR */
.footer-side {
    font-size: 14px;
    color: #aaa;
}