@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@400;500;600;700;800&display=swap');

:root {
    --bg: #08090d;
    --bg2: #10121a;
    --card: #151821;
    --card-hover: #1b1e29;
    --primary: #7c5cff;
    --primary-dark: #5b3fd4;
    --text: #ffffff;
    --muted: #8d91a1;
    --border: #252936;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Vazirmatn", sans-serif;
    background: var(--bg);
    color: var(--text);
    padding-bottom: 100px;
}

a {
    text-decoration: none;
    color: inherit;
}


/* =========================
   HEADER
========================= */

.header {
    height: 80px;
    padding: 0 6%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border);
    background: rgba(8, 9, 13, .9);
    backdrop-filter: blur(20px);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    font-size: 22px;
    font-weight: 800;
    color: white;
}

.logo i {
    color: var(--primary);
    margin-left: 8px;
}

nav {
    display: flex;
    gap: 30px;
}

nav a {
    color: var(--muted);
    transition: .3s;
    font-size: 14px;
}

nav a:hover {
    color: white;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.search {
    width: 230px;
    height: 42px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 10px;
    display: flex;
    align-items: center;
    padding: 0 13px;
}

.search i {
    color: var(--muted);
}

.search input {
    border: none;
    outline: none;
    background: transparent;
    color: white;
    width: 100%;
    padding-right: 10px;
    font-family: inherit;
}

.login {
    background: var(--primary);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 9px;
    cursor: pointer;
    font-family: inherit;
}


/* =========================
   HERO
========================= */

.hero {
    min-height: 510px;
    padding: 80px 8%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 20% 30%,
            rgba(124,92,255,.25),
            transparent 35%
        );
}

.hero-content {
    max-width: 650px;
}

.hero-label {
    color: #a894ff;
    font-size: 14px;
}

.hero h1 {
    font-size: clamp(42px, 6vw, 72px);
    line-height: 1.3;
    margin: 20px 0;
}

.hero h1 span {
    color: var(--primary);
}

.hero p {
    color: var(--muted);
    font-size: 17px;
    line-height: 2;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.primary-btn,
.secondary-btn {
    border: none;
    padding: 14px 24px;
    border-radius: 10px;
    font-family: inherit;
    cursor: pointer;
    font-size: 14px;
}

.primary-btn {
    background: var(--primary);
    color: white;
}

.secondary-btn {
    background: var(--card);
    color: white;
    border: 1px solid var(--border);
}

.hero-art {
    width: 330px;
    height: 330px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.vinyl {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background:
        repeating-radial-gradient(
            circle,
            #151515 0px,
            #151515 5px,
            #222 6px,
            #151515 8px
        );
    box-shadow: 0 0 80px rgba(124,92,255,.3);
    animation: rotate 10s linear infinite;
}

.vinyl-center {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--primary);
    border: 10px solid #111;
}

.music-note {
    position: absolute;
    color: var(--primary);
    font-size: 45px;
    animation: float 3s ease-in-out infinite;
}

.note-1 {
    top: 0;
    right: 10px;
}

.note-2 {
    bottom: 10px;
    left: 0;
    animation-delay: 1s;
}

.note-3 {
    top: 40px;
    left: 20px;
    animation-delay: 2s;
}

@keyframes rotate {
    to {
        transform: rotate(360deg);
    }
}

@keyframes float {
    50% {
        transform: translateY(-15px);
    }
}


/* =========================
   SECTIONS
========================= */

main {
    max-width: 1400px;
    margin: auto;
}

.section {
    padding: 55px 5%;
}

.section-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 25px;
}

.section-title span {
    color: var(--primary);
    font-size: 13px;
}

.section-title h2 {
    font-size: 27px;
    margin-top: 5px;
}

.section-title > a {
    color: var(--muted);
    font-size: 13px;
}


/* =========================
   MUSIC CARDS
========================= */

.music-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.music-card {
    position: relative;
    background: var(--card);
    padding: 15px;
    border-radius: 15px;
    transition: .3s;
}

.music-card:hover {
    transform: translateY(-5px);
    background: var(--card-hover);
}

.cover {
    position: relative;
}

.cover-image {
    height: 220px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 50px;
}

