* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Segoe UI", sans-serif;
}

body {
    background: #050509;
    color: #f5f5f5;
}

a {
    color: #ff1744;
    text-decoration: none;
}

/* هدر شیشه‌ای */
header {
    background: rgba(10, 10, 15, 0.45);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 23, 68, 0.4);
    padding: 15px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 0 25px rgba(255, 23, 68, 0.15);
}

header .logo {
    font-size: 24px;
    font-weight: bold;
    color: #ff1744;
    letter-spacing: 2px;
}

header nav a {
    margin-left: 20px;
    font-size: 14px;
    text-transform: uppercase;
}

.username,
.container h2,
header nav span {
    color: #ff1744 !important;
}

/* نوار سرچ */
.search-box {
    flex: 1;
    display: flex;
    justify-content: center;
}

.search-form {
    display: flex;
    align-items: center;
    background: #0b0b10;
    border: 1px solid #ff1744;
    border-radius: 30px;
    padding: 6px 14px;
    box-shadow: 0 0 12px rgba(255, 23, 68, 0.25);
}

.search-form input {
    background: transparent;
    border: none;
    outline: none;
    color: #ff1744;
    padding: 8px;
    width: 260px;
    font-size: 14px;
}

.search-btn {
    background: #ff1744;
    border: none;
    padding: 8px 12px;
    border-radius: 50%;
    cursor: pointer;
    color: #050509;
    font-weight: bold;
    box-shadow: 0 0 10px rgba(255, 23, 68, 0.4);
}

/* کانتینر */
.container {
    max-width: 1100px;
    margin: 30px auto;
    padding: 0 15px;
}

/* کارت آهنگ */
.song-card {
    background: radial-gradient(circle at top, #151520, #050509);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    box-shadow: 0 0 25px rgba(255, 23, 68, 0.15);
    border: 1px solid rgba(255, 23, 68, 0.25);
}

/* کاور بزرگ‌تر */
.song-cover-wrapper {
    position: relative;
    width: 150px;
    height: 150px;
    margin-right: 25px;
}

/* دیسک — فقط هنگام پخش بچرخد */
.vinyl-disc {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: radial-gradient(circle, #333 0, #111 40%, #000 70%);
    box-shadow: 0 0 15px rgba(255, 23, 68, 0.4);
    position: absolute;
    top: 0;
    left: 0;
    transition: 0.3s ease;
}

.vinyl-disc.playing {
    animation: spin 12s linear infinite;
}

.vinyl-disc::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    background: #ff1744;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

/* کاور آهنگ */
.song-cover {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 85px;
    height: 85px;
    border-radius: 50%;
    overflow: hidden;
    transform: translate(-50%, -50%);
    border: 3px solid #050509;
    box-shadow: 0 0 12px rgba(255, 23, 68, 0.4);
}

.song-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* چرخش */
@keyframes spin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

/* اطلاعات آهنگ */
.song-info {
    flex: 1;
}

.song-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
}

.song-artist {
    font-size: 14px;
    color: #bbbbbb;
    margin-bottom: 10px;
}

.song-genre {
    display: inline-block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 3px 8px;
    border-radius: 999px;
    border: 1px solid #ff1744;
    color: #ff1744;
    margin-bottom: 10px;
}

/* نوار پخش + موج‌دار */
.song-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.song-actions audio {
    width: 330px;
    margin-bottom: 8px;
    filter: drop-shadow(0 0 12px rgba(255, 23, 68, 0.45));
    accent-color: #ff1744;
}

/* موج‌دار */
.audio-visualizer {
    width: 330px;
    height: 22px;
    display: flex;
    align-items: center;
    gap: 4px;
}
.audio-visualizer span {
    width: 4px;
    height: 100%;
    background: #ff1744;
    border-radius: 4px;
    animation: pulse 0.6s infinite ease-in-out alternate;
}

.audio-visualizer span:nth-child(odd) {
    animation-delay: 0.2s;
}

@keyframes pulse {
    from { transform: scaleY(0.3); opacity: 0.6; }
    to   { transform: scaleY(1); opacity: 1; }
}

/* دکمه لایک */
.like-btn {
    padding: 6px 14px;
    border-radius: 999px;
    border: 1px solid #ff1744;
    background: transparent;
    color: #ff1744;
    cursor: pointer;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.2s;
}

.like-btn.liked,
.like-btn:hover {
    background: #ff1744;
    color: #050509;
}

/* فرم آپلود */
.form-box {
    max-width: 450px;
    margin: 60px auto;
    background: #0b0b10;
    padding: 25px 30px;
    border-radius: 14px;
    border: 1px solid #ff1744;
    box-shadow: 0 0 25px rgba(255, 23, 68, 0.2);
}

.form-box h2 {
    margin-bottom: 20px;
    text-align: center;
    color: #ff1744;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    font-size: 13px;
    display: block;
    margin-bottom: 5px;
}

.form-group input {
    width: 100%;
    padding: 8px 10px;
    border-radius: 8px;
    border: 1px solid #333;
    background: #050509;
    color: #f5f5f5;
}

.btn-primary {
    width: 100%;
    padding: 9px 0;
    border-radius: 999px;
    border: none;
    background: #ff1744;
    color: #050509;
    font-weight: 600;
    cursor: pointer;
    margin-top: 10px;
}