        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            -webkit-tap-highlight-color: transparent; /* Untuk mobile */
        }

        :root {
            --primary-color: #FF6600;
            --secondary-color: #FF9D4D;
            --dark-bg: #121212;
            --card-bg: #181818;
            --text-primary: #FFFFFF;
            --text-secondary: #B3B3B3;
            --nav-height: 70px;
        }

        body {
            background-color: var(--dark-bg);
            color: var(--text-primary);
            min-height: 100vh;
            display: flex;
            flex-direction: column;
        }

        .container {
            display: flex;
            flex: 1;
            overflow: hidden;
        }

        /* Sidebar Styles */
        .sidebar {
            width: 230px;
            background-color: #000000;
            padding: 20px 10px;
            display: flex;
            flex-direction: column;
            overflow-y: auto;
        }

        .logo {
            padding: 0 12px;
            margin-bottom: 18px;
            display: flex;
            align-items: center;
        }

        .logo img {
            height: 40px;
        }

        .logo span {
            font-weight: bold;
            font-size: 22px;
            margin-left: 10px;
            color: var(--primary-color);
        }

        .nav-menu {
            list-style: none;
            margin-bottom: 24px;
        }

        .nav-item {
            padding: 10px 12px;
            border-radius: 4px;
            margin-bottom: 4px;
            cursor: pointer;
            display: flex;
            align-items: center;
            transition: all 0.2s;
        }

        .nav-item:hover {
            background-color: #282828;
        }

        .nav-item.active {
            background-color: #333;
            color: var(--primary-color);
        }

        .nav-item i {
            margin-right: 15px;
            font-size: 20px;
        }

        .nav-item span {
            font-weight: 600;
            font-size: 14px;
        }

        .library {
            flex: 1;
            overflow-y: auto;
        }

        .library-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 10px 12px;
            margin-bottom: 10px;
        }

        .library-header h3 {
            font-size: 14px;
            color: var(--text-secondary);
        }

        .library-header button {
            background: none;
            border: none;
            color: var(--text-secondary);
            cursor: pointer;
            font-size: 14px;
            font-weight: 600;
        }

        /* Main Content Styles */
        .main-content {
            flex: 1;
            overflow-y: auto;
            padding: 20px 32px;
            background: linear-gradient(to bottom, #180d45, var(--dark-bg));
            background-size: 100% 300px;
            background-repeat: no-repeat;
        }

        .topbar {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 24px;
        }

        .navigation-buttons {
            display: flex;
            gap: 16px;
        }

        .nav-button {
            width: 32px;
            height: 32px;
            border-radius: 50%;
            background-color: rgba(0, 0, 0, 0.7);
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
        }

        .user-profile {
            display: flex;
            align-items: center;
            gap: 8px;
            background-color: rgba(0, 0, 0, 0.7);
            border-radius: 20px;
            padding: 6px 12px;
            cursor: pointer;
        }

        .user-profile img {
            width: 28px;
            height: 28px;
            border-radius: 50%;
        }

        .greeting {
            margin-bottom: 24px;
        }

        .greeting h1 {
            font-size: 30px;
            font-weight: 700;
        }

        /* Slider Styles */
        .slider-container {
            position: relative;
            width: 100%;
            height: 200px;
            margin-bottom: 30px;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
        }

        .slider {
            display: flex;
            transition: transform 0.5s ease-in-out;
            height: 100%;
        }

        .slide {
            min-width: 100%;
            height: 100%;
            background-size: cover;
            background-position: center;
            display: flex;
            align-items: flex-end;
            padding: 20px;
        }

        .slide-content {
            background: rgba(0, 0, 0, 0.7);
            padding: 10px 15px;
            border-radius: 6px;
            max-width: 70%;
        }

        .slide-title {
            font-size: 18px;
            font-weight: bold;
            margin-bottom: 5px;
        }

        .slide-description {
            font-size: 14px;
            color: var(--text-secondary);
        }

        .slider-controls {
            position: absolute;
            bottom: 15px;
            right: 15px;
            display: flex;
            gap: 10px;
        }

        .slider-dot {
            width: 10px;
            height: 10px;
            border-radius: 50%;
            background-color: rgba(255, 255, 255, 0.5);
            cursor: pointer;
        }

        .slider-dot.active {
            background-color: var(--primary-color);
        }

        .slider-arrow {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background-color: rgba(0, 0, 0, 0.5);
            width: 30px;
            height: 30px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            z-index: 10;
        }

        .slider-arrow.left {
            left: 10px;
        }

        .slider-arrow.right {
            right: 10px;
        }

        /* Product Grid Styles */
        .section-title {
            font-size: 24px;
            font-weight: 700;
            margin: 40px 0 20px;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .view-all {
            font-size: 14px;
            color: var(--primary-color);
            cursor: pointer;
        }

        .product-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
            gap: 24px;
            margin-bottom: 30px;
        }

        .product-card {
            background-color: var(--card-bg);
            border-radius: 8px;
            padding: 16px;
            transition: all 0.3s;
            cursor: pointer;
            position: relative;
        }

        .product-card:hover {
            background-color: #282828;
            transform: translateY(-5px);
        }

        .product-badge {
            position: absolute;
            top: 10px;
            right: 10px;
            background-color: var(--primary-color);
            color: white;
            font-size: 12px;
            padding: 3px 8px;
            border-radius: 4px;
            font-weight: bold;
        }

        .product-image {
            width: 100%;
            aspect-ratio: 1;
            border-radius: 6px;
            margin-bottom: 16px;
            object-fit: cover;
            box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
        }

        .product-title {
            font-weight: 700;
            font-size: 16px;
            margin-bottom: 8px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .product-price {
            color: var(--primary-color);
            font-size: 16px;
            font-weight: bold;
            margin-bottom: 5px;
        }

        .product-rating {
            color: var(--text-secondary);
            font-size: 14px;
            display: flex;
            align-items: center;
        }

        .product-rating i {
            color: gold;
            margin-right: 5px;
        }

        /* Video Section Styles */
        .video-section {
            margin: 40px 0;
        }

        .video-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            gap: 20px;
        }

        .video-card {
            background-color: var(--card-bg);
            border-radius: 8px;
            overflow: hidden;
            cursor: pointer;
            transition: transform 0.3s;
        }

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

        .video-thumbnail {
            width: 100%;
            height: 160px;
            object-fit: cover;
        }

        .video-info {
            padding: 12px;
        }

        .video-title {
            font-weight: 600;
            font-size: 16px;
            margin-bottom: 8px;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .video-views {
            color: var(--text-secondary);
            font-size: 14px;
        }

        /* Bottom Navigation Bar */
        .bottom-nav {
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            height: var(--nav-height);
            background-color: #000;
            display: none;
            justify-content: space-around;
            align-items: center;
            border-top: 1px solid #282828;
            z-index: 1000;
        }

        .nav-item-bottom {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding: 8px 0;
            flex: 1;
            cursor: pointer;
        }

        .nav-item-bottom i {
            font-size: 22px;
            margin-bottom: 4px;
            color: var(--text-secondary);
        }

        .nav-item-bottom span {
            font-size: 12px;
            color: var(--text-secondary);
        }

        /* Keyframes tumpah (lembek ke bawah) */
        @keyframes adonanCoklatTumpah {
            0% {
                transform: scaleY(1) translateY(0);
            }
            40% {
                transform: scaleY(1.4) translateY(4px);
            }
            70% {
                transform: scaleY(0.8) translateY(8px);
            }
            100% {
                transform: scaleY(1) translateY(0);
            }
        }

        /* Efek animasi ketika aktif */
        .nav-item-bottom.active i,
        .nav-item-bottom.active span {
            color: var(--primary-color);
            animation: adonanCoklatTumpah 0.6s ease;
            position: relative;
        }

        /* Tambahkan "adonan coklat" yang tumpah */
        .nav-item-bottom.active i::after {
            content: "";
            position: absolute;
            bottom: -6px;
            left: 50%;
            transform: translateX(-50%);
            width: 18px;
            height: 18px;
            background: url('cok.png') no-repeat center/contain;
            animation: jatuhCoklat 0.6s ease forwards;
        }

        /* Animasi jatuhnya adonan coklat */
        @keyframes jatuhCoklat {
            0% { opacity: 0; transform: translateY(-10px) scale(0.6); }
            50% { opacity: 1; transform: translateY(0) scale(1); }
            100% { opacity: 0; transform: translateY(20px) scale(0.8); }
        }



        /* Content Sections */
        .content-section {
            display: none;
        }

        .content-section.active {
            display: block;
        }

        .video-thumbnail {
        width: 100%;
        border-radius: 12px;
        cursor: pointer;
        object-fit: cover;
        }

        .video-card video {
        transition: all 0.3s ease;
        }

        .video-card video:hover {
        transform: scale(1.03);
        autoplay: autoplay;
        }


        /* Responsive Styles */
        @media (max-width: 768px) {
            .sidebar {
                display: none;
            }

            .main-content {
                padding: 20px 16px;
                padding-bottom: calc(var(--nav-height) + 20px);
            }

            .product-grid {
                grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
                gap: 15px;
            }
            .product-title {
                font-size: 14px;
            }
            .product-price {
                font-size: 14px;
            }
            .product-rating {
                font-size: 12px;
            }
        }

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

            .bottom-nav {
                display: flex;
            }

            .current-item, .additional-controls {
                width: 25%;
            }

            .cart-controls {
                width: 50%;
            }

            .slider-container {
                height: 160px;
            }

            .slide-content {
                max-width: 85%;
            }
    

        @media (max-width: 480px) {
                .product-grid {
                    grid-template-columns: 1fr 1fr;
                    gap: 10px;
                }
                .product-title {
                    font-size: 13px;
                }
                .product-price {
                    font-size: 13px;
                }
                .product-rating {
                    font-size: 11px;
                }
            }

            .item-title, .item-price {
                max-width: 100px;
                white-space: nowrap;
                overflow: hidden;
                text-overflow: ellipsis;
            }

            .progress-label {
                font-size: 10px;
            }

            .slider-container {
                height: 140px;
            }

            .slide-title {
                font-size: 16px;
            }

            .slide-description {
                font-size: 12px;
            }
        

        /* iPhone Specific Styles */
        @media only screen and (max-device-width: 812px) and (-webkit-min-device-pixel-ratio: 2) {
            .main-content {
                padding-bottom: calc(var(--nav-height) + 30px);
            }
            
            .bottom-nav {
                height: 80px;
                padding-bottom: 10px;
            }
            
            .nav-item-bottom {
                padding: 6px 0;
            }
            
            .nav-item-bottom i {
                font-size: 20px;
            }
            
            .nav-item-bottom span {
                font-size: 11px;
            }
        }

        ::-webkit-scrollbar {
            display: none;
        }