 * {
            box-sizing: border-box;
        }

        html {
            scroll-behavior: smooth;
        }

        body {
            margin: 0;
            background:
                radial-gradient(
                    circle at 15% 0%,
                    rgba(150, 0, 30, .15),
                    transparent 35%
                ),
                radial-gradient(
                    circle at 85% 20%,
                    rgba(255, 0, 60, .08),
                    transparent 30%
                ),
                #090909;
            color: #f5f5f5;
            font-family: 'Inter', sans-serif;
            min-height: 100vh;
        }

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

        ::selection {
            background: #d4143a;
            color: white;
        }


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

        .site-header {
            position: sticky;
            top: 0;
            z-index: 100;
            height: 72px;

            background: rgba(8, 8, 8, .82);

            backdrop-filter: blur(18px);

            border-bottom:
                1px solid
                rgba(255, 255, 255, .06);
        }

        .header-inner {
            max-width: 1500px;
            height: 100%;
            margin: auto;
            padding: 0 24px;

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

        .logo {
            font-size: 22px;
            font-weight: 900;
            letter-spacing: -1px;

            transition: .3s;
        }

        .logo span {
            color: #e51b43;
        }

        .logo:hover {
            transform: scale(1.05);
            text-shadow:
                0 0 25px
                rgba(229, 27, 67, .5);
        }

        .header-nav {
            display: flex;
            gap: 8px;
        }

        .header-nav a {
            padding: 10px 16px;
            border-radius: 10px;

            color: #aaa;

            transition:
                background .25s,
                color .25s,
                transform .25s;
        }

        .header-nav a:hover {
            color: white;
            background: rgba(255,255,255,.07);
            transform: translateY(-2px);
        }


        /* =====================================================
           CONTAINER
        ===================================================== */

        .container {
            width: min(
                1500px,
                calc(100% - 40px)
            );

            margin: auto;
        }


        /* =====================================================
           PAGE
        ===================================================== */

        .page {
            padding: 40px 0 80px;
        }

        .page-header {
            margin-bottom: 30px;
        }

        .page-title {
            margin: 0;

            font-size: clamp(
                28px,
                4vw,
                48px
            );

            font-weight: 900;

            letter-spacing: -1.5px;
        }

        .page-title span {
            color: #e51b43;
        }

        .page-description {
            margin-top: 10px;
            color: #777;
        }


        /* =====================================================
           CATEGORY GRID
        ===================================================== */

        .category-card::before {
            content: '';

            position: absolute;

            width: 120px;
            height: 120px;

            right: -40px;
            top: -40px;

            border-radius: 50%;

            background: #e51b43;

            filter: blur(45px);

            opacity: .1;

            transition: .4s;
        }

        .category-card:hover {
            transform:
                translateY(-7px)
                scale(1.01);

            border-color:
                rgba(229,27,67,.45);

            box-shadow:
                0 20px 60px
                rgba(0,0,0,.45);
        }

        .category-card:hover::before {
            opacity: .35;
        }

        .category-name {
            font-size: 19px;
            font-weight: 800;
        }

        .category-count {
            margin-top: 8px;
            color: #777;
            font-size: 13px;
        }


        /* =====================================================
           POST GRID
        ===================================================== */

        .posts-grid {
            display: grid;

            grid-template-columns:
                repeat(4, minmax(0, 1fr));

            gap: 22px;
        }


        /* =====================================================
           POST CARD
        ===================================================== */

        .post-card {
            position: relative;

            overflow: hidden;

            border-radius: 16px;

            background: #121212;

            border:
                1px solid
                rgba(255,255,255,.06);

            transition:
                transform .3s,
                box-shadow .3s,
                border-color .3s;
        }

        .post-card:hover {
            transform:
                translateY(-8px);

            border-color:
                rgba(229,27,67,.5);

            box-shadow:
                0 20px 50px
                rgba(0,0,0,.55),
                0 0 30px
                rgba(229,27,67,.08);
        }

        .post-card-image {
            position: relative;

            aspect-ratio: 16 / 9;

            overflow: hidden;

            background: #191919;
        }

        .post-card-image img {
            width: 100%;
            height: 100%;

            object-fit: cover;

            transition:
                transform .5s,
                filter .5s;
        }

        .post-card:hover
        .post-card-image img {
            transform: scale(1.07);

            filter:
                brightness(.7);
        }

        .post-card-overlay {
            position: absolute;

            inset: 0;

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

            opacity: 0;

            background:
                rgba(0,0,0,.45);

            transition: .3s;
        }

        .post-card:hover
        .post-card-overlay {
            opacity: 1;
        }

        .play-button {
            width: 54px;
            height: 54px;

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

            border-radius: 50%;

            background: #e51b43;

            box-shadow:
                0 0 35px
                rgba(229,27,67,.6);

            transform: scale(.7);

            transition: .3s;
        }

        .post-card:hover
        .play-button {
            transform: scale(1);
        }

        .post-duration {
            position: absolute;

            right: 10px;
            bottom: 10px;

            padding: 5px 8px;

            border-radius: 6px;

            background:
                rgba(0,0,0,.8);

            font-size: 11px;
            font-weight: 700;
        }

        .post-card-content {
            padding: 14px;
        }

        .post-card-title {
            font-size: 14px;
            font-weight: 700;

            line-height: 1.45;

            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;

            overflow: hidden;

            min-height: 40px;
        }

        .post-card-title:hover {
            color: #ff4268;
        }


        /* =====================================================
           PAGINATION
        ===================================================== */

        .pagination {
            margin-top: 40px;

            display: flex;
            justify-content: center;

            gap: 8px;
        }

        .pagination a,
        .pagination span {
            min-width: 42px;
            height: 42px;

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

            padding: 0 12px;

            border-radius: 10px;

            background: #151515;

            border:
                1px solid
                rgba(255,255,255,.06);

            color: #aaa;

            transition: .25s;
        }

        .pagination a:hover {
            background: #e51b43;
            color: white;
            transform: translateY(-2px);
        }

        .pagination .active span {
            background: #e51b43;
            color: white;
        }


        /* =====================================================
           POST PAGE
        ===================================================== */

        .post-layout {
            display: grid;

            grid-template-columns:
                minmax(0, 1fr)
                320px;

            gap: 30px;

            align-items: start;
        }

        .post-main {
            min-width: 0;
        }

        .post-title {
            font-size: clamp(
                24px,
                4vw,
                42px
            );

            line-height: 1.15;

            margin: 0 0 20px;

            font-weight: 900;
        }

        .video-wrapper {
            position: relative;

            width: 100%;

            aspect-ratio: 16 / 9;

            background: black;

            border-radius: 18px;

            overflow: hidden;

            box-shadow:
                0 25px 80px
                rgba(0,0,0,.55);
        }

        .video-wrapper video {
            width: 100%;
            height: 100%;

            display: block;

            object-fit: contain;

            background: black;
        }


        /* =====================================================
           CATEGORIES
        ===================================================== */

        .post-categories {
            display: flex;
            flex-wrap: wrap;

            gap: 8px;

            margin-top: 20px;
        }

        .category-tag {
            padding: 8px 12px;

            border-radius: 8px;

            background:
                rgba(229,27,67,.1);

            border:
                1px solid
                rgba(229,27,67,.2);

            color: #ff5474;

            font-size: 12px;
            font-weight: 700;

            transition: .25s;
        }

        .category-tag:hover {
            background: #e51b43;
            color: white;

            transform:
                translateY(-2px);
        }


        /* =====================================================
           SIDEBAR
        ===================================================== */

        .sidebar {
            position: sticky;
            top: 95px;
        }

        .sidebar-title {
            margin: 0 0 15px;

            font-size: 18px;
            font-weight: 800;
        }

        .sidebar-grid {
            display: grid;
            gap: 14px;
        }

        .sidebar .post-card {
            display: grid;

            grid-template-columns:
                110px
                1fr;
        }

        .sidebar
        .post-card-image {
            aspect-ratio: 16 / 10;
        }

        .sidebar
        .post-card-content {
            padding: 10px;
        }

        .sidebar
        .post-card-title {
            font-size: 12px;
        }

        .sidebar
        .post-duration {
            font-size: 9px;
        }

        .sidebar
        .play-button {
            width: 35px;
            height: 35px;
            font-size: 12px;
        }


        /* =====================================================
           RECOMMENDATIONS
        ===================================================== */

        .recommendations {
            margin-top: 55px;
        }

        .section-title {
            margin-bottom: 20px;

            font-size: 24px;
            font-weight: 900;
        }

        .section-title span {
            color: #e51b43;
        }


        /* =====================================================
           EMPTY
        ===================================================== */

        .empty {
            padding: 80px 20px;

            text-align: center;

            border-radius: 20px;

            background: #111;

            color: #777;
        }

        .categories-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}


