
/* =========================
   Variables
========================= */

:root {

    --bg: #090909;
    --bg-soft: #111111;
    --bg-card: #151515;

    --text: #ffffff;
    --text-soft: #a3a3a3;

    --accent: #e99a3d;
    --accent-dark: #bd7223;

    --border: rgba(255, 255, 255, 0.08);

    --container: 1180px;

}


/* =========================
   Reset
========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {

    font-family: "Vazirmatn", sans-serif;

    background: var(--bg);

    color: var(--text);

    line-height: 1.8;

}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
}

img {
    max-width: 100%;
    display: block;
}


/* =========================
   Container
========================= */

.container {

    width: min(
        calc(100% - 40px),
        var(--container)
    );

    margin-inline: auto;

}


/* =========================
   Header
========================= */

.header {

    position: fixed;

    top: 0;
    right: 0;
    left: 0;

    z-index: 1000;

    background: rgba(9, 9, 9, 0.75);

    backdrop-filter: blur(15px);

    border-bottom: 1px solid var(--border);

}

.header-inner {

    height: 78px;

    display: flex;

    align-items: center;

    justify-content: space-between;

}

.logo {

    font-size: 27px;

    font-weight: 800;

    letter-spacing: -1px;

}


.nav {

    display: flex;

    gap: 34px;

}

.nav a {

    color: #bdbdbd;

    font-size: 14px;

    transition: 0.3s;

}

.nav a:hover {
    color: var(--accent);
}


.menu-toggle {

    display: none;

    border: 0;

    background: transparent;

    color: white;

    font-size: 22px;

    cursor: pointer;

}


/* =========================
   Mobile Menu
========================= */

.mobile-menu {

    display: none;

    position: fixed;

    top: 78px;

    right: 20px;
    left: 20px;

    z-index: 999;

    padding: 15px;

    background: #151515;

    border: 1px solid var(--border);

    border-radius: 16px;

}

.mobile-menu.active {
    display: block;
}

.mobile-menu a {

    display: block;

    padding: 12px;

    color: #ddd;

}


/* =========================
   Hero
========================= */

.hero {

    min-height: 100vh;

    position: relative;

    display: flex;

    align-items: center;

    overflow: hidden;

    background:

        linear-gradient(
            90deg,
            rgba(9,9,9,0.96) 0%,
            rgba(9,9,9,0.78) 45%,
            rgba(9,9,9,0.35) 100%
        ),

        url("../images/artist.jpg")
        center/cover no-repeat;

}


.hero::after {

    content: "";

    position: absolute;

    inset: auto 0 0;

    height: 180px;

    background:
        linear-gradient(
            to bottom,
            transparent,
            var(--bg)
        );

}


.hero-content {

    position: relative;

    z-index: 2;

    max-width: 650px;

}

.hero-label {

    color: var(--accent);

    font-size: 14px;

    margin-bottom: 10px;

    display: block;

}

.hero h1 {

    font-size: clamp(70px, 10vw, 145px);

    line-height: 1;

    font-weight: 800;

    letter-spacing: -6px;

    margin-bottom: 25px;

}

.hero p {

    font-size: 20px;

    color: #ccc;

    margin-bottom: 35px;

}


.hero-buttons {

    display: flex;

    gap: 12px;

    flex-wrap: wrap;

}


/* =========================
   Buttons
========================= */

.btn {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 9px;

    min-height: 48px;

    padding: 0 23px;

    border-radius: 10px;

    font-size: 14px;

    font-weight: 600;

    transition: 0.3s;

}

.btn-primary {

    background: var(--accent);

    color: #111;

}

.btn-primary:hover {

    background: #f0ad5b;

    transform: translateY(-2px);

}


.btn-outline {

    border: 1px solid rgba(255,255,255,.25);

    color: white;

}

.btn-outline:hover {

    border-color: var(--accent);

    color: var(--accent);

}


/* =========================
   Scroll
========================= */

.scroll-down {

    position: absolute;

    bottom: 35px;

    left: 50%;

    transform: translateX(-50%);

    z-index: 2;

    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 3px;

    color: #888;

    font-size: 11px;

}


/* =========================
   Sections
========================= */

.section {

    padding: 110px 0;

}

