/* =====================================================
   SURE VIBE — SHARED SITE-WIDE STYLES
   This is the ONE file that controls how every page
   looks. Header, footer, colors, fonts, layout — all
   pulled from here. To change a site-wide style,
   edit ONLY this file.
===================================================== */


/* =====================================================
   RESET & GLOBAL
===================================================== */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #080808;
    color: #ffffff;
    line-height: 1.5;
}

img {
    max-width: 100%;
}

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

button,
input {
    font-family: inherit;
}


/* =====================================================
   COLORS
===================================================== */

:root {
    --black: #080808;
    --black-2: #101010;
    --black-3: #171717;
    --dark-red: #780000;
    --red: #a00000;
    --white: #ffffff;
    --muted: #a8a8a8;
    --border: #292929;
}


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

.site-header {
    background: #050505;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid var(--dark-red);
}

.logo-area {
    text-align: center;
    padding: 13px 15px 12px;
}

.logo {
    display: inline-block;
    color: #ffffff;
    font-size: 34px;
    font-weight: 900;
    letter-spacing: 3px;
    text-shadow: 0 0 10px rgba(255,255,255,0.15);
    animation: logoPulse 3s ease-in-out infinite;
}

.logo span {
    color: #ffffff;
    background: linear-gradient(
        90deg,
        #ffffff 0%,
        #ffffff 35%,
        #780000 50%,
        #ffffff 65%,
        #ffffff 100%
    );
    background-size: 220% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: logoShimmer 4s linear infinite;
}

@keyframes logoShimmer {

    0% {
        background-position: 220% center;
    }

    100% {
        background-position: -220% center;
    }

}

@keyframes logoPulse {

    0%,100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.015);
    }

}


/* =====================================================
   SEARCH
===================================================== */

.search-area {
    display: flex;
    justify-content: center;
    padding: 0 15px 13px;
}

.search-box {
    width: min(520px, 100%);
    height: 42px;
    display: flex;
    align-items: center;
    background: #151515;
    border: 1px solid #5d0000;
    border-radius: 25px;
    padding-left: 15px;
    overflow: hidden;
}

.search-box:focus-within {
    border-color: var(--red);
    box-shadow: 0 0 0 3px rgba(160,0,0,0.12);
}

.search-box input {
    flex: 1;
    min-width: 0;
    height: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: #ffffff;
    font-size: 14px;
}

.search-box input::placeholder {
    color: #858585;
}

.search-box button {
    width: 42px;
    height: 42px;
    border: 0;
    background: var(--dark-red);
    color: #ffffff;
    cursor: pointer;
    font-size: 17px;
}

.search-box button:hover {
    background: var(--red);
}


/* =====================================================
   NAVIGATION
===================================================== */

.nav-wrapper {
    border-top: 1px solid rgba(120,0,0,0.35);
}

.main-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 28px;
    padding: 12px 18px;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
}

.main-nav::-webkit-scrollbar {
    display: none;
}

.main-nav a {
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    transition: 0.2s;
    flex-shrink: 0;
}

.main-nav a:hover {
    color: #c00000;
}


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

.section {
    padding: 42px 5%;
}

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

.section-title {
    color: #ffffff;
    font-size: 26px;
    font-weight: 800;
}

.section-title::after {
    content: "";
    display: block;
    width: 40px;
    height: 4px;
    background: var(--dark-red);
    border-radius: 5px;
    margin-top: 6px;
}


/* =====================================================
   CAROUSEL BUTTONS
===================================================== */

.carousel-buttons {
    display: flex;
    gap: 7px;
}

.carousel-btn {
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: var(--dark-red);
    color: #ffffff;
    cursor: pointer;
    font-size: 17px;
}

.carousel-btn:hover {
    background: var(--red);
}


/* =====================================================
   SHORT ADVERT BANNER
===================================================== */

.ad-slot {
    display: none;
    width: 100%;
    height: 70px;
    margin: 0 auto;
    overflow: hidden;
    background: #111111;
}

.ad-slot.active {
    display: block;
}

.ad-slot a {
    display: block;
    width: 100%;
    height: 70px;
}

