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

:root {
    --bg: #0f1015;
    --soft: #171923;
    --soft2: #1f2230;
    --card: #ffffff;
    --text: #f7f7fb;
    --muted: #bfc1ca;
    --dark: #171923;
    --gold: #d7a64a;
    --gold2: #f0c66a;
    --border: rgba(255,255,255,.12);
    --shadow: 0 18px 55px rgba(0,0,0,.22);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Tajawal, Arial, sans-serif;
    background: #f4f5f8;
    color: var(--dark);
    line-height: 1.8;
}

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

img {
    max-width: 100%;
    display: block;
}

.container {
    width: min(1180px, calc(100% - 28px));
    margin-inline: auto;
}

.site-header {
    background: linear-gradient(135deg, #101119, #1e2130);
    color: var(--text);
    position: sticky;
    top: 0;
    z-index: 20;
    box-shadow: 0 10px 30px rgba(0,0,0,.2);
}

.header-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 18px;
    align-items: center;
    min-height: 76px;
}

.logo {
    display: flex;
    gap: 10px;
    align-items: center;
    font-weight: 800;
    font-size: 22px;
}

.logo-mark {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--gold), var(--gold2));
    color: #111;
    box-shadow: 0 8px 22px rgba(215,166,74,.25);
}

.search {
    display: flex;
    background: rgba(255,255,255,.08);
    border: 1px solid var(--border);
    border-radius: 18px;
    overflow: hidden;
}

.search input {
    width: 100%;
    padding: 13px 16px;
    border: 0;
    outline: 0;
    background: transparent;
    color: #fff;
    font-family: inherit;
}

.search input::placeholder {
    color: #cfd1da;
}

.search button {
    border: 0;
    padding: 0 20px;
    background: var(--gold);
    color: #111;
    font-family: inherit;
    font-weight: 800;
    cursor: pointer;
}

.nav {
    display: flex;
    gap: 14px;
    align-items: center;
    font-weight: 700;
    color: #e9e9ef;
}

.nav a:hover {
    color: var(--gold2);
}

.main {
    min-height: 70vh;
}

.hero {
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(215,166,74,.25), transparent 36%),
        linear-gradient(135deg, #101119, #24283a);
    padding: 58px 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 34px;
    align-items: center;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(215,166,74,.15);
    color: var(--gold2);
    font-weight: 800;
    border: 1px solid rgba(215,166,74,.3);
}

.hero h1,
.page-title h1,
.profile-hero h1 {
    margin: 14px 0 10px;
    font-size: clamp(30px, 5vw, 58px);
    line-height: 1.2;
}

.hero p {
    max-width: 680px;
    color: var(--muted);
    font-size: 19px;
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 24px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 22px;
    border-radius: 16px;
    border: 1px solid var(--border);
    background: rgba(255,255,255,.08);
    color: #fff;
    font-weight: 800;
}

.btn.primary {
    background: linear-gradient(135deg, var(--gold), var(--gold2));
    color: #111;
    border: 0;
}

.hero-card {
    background: rgba(255,255,255,.07);
    border: 1px solid var(--border);
    padding: 16px;
    border-radius: 32px;
    min-height: 320px;
    box-shadow: var(--shadow);
}

.slide {
    display: none;
    overflow: hidden;
    border-radius: 26px;
    background: #111;
    position: relative;
}

.slide.active {
    display: block;
}

.slide img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    opacity: .84;
}

.slide div {
    position: absolute;
    inset-inline: 18px;
    bottom: 18px;
    color: #fff;
    background: rgba(0,0,0,.48);
    border: 1px solid rgba(255,255,255,.13);
    padding: 14px;
    border-radius: 18px;
}

.slide strong {
    display: block;
    font-size: 22px;
}

.slide span {
    color: #e5e5e5;
}

.section {
    padding: 52px 0;
}

.section.muted {
    background: #eceef4;
}

.section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
}

.section h2 {
    margin: 0;
    font-size: 32px;
}

.section-head p {
    margin: 4px 0 0;
    color: #666b78;
}

.more {
    color: #8b5b00;
    font-weight: 800;
}

.grid {
    display: grid;
    gap: 18px;
}

.songs-grid {
    grid-template-columns: repeat(4, 1fr);
}

.small-grid {
    grid-template-columns: repeat(6, 1fr);
}