.section-heading {

    margin-bottom: 45px;

}

.section-heading span,
.section-label {

    color: var(--accent);

    font-size: 13px;

    display: block;

    margin-bottom: 7px;

}

.section-heading h2 {

    font-size: 38px;

    line-height: 1.3;

}


/* =========================
   Featured Song
========================= */

.featured-song {

    display: grid;

    grid-template-columns: 430px 1fr;

    gap: 65px;

    align-items: center;

}

.featured-cover {

    position: relative;

    aspect-ratio: 1;

    border-radius: 20px;

    overflow: hidden;

}

.featured-cover img {

    width: 100%;
    height: 100%;

    object-fit: cover;

}

.cover-play {

    position: absolute;

    inset: 0;

    display: flex;

    align-items: center;

    justify-content: center;

    background: rgba(0,0,0,.15);

}

.play-button {

    width: 70px;
    height: 70px;

    border-radius: 50%;

    border: 0;

    background: var(--accent);

    color: #111;

    font-size: 20px;

    cursor: pointer;

}


.song-category {

    color: var(--accent);

    font-size: 13px;

}

.featured-info h3 {

    font-size: 38px;

    margin: 8px 0 15px;

}

.featured-info > p {

    color: var(--text-soft);

    max-width: 600px;

    margin-bottom: 30px;

}


/* =========================
   Player
========================= */

.player {

    display: flex;

    align-items: center;

    gap: 15px;

    padding: 17px;

    background: var(--bg-card);

    border: 1px solid var(--border);

    border-radius: 15px;

}

.player-button {

    width: 48px;
    height: 48px;

    flex: 0 0 48px;

    border-radius: 50%;

    border: 0;

    background: var(--accent);

    color: #111;

    cursor: pointer;

}

.player-info {

    flex: 1;

}

.player-title {

    font-size: 13px;

    margin-bottom: 8px;

}

.progress {

    height: 4px;

    border-radius: 10px;

    background: #333;

    overflow: hidden;

}

.progress-bar {

    height: 100%;

    width: 0;

    background: var(--accent);

}

.player-time {

    display: flex;

    justify-content: space-between;

    margin-top: 5px;

    color: #777;

    font-size: 10px;

}

.song-actions {

    display: flex;

    align-items: center;

    gap: 12px;

    margin-top: 20px;

}

.share-button {

    background: transparent;

    border: 0;

    color: #aaa;

    cursor: pointer;

    padding: 10px;

}


/* =========================
   Music Grid
========================= */

.music {

    background: var(--bg-soft);

}

.music-grid {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 24px;

}

.music-card {

    position: relative;

    background: var(--bg-card);

    border: 1px solid var(--border);

    border-radius: 17px;

    overflow: hidden;

    transition: .3s;

}

.music-card:hover {

    transform: translateY(-5px);

    border-color: rgba(233,154,61,.35);

}

.music-cover {

    position: relative;

    aspect-ratio: 1;

    overflow: hidden;

}

.music-cover img {

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: .4s;

}

.music-card:hover .music-cover img {

    transform: scale(1.05);

}

.card-play {

    position: absolute;

    bottom: 15px;

    right: 15px;

    width: 48px;
    height: 48px;

    border-radius: 50%;

    border: 0;

    background: var(--accent);

    color: #111;

    cursor: pointer;

    opacity: 0;

    transform: translateY(8px);

    transition: .3s;

}

.music-card:hover .card-play {

    opacity: 1;

    transform: translateY(0);

}

.music-card-info {

    padding: 18px 20px;

}

.music-card-info h3 {

    font-size: 16px;

    margin-bottom: 3px;

}

.music-card-info span {

    color: #777;

    font-size: 12px;

}

.download-icon {

    position: absolute;

    left: 15px;

    bottom: 18px;

    color: #777;

    transition: .3s;

}

.download-icon:hover {

    color: var(--accent);

}


/* =========================
   About
========================= */

.about-grid {

    display: grid;

    grid-template-columns: 430px 1fr;

    gap: 80px;

    align-items: center;

}

.about-image {

    border-radius: 20px;

    overflow: hidden;

}

.about-image img {

    width: 100%;

    aspect-ratio: 4/5;

    object-fit: cover;

}

