/* Reset & base */
* {
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    transition: all 0.2s ease-in-out;
}
html, body {
    scroll-behavior: smooth;
}
body {
    font-family: 'Segoe UI', sans-serif;
    font-size: 16px;
    margin: 0;
    padding: 0;
    background: #0f0f1a;
    color: #e0d3ec;
}

/* Typography */
h1, h2, h3 {
    text-align: left;
    color: #ff6ec7;
    padding-left: 20px;
}
a {
    text-decoration: none;
    color: #ff6ec7;
}
a:hover {
    color: #fff;
}

/* Logo */
.fancy-logo {
    font-family: 'Segoe UI', sans-serif;
    font-weight: 800;
    font-size: 28px;
    text-transform: uppercase;
    text-decoration: none;
    display: inline-block;
    letter-spacing: 1px;
}
.fancy-logo .asian {
    color: #ff3e3e;
    font-weight: 900;
    text-shadow: 0 0 4px #ff3e3e;
}
.fancy-logo .slutworld {
    color: #ff6ec7;
    font-weight: 700;
    text-shadow: 0 0 4px #ff6ec7;
}

/* Layout */
.main-wrapper {
    display: flex;
    flex-wrap: wrap;
    padding-right: 10px;
}
.sidebar {
    width: 260px;
    background: #200010;
    padding: 20px;
    box-shadow: 2px 0 10px rgba(255, 110, 199, 0.1);
}
.content-area {
    flex: 1;
    padding: 20px;
    padding-bottom: 60px;
}

/* Video grid */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
}
.video-box {
    background: #1f1f2f;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 0 8px rgba(255, 105, 180, 0.1);
    animation: fadeInUp 0.5s ease both;
}
.video-box:hover {
    transform: scale(1.02);
    box-shadow: 0 0 16px rgba(255, 105, 180, 0.3);
}
.thumb-wrapper {
    position: relative;
}
.thumb-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}
.thumb-wrapper:hover img {
    transform: scale(1.05);
}
.duration {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    font-size: 12px;
    padding: 3px 6px;
    border-radius: 4px;
}
.video-box .title {
    font-size: 15px;
    font-weight: bold;
    color: #ff99dd;
    padding: 10px 10px 0;
}
.video-box .meta {
    font-size: 12px;
    color: #bbb;
    padding: 0 10px 10px;
}

/* Categories Sidebar */
.category-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.category-box {
    padding: 8px 14px;
    background: #2a0f1f;
    border-radius: 18px;
    color: #f2f2f2;
    transition: background 0.2s;
}
.category-box:hover {
    background: #ff6ec7;
    color: #200010;
    font-weight: bold;
}

/* Tag cloud */
.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
}
.tag-link {
    background: #333;
    color: #fff;
    padding: 6px 10px;
    border-radius: 16px;
    font-size: 13px;
    transition: background 0.2s;
}
.tag-link:hover {
    background: #ff6ec7;
    color: #200010;
}

/* Pagination */
.pagination {
    text-align: center;
    margin: 30px 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
}
.pagination a,
.pagination span {
    display: inline-block;
    padding: 8px 14px;
    background: #29293d;
    color: #f2f2f2;
    text-decoration: none;
    font-size: 14px;
    border-radius: 6px;
    border: 1px solid #444;
    transition: background 0.2s ease, color 0.2s ease;
}
.pagination a:hover {
    background: #ff6ec7;
    color: #200010;
}
.pagination a.active {
    background: #ff6ec7;
    color: #200010;
    font-weight: bold;
}
.pagination span {
    background: transparent;
    border: none;
    color: #999;
    padding: 8px 10px;
    cursor: default;
}

/* Notice bar */
.notice-bar {
    position: sticky;
    bottom: 0;
    width: 100%;
    background: #ff6ec7;
    color: #1a1a1a;
    text-align: center;
    padding: 10px 0;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.5);
    z-index: 999;
}
.notice-bar strong {
    color: #000;
}

/* Footer */
footer,
.site-footer {
    text-align: center;
    background: #1a1a2a;
    color: #999;
    padding: 20px;
    border-top: 2px solid #ff6ec7;
    margin-top: 40px;
    font-size: 14px;
}
.footer-links a {
    color: #ff6ec7;
    margin: 0 10px;
}
.footer-links a:hover {
    color: #fff;
}

/* Dropdown */
.dropdown {
    position: relative;
}
.dropbtn {
    background: #2a0f1f;
    color: #fff;
    padding: 8px 14px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    font-size: 15px;
}
.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #1f1f2f;
    border: 1px solid #444;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    min-width: 280px;
    padding: 10px;
    z-index: 999;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 8px;
}
.dropdown-content.show {
    display: grid;
}
.dropdown-content a {
    color: #ff6ec7;
    text-decoration: none;
    background: #2b2b3d;
    padding: 8px;
    border-radius: 4px;
    font-size: 14px;
    transition: background 0.2s ease;
}
.dropdown-content a:hover {
    background: #ff6ec7;
    color: #0f0f1a;
}

/* Search bar */
.search-bar {
    display: flex;
    gap: 10px;
}
.search-bar input[type="text"] {
    padding: 6px 12px;
    border-radius: 4px;
    border: none;
    background: #333;
    color: #fff;
}
.search-bar button {
    background: #ff6ec7;
    border: none;
    color: #0f0f1a;
    padding: 6px 14px;
    border-radius: 4px;
    cursor: pointer;
}
.search-bar button:hover {
    background: #ff99dd;
}

/* Fade animation */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}
.video-grid .video-box {
    opacity: 0;
    transform: translateY(20px);
}
.video-grid .video-box.visible {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.4s ease-in-out;
}

/* Category list inline (optional) */
.category-list-inline {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    padding: 20px 10px;
}
.category-list-inline .category-box {
    background: #2a0f1f;
    border-radius: 20px;
    padding: 8px 16px;
    color: #f2f2f2;
    text-decoration: none;
    font-size: 14px;
    transition: background 0.2s ease;
}
.category-list-inline .category-box:hover {
    background: #ff6ec7;
    color: #0f0f1a;
    font-weight: bold;
}

/* Ad slot */
.ad-slot {
    width: 300px;
    height: 250px;
    background-color: #ffe0ea;
    border: 1px dashed #d63384;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    color: #d63384;
    border-radius: 10px;
}

/* Video Player */
.video-player-container {
    width: 100%;
    max-width: 1280px;
    margin: auto;
}
.responsive-embed {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    max-width: 100%;
}
.responsive-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    border: 0;
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: #1a1a2e;
}
::-webkit-scrollbar-thumb {
    background-color: #ff6ec7;
    border-radius: 6px;
}

/* Responsive */
@media (max-width: 991px) {
    .main-wrapper {
        flex-direction: column;
    }
    .sidebar {
        width: 100%;
        order: 2;
    }
    .content-area {
        order: 1;
    }
    .video-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    }
    .dropdown-content {
        position: relative !important;
        display: none !important;
        grid-template-columns: 1fr !important;
    }
    .dropdown-content.show {
        display: flex !important;
        flex-direction: column;
    }
}