.ad-slot img {
    display: block;
    width: 100%;
    height: 70px;
    object-fit: cover;
}


/* =====================================================
   TRENDING MUSIC
===================================================== */

.trending-section {
    background: #080808;
    padding: 42px 5%;
}

.trending-track {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    scrollbar-width: none;
    scroll-behavior: smooth;
}

.trending-track::-webkit-scrollbar {
    display: none;
}

.trending-card {
    position: relative;
    min-width: 68%;
    height: 320px;
    overflow: hidden;
    border-radius: 12px;
    background: #171717;
}

.trending-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.trending-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 45px 22px 20px;
    background: linear-gradient(
        transparent,
        rgba(0,0,0,0.96)
    );
}

.trending-tag {
    display: inline-block;
    background: var(--dark-red);
    color: #ffffff;
    padding: 4px 9px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: bold;
    margin-bottom: 7px;
}

.trending-overlay h2 {
    font-size: 25px;
    line-height: 1.2;
    margin-bottom: 5px;
}

.trending-overlay p {
    color: #dddddd;
    font-size: 13px;
}


/* =====================================================
   LATEST MUSIC
===================================================== */

.music-section {
    background: #111111;
}

.music-track {
    display: flex;
    gap: 17px;
    overflow-x: auto;
    scrollbar-width: none;
    scroll-behavior: smooth;
}

.music-track::-webkit-scrollbar {
    display: none;
}

.music-card {
    flex: 0 0 calc(33.333% - 12px);
    background: #181818;
    border: 1px solid var(--border);
    border-radius: 9px;
    overflow: hidden;
}

.music-card img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.music-info {
    padding: 10px;
}

.music-info h3 {
    color: #ffffff;
    font-size: 15px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

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


/* =====================================================
   TRENDING NEWS
===================================================== */

.news-section {
    background: #0c0c0c;
}

.compact-list {
    display: flex;
    flex-direction: column;
    gap: 13px;
}

.compact-item {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #151515;
    border: 1px solid var(--border);
    border-radius: 9px;
    padding: 9px;
}

.compact-item img {
    width: 105px;
    height: 75px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
}

.compact-content {
    min-width: 0;
}

.compact-content h3 {
    color: #ffffff;
    font-size: 15px;
    line-height: 1.3;
    margin-bottom: 4px;
}

.compact-content p {
    color: var(--muted);
    font-size: 11px;
}


/* =====================================================
   TOP SONGS
===================================================== */

.songs-section {
    background: #111111;
}

.song-item {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 10px 4px;
    border-bottom: 1px solid var(--border);
}

.song-number {
    width: 30px;
    text-align: center;
    color: var(--dark-red);
    font-size: 17px;
    font-weight: 800;
    flex-shrink: 0;
}

.song-item img {
    width: 58px;
    height: 58px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
}

.song-info {
    flex: 1;
    min-width: 0;
}

.song-info h3 {
    color: #ffffff;
    font-size: 15px;
}

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

.play-button {
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 50%;
    background: var(--dark-red);
    color: #ffffff;
    cursor: pointer;
}


/* =====================================================
   SONG OF THE WEEK
===================================================== */

.week-section {
    background: #080808;
}

.week-track {
    display: flex;
    gap: 17px;
    overflow-x: auto;
    scrollbar-width: none;
    scroll-behavior: smooth;
}

.week-track::-webkit-scrollbar {
    display: none;
}

.week-card {
    flex: 0 0 calc(20% - 14px);
    min-width: 180px;
    overflow: hidden;
    background: #141414;
    border: 1px solid var(--border);
    border-radius: 10px;
}

.week-card img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.week-info {
    padding: 10px;
}

.week-info h3 {
    color: #ffffff;
    font-size: 15px;
}

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


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

.artists-section {
    background: #111111;
}

.artist-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scrollbar-width: none;
    scroll-behavior: smooth;
}

.artist-track::-webkit-scrollbar {
    display: none;
}

.artist-card {
    flex: 0 0 calc(20% - 16px);
    min-width: 120px;
    text-align: center;
}