.about-content h2 {

    font-size: 45px;

    margin-bottom: 20px;

}

.about-content p {

    color: var(--text-soft);

    margin-bottom: 15px;

}

.stats {

    display: flex;

    gap: 50px;

    margin-top: 35px;

}

.stat {

    display: flex;

    flex-direction: column;

}

.stat strong {

    color: var(--accent);

    font-size: 28px;

}

.stat span {

    color: #777;

    font-size: 12px;

}


/* =========================
   Videos
========================= */

.videos {

    background: var(--bg-soft);

}

.video-grid {

    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 25px;

}

.video-image {

    position: relative;

    display: block;

    aspect-ratio: 16/9;

    overflow: hidden;

    border-radius: 17px;

}

.video-image img {

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: .4s;

}

.video-card:hover img {

    transform: scale(1.05);

}

.video-play {

    position: absolute;

    inset: 0;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 28px;

    color: white;

    background: rgba(0,0,0,.25);

}

.video-play i {

    width: 70px;
    height: 70px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: rgba(233,154,61,.95);

    color: #111;

    padding-right: 3px;

}

.video-info {

    display: flex;

    justify-content: space-between;

    align-items: center;

    padding-top: 14px;

}

.video-info h3 {

    font-size: 15px;

}

.video-info span {

    color: #777;

    font-size: 12px;

}


/* =========================
   Social
========================= */

.social {

    text-align: center;

}

.social-content {

    max-width: 650px;

}

.social-content > span {

    color: var(--accent);

    font-size: 13px;

}

.social-content h2 {

    font-size: 40px;

    margin: 8px 0 15px;

}

.social-content p {

    color: var(--text-soft);

}

.social-links {

    display: flex;

    justify-content: center;

    gap: 12px;

    margin-top: 30px;

}

.social-links a {

    width: 48px;
    height: 48px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: var(--bg-card);

    border: 1px solid var(--border);

    color: #aaa;

    transition: .3s;

}

.social-links a:hover {

    color: #111;

    background: var(--accent);

}


/* =========================
   Footer
========================= */

.footer {

    border-top: 1px solid var(--border);

    padding: 40px 0;

}

.footer-inner {

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 30px;

}

.footer-logo {

    font-size: 24px;

    font-weight: 800;

}

.footer p {

    color: #666;

    font-size: 12px;

}

.footer-copy {

    color: #555;

    font-size: 11px;

}


/* =========================
   Responsive
========================= */

@media (max-width: 900px) {

    .nav {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .featured-song {

        grid-template-columns: 1fr;

        gap: 35px;

    }

    .featured-cover {

        max-width: 500px;

        margin-inline: auto;

    }

    .about-grid {

        grid-template-columns: 1fr;

        gap: 40px;

    }

    .about-image {

        max-width: 500px;

        margin-inline: auto;

    }

}


@media (max-width: 700px) {

    .container {

        width: min(
            calc(100% - 28px),
            var(--container)
        );

    }

    .section {

        padding: 75px 0;

    }

    .hero {

        min-height: 90vh;

    }

    .hero h1 {

        font-size: 75px;

        letter-spacing: -4px;

    }

    .hero p {

        font-size: 16px;

    }

    .hero-buttons {

        flex-direction: column;

        align-items: stretch;

    }

    .btn {

        width: 100%;

    }

    .section-heading h2 {

        font-size: 30px;

    }

    .music-grid {

        grid-template-columns: 1fr 1fr;

        gap: 13px;

    }

    .music-card-info {

        padding: 13px;

    }

    .music-card-info h3 {

        font-size: 13px;

    }

    .download-icon {

        display: none;

    }

    .card-play {

        opacity: 1;

        transform: none;

        width: 42px;
        height: 42px;

    }

    .video-grid {

        grid-template-columns: 1fr;

    }

    .stats {

        gap: 25px;

    }

    .social-content h2 {

        font-size: 30px;

    }

    .footer-inner {

        flex-direction: column;

        align-items: flex-start;

    }

}


@media (max-width: 430px) {

    .music-grid {

        grid-template-columns: 1fr;

    }

    .featured-info h3 {

        font-size: 28px;

    }

}
