:root {
    --bg-color: #080808;
    --card-bg: #121212;
    --text-color: #ffffff;
    --accent-color: #ff2d95;
    --accent-glow: rgba(255, 45, 149, 0.4);
    --secondary-text: #a0a0a0;
    --glass: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'Outfit', 'Inter', -apple-system, sans-serif;
    line-height: 1.5;
    overflow-x: hidden;
    background-image: radial-gradient(circle at 50% 0%, #1a0a14 0%, #080808 100%);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 5%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--glass-border);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav .logo {
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--accent-color);
    text-decoration: none;
    text-transform: lowercase;
    text-shadow: 0 0 15px var(--accent-glow);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
}

nav ul li a {
    color: #eee;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: 0.3s;
}

nav ul li a:hover {
    color: var(--accent-color);
}

header {
    padding: 40px 5%;
    max-width: 1400px;
    margin: 0 auto;
}

header h1 {
    font-size: 1.8rem;
    color: #fff;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 15px;
}

header h1::before {
    content: '';
    display: block;
    width: 6px;
    height: 30px;
    background: var(--accent-color);
    box-shadow: 0 0 15px var(--accent-color);
    border-radius: 10px;
}

.section-title {
    font-size: 1.3rem;
    color: #fff;
    margin: 30px 5% 15px;
    font-weight: 700;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

/* Horizontal Scroll Container */
.scroll-wrapper {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
}

.horizontal-scroll {
    display: flex;
    overflow-x: auto;
    gap: 20px;
    padding: 10px 5% 30px;
    scroll-behavior: smooth;
    scrollbar-width: none;
    cursor: grab;
    user-select: none;
}

.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    background: rgba(255, 45, 149, 0.8);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 15px rgba(255, 45, 149, 0.4);
    transition: 0.3s;
}

.nav-btn:hover {
    background: var(--accent-color);
    transform: translateY(-50%) scale(1.1);
}

.nav-btn.prev {
    left: 10px;
}

.nav-btn.next {
    right: 10px;
}

@media (max-width: 768px) {
    .nav-btn {
        display: none;
    }
}

/* Skeleton/Placeholder */
.skeleton {
    min-width: 200px;
    height: 300px;
    background: #1a1a1a;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.skeleton::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    transform: translateX(-100%);
    background-image: linear-gradient(90deg,
            rgba(255, 255, 255, 0) 0,
            rgba(255, 255, 255, 0.05) 20%,
            rgba(255, 255, 255, 0.1) 60%,
            rgba(255, 255, 255, 0));
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    100% {
        transform: translateX(100%);
    }
}

.horizontal-scroll::-webkit-scrollbar {
    display: none;
}

.horizontal-scroll .video-card {
    min-width: 200px;
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5% 50px;
}

.video-card {
    background: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    transition: 0.3s ease;
    position: relative;
}

.video-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-color);
    box-shadow: 0 10px 30px rgba(255, 45, 149, 0.15);
}

.badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--accent-color);
    color: #fff;
    padding: 4px 10px;
    font-size: 0.65rem;
    font-weight: 800;
    border-radius: 6px;
    z-index: 2;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.thumbnail {
    width: 100%;
    aspect-ratio: 2/3;
    background: #1a1a1a;
    display: block;
    object-fit: cover;
    transition: 0.5s;
}

.video-card:hover .thumbnail {
    transform: scale(1.05);
}

.info {
    padding: 15px;
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.8));
}

.title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 5px;
}

.category {
    font-size: 0.75rem;
    color: var(--accent-color);
    font-weight: 700;
    letter-spacing: 0.5px;
}

@media (min-width: 1400px) {
    .video-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

@media (max-width: 1399px) and (min-width: 1024px) {
    .video-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

@media (max-width: 1023px) and (min-width: 769px) {
    .video-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    header h1 {
        font-size: 1.4rem;
    }

    .section-title {
        font-size: 1.2rem;
        margin: 20px 5% 10px;
    }

    .horizontal-scroll {
        padding-bottom: 25px;
        gap: 12px;
    }

    .horizontal-scroll .video-card {
        min-width: 150px;
    }

    .video-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
        padding-bottom: 40px;
    }
}

@media (max-width: 480px) {
    .video-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    nav {
        padding: 10px 5%;
    }

    nav .logo {
        font-size: 1.1rem;
    }

    nav ul {
        display: none;
    }

    .section-title {
        font-size: 1.1rem;
    }

    .info {
        padding: 10px;
    }

    .title {
        font-size: 0.85rem;
    }
}