@font-face {
    font-family: 'Vazir';
    src: url('/Vazir.woff2');
}
@font-face {
    font-family: 'Dubai';
    src: url('/Dubai.woff');
}
* {
    box-sizing: border-box;
    margin: 0;
}
body {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    padding: 16px;
    font-family: 'Dubai', 'Vazir', Arial, sans-serif;
    background-color: #0d372e;
    color: #fff;
    direction: rtl;
    text-align: right;
    -webkit-user-select: none;  /* Chrome, Safari, Edge */
    -moz-user-select: none;     /* Firefox */
    -ms-user-select: none;      /* IE/Edge */
    user-select: none;          /* Standard */
}
.radio-card {
    background: #0d372e;
    border: 2px solid #ffba25;
    border-radius: 32px;
    padding: 28px 24px 24px;
    max-width: 500px;
    width: 100%;
    margin: 10px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(2px);
}

.player-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
}

.logo-img {
    width: 250px;
    height: 250px;
    margin-bottom: 10px;
}

h1 {
    font-size: clamp(32px, 10vw, 48px);
    margin: 8px 0 28px 0;
    color: #ffba25;
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 2px 2px 0 #ab0004, 3px 3px 8px rgba(0,0,0,0.4);
}
.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-top: 30px;
    font-size: 18px;
    color: #fff;
    width: 100%;
}

.footer-content a {
    font-family: 'Vazir', 'Dubai', Arial, sans-serif;
    color: #ffba25;
    text-decoration: none;
    font-weight: 800;
}

.footer-content a:hover {
    color: #fff;
}

.stats-box {
    font-size: 14px;
    padding: 8px 8px;
    border-radius: 20px;
    border: 1px solid #ffba25;
    color: #fff;
    line-height: 1.5;
    margin: 3px 0;
    opacity: 0.8;
    width: 80%;
    max-width: 400px;
}
.flbox-link {
    text-decoration: none;
    display: block;
    width: 80%;
    max-width: 400px;
    margin: 3px 0;
}

.flbox {
    background: #ffba25;
    padding: 8px 8px;
    border-radius: 20px;
    border: 1px solid #ab0004;
    font-size: 20px;
    font-weight: bold;
    color: #ab0004;
    transition: background-color 0.3s, color 0.3s;
    max-width: 400px;
}

.flbox-link:hover .flbox,
.flbox:hover {
    background: #ab0004;
    color: #ffba25;
}
.flbox a {
    color: #ab0004;
    text-decoration: none;
    font-weight: 800;
}

.flbox a:hover {
    color: #fff;
}

.stats-footer {
    margin-top: 30px;
    color: #ffba25;
    font-weight: bold;
    font-size: 22px;
    text-shadow: 2px 2px 0 #ab0004, 3px 3px 8px rgba(0,0,0,0.4);
}

@media (max-width: 480px) {
    body {
        padding: 8px;
    }
    .radio-card {
        padding: 20px 14px 18px;
        border-radius: 28px;
    }
    select {
        max-width: 100%;
        font-size: 18px;
        padding: 8px 8px;
    }
    .footer-content {
        font-size: 16px;
    }
    .slider-rtl-container {
        gap: 10px;
    }
    .volume-percentage {
        font-size: 16px;
        min-width: 40px;
    }
}

a, select {
    transition: background-color 0.15s, border-color 0.15s;
}