.cover-1 {
    background: linear-gradient(135deg, #5d3fd3, #18103e);
}

.cover-2 {
    background: linear-gradient(135deg, #ff5964, #541f27);
}

.cover-3 {
    background: linear-gradient(135deg, #009688, #062d2a);
}

.cover-4 {
    background: linear-gradient(135deg, #f39c12, #5c3100);
}

.play-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    background: white;
    color: #111;
    position: absolute;
    bottom: 12px;
    left: 12px;
    cursor: pointer;
    opacity: 0;
    transform: translateY(10px);
    transition: .3s;
}

.music-card:hover .play-btn {
    opacity: 1;
    transform: translateY(0);
}

.music-info {
    margin-top: 15px;
}

.music-info h3 {
    font-size: 15px;
}

.music-info p {
    color: var(--muted);
    font-size: 12px;
    margin-top: 5px;
}

.duration {
    position: absolute;
    bottom: 18px;
    left: 15px;
    color: var(--muted);
    font-size: 11px;
}


/* =========================
   POPULAR
========================= */

.popular-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.song-row {
    display: flex;
    align-items: center;
    gap: 18px;
    background: var(--card);
    padding: 12px 18px;
    border-radius: 12px;
    transition: .2s;
}

.song-row:hover {
    background: var(--card-hover);
}

.number {
    color: var(--muted);
    width: 30px;
}

.small-cover {
    width: 55px;
    height: 55px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.song-details {
    flex: 1;
}

.song-details h3 {
    font-size: 14px;
}

.song-details p {
    color: var(--muted);
    font-size: 12px;
    margin-top: 4px;
}

.song-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    color: var(--muted);
}

.song-actions button {
    background: none;
    border: none;
    color: var(--muted);
    cursor: pointer;
}

.song-actions button:hover {
    color: var(--primary);
}


/* =========================
   ARTISTS
========================= */

.artists {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.artist {
    text-align: center;
}

.artist-image {
    width: 130px;
    height: 130px;
    margin: auto;
    border-radius: 50%;
    background:
        linear-gradient(
            135deg,
            var(--primary),
            #222
        );
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 45px;
    font-weight: 800;
    border: 4px solid #171922;
    transition: .3s;
}

.artist:hover .artist-image {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(124,92,255,.35);
}

.artist h3 {
    margin-top: 12px;
    font-size: 14px;
}

.artist p {
    color: var(--muted);
    font-size: 11px;
    margin-top: 5px;
}


/* =========================
   PLAYER
========================= */

.player {
    position: fixed;
    bottom: 0;
    right: 0;
    left: 0;
    height: 90px;
    background: rgba(15,17,24,.95);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--border);
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 4%;
}

.player-info {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 250px;
}

.player-cover {
    width: 55px;
    height: 55px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.player-info h4 {
    font-size: 13px;
}

.player-info span {
    color: var(--muted);
    font-size: 11px;
}

.player-center {
    width: 45%;
}

.player-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
}

.player-buttons button {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
}

.main-play {
    width: 42px;
    height: 42px;
    background: white !important;
    color: #111 !important;
    border-radius: 50%;
}

.progress {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--muted);
    font-size: 10px;
    margin-top: 5px;
}

.progress-bar {
    height: 4px;
    background: #30333e;
    flex: 1;
    border-radius: 10px;
}

.progress-bar div {
    width: 35%;
    height: 100%;
    background: var(--primary);
    border-radius: inherit;
}

.player-volume {
    width: 200px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.player-volume i {
    color: var(--muted);
}

.player-volume input {
    width: 100%;
}


/* =========================
   FOOTER
========================= */

footer {
    margin-top: 40px;
    padding: 60px 5%;
    text-align: center;
    border-top: 1px solid var(--border);
}

.footer-logo {
    font-size: 22px;
    font-weight: 800;
}

.footer-logo i {
    color: var(--primary);
}

footer p {
    color: var(--muted);
    margin: 15px 0;
}

.socials {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.socials a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--card);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .3s;
}

.socials a:hover {
    background: var(--primary);
}

.copyright {
    margin-top: 30px;
    color: #555966;
    font-size: 12px;
}


/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1000px) {

    nav {
        display: none;
    }

    .music-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .artists {
        grid-template-columns: repeat(3, 1fr);
    }

    .hero-art {
        display: none;
    }

    .hero-content {
        max-width: 100%;
    }
}


@media (max-width: 650px) {

    .header {
        padding: 0 20px;
    }

    .search {
        display: none;
    }

    .hero {
        padding: 60px 25px;
    }

    .hero h1 {
        font-size: 40px;
    }

    .hero p {
        font-size: 14px;
    }

    .music-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .cover-image {
        height: 160px;
    }

    .artists {
        grid-template-columns: repeat(2, 1fr);
    }

    .player {
        height: 75px;
    }

    .player-info {
        width: auto;
    }

    .player-info div:last-child {
        display: none;
    }

    .player-center {
        width: 55%;
    }

    .player-volume {
        display: none;
    }

    .song-actions span {
        display: none;
    }

    .section {
        padding: 40px 20px;
    }
}
/* =========================
   REAL MUSIC PLAYER
========================= */

.player {
    position: fixed;
    bottom: 0;
    right: 0;
    left: 0;
    height: 90px;

    background: rgba(15, 17, 24, 0.96);
    backdrop-filter: blur(20px);

    border-top: 1px solid var(--border);

    z-index: 200;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 4%;
}


/* اطلاعات آهنگ */

.player-info {
    display: flex;
    align-items: center;
    gap: 12px;

    width: 250px;
}

.player-cover {
    width: 55px;
    height: 55px;

    border-radius: 8px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.player-info h4 {
    font-size: 13px;
}

.player-info span {
    display: block;

    color: var(--muted);

    font-size: 11px;

    margin-top: 4px;
}


/* قسمت وسط */

.player-center {
    width: 45%;
}


/* دکمه‌ها */

.player-buttons {
    display: flex;
    justify-content: center;
    align-items: center;

    gap: 25px;
}

.player-buttons button {
    background: none;
    border: none;

    color: white;

    cursor: pointer;

    font-size: 16px;

    transition: 0.2s;
}

.player-buttons button:hover {
    color: var(--primary);
}


/* دکمه اصلی */

.main-play {
    width: 44px;
    height: 44px;

    background: white !important;

    color: #111 !important;

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;
}

.main-play:hover {
    transform: scale(1.08);
}


/* Progress */

.progress {
    display: flex;
    align-items: center;

    gap: 10px;

    color: var(--muted);

    font-size: 10px;

    margin-top: 8px;
}


/* نوار پیشرفت */

#progressBar {
    flex: 1;

    height: 4px;

    appearance: none;

    cursor: pointer;

    background: #30333e;

    border-radius: 10px;
}


/* قسمت پر شده */

#progressBar::-webkit-slider-thumb {
    appearance: none;

    width: 12px;
    height: 12px;

    border-radius: 50%;

    background: var(--primary);

    cursor: pointer;
}

