/*
Theme Name: Kits4Beats
Description: Premium Red Theme (Perfect State)
Author: Pro Dev
Version: 11.0
*/

@import url('https://fonts.googleapis.com/css2?family=Righteous&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
    --bg-body: #0b0e14;
    --bg-header: #141824;
    --bg-sidebar: #0f131c;
    --bg-hover: #1c2230;
    --bg-search: #212736;
    --text-main: #ffffff;
    --text-muted: #94a3b8;
    --accent: #e53935; 
    --accent-hover: #c62828;
    --border-color: #2a3145;
}

/* Reset & Fixes */
* { box-sizing: border-box; margin: 0; padding: 0; }
body { background-color: var(--bg-body); color: var(--text-main); font-family: 'Inter', sans-serif; overflow-x: hidden; }
a { text-decoration: none !important; }
ul { list-style: none; }
img { max-width: 100%; height: auto; }

/* --- APP LAYOUT --- */
.k4b-app-wrapper { display: flex; min-height: 100vh; }
.k4b-main-wrapper { flex: 1; display: flex; flex-direction: column; min-width: 0; }

/* --- HEADER --- */
.k4b-header { 
    display: flex; align-items: center; justify-content: space-between; 
    background-color: var(--bg-header); padding: 0 24px; height: 64px; 
    border-bottom: 1px solid var(--border-color); gap: 20px; width: 100%; z-index: 100;
}
.k4b-header-left { display: flex; align-items: center; gap: 30px; }
.k4b-logo { display: flex; align-items: center; gap: 8px; }
.logo-text { font-family: 'Righteous', cursive; font-size: 22px; color: var(--text-main); display: flex; gap: 2px; }
.logo-text span { display: inline-block; animation: textDance 1.5s infinite ease-in-out alternate; }
.logo-text span.accent { color: var(--accent); font-size: 24px; }
@keyframes textDance { 0% { transform: translateY(0); } 100% { transform: translateY(-3px); } }