.artist-card img {
    width: 115px;
    height: 115px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #ffffff;
}

.artist-card h3 {
    color: #ffffff;
    font-size: 14px;
    margin-top: 8px;
}

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


/* =====================================================
   NEWSLETTER / PROMOTE MUSIC
===================================================== */

.newsletter {
    background: linear-gradient(
        135deg,
        #520000,
        #850000
    );
    color: #ffffff;
    text-align: center;
    padding: 52px 20px;
}

.newsletter h2 {
    font-size: 28px;
    margin-bottom: 8px;
}

.newsletter p {
    color: #eeeeee;
    margin-bottom: 20px;
}

.button {
    display: inline-block;
    background: #ffffff;
    color: #111111;
    padding: 11px 22px;
    border-radius: 5px;
    font-weight: 700;
}


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

footer {
    background: #050505;
    border-top: 1px solid #260000;
    padding: 45px 5% 25px;
    color: #aaaaaa;
}

.footer-container {
    max-width: 1100px;
    margin: auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 35px;
}

.footer-column h3 {
    color: #ffffff;
    font-size: 17px;
    margin-bottom: 13px;
}

.footer-brand {
    font-size: 25px;
    font-weight: 900;
    letter-spacing: 2px;
    color: #ffffff;
    margin-bottom: 10px;
}

.footer-brand span {
    color: #a00000;
}

.footer-column p {
    font-size: 13px;
    line-height: 1.7;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: #aaaaaa;
    font-size: 13px;
    transition: 0.2s;
}

.footer-links a:hover {
    color: #ffffff;
}

.footer-bottom {
    max-width: 1100px;
    margin: 35px auto 0;
    padding-top: 18px;
    border-top: 1px solid #242424;
    text-align: center;
}

.footer-bottom p {
    font-size: 12px;
}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 768px) {

    .logo {
        font-size: 29px;
    }

    .main-nav {
        justify-content: flex-start;
        gap: 22px;
    }

    .main-nav a {
        font-size: 13px;
    }

    .section,
    .trending-section {
        padding-left: 4%;
        padding-right: 4%;
    }

    .section-title {
        font-size: 23px;
    }

    .ad-slot,
    .ad-slot a,
    .ad-slot img {
        height: 70px;
    }

    .trending-card {
        min-width: 90%;
        height: 285px;
    }

    .trending-overlay h2 {
        font-size: 21px;
    }

    .music-card {
        flex: 0 0 calc(33.333% - 12px);
    }

    .music-info {
        padding: 8px;
    }

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

    .music-info p {
        font-size: 10px;
    }

    .compact-item img {
        width: 90px;
        height: 65px;
    }

    .compact-content h3 {
        font-size: 13px;
    }

    .week-card {
        flex: 0 0 calc(50% - 9px);
        min-width: 0;
    }

    .artist-track {
        gap: 8px;
    }

    .artist-card {
        flex: 0 0 calc(20% - 7px);
        min-width: 0;
    }

    .artist-card img {
        width: 100%;
        height: auto;
        aspect-ratio: 1 / 1;
        border-width: 2px;
    }

    .artist-card h3 {
        font-size: 10px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .artist-card p {
        font-size: 9px;
    }

    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 28px 18px;
    }

    .footer-brand-column {
        grid-column: 1 / -1;
    }

}


/* =====================================================
   SMALL PHONES
===================================================== */

@media (max-width: 400px) {

    .logo {
        font-size: 27px;
    }

    .search-box {
        height: 40px;
    }

    .search-box button {
        width: 40px;
        height: 40px;
    }

    .compact-item {
        gap: 10px;
    }

    .compact-item img {
        width: 82px;
        height: 60px;
    }

    .compact-content h3 {
        font-size: 12px;
    }

    .song-item img {
        width: 52px;
        height: 52px;
    }

    .song-info h3 {
        font-size: 13px;
    }

    .song-info p {
        font-size: 10px;
    }

    .footer-column h3 {
        font-size: 15px;
    }

    .footer-links a,
    .footer-column p {
        font-size: 12px;
    }

}