/* =========================================
   CATEGORY CARD
========================================= */

.category-card {
    display: block;
    position: relative;
    overflow: hidden;

    background: #18181b;

    border: 1px solid #27272a;

    border-radius: 16px;

    text-decoration: none;

    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}


.category-card:hover {
    transform: translateY(-6px);

    border-color: #dc2626;

    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.45),
        0 0 30px rgba(220, 38, 38, 0.12);
}


/* =========================================
   PREVIEW
========================================= */

.category-preview {
    position: relative;

    width: 100%;

    aspect-ratio: 16 / 9;

    overflow: hidden;

    background: #09090b;
}


.category-preview-image {
    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;

    transition:
        transform 0.7s ease,
        filter 0.4s ease;
}


.category-card:hover .category-preview-image {
    transform: scale(1.08);

    filter: brightness(0.75);
}


/* =========================================
   OVERLAY
========================================= */

.category-preview-overlay {
    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.05),
            rgba(0, 0, 0, 0.75)
        );

    opacity: 0.7;

    transition: opacity 0.3s ease;
}


.category-card:hover .category-preview-overlay {
    opacity: 1;
}


/* =========================================
   EMPTY PREVIEW
========================================= */

.category-preview-empty {
    position: absolute;

    inset: 0;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    gap: 10px;

    color: #52525b;

    font-size: 13px;
}