#progressBar::-moz-range-thumb {
    width: 12px;
    height: 12px;

    border-radius: 50%;

    background: var(--primary);

    cursor: pointer;
}


/* Volume */

.player-volume {
    width: 180px;

    display: flex;
    align-items: center;

    gap: 10px;
}

.player-volume i {
    color: var(--muted);
}


/* نوار صدا */

#volumeBar {
    width: 120px;

    height: 4px;

    cursor: pointer;
}


/* موبایل */

@media (max-width: 650px) {

    .player {
        height: 75px;

        padding: 0 15px;
    }

    .player-info {
        width: auto;
    }

    .player-info > div:last-child {
        display: none;
    }

    .player-center {
        width: 65%;
    }

    .player-volume {
        display: none;
    }

    .player-buttons {
        gap: 15px;
    }

    .main-play {
        width: 40px;
        height: 40px;
    }
}
.player-info {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 250px;
}

.player-cover-image {
    width: 55px;
    height: 55px;

    border-radius: 9px;

    object-fit: cover;

    display: block;

    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.player-song-info h4 {
    font-size: 13px;
    margin: 0;
}

.player-song-info span {
    display: block;
    color: var(--muted);
    font-size: 11px;
    margin-top: 4px;
}


/* موبایل */
@media (max-width: 650px) {

    .player-info {
        width: auto;
    }

    .player-song-info {
        display: none;
    }

    .player-cover-image {
        width: 48px;
        height: 48px;
    }
}
/* =========================
   DATE & TIME
========================= */

.date-time {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;

    min-width: 150px;
}

.live-time {
    display: flex;
    align-items: center;
    gap: 7px;

    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
}

.live-time i {
    color: var(--primary);
}

.current-date {
    color: var(--muted);
    font-size: 11px;
}


/* موبایل */

@media (max-width: 900px) {
    .date-time {
        min-width: auto;
    }

    .current-date {
        display: none;
    }

    .live-time {
        font-size: 13px;
    }
}

@media (max-width: 650px) {
    .date-time {
        display: none;
    }
}
/* =========================
   DOLLAR PRICE
========================= */

.currency-section {
    padding: 25px 5%;
    max-width: 1400px;
    margin: auto;
}

.currency-card {
    min-height: 95px;

    background: linear-gradient(
        135deg,
        #151821,
        #10121a
    );

    border: 1px solid var(--border);

    border-radius: 16px;

    display: flex;
    align-items: center;

    padding: 18px 25px;

    gap: 18px;

    box-shadow:
        0 10px 30px rgba(0, 0, 0, .2);
}

.currency-icon {
    width: 55px;
    height: 55px;

    border-radius: 50%;

    background: rgba(124, 92, 255, .15);

    color: var(--primary);

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 24px;
}

.currency-info {
    flex: 1;
}

.currency-label {
    display: block;

    color: var(--muted);

    font-size: 12px;

    margin-bottom: 6px;
}

.currency-price {
    font-size: 20px;
    font-weight: 800;
}

.currency-source {
    color: #6f7382;

    font-size: 11px;
}


/* موبایل */

@media (max-width: 650px) {

    .currency-section {
        padding: 20px;
    }

    .currency-card {
        padding: 15px;

        gap: 12px;
    }

    .currency-icon {
        width: 45px;
        height: 45px;

        font-size: 20px;
    }

    .currency-price {
        font-size: 16px;
    }
}
/* =========================
   CONTACT PAGE
========================= */

.contact-page {
    max-width: 1200px;
    margin: auto;
    padding: 70px 5% 100px;
}


/* Hero */

.contact-hero {
    text-align: center;
    margin-bottom: 55px;
}

.contact-hero .hero-label {
    display: inline-block;
    margin-bottom: 15px;
}

.contact-hero h1 {
    font-size: 42px;
    margin-bottom: 15px;
}

.contact-hero p {
    color: var(--muted);
    line-height: 2;
    max-width: 600px;
    margin: auto;
}


/* Content */

.contact-content {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 30px;
}


/* Contact information */

.contact-info,
.contact-form-wrapper {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 30px;
}


.contact-info-title {
    margin-bottom: 30px;
}


.contact-info-title span {
    font-size: 12px;
    color: var(--primary);
}


.contact-info-title h2 {
    font-size: 25px;
    margin-top: 5px;
}


/* Contact item */

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;

    padding: 17px 0;

    border-bottom: 1px solid var(--border);
}