.card,
.tile {
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 28px rgba(12,15,25,.08);
    border: 1px solid rgba(20,20,30,.06);
}

.song-card .cover {
    position: relative;
    aspect-ratio: 1 / .78;
    background: #ddd;
    overflow: hidden;
}

.song-card .cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .25s ease;
}

.song-card:hover img {
    transform: scale(1.05);
}

.play-badge {
    position: absolute;
    inset-inline-start: 12px;
    bottom: 12px;
    background: linear-gradient(135deg, var(--gold), var(--gold2));
    color: #111;
    padding: 5px 12px;
    border-radius: 999px;
    font-weight: 800;
}

.card-body {
    padding: 14px;
}

.card-body h3 {
    margin: 0 0 4px;
    font-size: 19px;
    line-height: 1.4;
}

.card-body p {
    margin: 0 0 8px;
    color: #6c7180;
}

.mini-link {
    display: inline-flex;
    color: #8b5b00;
    font-weight: 700;
}

.tile {
    padding: 14px;
    text-align: center;
    transition: .2s ease;
}

.tile:hover {
    transform: translateY(-3px);
}

.tile img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 20px;
    margin-bottom: 10px;
    background: #eee;
}

.artist-tile img {
    border-radius: 50%;
}

.page-title,
.profile-hero {
    background:
        radial-gradient(circle at top right, rgba(215,166,74,.2), transparent 36%),
        linear-gradient(135deg, #101119, #24283a);
    color: var(--text);
    padding: 46px 0;
}

.page-title p,
.profile-hero p {
    color: var(--muted);
    margin: 0;
}

.profile-inner {
    display: flex;
    align-items: center;
    gap: 22px;
}

.profile-inner > img {
    width: 150px;
    height: 150px;
    border-radius: 32px;
    object-fit: cover;
    border: 4px solid rgba(255,255,255,.1);
}

.song-page {
    background: #f4f5f8;
    padding: 42px 0;
}

.song-layout {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 28px;
    align-items: start;
}

.song-cover-box,
.song-content {
    background: #fff;
    border-radius: 28px;
    padding: 18px;
    box-shadow: 0 12px 35px rgba(12,15,25,.08);
}

.song-cover-box img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 24px;
}

.breadcrumb {
    color: #777d8b;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    font-weight: 700;
}

.song-content h1 {
    margin: 12px 0;
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.25;
}

.song-meta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    color: #606676;
    margin-bottom: 18px;
}

.song-meta span {
    background: #f2f3f7;
    border-radius: 999px;
    padding: 6px 12px;
}

.song-meta a {
    color: #8b5b00;
    font-weight: 800;
}

.player-box {
    background: linear-gradient(135deg, #171923, #24283a);
    border-radius: 24px;
    padding: 18px;
    color: #fff;
}

audio {
    width: 100%;
}

.no-download {
    margin: 10px 0 0;
    color: #d8dbe5;
    font-size: 14px;
}

.seo-content {
    margin-top: 24px;
}

.seo-content h2 {
    font-size: 26px;
    margin: 20px 0 8px;
}

.lyrics {
    background: #f5f6fa;
    border-radius: 20px;
    padding: 16px;
    white-space: pre-line;
}

.empty {
    background: #fff;
    border-radius: 22px;
    padding: 24px;
    color: #626776;
    box-shadow: 0 10px 28px rgba(12,15,25,.08);
}

.pagination {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 24px;
}

.pagination a {
    min-width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: #fff;
    border: 1px solid rgba(20,20,30,.08);
    font-weight: 800;
}

.pagination a.active {
    background: var(--dark);
    color: #fff;
}

.site-footer {
    background: #101119;
    color: #e9e9ef;
    padding: 38px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 240px;
    gap: 30px;
}

.site-footer p {
    color: #bfc1ca;
}

.site-footer a {
    display: block;
    color: #d8dbe5;
    margin: 6px 0;
}

.copyright {
    margin-top: 28px;
    padding: 16px;
    text-align: center;
    background: rgba(255,255,255,.05);
    color: #bfc1ca;
}

@media (max-width: 980px) {
    .header-inner,
    .hero-grid,
    .song-layout {
        grid-template-columns: 1fr;
    }

    .nav {
        flex-wrap: wrap;
    }

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

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

@media (max-width: 560px) {
    .songs-grid,
    .small-grid {
        grid-template-columns: 1fr;
    }

    .profile-inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}
