* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #0c0827;
    color: white;
    font-family: Arial, Helvetica, sans-serif;
}


/* =========================
   TOP HEADER
========================= */

.top-header {
    width: 100%;
    background: #11162c;
    border-bottom: 1px solid #252943;
}

.navbar {
    max-width: 1220px;
    margin: auto;

    display: flex;
    align-items: center;

    gap: 10px;

    height: 60px;
}

.nav-btn {
    text-decoration: none;

    color: #b8bdd0;
    background: #1d2238;

    padding: 10px 20px;

    border-radius: 25px;

    font-size: 14px;
    font-weight: bold;
}

.nav-btn:hover {
    background: #6f35df;
    color: white;
}

.nav-btn.active {
    background: #8538ed;
    color: white;
}


/* =========================
   CONTAINER
========================= */

.container {
    max-width: 1220px;

    margin: auto;

    padding: 45px 0;
}


/* =========================
   SECTION TITLE
========================= */

.section-top {

    display: flex;

    justify-content: space-between;
    align-items: flex-end;

    margin-bottom: 25px;
}

.discover {
    color: #a85cff;

    font-size: 12px;

    font-weight: bold;

    letter-spacing: 3px;

    margin-bottom: 8px;
}

.section-top h1 {
    font-size: 32px;
}

.video-count {
    color: #6c95bc;
    font-size: 14px;
}


/* =========================
   GRID
========================= */

.video-grid {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 20px;
}


/* =========================
   VIDEO CARD
========================= */

.video-card {

    background: #240910;

    border-radius: 12px;

    overflow: hidden;

    transition: 0.25s;
}

.video-card:hover {
    transform: translateY(-4px);
}


/* =========================
   IMAGE
========================= */

.image-link {

    display: block;

    position: relative;

    width: 100%;

    overflow: hidden;
}

.image-link img {

    display: block;

    width: 100%;

    height: 220px;

    object-fit: cover;

    transition: 0.3s;
}

.video-card:hover img {
    transform: scale(1.03);
}


/* =========================
   PLAY BUTTON
========================= */

.play-btn {

    position: absolute;

    top: 50%;
    left: 50%;

    transform: translate(-50%, -50%);

    width: 55px;
    height: 55px;

    border-radius: 50%;


    border: 1px solid rgba(255,255,255,0.5);

    display: flex;

    align-items: center;
    justify-content: center;

    font-size: 22px;

    color: #2e8cff;

    padding-left: 3px;
}


/* =========================
   VIDEO INFO
========================= */

.video-info {

    padding: 16px 14px;
}

.video-info h3 {

    font-size: 14px;

    line-height: 1.5;

    margin-bottom: 10px;

    color: white;
}


/* =========================
   META
========================= */

.meta {

    display: flex;

    gap: 14px;

    font-size: 11px;

    color: #8ca5bd;

    margin-bottom: 15px;
}


/* =========================
   DOWNLOAD BUTTON
========================= */

.download-btn {

    width: 100%;

    background: #f25474;

    color: white;

    text-decoration: none;

    min-height: 40px;

    border-radius: 25px;

    display: flex;

    justify-content: center;

    align-items: center;

    gap: 10px;

    font-size: 13px;

    font-weight: bold;

    transition: 0.2s;
}

.download-btn:hover {
    background: #ff6685;
}

.size {

    background: rgba(0,0,0,0.12);

    padding: 6px 10px;

    border-radius: 15px;

    font-size: 10px;
}


/* =========================
   TABLET
========================= */

@media (max-width: 1000px) {

    .container,
    .navbar {
        width: 92%;
    }

    .video-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}


/* =========================
   MOBILE
========================= */

@media (max-width: 650px) {

    .navbar {
        justify-content: center;
    }

    .container {
        padding-top: 30px;
    }

    .section-top h1 {
        font-size: 26px;
    }

    .video-grid {
        grid-template-columns: 1fr;
    }

    .image-link img {
        height: auto;
        aspect-ratio: 16 / 9;
    }

    .video-count {
        display: none;
    }

}
