body {
font-family: 'Arial', sans-serif;
background-image: url('image.png');
background-size: cover;
background-position: center;
background-attachment: fixed;
color: #fff;
/* justify-content: center; ve align-items: center; komutlarını kaldırıyoruz */
display: flex;
justify-content: flex-end; /* İçeriği sağa yasla */
align-items: flex-start; /* İçeriği yukarı yasla */
height: 100vh;
margin: 0;
padding: 20px; /* Kenarlardan boşluk bırak */
background-blend-mode: multiply;
background-color: rgba(0, 0, 0, 0.4);
}

.player-container {
background-color: rgba(0, 0, 0, 0.7);
padding: 30px;
border-radius: 15px;
box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
text-align: center;
max-width: 400px;
width: 90%;
border: 1px solid rgba(255, 255, 255, 0.3);
box-sizing: border-box;
/* Pozisyon ayarı */
align-self: flex-end; /* Kutunun kendisini sağa yasla */
margin-right: 5%; /* Sağ taraftan boşluk */
}

h1 {
font-size: 2em;
margin-bottom: 20px;
color: #FFD700;
text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

.song-info {
min-height: 20px;
margin-bottom: 20px;
}

#now-playing {
font-size: 1.1em;
font-style: italic;
color: #e0e0e0;
text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
animation: fadeIn 1s ease-in-out;
}

@keyframes fadeIn {
from { opacity: 0; }
to { opacity: 1; }
}

.controls {
display: flex;
flex-direction: column;
align-items: center;
gap: 20px;
margin-top: 20px;
}

#play-pause-btn {
background-color: #DAA520;
color: white;
border: none;
padding: 12px 25px;
border-radius: 8px;
cursor: pointer;
font-size: 1.1em;
transition: background-color 0.3s ease;
width: 100%;
}

#play-pause-btn:hover {
background-color: #B8860B;
}

#volume-slider {
width: 100%;
cursor: pointer;
-webkit-appearance: none;
appearance: none;
height: 8px;
background: #555;
outline: none;
opacity: 0.7;
transition: opacity .2s;
}

#volume-slider:hover {
opacity: 1;
}

#volume-slider::-webkit-slider-thumb {
-webkit-appearance: none;
appearance: none;
width: 20px;
height: 20px;
border-radius: 50%;
background: #FFD700;
cursor: pointer;
}

#volume-slider::-moz-range-thumb {
width: 20px;
height: 20px;
border-radius: 50%;
background: #FFD700;
cursor: pointer;
}

/* Küçük ekranlar için medya sorgusu */
@media (max-width: 500px) {
h1 {
font-size: 1.5em;
}
.player-container {
padding: 20px;
margin-right: 2.5%; /* Sağdan boşluğu biraz düşür */
align-self: flex-start; /* Mobil'de de yukarı yasla */
}
}