.contact-item:last-child {
    border-bottom: none;
}


.contact-icon {
    width: 45px;
    height: 45px;

    flex-shrink: 0;

    border-radius: 10px;

    background: rgba(124, 92, 255, .12);

    color: var(--primary);

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 17px;
}


.contact-item h3 {
    font-size: 13px;
    margin-bottom: 4px;
}


.contact-item p {
    color: var(--muted);
    font-size: 12px;
}


/* Form */

.contact-form-wrapper h2 {
    font-size: 25px;
    margin-bottom: 8px;
}


.contact-form-wrapper > p {
    color: var(--muted);
    font-size: 12px;
    margin-bottom: 25px;
}


.contact-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}


.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}


.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}


.form-group label {
    font-size: 12px;
    color: #d9dbe4;
}


.form-group input,
.form-group textarea {
    width: 100%;

    background: #0e1016;

    border: 1px solid var(--border);

    border-radius: 10px;

    padding: 13px 14px;

    color: white;

    font-family: inherit;

    outline: none;

    transition: .25s;
}


.form-group input {
    height: 48px;
}


.form-group textarea {
    resize: vertical;
    min-height: 140px;
}


.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary);

    box-shadow:
        0 0 0 3px rgba(124, 92, 255, .08);
}


.contact-submit {
    height: 50px;

    border: none;

    border-radius: 10px;

    background: var(--primary);

    color: white;

    font-family: inherit;

    font-size: 14px;

    cursor: pointer;

    transition: .25s;
}


.contact-submit:hover {
    background: var(--primary-dark);

    transform: translateY(-2px);
}


/* Active menu */

nav a.active {
    color: white;
}


/* Responsive */

@media (max-width: 800px) {

    .contact-content {
        grid-template-columns: 1fr;
    }

    .contact-hero h1 {
        font-size: 34px;
    }

}


@media (max-width: 600px) {

    .contact-page {
        padding: 45px 20px 70px;
    }

    .contact-info,
    .contact-form-wrapper {
        padding: 22px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-hero h1 {
        font-size: 30px;
    }

}
