body {
    font-family: Arial, sans-serif;
    text-align: center;
    background-color: #f8f8f8;
    color: #333;
    margin: 0;
    padding: 20px;
    transition: background 0.5s ease-in-out, color 0.5s ease-in-out; /* KaranlÄ±k mod geÃ§iÅŸi */
}

.container {
    max-width: 400px;
    margin: auto;
    padding: 20px;
    border-radius: 10px;
    background: white;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    transition: background 0.5s ease-in-out, color 0.5s ease-in-out;
}

.logo {
    width: 100%;
    max-width: 250px;
    margin: 20px 0;
}

.radio-container {
    margin-bottom: 20px;
    position: relative;
}

/* Oynatma butonu efekti */
button {
    padding: 10px 20px;
    font-size: 18px;
    margin: 10px;
    cursor: pointer;
    transition: transform 0.2s ease-in-out;
}

button:active {
    transform: scale(1.1);
}

/* Equalizer animasyonu */
.equalizer {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 30px;
    margin: 10px auto;
    visibility: hidden;
}

.equalizer span {
    display: inline-block;
    width: 5px;
    height: 20px;
    margin: 0 2px;
    background: #ff9800;
    animation: eqAnim 1s infinite ease-in-out;
}

.equalizer span:nth-child(1) { animation-delay: -0.9s; }
.equalizer span:nth-child(2) { animation-delay: -0.8s; }
.equalizer span:nth-child(3) { animation-delay: -0.7s; }
.equalizer span:nth-child(4) { animation-delay: -0.6s; }
.equalizer span:nth-child(5) { animation-delay: -0.5s; }

@keyframes eqAnim {
    0%, 100% { height: 5px; }
    50% { height: 20px; }
}

/* Aktif radyo Ã§alarken animasyon gÃ¶ster */
.radio-container.active .equalizer {
    visibility: visible;
}

/* KaranlÄ±k Mod */
.dark-mode {
    background-color: #222;
    color: white;
}

.dark-mode .container {
    background: #333;
    color: white;
}


@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Radyo oynarken logo dÃ¶nsÃ¼n */
.radio-container.active .logo {
    animation: spin 3s linear infinite;
}
/* iOS cihazlarda ses seviyesi sürgüsünü tamamen gizle */
@supports (-webkit-touch-callout: none) {
    #volumeSlider, .volume-container {
        display: none !important;
    }
}