.category-preview-empty svg {
    opacity: 0.6;
}


/* =========================================
   PLAY BUTTON
========================================= */

.category-play {
    position: absolute;

    inset: 0;

    display: flex;

    align-items: center;

    justify-content: center;

    opacity: 0;

    transform: scale(0.8);

    transition:
        opacity 0.3s ease,
        transform 0.3s ease;
}


.category-card:hover .category-play {
    opacity: 1;

    transform: scale(1);
}


.category-play-button {
    width: 58px;
    height: 58px;

    display: flex;

    align-items: center;

    justify-content: center;

    padding-left: 3px;

    border-radius: 50%;

    background: #dc2626;

    color: white;

    box-shadow:
        0 10px 30px rgba(220, 38, 38, 0.45);

    transition:
        transform 0.25s ease,
        background 0.25s ease;
}


.category-play-button:hover {
    background: #ef4444;

    transform: scale(1.1);
}


/* =========================================
   INFORMATION
========================================= */

.category-info {
    padding: 16px 18px 18px;
}


.category-name {
    color: #ffffff;

    font-size: 17px;

    font-weight: 700;

    line-height: 1.3;

    white-space: nowrap;

    overflow: hidden;

    text-overflow: ellipsis;

    transition: color 0.25s ease;
}


.category-card:hover .category-name {
    color: #ef4444;
}


.category-count {
    margin-top: 6px;

    color: #71717a;

    font-size: 13px;

    transition: color 0.25s ease;
}


.category-card:hover .category-count {
    color: #a1a1aa;
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 1100px) {

    .categories-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));

        gap: 20px;
    }

}


/* =========================================
   SMALL TABLET
========================================= */

@media (max-width: 800px) {

    .categories-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));

        gap: 18px;
    }

}


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

@media (max-width: 500px) {

    .categories-grid {
        grid-template-columns: 1fr;

        gap: 16px;
    }


    .category-info {
        padding: 14px 16px 16px;
    }


    .category-name {
        font-size: 16px;
    }

}


/* =========================================
   TOUCH DEVICES
========================================= */

@media (hover: none) {

    .category-card:hover {
        transform: none;

        box-shadow: none;
    }


    .category-card:hover .category-preview-image {
        transform: none;

        filter: none;
    }


    .category-play {
        display: none;
    }

}


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

        @media (max-width: 1200px) {

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

        }


        @media (max-width: 900px) {

            .post-layout {
                grid-template-columns: 1fr;
            }

            .sidebar {
                position: static;
            }

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

        }


        @media (max-width: 700px) {

            .container {
                width:
                    calc(100% - 24px);
            }

            .header-inner {
                padding: 0 12px;
            }

            .header-nav {
                display: none;
            }

            .page {
                padding-top: 25px;
            }

            .posts-grid {
                grid-template-columns:
                    repeat(2, minmax(0, 1fr));

                gap: 10px;
            }

            .post-card-content {
                padding: 10px;
            }

            .post-card-title {
                font-size: 12px;
            }

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

        }


        @media (max-width: 420px) {

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

            .post-card-title {
                font-size: 14px;
            }

        }