.k4b-search-container { flex: 1; max-width: 500px; background: var(--bg-search); border-radius: 50px; display: flex; align-items: center; padding: 0 15px; height: 40px; }
.k4b-search-input { background: transparent; border: none; color: #fff; width: 100%; outline: none; font-size: 14px; }
.k4b-search-input::placeholder { color: var(--text-muted); }

.k4b-btn-login { background: var(--accent); color: #fff !important; padding: 9px 20px; border-radius: 50px; font-weight: 700; font-size: 13px; transition: 0.2s; }
.k4b-btn-login:hover { background: var(--accent-hover); }
.k4b-btn-signup { color: #fff !important; font-size: 13px; font-weight: 600; margin-left: 15px; }
.k4b-btn-signup:hover { color: var(--accent) !important; }

/* --- SIDEBAR --- */
.k4b-sidebar { width: 260px; background: var(--bg-sidebar); border-right: 1px solid var(--border-color); display: flex; flex-direction: column; flex-shrink: 0; }
.k4b-sidebar-head { padding: 20px; border-bottom: 1px solid var(--border-color); }
.k4b-sidebar-head a { display: flex; align-items: center; gap: 10px; color: #fff !important; font-size: 16px; font-weight: 700; }
.k4b-sidebar-head a:hover { color: var(--accent) !important; }
.k4b-sidebar-head svg { width: 20px !important; height: 20px !important; stroke: currentColor; }

.k4b-sidebar-menu { padding: 15px 0; flex: 1; overflow-y: auto; }
.k4b-sidebar-menu li a { display: flex; align-items: center; gap: 12px; padding: 14px 20px; color: var(--text-muted) !important; font-size: 15px; font-weight: 500; border-left: 3px solid transparent; transition: 0.2s; }
.k4b-sidebar-menu li a:hover, .k4b-sidebar-menu li a.active { color: #fff !important; background: var(--bg-hover); border-left-color: var(--accent); }
.k4b-sidebar-menu li a svg { width: 20px !important; height: 20px !important; stroke: currentColor; fill: none; opacity: 0.8; }

.k4b-sidebar-footer { padding: 20px; border-top: 1px solid var(--border-color); }
.k4b-btn-create { display: flex; align-items: center; gap: 8px; color: var(--accent) !important; font-size: 15px; font-weight: 700; transition: 0.2s; }
.k4b-btn-create:hover { color: var(--accent-hover) !important; }
.k4b-btn-create svg { width: 20px !important; height: 20px !important; }

.k4b-main-content { padding: 30px; flex: 1; }

/* --- SINGLE KIT PREMIUM PAGE (No Icons) --- */
.k4b-single-wrapper { position: relative; padding: 40px 20px; max-width: 1100px; margin: 0 auto; min-height: 100vh; z-index: 1; }

.kit-bg-glow { position: absolute; top: 0; left: 0; right: 0; height: 500px; background-size: cover; background-position: center top; filter: blur(80px) brightness(0.4); z-index: -1; opacity: 0.6; mask-image: linear-gradient(to bottom, black, transparent); -webkit-mask-image: linear-gradient(to bottom, black, transparent); }

.kit-hero { display: flex; gap: 40px; background: rgba(20, 24, 36, 0.7); backdrop-filter: blur(20px); border: 1px solid rgba(255,255,255,0.08); padding: 40px; border-radius: 20px; margin-bottom: 30px; box-shadow: 0 20px 50px rgba(0,0,0,0.5); }
.kit-hero__image { width: 320px; flex-shrink: 0; border-radius: 12px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.kit-hero__image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.kit-hero__content { flex: 1; display: flex; flex-direction: column; justify-content: center; }

.kit-badge { display: inline-block; background: rgba(229, 57, 53, 0.15); color: var(--accent); padding: 6px 14px; border-radius: 50px; font-size: 12px; font-weight: 800; text-transform: uppercase; margin-bottom: 20px; width: fit-content; border: 1px solid rgba(229, 57, 53, 0.3); }
.kit-hero__content h1 { font-size: 38px; font-weight: 800; line-height: 1.2; color: #fff; margin-bottom: 15px; }
.kit-desc { font-size: 16px; color: #a1a1aa; line-height: 1.6; margin-bottom: 30px; }

/* The BIG Download Button */
.kit-actions { margin-top: auto; }
.k4b-download-btn { display: inline-flex; align-items: center; gap: 15px; background: var(--accent); color: #fff !important; padding: 16px 30px; border-radius: 12px; transition: all 0.3s ease; box-shadow: 0 8px 25px rgba(229, 57, 53, 0.4); width: 100%; max-width: 350px; }
.k4b-download-btn:hover { background: var(--accent-hover); transform: translateY(-3px); box-shadow: 0 12px 30px rgba(229, 57, 53, 0.6); }
.dl-icon { background: rgba(255,255,255,0.2); border-radius: 50%; width: 45px; height: 45px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.dl-text { display: flex; flex-direction: column; text-align: left; }
.dl-title { font-size: 16px; font-weight: 800; line-height: 1.2; }
.dl-meta { font-size: 12px; opacity: 0.9; font-weight: 500; margin-top: 3px; }

/* INFO GRID */
.kit-info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 40px; }
.kit-info-card { background: rgba(20, 24, 36, 0.5); border: 1px solid rgba(255,255,255,0.05); border-radius: 16px; padding: 30px; }
.kit-info-card h3 { font-size: 18px; color: #fff; margin-bottom: 20px; padding-bottom: 15px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.kit-list { padding: 0; margin: 0; }
.kit-list li { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px dashed rgba(255,255,255,0.05); font-size: 14px; }
.kit-list li:last-child { border-bottom: none; }
.kit-list li strong { color: #a1a1aa; font-weight: 600; }
.kit-list li span { color: #fff; font-weight: 500; text-align: right; max-width: 60%; }

.kit-main-content { background: rgba(20, 24, 36, 0.5); border: 1px solid rgba(255,255,255,0.05); border-radius: 16px; padding: 40px; margin-bottom: 40px; }
.kit-main-content h3 { font-size: 22px; color: #fff; margin-bottom: 25px; padding-bottom: 15px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.entry-content { color: #cbd5e1; font-size: 16px; line-height: 1.8; }
.entry-content p { margin-bottom: 20px; }
.entry-content img { border-radius: 8px; margin: 20px 0; }

/* --- RESPONSIVE --- */
@media (max-width: 900px) {
    .kit-hero { flex-direction: column; padding: 25px; gap: 25px; }
    .kit-hero__image { width: 100%; max-width: 400px; margin: 0 auto; }
    .kit-hero__content h1 { font-size: 28px; }
    .kit-info-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .k4b-app-wrapper { flex-direction: column; }
    .k4b-sidebar { display: none; }
    .k4b-header { padding: 0 15px; height: 60px; }
    .k4b-search-container { display: none; }
    .k4b-main-content { padding: 15px; }
    .k4b-single-wrapper { padding: 30px 15px; }
}

/* --- BULLETPROOF HEADER & SIDEBAR FIX --- */
.k4b-header { 
    display: flex !important; align-items: center !important; justify-content: space-between !important; 
    background-color: var(--bg-header) !important; padding: 0 24px !important; height: 64px !important; 
    border-bottom: 1px solid var(--border-color) !important; gap: 20px !important; width: 100% !important; z-index: 100 !important; position: relative !important;
}
.k4b-header-left { display: flex !important; align-items: center !important; gap: 20px !important; flex-shrink: 0 !important; }
.k4b-search-container { flex: 1 !important; max-width: 500px !important; background: var(--bg-search) !important; border-radius: 50px !important; display: flex !important; align-items: center !important; padding: 0 15px !important; height: 40px !important; margin: 0 20px !important; }
.k4b-search-input { background: transparent !important; border: none !important; color: #fff !important; width: 100% !important; outline: none !important; font-size: 14px !important; }
.k4b-header-actions { display: flex !important; align-items: center !important; gap: 12px !important; flex-shrink: 0 !important; }

/* Force all SVGs in header and sidebar to correct size */
.k4b-header svg, .k4b-sidebar svg { 
    width: 20px !important; height: 20px !important; min-width: 20px !important; max-width: 20px !important; 
    stroke: currentColor !important; fill: none !important; flex-shrink: 0 !important; display: inline-block !important;
}
.k4b-mobile-toggle svg { width: 24px !important; height: 24px !important; }
.k4b-search-container svg { width: 18px !important; height: 18px !important; }

/* Ensure My Account button doesn't overlap */
.k4b-btn-login { 
    background: var(--accent) !important; color: #fff !important; padding: 9px 20px !important; 
    border-radius: 50px !important; font-weight: 700 !important; font-size: 13px !important; 
    transition: 0.2s !important; white-space: nowrap !important; display: inline-block !important;
    text-decoration: none !important;
}
.k4b-btn-login:hover { background: var(--accent-hover) !important; }

/* Sidebar link fix */
.k4b-sidebar-menu li a {
    display: flex !important; align-items: center !important; gap: 12px !important;
    padding: 14px 20px !important; color: var(--text-muted) !important; font-size: 15px !important; 
    font-weight: 500 !important; border-left: 3px solid transparent !important; transition: 0.2s !important;
    text-decoration: none !important;
}
.k4b-sidebar-menu li a:hover, .k4b-sidebar-menu li a.active {
    color: #fff !important; background: var(--bg-hover) !important; border-left-color: var(--accent) !important;
}

/* --- SIDEBAR STICKY & FULL HEIGHT FIX --- */
.k4b-sidebar {
    position: sticky !important;
    top: 0 !important;
    height: 100vh !important;
    overflow-y: hidden !important; /* Bahar ka scroll hide karein */
    flex-shrink: 0 !important;
}

/* Agar WordPress ka Admin Bar (black top bar) on hai */
body.admin-bar .k4b-sidebar {
    top: 32px !important;
    height: calc(100vh - 32px) !important;
}

/* Sidebar ke andar ka menu scroll kare, na ke poori site */
.k4b-sidebar-menu {
    flex: 1 !important;
    overflow-y: auto !important;
}

/* Scrollbar ko sundar banane ke liye (optional) */
.k4b-sidebar-menu::-webkit-scrollbar {
    width: 4px;
}
.k4b-sidebar-menu::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

/* --- HEADER STICKY FIX --- */
/* Header ko bhi top par lock karein taake scroll karte waqt wo gayab na ho */
.k4b-header {
    position: sticky !important;
    top: 0 !important;
    z-index: 100 !important;
}
body.admin-bar .k4b-header {
    top: 32px !important;
}

/* --- TOP HEADER MENU --- */
.k4b-header-nav {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-left: 20px;
}

.k4b-header-nav a {
    color: #fff !important;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none !important;
    display: flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
    transition: 0.2s;
}

.k4b-header-nav a:hover {
    color: var(--accent) !important;
}

.k4b-header-nav a.highlight {
    color: var(--accent) !important;
    font-weight: 700;
}

.k4b-header-nav svg {
    width: 12px !important;
    height: 12px !important;
    stroke: currentColor;
    margin-top: 2px;
}

/* Responsive: Hide menu on smaller screens (Mobile/Tablet) */
@media (max-width: 1100px) {
    .k4b-header-nav {
        display: none !important;
    }
}

/* --- SIDEBAR ICON FIXES --- */
.k4b-sidebar-scroll {
    flex: 1 !important;
    overflow-y: auto !important;
    padding-bottom: 20px;
}

/* Force exact size on all sidebar icons */
.k4b-sidebar-menu li a svg {
    width: 20px !important;
    height: 20px !important;
    min-width: 20px !important;
    max-width: 20px !important;
    stroke: currentColor !important;
    fill: none !important;
    stroke-width: 2 !important;
    opacity: 0.8 !important;
    transition: 0.2s;
}

.k4b-sidebar-menu li a:hover svg,
.k4b-sidebar-menu li a.active svg {
    opacity: 1 !important;
    stroke: var(--accent) !important;
}

.k4b-sidebar-section-title {
    font-size: 11px !important;
    text-transform: uppercase !important;
    letter-spacing: 1.5px !important;
    color: var(--text-muted) !important;
    font-weight: 700 !important;
    padding: 15px 20px 8px 20px !important;
}

.k4b-sidebar-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.05);
    margin: 15px 20px;
}

/* --- BEATPORT HOMEPAGE LAYOUT --- */
.bp-container { padding: 20px 0; max-width: 1400px; margin: 0 auto; }

/* SEO H1 */
.bp-seo-h1 { font-size: 24px; font-weight: 700; color: #fff; margin-bottom: 20px; display: none; /* Hidden but good for SEO */ }

/* Tabs */
.bp-tabs { display: flex; gap: 10px; margin-bottom: 25px; }
.bp-tab { background: #222; color: #fff; border: none; padding: 10px 20px; border-radius: 4px; font-weight: 700; font-size: 14px; cursor: pointer; }
.bp-tab.active { background: #fff; color: #000; }

/* Layout Grid */
.bp-layout { display: grid; grid-template-columns: 1fr 320px; gap: 30px; }

/* Section Titles */
.bp-section-title { font-size: 18px; font-weight: 700; color: #fff; margin: 0; display: flex; align-items: center; }
.bp-section-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; margin-top: 30px; }
.bp-arrows span { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; background: #222; color: #fff; margin-left: 5px; cursor: pointer; border-radius: 4px; font-size: 12px; }

/* HERO SECTION */
.bp-hero-section { display: grid; grid-template-columns: 1fr 300px; gap: 20px; margin-bottom: 30px; }
.bp-hero-main { position: relative; border-radius: 4px; overflow: hidden; display: block; }
.bp-hero-main img { width: 100%; height: 100%; object-fit: cover; display: block; aspect-ratio: 16/9; }
.bp-hero-overlay { position: absolute; bottom: 0; left: 0; right: 0; padding: 20px; background: linear-gradient(transparent, rgba(0,0,0,0.9)); }
.bp-hero-overlay h2 { color: #fff; font-size: 20px; margin-bottom: 5px; }
.bp-hero-overlay p { color: #ccc; font-size: 14px; }
.bp-badge-exclusive { position: absolute; top: 10px; right: 10px; background: #01ff95; color: #000; font-size: 10px; font-weight: 800; padding: 3px 8px; border-radius: 2px; }

/* Side Hero (Stacked) */
.bp-hero-side { display: flex; flex-direction: column; gap: 10px; }
.bp-side-card { position: relative; display: block; border-radius: 4px; overflow: hidden; flex: 1; }
.bp-side-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bp-side-overlay { position: absolute; bottom: 0; left: 0; right: 0; padding: 10px; background: linear-gradient(transparent, rgba(0,0,0,0.9)); }
.bp-side-overlay h4 { color: #fff; font-size: 14px; margin: 0; }

/* GRIDS (5 Columns) */
.bp-grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 15px; }
.bp-card { display: block; text-decoration: none; }
.bp-card-img { position: relative; background: #222; border-radius: 4px; overflow: hidden; aspect-ratio: 1; }
.bp-card-img img { width: 100%; height: 100%; object-fit: cover; transition: 0.2s; }
.bp-card:hover .bp-card-img img { opacity: 0.8; }
.bp-card-info { padding-top: 10px; }
.bp-card-info h3 { font-size: 13px; font-weight: 700; color: #fff; margin: 0 0 3px 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bp-card-info p { font-size: 12px; color: #999; margin: 0; }

/* Featured Vertical Cards */
.bp-card-vertical .bp-card-img { aspect-ratio: 3/4; }
.bp-card-overlay { position: absolute; bottom: 0; left: 0; right: 0; padding: 15px 10px; background: linear-gradient(transparent, rgba(0,0,0,0.9)); }
.bp-card-overlay h3 { font-size: 13px; font-weight: 700; color: #fff; margin: 0 0 3px 0; }
.bp-card-overlay p { font-size: 12px; color: #ccc; margin: 0; }

/* SIDEBAR TOP 10 LIST */
.bp-side { display: flex; flex-direction: column; gap: 30px; }
.bp-top10-list { display: flex; flex-direction: column; }
.bp-top-item { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid #222; text-decoration: none; }
.bp-top-item:hover { background: rgba(255,255,255,0.02); }
.bp-top-num { width: 20px; color: #999; font-size: 14px; font-weight: 700; text-align: center; }
.bp-top-img { width: 45px; height: 45px; border-radius: 4px; object-fit: cover; }
.bp-top-info { flex: 1; min-width: 0; }
.bp-top-info h4 { font-size: 13px; font-weight: 700; color: #fff; margin: 0 0 3px 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bp-top-info p { font-size: 12px; color: #999; margin: 0; }
.bp-top-dots { color: #666; font-weight: bold; letter-spacing: 2px; }

/* SEO BOX & ANIMATION */
.bp-seo-box { background: #1a1a1a; padding: 25px; border-radius: 4px; border: 1px solid #333; }
.bp-seo-title { font-size: 18px; font-weight: 700; color: #fff; margin-top: 0; margin-bottom: 15px; }
.bp-seo-box p { color: #999; font-size: 14px; line-height: 1.6; margin: 0; }

/* ANIMATED KITS4BEATS TEXT */
.bp-animated-text {
    font-weight: 900;
    background: linear-gradient(90deg, #e53935, #ff8a65, #e53935);
    background-size: 200% auto;
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    animation: bpGradientMove 3s linear infinite;
    display: inline-block;
    text-transform: uppercase;
}
@keyframes bpGradientMove {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

/* Responsive */
@media (max-width: 1100px) {
    .bp-layout { grid-template-columns: 1fr; }
    .bp-side { display: none; /* Hide sidebar on tablet for space */ }
}
@media (max-width: 768px) {
    .bp-hero-section { grid-template-columns: 1fr; }
    .bp-hero-side { flex-direction: row; overflow-x: auto; }
    .bp-side-card { min-width: 200px; }
    .bp-grid-5 { grid-template-columns: repeat(2, 1fr); }
}

/* --- RESTORED HOMEPAGE BEATPORT STYLE --- */
.k4b-home-wrapper { display: flex; gap: 30px; align-items: flex-start; width: 100%; }
.k4b-home-main { flex: 1; min-width: 0; }
.k4b-home-side { width: 320px; flex-shrink: 0; }

/* SEO H1 */
.k4b-seo-h1 { font-size: 28px; font-weight: 800; margin-bottom: 20px; color: #fff; letter-spacing: -0.5px; line-height: 1.2; }
.k4b-seo-h1 span { color: var(--accent); }

/* Sections */
.k4b-section { margin-bottom: 40px; }
.k4b-section-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; }
.k4b-section-title { font-size: 20px; font-weight: 700; color: #fff; margin: 0; }
.k4b-section-link { color: var(--text-muted); text-decoration: none; font-size: 13px; font-weight: 600; }
.k4b-section-link:hover { color: var(--accent); }

/* Hero Banner */
.k4b-hero-banner { 
    position: relative; width: 100%; height: 300px; border-radius: 8px; 
    overflow: hidden; margin-bottom: 30px; background: #1c2230; 
    display: flex; align-items: center; justify-content: center;
}
.k4b-hero-banner img { width: 100%; height: 100%; object-fit: cover; position: absolute; opacity: 0.6; }
.k4b-hero-content { position: relative; z-index: 2; text-align: center; padding: 20px; }
.k4b-hero-content h2 { font-size: 36px; color: #fff; margin-bottom: 10px; font-weight: 800; }
.k4b-hero-content p { color: #ccc; font-size: 16px; }

/* Grid Cards (New Releases / Trending) */
.k4b-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 15px; }
.k4b-card { background: var(--bg-header); border: 1px solid var(--border-color); border-radius: 6px; overflow: hidden; transition: 0.2s; text-decoration: none; display: block; }
.k4b-card:hover { transform: translateY(-3px); border-color: var(--accent); }
.k4b-card-img { width: 100%; aspect-ratio: 1; background: #000; position: relative; }
.k4b-card-img img { width: 100%; height: 100%; object-fit: cover; }
.k4b-card-info { padding: 12px; }
.k4b-card-title { font-size: 14px; font-weight: 700; color: #fff; margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.k4b-card-meta { font-size: 12px; color: var(--text-muted); }
.k4b-card-badge { position: absolute; top: 8px; left: 8px; background: var(--accent); color: #fff; font-size: 10px; font-weight: 700; padding: 2px 6px; border-radius: 3px; text-transform: uppercase; }

/* Top 10 List */
.k4b-top-list { background: var(--bg-header); border: 1px solid var(--border-color); border-radius: 6px; overflow: hidden; }
.k4b-top-item { display: flex; align-items: center; gap: 12px; padding: 10px 15px; border-bottom: 1px solid rgba(255,255,255,0.05); text-decoration: none; transition: 0.2s; }
.k4b-top-item:last-child { border-bottom: none; }
.k4b-top-item:hover { background: rgba(255,255,255,0.02); }
.k4b-top-num { width: 20px; color: var(--text-muted); font-size: 14px; font-weight: 700; text-align: right; }
.k4b-top-img { width: 45px; height: 45px; border-radius: 4px; object-fit: cover; }
.k4b-top-info { flex: 1; min-width: 0; }
.k4b-top-title { font-size: 13px; font-weight: 700; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-bottom: 2px; }
.k4b-top-artist { font-size: 12px; color: var(--text-muted); }

/* SEO Content Box */
.k4b-seo-box { background: var(--bg-header); padding: 25px; border-radius: 8px; margin-top: 40px; border: 1px solid var(--border-color); }
.k4b-seo-box h3 { color: #fff; font-size: 18px; margin-bottom: 10px; font-weight: 700; }
.k4b-seo-box p { color: var(--text-muted); font-size: 14px; line-height: 1.6; margin-bottom: 10px; }

/* Responsive */
@media (max-width: 1024px) {
    .k4b-home-wrapper { flex-direction: column; }
    .k4b-home-side { width: 100%; }
    .k4b-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
}

/* ═══════════════════════════════════════════
   AUTH PAGES (LOGIN & SIGNUP) — PREMIUM UI
   ═══════════════════════════════════════════ */

.k4b-auth-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 64px);
    padding: 40px 20px;
    background: radial-gradient(circle at 50% 0%, rgba(229,57,53,0.08) 0%, transparent 55%), var(--bg-body);
    position: relative;
    overflow: hidden;
}
.k4b-auth-wrapper::before {
    content: '';
    position: absolute;
    top: -150px; left: 50%;
    transform: translateX(-50%);
    width: 700px; height: 700px;
    background: radial-gradient(circle, rgba(229,57,53,0.12) 0%, transparent 60%);
    pointer-events: none;
}

.k4b-auth-box {
    background: linear-gradient(145deg, #141824, #0f131c);
    width: 100%;
    max-width: 440px;
    padding: 48px 40px 40px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.06);
    box-shadow: 0 25px 60px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.02) inset;
    position: relative;
    z-index: 2;
    animation: authBoxIn 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes authBoxIn {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Logo */
.k4b-auth-logo {
    display: flex; align-items: center; justify-content: center;
    gap: 10px; margin-bottom: 28px; text-decoration: none;
}
.k4b-auth-logo .logo-text {
    font-family: 'Righteous', cursive;
    font-size: 26px; color: #fff; letter-spacing: 1px;
}
.k4b-auth-logo .logo-text span { color: var(--accent); font-size: 28px; }

/* Heading */
.k4b-auth-box h2 {
    font-size: 32px; font-weight: 800;
    margin-bottom: 8px; text-align: center; letter-spacing: -0.5px;
}
.k4b-auth-sub {
    color: var(--text-muted); font-size: 15px;
    margin-bottom: 32px; text-align: center;
}
.k4b-auth-sub a {
    color: var(--accent); text-decoration: none; font-weight: 600;
    transition: color 0.2s;
}
.k4b-auth-sub a:hover { color: var(--accent-hover); text-decoration: underline; }

/* Alert */
.k4b-alert {
    padding: 14px 18px; border-radius: 10px; font-size: 14px;
    margin-bottom: 24px; text-align: left;
    background: rgba(229, 57, 53, 0.1); color: #ff6b6b;
    border: 1px solid rgba(229, 57, 53, 0.3);
    display: flex; align-items: center; gap: 10px;
}
.k4b-alert::before { content: '⚠'; font-size: 18px; }

/* Inputs */
.k4b-auth-box .form-group { margin-bottom: 18px; position: relative; }
.k4b-auth-box .form-group input {
    width: 100% !important;
    background: #e5e5e5 !important;
    border: 2px solid transparent !important;
    border-radius: 10px !important;
    padding: 16px 18px !important;
    color: #111 !important;
    font-size: 15px !important;
    font-family: 'Inter', sans-serif !important;
    font-weight: 500;
    transition: all 0.25s ease !important;
}
.k4b-auth-box .form-group input:focus {
    outline: none !important;
    border-color: var(--accent) !important;
    background: #fff !important;
    box-shadow: 0 0 0 4px rgba(229,57,53,0.15) !important;
}
.k4b-auth-box .form-group input::placeholder { color: #777 !important; font-weight: 400; }

/* Password eye */
.k4b-password-toggle {
    position: absolute; right: 15px; top: 50%;
    transform: translateY(-50%);
    background: none; border: none; cursor: pointer;
    color: #666; display: flex; align-items: center;
    justify-content: center; padding: 5px; transition: color 0.2s;
}
.k4b-password-toggle:hover { color: #111; }

/* Submit */
.k4b-auth-box .k4b-btn-submit {
    background: var(--accent); color: #fff; border: none;
    padding: 16px; border-radius: 50px; font-size: 16px;
    font-weight: 700; cursor: pointer; width: 100%;
    transition: all 0.25s ease; font-family: 'Inter', sans-serif;
    margin-top: 12px; display: flex; align-items: center;
    justify-content: center; gap: 8px; letter-spacing: 0.3px;
    box-shadow: 0 8px 24px rgba(229,57,53,0.3);
}
.k4b-auth-box .k4b-btn-submit:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(229,57,53,0.4);
}
.k4b-auth-box .k4b-btn-submit:active { transform: translateY(0); }

/* Footer link */
.k4b-auth-footer {
    text-align: center; margin-top: 24px;
    font-size: 13px; color: var(--text-muted);
}
.k4b-auth-footer a {
    color: var(--text-muted); text-decoration: none;
    transition: color 0.2s;
}
.k4b-auth-footer a:hover { color: var(--accent); }

@media (max-width: 480px) {
    .k4b-auth-box { padding: 32px 24px 28px; border-radius: 16px; }
    .k4b-auth-box h2 { font-size: 26px; }
    .k4b-auth-logo .logo-text { font-size: 22px; }
}

/* ═══════════════════════════════════════════
   ACCOUNT DASHBOARD
   ═══════════════════════════════════════════ */

.k4b-account-wrapper {
    max-width: 1200px; margin: 0 auto;
    padding: 40px 24px; min-height: calc(100vh - 64px);
}

.k4b-account-header {
    display: flex; align-items: center; justify-content: space-between;
    gap: 20px; margin-bottom: 30px; flex-wrap: wrap;
}
.k4b-account-welcome { display: flex; align-items: center; gap: 16px; }
.k4b-account-avatar {
    width: 60px; height: 60px; border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    display: flex; align-items: center; justify-content: center;
    font-size: 24px; font-weight: 800; color: #fff;
    box-shadow: 0 6px 20px rgba(229,57,53,0.3);
}
.k4b-account-header h1 {
    font-size: 26px; font-weight: 800;
    margin: 0; letter-spacing: -0.5px;
}
.k4b-account-header p { color: var(--text-muted); font-size: 14px; margin-top: 4px; }

.k4b-btn-logout {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 20px; border-radius: 50px;
    background: rgba(229,57,53,0.1); color: var(--accent);
    border: 1px solid rgba(229,57,53,0.3);
    text-decoration: none; font-size: 13px;
    font-weight: 600; transition: all 0.2s;
}
.k4b-btn-logout:hover {
    background: var(--accent); color: #fff; border-color: var(--accent);
}

.k4b-stats-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px; margin-bottom: 30px;
}
.k4b-stat-card {
    background: var(--bg-header); border: 1px solid var(--border-color);
    border-radius: 14px; padding: 20px; transition: all 0.2s;
}
.k4b-stat-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.k4b-stat-num { font-size: 28px; font-weight: 800; color: var(--accent); margin-bottom: 4px; }
.k4b-stat-label {
    font-size: 12px; color: var(--text-muted);
    text-transform: uppercase; letter-spacing: 1px; font-weight: 600;
}

.k4b-tabs {
    display: flex; gap: 4px; border-bottom: 1px solid var(--border-color);
    margin-bottom: 30px; overflow-x: auto; scrollbar-width: none;
}
.k4b-tabs::-webkit-scrollbar { display: none; }
.k4b-tabs a {
    padding: 14px 22px; text-decoration: none;
    color: var(--text-muted); font-weight: 600; font-size: 14px;
    border-bottom: 2px solid transparent; transition: all 0.2s;
    white-space: nowrap;
}
.k4b-tabs a:hover { color: #fff; background: rgba(255,255,255,0.02); }
.k4b-tabs a.active { color: var(--accent); border-bottom-color: var(--accent); }

.k4b-empty-msg {
    color: var(--text-muted); font-size: 15px;
    background: var(--bg-header); padding: 50px 30px;
    border-radius: 14px; text-align: center;
    border: 1px dashed var(--border-color);
}
.k4b-empty-msg::before {
    content: '📦'; display: block; font-size: 40px;
    margin-bottom: 15px; opacity: 0.5;
}
.k4b-empty-msg a { color: var(--accent); text-decoration: none; font-weight: 600; }
.k4b-empty-msg a:hover { text-decoration: underline; }

.k4b-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}
.k4b-card {
    background: var(--bg-header); border: 1px solid var(--border-color);
    border-radius: 12px; overflow: hidden;
    transition: all 0.25s ease; text-decoration: none; display: block;
}
.k4b-card:hover {
    transform: translateY(-5px); border-color: var(--accent);
    box-shadow: 0 15px 30px rgba(0,0,0,0.4);
}
.k4b-card-img {
    display: block; width: 100%; aspect-ratio: 1;
    overflow: hidden; background: #000; position: relative;
}
.k4b-card-img img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.3s ease;
}
.k4b-card:hover .k4b-card-img img { transform: scale(1.05); }
.k4b-no-img {
    display: flex; align-items: center; justify-content: center;
    height: 100%; font-size: 44px; color: var(--border-color);
    background: linear-gradient(135deg, #1a1a2e, #0f131c);
}
.k4b-card-info { padding: 14px 16px; }
.k4b-card-info h3 {
    font-size: 14px; margin-bottom: 10px; font-weight: 600;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.k4b-card-info h3 a { color: #fff; text-decoration: none; }
.k4b-card-info h3 a:hover { color: var(--accent); }
.k4b-card-btn {
    display: block; text-align: center;
    background: rgba(229, 57, 53, 0.1); color: var(--accent);
    padding: 9px; border-radius: 6px;
    text-decoration: none; font-size: 12px;
    font-weight: 700; transition: all 0.2s;
    text-transform: uppercase; letter-spacing: 0.5px;
}
.k4b-card-btn:hover { background: var(--accent); color: #fff; }

@media (max-width: 640px) {
    .k4b-account-wrapper { padding: 24px 16px; }
    .k4b-account-header h1 { font-size: 22px; }
    .k4b-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
    .k4b-tabs a { padding: 12px 16px; font-size: 13px; }
}

/* ═══════════════════════════════════════════
   SINGLE KIT — PREMIUM UI (v11)
   ═══════════════════════════════════════════ */
body.single-kit { background: #09090b; }

.k4b-single-wrapper {
    position: relative;
    padding: 40px 20px 80px;
    max-width: 1100px;
    margin: 0 auto;
    min-height: 100vh;
}
.kit-bg-glow {
    position: absolute; top: 0; left: 0; right: 0; height: 500px;
    background-size: cover; background-position: center top;
    filter: blur(80px) brightness(0.35);
    z-index: -1; opacity: 0.7;
    mask-image: linear-gradient(to bottom, black, transparent);
    -webkit-mask-image: linear-gradient(to bottom, black, transparent);
}
.kit-container { position: relative; z-index: 2; }

/* HERO */
.kit-hero {
    display: flex; gap: 40px;
    background: rgba(20,24,36,0.75);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.06);
    padding: 40px; border-radius: 20px; margin-bottom: 30px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.kit-hero__image {
    width: 320px; flex-shrink: 0; border-radius: 14px;
    overflow: hidden; box-shadow: 0 15px 40px rgba(0,0,0,0.6);
    aspect-ratio: 1;
}
.kit-hero__image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.kit-hero__placeholder {
    width: 100%; height: 100%;
    background: linear-gradient(135deg, #1a1a2e, #0f131c);
    display: flex; align-items: center; justify-content: center;
    font-size: 60px; color: var(--border-color);
}
.kit-hero__content { flex: 1; display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.kit-badge {
    display: inline-block; background: rgba(229,57,53,0.15); color: var(--accent);
    padding: 6px 14px; border-radius: 6px; font-size: 11px; font-weight: 800;
    text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px; width: fit-content;
}
.kit-hero__content h1 { font-size: 36px; font-weight: 800; margin-bottom: 12px; line-height: 1.15; letter-spacing: -0.5px; }
.kit-desc { color: var(--text-muted); font-size: 15px; line-height: 1.6; margin-bottom: 24px; }

/* ACTION BAR */
.kit-actions { display: flex; gap: 12px; align-items: stretch; flex-wrap: wrap; margin-top: auto; }

.kit-btn-dl {
    display: flex; align-items: center; gap: 12px;
    background: var(--accent); color: #fff;
    padding: 12px 24px; border-radius: 12px;
    text-decoration: none; border: none; cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 6px 24px rgba(229,57,53,0.35);
    font-family: inherit; min-width: 200px;
}
.kit-btn-dl:hover { background: var(--accent-hover); transform: translateY(-2px); box-shadow: 0 10px 30px rgba(229,57,53,0.45); }
.kit-btn-dl svg { flex-shrink: 0; }
.kit-btn-dl-text { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.kit-btn-dl-text strong { font-size: 15px; font-weight: 700; line-height: 1.2; }
.kit-btn-dl-text small { font-size: 11px; opacity: 0.85; font-weight: 500; letter-spacing: 0.3px; }
.kit-btn-dl.is-disabled { background: rgba(255,255,255,0.06); color: var(--text-muted); cursor: not-allowed; box-shadow: none; }
.kit-btn-dl.is-disabled:hover { transform: none; }

.kit-btn-icon {
    width: 52px; height: 52px; border-radius: 12px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: #fff; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: all 0.2s ease; flex-shrink: 0; padding: 0;
}
.kit-btn-icon:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.2); transform: translateY(-2px); }
.kit-btn-fav:hover, .kit-btn-fav.is-active { color: var(--accent); border-color: var(--accent); background: rgba(229,57,53,0.1); }
.kit-btn-fav.is-active svg { fill: var(--accent); }
.kit-btn-pl:hover, .kit-btn-pl.is-active { color: #4ade80; border-color: #4ade80; background: rgba(74,222,128,0.1); }

/* INFO GRID */
.kit-info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 24px; }
.kit-info-card {
    background: rgba(20,24,36,0.75);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.06);
    padding: 24px 28px; border-radius: 16px;
}
.kit-info-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 18px; color: #fff; }
.kit-info-card ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.kit-info-card li { display: flex; justify-content: space-between; align-items: center; padding-bottom: 12px; border-bottom: 1px solid rgba(255,255,255,0.05); font-size: 14px; }
.kit-info-card li:last-child { border-bottom: none; padding-bottom: 0; }
.kit-info-card li span { color: var(--text-muted); }
.kit-info-card li strong { color: #fff; font-weight: 600; text-align: right; max-width: 60%; }

/* DESCRIPTION */
.kit-content-card {
    background: rgba(20,24,36,0.75);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.06);
    padding: 32px; border-radius: 16px; margin-bottom: 24px;
}
.kit-content-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 20px; }
.kit-content-body { color: #cbd5e1; line-height: 1.8; font-size: 15px; }
.kit-content-body h2, .kit-content-body h3 { color: #fff; margin: 24px 0 12px; }
.kit-content-body p { margin-bottom: 16px; }
.kit-content-body ul, .kit-content-body ol { padding-left: 24px; margin-bottom: 16px; }
.kit-content-body li { margin-bottom: 8px; }
.kit-content-body img { max-width: 100%; border-radius: 8px; margin: 16px 0; }
.kit-content-body a { color: var(--accent); }

/* SECURE DOWNLOAD SECTION */
.kit-secure-dl {
    background: linear-gradient(135deg, rgba(20,24,36,0.95), rgba(15,19,28,0.95));
    border: 1px solid rgba(229,57,53,0.25);
    border-radius: 20px; padding: 48px 40px;
    text-align: center; margin-top: 32px;
    position: relative; overflow: hidden;
}
.kit-secure-dl::before {
    content: ''; position: absolute; top: -50%; left: 50%;
    transform: translateX(-50%); width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(229,57,53,0.12) 0%, transparent 60%);
    pointer-events: none;
}
.kit-secure-icon {
    width: 80px; height: 80px; margin: 0 auto 20px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background: rgba(229,57,53,0.1);
    border: 1px solid rgba(229,57,53,0.25);
    color: var(--accent); position: relative; z-index: 1;
}
.kit-secure-dl h2 { font-size: 24px; font-weight: 800; margin-bottom: 8px; position: relative; z-index: 1; }
.kit-secure-status { color: var(--text-muted); font-size: 14px; margin-bottom: 24px; position: relative; z-index: 1; }
.kit-progress {
    width: 100%; max-width: 400px; height: 8px;
    background: rgba(255,255,255,0.06); border-radius: 50px;
    margin: 0 auto 16px; overflow: hidden; position: relative; z-index: 1;
}
.kit-progress-bar {
    width: 0; height: 100%;
    background: linear-gradient(90deg, var(--accent), #ff6b6b);
    border-radius: 50px; transition: width 1s linear;
    box-shadow: 0 0 20px rgba(229,57,53,0.6);
}
.kit-secure-countdown { color: var(--text-muted); font-size: 14px; position: relative; z-index: 1; }
.kit-secure-countdown strong { color: var(--accent); font-size: 20px; font-weight: 800; margin-left: 4px; }
.kit-secure-dl.is-active .kit-secure-icon { animation: shieldPulse 1.5s ease-in-out infinite; }
@keyframes shieldPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(229,57,53,0.4); }
    50%      { box-shadow: 0 0 0 15px rgba(229,57,53,0); }
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .kit-hero { flex-direction: column; padding: 24px; gap: 24px; }
    .kit-hero__image { width: 100%; max-width: 320px; margin: 0 auto; }
    .kit-hero__content h1 { font-size: 26px; }
    .kit-info-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .k4b-single-wrapper { padding: 20px 12px 60px; }
    .kit-actions { flex-direction: column; }
    .kit-btn-dl { width: 100%; justify-content: center; }
    .kit-btn-icon { width: 100%; height: 48px; }
    .kit-secure-dl { padding: 32px 20px; }
}

/* ═══════════════════════════════════════════
   CONTENT DOWNLOAD BUTTON (.sdb-*) — FIX & STYLE
   ═══════════════════════════════════════════ */
.sdb-list { list-style: none; padding: 0; margin: 20px 0; }
.sdb-item { margin-bottom: 16px; position: relative; }

.sdb-btn {
    display: flex !important;
    align-items: center;
    gap: 16px;
    background: linear-gradient(135deg, #e53935, #b71c1c) !important;
    color: #fff !important;
    text-decoration: none !important;
    padding: 16px 22px !important;
    border-radius: 14px;
    transition: all 0.25s ease;
    box-shadow: 0 8px 24px rgba(229,57,53,0.35);
    font-family: 'Inter', sans-serif;
    border: 1px solid rgba(255,255,255,0.1);
}
.sdb-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 36px rgba(229,57,53,0.5);
}
.sdb-icon {
    width: 46px; height: 46px; flex-shrink: 0;
    border-radius: 12px;
    background: rgba(255,255,255,0.18);
    display: flex; align-items: center; justify-content: center;
}
.sdb-svg { color: #fff !important; display: block; }
.sdb-meta { flex: 1; display: flex; flex-direction: column; gap: 3px; text-align: left; }
.sdb-name {
    font-size: 15px; font-weight: 700; color: #fff;
    text-transform: uppercase; letter-spacing: 0.5px;
}
.sdb-details { display: flex; gap: 8px; font-size: 12px; opacity: 0.9; }
.sdb-size { color: #fff; }
.sdb-cta {
    background: rgba(255,255,255,0.22); color: #fff;
    padding: 10px 22px; border-radius: 50px;
    font-size: 12px; font-weight: 800;
    text-transform: uppercase; letter-spacing: 0.5px;
    white-space: nowrap; transition: background 0.2s;
}
.sdb-btn:hover .sdb-cta { background: rgba(255,255,255,0.38); }

.sdb-countdown {
    margin-top: 14px;
    background: rgba(229,57,53,0.06);
    border: 1px solid rgba(229,57,53,0.25);
    border-radius: 12px;
    padding: 18px 20px;
    text-align: center;
    animation: fadeInCountdown 0.35s ease;
}
@keyframes fadeInCountdown {
    from { opacity: 0; transform: translateY(-10px); }
    to   { opacity: 1; transform: translateY(0); }
}
.sdb-countdown .kit-progress {
    width: 100%; max-width: 340px; height: 6px;
    background: rgba(255,255,255,0.08); border-radius: 50px;
    margin: 0 auto 12px; overflow: hidden;
}
.sdb-countdown .kit-progress-bar {
    width: 0; height: 100%;
    background: linear-gradient(90deg, var(--accent), #ff6b6b);
    border-radius: 50px; transition: width 1s linear;
    box-shadow: 0 0 15px rgba(229,57,53,0.6);
}
.sdb-countdown .kit-countdown-text { color: var(--text-muted); font-size: 13px; margin: 0; }
.sdb-countdown .kit-countdown-text strong {
    color: var(--accent); font-size: 18px; font-weight: 800; margin: 0 3px;
}
@keyframes pulseBtn {
    0%, 100% { transform: scale(1);   box-shadow: 0 8px 24px rgba(229,57,53,0.35); }
    50%      { transform: scale(1.03); box-shadow: 0 12px 36px rgba(229,57,53,0.6); }
}
@media (max-width: 600px) {
    .sdb-cta { display: none; }
    .sdb-btn { padding: 14px 16px !important; gap: 12px; }
    .sdb-icon { width: 40px; height: 40px; }
    .sdb-name { font-size: 13px; }
}

/* FALLBACK SECURE SECTION */
.kit-start-btn {
    display: inline-flex; align-items: center; gap: 14px;
    background: linear-gradient(135deg, #e53935, #c62828);
    color: #fff; border: none; padding: 16px 32px;
    border-radius: 14px; cursor: pointer; font-family: inherit;
    transition: all 0.25s; box-shadow: 0 8px 28px rgba(229,57,53,0.4);
    margin: 0 auto;
}
.kit-start-btn:hover { transform: translateY(-2px); box-shadow: 0 14px 40px rgba(229,57,53,0.55); }
.kit-start-btn svg { flex-shrink: 0; }
.kit-start-btn-text { text-align: left; display: flex; flex-direction: column; gap: 2px; }
.kit-start-btn-text strong { font-size: 15px; font-weight: 700; }
.kit-start-btn-text small { font-size: 11px; opacity: 0.85; font-weight: 500; }
.kit-countdown-wrap { margin-top: 20px; }
.kit-countdown-text { color: var(--text-muted); font-size: 14px; margin-top: 12px; }
.kit-countdown-text strong {
    color: var(--accent); font-size: 20px; font-weight: 800; margin-left: 4px;
}

/* ═══════════════════════════════════════════
   MOBILE MENU (v12 — off-canvas sidebar)
   ═══════════════════════════════════════════ */

/* Overlay (hidden by default) */
.k4b-mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    z-index: 998;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.k4b-mobile-overlay.active {
    display: block;
    opacity: 1;
}

/* Hamburger button — hidden on desktop */
.k4b-mobile-btn {
    display: none;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: background 0.2s;
}
.k4b-mobile-btn:hover { background: rgba(255,255,255,0.1); }

/* Close (×) button inside sidebar — hidden on desktop */
.k4b-sidebar-close {
    display: none;
    background: rgba(255,255,255,0.06);
    border: none;
    color: #fff;
    font-size: 22px;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: background 0.2s;
}
.k4b-sidebar-close:hover { background: rgba(229,57,53,0.2); }

/* Sidebar head layout (make room for close button) */
.k4b-sidebar-head {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}

@media (max-width: 900px) {
    /* Show hamburger on mobile */
    .k4b-mobile-btn { display: flex; }
    .k4b-sidebar-close { display: flex; }

    /* Sidebar becomes off-canvas */
    .k4b-sidebar {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        height: 100vh !important;
        width: 280px !important;
        max-width: 85vw !important;
        z-index: 999 !important;
        transform: translateX(-100%);
        transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
        overflow-y: auto !important;
        box-shadow: 4px 0 24px rgba(0,0,0,0.5);
        border-right: 1px solid var(--border-color);
    }
    .k4b-sidebar.active {
        transform: translateX(0);
    }

    /* Prevent body scroll when menu open */
    body.k4b-menu-open {
        overflow: hidden;
    }

    /* Tighten header spacing */
    .k4b-header { padding: 0 16px !important; gap: 12px !important; }
    .k4b-header-left { gap: 10px !important; }
}

@media (max-width: 600px) {
    /* Hide search bar on small screens to save room */
    .k4b-search-container { display: none !important; }
    .k4b-header-actions .k4b-btn-login {
        padding: 8px 14px !important;
        font-size: 12px !important;
    }
    .logo-text { font-size: 18px !important; }
}

/* ═══════════════════════════════════════════
   MOBILE MENU (v13 — fix invisible sidebar)
   ═══════════════════════════════════════════ */

@media (max-width: 900px) {

    /* 1. Header scrolls away (no sticky) on mobile */
    .k4b-header {
        position: relative !important;
        top: auto !important;
        z-index: 10 !important;
    }

    /* 2. Show hamburger and close button */
    .k4b-mobile-btn   { display: flex !important; }
    .k4b-sidebar-close { display: flex !important; }

    /* 3. Sidebar — slide from left using `left` (not transform) */
    .k4b-sidebar {
        position: fixed !important;
        top: 0 !important;
        left: -100% !important; /* Start off-screen */
        width: 280px !important;
        max-width: 85vw !important;
        height: 100vh !important;
        z-index: 999999 !important; /* On top of everything */
        background-color: #0f131c !important; /* Solid dark background */
        box-shadow: 4px 0 24px rgba(0,0,0,0.6) !important;
        border-right: 1px solid var(--border-color) !important;
        overflow-y: auto !important;
        display: flex !important;
        flex-direction: column !important;
        transform: none !important; /* Kill any old transform rules */
        transition: left 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    }

    /* Slide in when .active is added */
    .k4b-sidebar.active {
        left: 0 !important;
    }

    /* 4. Overlay */
    .k4b-mobile-overlay {
        position: fixed !important;
        inset: 0 !important;
        background: rgba(0, 0, 0, 0.7) !important;
        z-index: 999998 !important; /* Just below sidebar */
        display: none;
    }
    .k4b-mobile-overlay.active {
        display: block !important;
    }

    /* 5. Lock body scroll when menu is open */
    body.k4b-menu-open {
        overflow: hidden !important;
    }

    /* 6. Tighten header spacing */
    .k4b-header { padding: 0 16px !important; gap: 12px !important; }
    .k4b-header-left { gap: 10px !important; }
}

/* ═══════════════════════════════════════════
   MOBILE HEADER & SIDEBAR FIXES (v14)
   ═══════════════════════════════════════════ */

/* Mobile Search inside Sidebar (Hidden on Desktop) */
.k4b-sidebar-search {
    display: none;
    background: var(--bg-search);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin: 0 20px 15px 20px;
    padding: 10px 15px;
    align-items: center;
    gap: 10px;
}
.k4b-sidebar-search svg { color: var(--text-muted); }
.k4b-sidebar-search input {
    background: transparent;
    border: none;
    color: #fff;
    width: 100%;
    outline: none;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
}
.k4b-sidebar-search input::placeholder { color: var(--text-muted); }

@media (max-width: 900px) {
    /* 1. Hide desktop search on mobile */
    .k4b-search-container {
        display: none !important;
    }

    /* 2. Show mobile search inside sidebar */
    .k4b-sidebar-search {
        display: flex !important;
    }

    /* 3. Fix Header layout for mobile */
    .k4b-header {
        position: sticky !important;
        top: 0 !important;
        z-index: 1000 !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 0 16px !important;
    }
    
    .k4b-header-left {
        gap: 12px !important;
    }

    /* 4. Make sidebar section titles more prominent (as requested) */
    .k4b-sidebar-section-title {
        font-size: 12px !important;
        font-weight: 800 !important;
        color: #fff !important;
        letter-spacing: 1.5px !important;
        padding: 15px 20px 10px 20px !important;
        text-transform: uppercase !important;
    }
}

/* Very small screens (iPhone SE etc.) */
@media (max-width: 400px) {
    .logo-text { font-size: 18px !important; }
    .k4b-btn-login { padding: 8px 12px !important; font-size: 12px !important; }
}

/* ═══════════════════════════════════════════
   SIDEBAR STRUCTURE & HEADER FIX (v15)
   ═══════════════════════════════════════════ */

/* Sidebar mobile search */
.k4b-sidebar-search {
    display: none;
    background: var(--bg-search);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin: 15px 20px;
    padding: 10px 15px;
    align-items: center;
    gap: 10px;
}
.k4b-sidebar-search svg { color: var(--text-muted); flex-shrink: 0; }
.k4b-sidebar-search input {
    background: transparent;
    border: none;
    color: #fff;
    width: 100%;
    outline: none;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
}
.k4b-sidebar-search input::placeholder { color: var(--text-muted); }

/* Big Category Headings */
.k4b-sidebar-section-title {
    font-size: 12px !important;
    font-weight: 800 !important;
    color: #fff !important;
    letter-spacing: 1.5px !important;
    padding: 20px 20px 10px 20px !important;
    text-transform: uppercase !important;
}

/* Mobile specific fixes */
@media (max-width: 900px) {
    .k4b-search-container { display: none !important; }
    .k4b-sidebar-search { display: flex !important; }

    .k4b-header {
        position: sticky !important;
        top: 0 !important;
        z-index: 1000 !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 0 16px !important;
    }
}

/* Sub-menu (One Shots under Drum Kits) */
.k4b-sub-menu {
    list-style: none;
    padding-left: 35px !important;
    margin: 0;
}
.k4b-sub-menu li a {
    padding: 8px 0 !important;
    font-size: 13px !important;
    color: var(--text-muted) !important;
    background: transparent !important;
    border-left: none !important;
}
.k4b-sub-menu li a:hover {
    color: #fff !important;
}
.k4b-sidebar-menu li {
    flex-direction: column;
    align-items: flex-start;
}

/* Sub-category buttons on Archive */
.k4b-subcategory-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
}
.k4b-subcategory-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-header);
    color: #fff;
    padding: 10px 18px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    border: 1px solid var(--border-color);
    transition: all 0.2s ease;
}
.k4b-subcategory-btn:hover {
    background: var(--accent);
    border-color: var(--accent);
}
.k4b-count {
    background: rgba(255, 255, 255, 0.1);
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 700;
}
.k4b-archive-header { margin-bottom: 30px; }
.k4b-page-title { font-size: 32px; font-weight: 800; color: #fff; margin-bottom: 10px; }

/* ═══════════════════════════════════════════
   PREMIUM LIST LAYOUT (Archive & Categories)
   ═══════════════════════════════════════════ */
.k4b-list-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 30px;
}

.k4b-list-item {
    display: flex;
    align-items: center;
    gap: 20px;
    background: var(--bg-header);
    border: 1px solid var(--border-color);
    padding: 16px 24px;
    border-radius: 16px;
    transition: all 0.2s ease;
}

.k4b-list-item:hover {
    border-color: var(--accent);
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
    transform: translateY(-2px);
}

/* Circular Image */
.k4b-list-img-wrap {
    flex-shrink: 0;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(255,255,255,0.1);
    transition: border-color 0.2s;
}
.k4b-list-item:hover .k4b-list-img-wrap {
    border-color: var(--accent);
}
.k4b-list-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.k4b-list-img.k4b-no-img {
    background: linear-gradient(135deg, #1a1a2e, #0f131c);
    display: flex; align-items: center; justify-content: center;
    font-size: 28px; color: var(--text-muted);
}

/* Content */
.k4b-list-content {
    flex: 1;
    min-width: 0;
}
.k4b-list-cat {
    font-size: 11px;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 4px;
}
.k4b-list-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.k4b-list-title a {
    color: #fff;
    text-decoration: none;
    transition: color 0.2s;
}
.k4b-list-title a:hover {
    color: var(--accent);
}
.k4b-list-desc {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Action Icons */
.k4b-list-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}
.k4b-action-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--text-muted);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    padding: 0;
}
.k4b-action-btn:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
}

/* Button Colors */
.kit-btn-fav.is-active { color: var(--accent); background: rgba(229,57,53,0.1); border-color: var(--accent); }
.kit-btn-fav.is-active svg { fill: var(--accent); }
.kit-btn-pl.is-active { color: #4ade80; background: rgba(74,222,128,0.1); border-color: #4ade80; }
.k4b-btn-dl { background: var(--accent); color: #fff; border-color: var(--accent); }
.k4b-btn-dl:hover { background: var(--accent-hover); }

/* Load More Button */
.k4b-load-more-wrap {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 40px;
}
.k4b-btn-load-more {
    background: transparent;
    color: #fff;
    border: 2px solid var(--border-color);
    padding: 14px 40px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
}
.k4b-btn-load-more:hover {
    border-color: var(--accent);
    color: var(--accent);
}
.k4b-btn-load-more:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .k4b-list-item {
        flex-wrap: wrap;
        padding: 16px;
        gap: 16px;
    }
    .k4b-list-img-wrap { width: 70px; height: 70px; }
    .k4b-list-title { font-size: 16px; white-space: normal; }
    .k4b-list-actions { width: 100%; justify-content: flex-end; border-top: 1px solid rgba(255,255,255,0.05); padding-top: 16px; }
}

/* ═══════════════════════════════════════════
   PREMIUM CATEGORY TABS (With Counts)
   ═══════════════════════════════════════════ */
.k4b-category-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.k4b-cat-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-header);
    color: var(--text-muted);
    text-decoration: none;
    padding: 10px 18px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    border: 1px solid var(--border-color);
    transition: all 0.25s ease;
}

.k4b-cat-tab:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.2);
}

/* Active Tab Style */
.k4b-cat-tab.active {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
    box-shadow: 0 4px 15px rgba(229, 57, 53, 0.3);
}

/* Count Badge Inside Tab */
.k4b-tab-count {
    background: rgba(0, 0, 0, 0.2);
    color: #fff;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
}

/* Active Tab Count Badge */
.k4b-cat-tab.active .k4b-tab-count {
    background: rgba(255, 255, 255, 0.25);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .k4b-category-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        scrollbar-width: none; /* Firefox */
        padding-bottom: 15px;
    }
    .k4b-category-tabs::-webkit-scrollbar {
        display: none; /* Chrome/Safari */
    }
    .k4b-cat-tab {
        white-space: nowrap;
        padding: 8px 14px;
        font-size: 13px;
    }
}

/* ═══════════════════════════════════════════
   SEARCH RESULTS & EMPTY STATE UI
   ═══════════════════════════════════════════ */
.k4b-no-results {
    text-align: center;
    background: var(--bg-header);
    border: 1px dashed var(--border-color);
    padding: 60px 20px;
    border-radius: 16px;
    margin-top: 20px;
}
.k4b-no-results-icon {
    font-size: 50px;
    margin-bottom: 15px;
    opacity: 0.5;
}
.k4b-no-results h2 {
    font-size: 24px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 10px;
}
.k4b-no-results p {
    color: var(--text-muted);
    font-size: 15px;
    margin-bottom: 10px;
}
.k4b-btn-back {
    display: inline-block;
    margin-top: 20px;
    background: var(--accent);
    color: #fff;
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: 0.2s;
}
.k4b-btn-back:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
}

/* ═══════════════════════════════════════════
   PREMIUM HERO SECTION & INTERACTIVITY
   ═══════════════════════════════════════════ */

/* Hero Container */
.k4b-hero-pro {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    min-height: 400px;
    display: flex;
    align-items: flex-end; /* Text ko neechay align karega */
    padding: 40px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.1);
}

/* Background Image with Zoom Hover */
.k4b-hero-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.8s ease;
    z-index: 1;
}

/* Overlay to make text readable */
.k4b-hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(11,14,20,0.95) 0%, rgba(11,14,20,0.4) 60%, rgba(11,14,20,0.1) 100%);
}

/* Interactive Hover Effect */
.k4b-hero-pro:hover .k4b-hero-bg {
    transform: scale(1.05); /* Image zooms slightly on hover */
}

/* Glass Panel Content */
.k4b-hero-glass {
    position: relative;
    z-index: 2;
    background: rgba(20, 24, 36, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 30px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.1);
    max-width: 600px;
    transform: translateY(10px);
    transition: transform 0.4s ease;
}

.k4b-hero-pro:hover .k4b-hero-glass {
    transform: translateY(0);
}

/* Trust Badge */
.k4b-trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(74, 222, 128, 0.15);
    color: #4ade80;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
    border: 1px solid rgba(74, 222, 128, 0.3);
}

/* Pulsing dot for trust badge */
.k4b-pulse-dot {
    width: 8px; height: 8px;
    background: #4ade80;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.7);
    animation: k4b-pulse 2s infinite;
}
@keyframes k4b-pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(74, 222, 128, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}

/* Hero Text */
.k4b-hero-glass h2 {
    font-size: 32px;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 10px;
    letter-spacing: -0.5px;
}
.k4b-hero-glass h2 span {
    color: var(--accent);
}
.k4b-hero-glass p {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 25px;
    max-width: 90%;
}

/* Hero Buttons */
.k4b-hero-btns {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}
.k4b-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--accent);
    color: #fff;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(229, 57, 53, 0.4);
}
.k4b-btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(229, 57, 53, 0.6);
}
.k4b-btn-primary svg {
    transition: transform 0.3s ease;
}
.k4b-btn-primary:hover svg {
    transform: translateX(4px);
}

.k4b-btn-secondary {
    display: inline-flex;
    align-items: center;
    background: rgba(255,255,255,0.1);
    color: #fff;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.2);
}
.k4b-btn-secondary:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-3px);
}

/* ═══════════════════════════════════════════
   CATEGORY SHORTCUT CARDS
   ═══════════════════════════════════════════ */
.k4b-cat-shortcuts {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-top: 15px;
}
.k4b-shortcut-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--bg-header);
    border: 1px solid var(--border-color);
    padding: 25px 15px;
    border-radius: 16px;
    text-decoration: none;
    color: #fff;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
}
.k4b-shortcut-icon {
    font-size: 28px;
    transition: transform 0.3s ease;
}
.k4b-shortcut-card:hover {
    background: rgba(229, 57, 53, 0.1);
    border-color: var(--accent);
    transform: translateY(-5px);
    color: var(--accent);
}
.k4b-shortcut-card:hover .k4b-shortcut-icon {
    transform: scale(1.2) rotate(5deg); /* Interactive icon animation */
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .k4b-hero-pro {
        padding: 20px;
        min-height: 350px;
    }
    .k4b-hero-glass {
        padding: 20px;
    }
    .k4b-hero-glass h2 {
        font-size: 24px;
    }
    .k4b-cat-shortcuts {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ═══════════════════════════════════════════
   70/30 PREMIUM HERO & TOP 10 LIST
   ═══════════════════════════════════════════ */
.k4b-hero-split {
    display: grid;
    grid-template-columns: 7fr 3fr; /* 70% and 30% */
    gap: 20px;
    margin-bottom: 40px;
}

/* 70% Slider CSS */
.k4b-slider-70 {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: var(--bg-header);
    height: 450px;
}
.k4b-slider-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none; /* Hide scrollbar Firefox */
    height: 100%;
}
.k4b-slider-track::-webkit-scrollbar { display: none; }

.k4b-slide-card {
    flex: 0 0 100%;
    height: 100%;
    scroll-snap-align: start;
    position: relative;
    background-size: cover;
    background-position: center;
    text-decoration: none;
    display: flex;
    align-items: flex-end;
}
.k4b-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(11,14,20,0.95) 0%, rgba(11,14,20,0.2) 60%, transparent 100%);
    z-index: 1;
}
.k4b-slide-content {
    position: relative;
    z-index: 2;
    padding: 40px;
    width: 100%;
}
.k4b-slide-badge {
    display: inline-block;
    background: var(--accent);
    color: #fff;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}
.k4b-slide-content h2 {
    font-size: 36px;
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 20px;
    max-width: 80%;
    text-shadow: 0 4px 10px rgba(0,0,0,0.5);
}
.k4b-slide-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    color: #000;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 14px;
    transition: 0.3s;
}
.k4b-slide-card:hover .k4b-slide-btn {
    background: var(--accent);
    color: #fff;
    transform: translateY(-2px);
}

/* 30% Top 10 List CSS */
.k4b-top10-30 {
    background: var(--bg-header);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    height: 450px;
    display: flex;
    flex-direction: column;
}
.k4b-top10-header {
    padding: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.k4b-top10-header h3 {
    font-size: 16px;
    font-weight: 800;
    color: #fff;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.k4b-top10-list {
    flex: 1;
    overflow-y: auto;
    padding: 10px;
}
/* Custom Scrollbar for list */
.k4b-top10-list::-webkit-scrollbar { width: 4px; }
.k4b-top10-list::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 4px; }

.k4b-top10-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    border-radius: 8px;
    text-decoration: none;
    transition: 0.2s;
}
.k4b-top10-item:hover {
    background: rgba(255,255,255,0.05);
}
.k4b-rank {
    font-size: 16px;
    font-weight: 800;
    color: var(--text-muted);
    width: 20px;
    text-align: center;
}
.k4b-rank.top3 {
    color: var(--accent); /* Red color for top 3 */
}
.k4b-top10-item img {
    width: 45px;
    height: 45px;
    border-radius: 6px;
    object-fit: cover;
}
.k4b-top10-info {
    flex: 1;
    min-width: 0;
}
.k4b-top10-info h4 {
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    margin: 0 0 3px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.k4b-top10-info span {
    font-size: 11px;
    color: var(--text-muted);
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .k4b-hero-split {
        grid-template-columns: 1fr; /* Stack on mobile */
    }
    .k4b-slider-70 { height: 350px; }
    .k4b-slide-content h2 { font-size: 26px; }
    .k4b-top10-30 { height: auto; max-height: 400px; }
}

/* ═══════════════════════════════════════════
   GANA-STYLE PREMIUM HOMEPAGE
   ═══════════════════════════════════════════ */
.k4b-gana-home {
    padding: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

/* Hero Section 70/30 Split */
.k4b-hero-section {
    display: grid;
    grid-template-columns: 7fr 3fr; /* 70% / 30% */
    gap: 20px;
    margin-bottom: 50px;
}

/* Main Slider (70%) */
.k4b-main-slider {
    position: relative;
    height: 500px;
    border-radius: 20px;
    overflow: hidden;
    background: var(--bg-header);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.k4b-slider-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    height: 100%;
}
.k4b-slider-track::-webkit-scrollbar { display: none; }

.k4b-slide {
    flex: 0 0 100%;
    height: 100%;
    scroll-snap-align: start;
    position: relative;
    background-size: cover;
    background-position: center;
    text-decoration: none;
    display: flex;
    align-items: flex-end;
    transition: transform 0.5s ease;
}
.k4b-slide:hover {
    transform: scale(1.02);
}

.k4b-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(11,14,20,0.95) 0%, rgba(11,14,20,0.3) 50%, transparent 100%);
    z-index: 1;
}

.k4b-slide-content {
    position: relative;
    z-index: 2;
    padding: 50px;
    width: 100%;
}

.k4b-badge-hot {
    display: inline-block;
    background: var(--accent);
    color: #fff;
    padding: 6px 14px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    box-shadow: 0 4px 15px rgba(229,57,53,0.4);
}

.k4b-slide-content h2 {
    font-size: 42px;
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 25px;
    max-width: 80%;
    text-shadow: 0 4px 15px rgba(0,0,0,0.6);
}

.k4b-btn-listen {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    color: #000;
    padding: 14px 30px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 15px;
    transition: all 0.3s ease;
}
.k4b-slide:hover .k4b-btn-listen {
    background: var(--accent);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(229,57,53,0.5);
}

/* Top 10 Chart Sidebar (30%) */
.k4b-chart-sidebar {
    background: var(--bg-header);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    height: 500px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.k4b-chart-header {
    padding: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.k4b-chart-header h3 {
    font-size: 16px;
    font-weight: 800;
    color: #fff;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.k4b-chart-list {
    flex: 1;
    overflow-y: auto;
    padding: 10px;
}
/* Custom Scrollbar */
.k4b-chart-list::-webkit-scrollbar { width: 4px; }
.k4b-chart-list::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 4px; }

.k4b-chart-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.2s;
}
.k4b-chart-item:hover {
    background: rgba(255,255,255,0.05);
}

.k4b-chart-rank {
    font-size: 16px;
    font-weight: 800;
    color: var(--text-muted);
    width: 20px;
    text-align: center;
}
.k4b-chart-rank.k4b-top3 {
    color: var(--accent); /* Red for top 3 */
}

.k4b-chart-thumb {
    width: 45px;
    height: 45px;
    border-radius: 8px;
    object-fit: cover;
}

.k4b-chart-info {
    flex: 1;
    min-width: 0;
}
.k4b-chart-info h4 {
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    margin: 0 0 3px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.k4b-chart-info span {
    font-size: 11px;
    color: var(--text-muted);
}

/* Latest Releases Section */
.k4b-latest-section {
    margin-top: 40px;
}
.k4b-section-title-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}
.k4b-section-title-wrap h2 {
    font-size: 24px;
    font-weight: 800;
    color: #fff;
    margin: 0;
}
.k4b-view-all {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: color 0.2s;
}
.k4b-view-all:hover {
    color: var(--accent);
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .k4b-hero-section {
        grid-template-columns: 1fr; /* Stack on mobile */
    }
    .k4b-main-slider { height: 400px; }
    .k4b-slide-content h2 { font-size: 28px; }
    .k4b-chart-sidebar { height: auto; max-height: 400px; }
}

/* ═══════════════════════════════════════════
   VERTICAL CAROUSEL (Top 5 Famous)
   ═══════════════════════════════════════════ */
.k4b-carousel-wrapper {
    flex: 1;
    overflow: hidden; /* Hides scrollbar and extra items */
    position: relative;
}

/* Gradient mask for smooth fade at top/bottom */
.k4b-carousel-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, var(--bg-header) 0%, transparent 10%, transparent 90%, var(--bg-header) 100%);
    pointer-events: none;
    z-index: 10;
}

.k4b-carousel-track {
    display: flex;
    flex-direction: column;
    padding: 10px;
    /* The animation */
    animation: scrollUp 20s linear infinite;
}
.k4b-carousel-track:hover {
    animation-play-state: paused; /* Pause on hover so user can click */
}

@keyframes scrollUp {
    0% { transform: translateY(0); }
    100% { transform: translateY(-50%); } /* Because we duplicated the list */
}


/* ═══════════════════════════════════════════
   PROPER GRID CARDS (Latest Releases)
   ═══════════════════════════════════════════ */
.k4b-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.k4b-grid-card {
    background: var(--bg-header);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.k4b-grid-card:hover {
    border-color: var(--accent);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

.k4b-grid-img-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    background: #000;
    display: block;
}
.k4b-grid-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.k4b-grid-card:hover .k4b-grid-img {
    transform: scale(1.08);
}

/* Hover Overlay for Download */
.k4b-grid-overlay {
    position: absolute;
    inset: 0;
    background: rgba(11, 14, 20, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.k4b-grid-card:hover .k4b-grid-overlay {
    opacity: 1;
}
.k4b-grid-dl-icon {
    width: 50px;
    height: 50px;
    background: var(--accent);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(15px);
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(229,57,53,0.4);
}
.k4b-grid-card:hover .k4b-grid-dl-icon {
    transform: translateY(0);
}

.k4b-grid-info {
    padding: 15px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.k4b-grid-cat {
    font-size: 11px;
    font-weight: 800;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}
.k4b-grid-title {
    font-size: 15px;
    font-weight: 700;
    margin: 0;
    line-height: 1.3;
}
.k4b-grid-title a {
    color: #fff;
    text-decoration: none;
    transition: color 0.2s;
}
.k4b-grid-title a:hover {
    color: var(--accent);
}

/* ═══════════════════════════════════════════
   PREMIUM SLIDER CONTROLS (Arrows & Dots)
   ═══════════════════════════════════════════ */
.k4b-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: rgba(20, 24, 36, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 50%;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    opacity: 0; 
}
.k4b-main-slider:hover .k4b-slider-arrow { opacity: 1; }
.k4b-slider-arrow:hover {
    background: var(--accent);
    border-color: var(--accent);
    box-shadow: 0 0 20px rgba(229,57,53,0.4);
}
.k4b-prev { left: 20px; }
.k4b-next { right: 20px; }

.k4b-slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}
.k4b-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}
.k4b-dot.active {
    width: 24px;
    border-radius: 10px;
    background: var(--accent);
}
@media (max-width: 768px) {
    .k4b-slider-arrow { display: none; }
    .k4b-slider-dots { bottom: 15px; }
}

/* ═══════════════════════════════════════════
   HIGH-RES IMAGE RENDERING (Anti-Pixelation)
   ═══════════════════════════════════════════ */
img, .k4b-slide, .k4b-hero-bg {
    /* Forces browser to render images smoothly on high-DPI screens */
    image-rendering: -webkit-optimize-contrast; 
    image-rendering: auto;
}

/* Ensure object-fit is perfect everywhere */
.k4b-grid-img, 
.k4b-list-img, 
.k4b-chart-thumb {
    object-fit: cover;
    object-position: center;
}

/* Background images (Slider) - keeps sharp edges */
.k4b-slide {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
